Commit Graph

6007 Commits

Author SHA1 Message Date
King Kévin c66cff88a2 doc: mention ESP USB CDC console option with DFU support 2023-04-03 15:35:06 +02:00
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
King Kévin d80d4877f5 doc: provide force DFU method 2022-10-24 14:27:35 +02:00
King Kévin 24f7828766 doc: provide project background 2022-10-24 14:15:36 +02:00
King Kévin 3865612f0c doc: minor, fix typo 2022-10-24 14:13:56 +02:00
Ha Thach 9e91b02ec7
Merge pull request #1609 from hathach/release-0.14.0-p2
update repository.yml
2022-08-23 13:15:11 +07:00
hathach 3e815c709c
update repository.yml 2022-08-23 12:00:20 +07:00
Ha Thach 05e19b7848
Update feature_request.yml 2022-08-19 23:57:39 +07:00
Ha Thach f6c1ce5b1c
Merge pull request #1569 from hathach/release-0.14.0
increase version to 0.14.0 for release
2022-08-19 21:13:09 +07:00
hathach 961e83e083
more docs update 2022-08-19 17:14:53 +07:00
Ha Thach 792b2fb956
Merge pull request #1603 from Ryzee119/hub_improv
Host hub clear port and device interrupts
2022-08-17 15:03:48 +07:00
Ryzee119 2b2354d302 Hub: Clear other port feature changes 2022-08-16 18:25:46 +09:30
Ryzee119 3c7b5dcaff Hub: Handle hub device status change interrupt 2022-08-16 18:25:43 +09:30
Ha Thach 585f37a797
Merge pull request #1489 from kasjer/kasjer/fix-nrf5x-dma-access
nrf5x: Fix DMA access
2022-08-15 21:30:39 +07:00
Ryzee119 aafea8ef5d Hub: Rename port status callback to be more generic 2022-08-15 17:43:04 +09:30
Ryzee119 5efef4393c Hub: Expand hub helpers to handle device events 2022-08-15 17:42:56 +09:30
Ha Thach 8a28e7cd75
Merge pull request #1597 from kasjer/kasjer/dfu-coexistence
dfu: Allow DFU coexistence with other interfaces (BTH, RNDIS, future one)
2022-08-10 12:45:22 +07:00
Ha Thach 7ade0d0ce4
Merge pull request #1588 from majbthrd/stm32l052
add 'stm32l052dap52' (STM32L052K8 MCU) board target
2022-08-10 12:41:29 +07:00
Jerzy Kasenberg c7469ce986 dfu: Allow DFU coexistence with other interfaces
dfu_moded_open() only works correct when its called on DFU interface
descriptor. It means that DFU is the only one interface in configuration
or driver is called after all others interface drivers were tried and
gave up.

If other interface is supported and but driver for DFU is called first
(this is the case for BTH and RNDIS).
Code after while loop (that was not entered) has an TU_ASSERT that will
make set_configuration to fail.

Now TU_VERIFY is called first to make sure open code is called for DFU
only and not other interface descriptors like in other drivers.
2022-08-09 10:42:30 +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
Ha Thach 251ce98990
Merge pull request #1586 from hathach/fix-TUD_OPT_HIGH_SPEED
fix issue with TUD_OPT_HIGH_SPEED
2022-08-01 15:51:54 +07:00
hathach a219ba86ea
fix issue with TUD_OPT_HIGH_SPEED 2022-08-01 14:52:29 +07:00
hathach d36ea6ddc1
update issue template 2022-07-28 12:23:01 +07:00
hathach 23ea8d1e25 update doc 2022-07-25 22:27:33 +07:00
King Kévin 78a85cdb5b dfu: use task to handle download 2022-07-24 15:51:30 +02:00
King Kévin d120cb1c24 doc: provide compile and flash instructions 2022-07-24 15:50: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
King Kévin d8b4a5a342 support UART write on ESP32-S2-based boards 2022-07-23 12:44:17 +02:00