King Kévin
9750bf882d
round partitions to 64KB
2023-01-07 03:37:15 +01:00
King Kévin
6370f153f0
Merge tag '0.14.0'
2023-01-06 00:26:57 +01:00
King Kévin
9fe31b2162
esp32-dfu: fix esp_mac_read include
...
with ESP-IDF v5.0, esp_read_mac used by this DFU to set the serial, is not included in esp_system.h anymore.
the fix is mentioned in the hint:
HINT:esp_mac.h header file is not included by esp_system.h anymore. It shall then be manually included with #include "esp_mac.h"HINT: Please check that the function name is correct. Also it is possible that you've forgot to import esp_read_mac library(s) in header file or add the necessary REQURIES component. Try to add missing libraries to your project header file or check idf_component_register(REQUIRES ...) section in your component CmakeList.txt file. For more information run 'idf.py docs -sp api-guides/build-system.html'.
this fix explicitly includes esp_mac.h
2023-01-06 00:08:30 +01:00
King Kévin
9fabddc6c8
increase CPU frequency to max
2022-10-24 18:29:33 +02:00
King Kévin
81b36f1e9c
disable UART log to not use pins
2022-10-24 18:29:16 +02:00
King Kévin
804b986573
fix range erase and write
2022-10-24 18:28:23 +02:00
King Kévin
77f60304f5
fix complete_task exit
2022-10-24 18:27:47 +02:00
King Kévin
2a34c37181
minor: fix debug messages
2022-10-24 18:27:19 +02:00
King Kévin
5c0e27b9e2
add faster overwrite alternate flashing method
2022-10-24 16:27:07 +02:00
King Kévin
8f31c8a740
put manifestation in task to avoid callback timeout
2022-10-24 16:25:54 +02:00
King Kévin
64813c7228
provide actual serial is USB descriptor
2022-10-24 16:23:40 +02:00
King Kévin
d9e7ceffbd
anounce alternate flashing method
2022-10-24 16:22:44 +02:00
King Kévin
b25024e71f
minor code reformatting
2022-10-24 14:44:26 +02:00
Peter Lawrence
d1c61e33a6
add 'stm32l052dap52' (STM32L052K8 MCU) board target
...
'dap52' is Olimex's name of their STM32L052-based fork of 'dap42'
2022-08-03 12:31:37 -05:00
King Kévin
78a85cdb5b
dfu: use task to handle download
2022-07-24 15:51:30 +02:00
King Kévin
59826f0d5b
dfu: fix blinking pattern
2022-07-23 13:56:18 +02:00
King Kévin
95cdbda6e1
usb: add CuVoodoo PID
2022-07-23 13:34:06 +02:00
King Kévin
89de0061d6
conf: set default flash size to 4MB
2022-07-23 13:30:03 +02:00
King Kévin
a09f8cd851
usb: fix partition name and count
2022-07-23 13:19:21 +02:00
King Kévin
ac24edfadd
conf: add custom partition table
2022-07-23 13:13:57 +02:00
King Kévin
9fbb041ae4
make: allow reading partitions
2022-07-23 13:09:02 +02:00
King Kévin
ecce6797a0
dfu: exit DFU mode if firmware is valid
2022-07-23 13:03:21 +02:00
King Kévin
06025a2b33
dfu: download writes partition data
2022-07-23 13:02:21 +02:00
King Kévin
4a53aab483
dfu: upload returns partition data
2022-07-23 13:01:23 +02:00
King Kévin
41c509a761
dfu: add logging
2022-07-23 12:57:57 +02:00
King Kévin
5409b96dde
add basic DFU freeRTOS example based on MSC freeRTOS
2022-07-23 12:54:35 +02:00
Ha Thach
ed2e587ace
Merge pull request #1568 from hathach/revert-hid-callback-len-temporarily
...
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() 0.14.0 release
2022-07-19 12:16:32 +07:00
Ha Thach
2110e27678
Merge pull request #1531 from pigrew/usbtmc_highspeed
...
USBTMC: Fixes and support for high-speed USB
2022-07-18 22:20:43 +07:00
hathach
b495d6f8ec
temporarily revert len back to uint8_t in tud_hid_report_complete_cb() for up coming release
2022-07-17 22:56:07 +07:00
graham sanderson
fc1a27b6c9
RP@040: rework CMake for compiler warnings
2022-07-12 12:58:30 -05:00
hathach
4ea27acd1d
minor update to webusb serial example
2022-07-12 01:55:33 +07:00
Ha Thach
19956f070d
Merge pull request #1539 from hathach/improve-ci
...
Improve ci
2022-06-29 16:27:17 +07:00
hathach
5a378703fb
fix end symbol for samx7x and same5x
2022-06-29 15:05:09 +07:00
hathach
7949a4ec7c
skip freertos example for F1C100S
2022-06-29 14:12:58 +07:00
hathach
898b52be45
update rp2040 warnings
...
- remove "-Wno-stringop-overflow -Wno-array-bounds"
- skip -Wconversion for gcc 9 and prior
- suppress_tinyusb_warnings only when building with gcc 9 and below
2022-06-28 16:27:44 +07:00
hathach
83602ea123
Merge branch 'master' into rp2040_warning
2022-06-28 13:34:47 +07:00
graham sanderson
4057c2d8d9
rework suppress_tinyusb_warnings
...
* gcc 9.2.1 has some spurious -Wconversion warnings
* cmake 3.18 and above require set_target_properties to be added from the target directory (so added it to all examples)
* fixed a few warnings in a couple of examples
2022-06-27 22:43:41 +01:00
hathach
9c56f70111
suppress error with net example
2022-06-27 20:30:47 +07:00
hathach
dd7a17c345
prevent error on specific warnings for net lwip & dual example for rp2040
2022-06-27 17:53:42 +07:00
hathach
6522a8150e
fix all device examples warnings
2022-06-27 13:48:47 +07:00
hathach
1a1f633922
Merge branch 'master' into add-more-warnings
2022-06-27 12:50:50 +07:00
hathach
556b5d5044
change report len in hid API from uint8_t to uint16_t
...
since HS interrupt endpoint can be up to 1024, 8-bit is not enough.
affected APIs are:
- tud_hid_n_report() / tud_hid_report()
- tud_hid_report_complete_cb()
2022-06-27 12:22:36 +07:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion
2022-06-27 11:50:17 +07:00
NConrad
3d4d37375b
USBTMC: Update test python code to use the new pyvisa namespace, and other misc fixes
2022-06-24 21:24:31 -04:00
hathach
1d6918ce41
suppress redundant-decls warnings for freertos examples
2022-06-24 21:53:46 +07:00
hathach
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
...
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-24 19:46:19 +07:00
NConrad
4a9fe813a8
Update USBTMC descriptors to support high speed, set USB version to 2.0.0 for all cases.
2022-06-21 22:31:09 -04:00
hathach
905a0b2457
correct bulk size for highspeed endpoint in dynamic_configuration and usbtmc exmaples
2022-06-17 14:37:35 +07:00
hathach
9794a2b865
more example update
2022-06-06 22:41:04 +07:00
hathach
f4c80dd218
clean up example to use CFG_TUD_ENABLED + CFG_TUD_MAX_SPEED instead of CFG_TUSB_RHPORT0_MODE
2022-06-06 17:35:17 +07:00