0
0
Fork 0
Commit Graph

68 Commits

Author SHA1 Message Date
windowsair 5f98deefdf feat(dap): Add websocket dap implementation
(cherry picked from commit dc9c044eea3145c26ba32e200b874a89b80697a3)
2024-07-03 21:07:00 +08:00
windowsair d63df67c14 feat(websocket): Add websocket main worker
This patch adds support for websocket servers, the websocket code is
copied from corsacOTA.
2024-07-03 21:07:00 +08:00
windowsair 1f31710f97 feat(websocket): Add support for websocket transport layer
This patch adds support for websocket servers, the websocket code is
copied from corsacOTA.
2024-07-03 21:06:53 +08:00
kerms 9b031581d6 change uart and jtag gpio pin 2024-06-22 16:39:34 +08:00
windowsair fb32c9bdff fix(dap): Fix DAP_SPI_WriteBits issue
In the previous implementation, we assumed that we were running on Keil,
so for tools such as OpenOCD, they would not be able to establish a
connection using the SPI rate.

(cherry picked from commit ef71750678aaddbb4d55eb2b428c44b3af122556)
2024-06-22 14:53:03 +08:00
windowsair 0d8d7a014f fix(dap): Only setup SWD port when using SPI speed
Connection problems may occur at SPI speeds when DAP_Connect and
DAP_SWJ_Clock are called in different orders.

Let's setup SWD at SPI rates to avoid potential timing issues.

(cherry picked from commit a89be4248eb7676109183183b0360dd57e02f039)
2024-06-22 14:52:26 +08:00
kerms 2426e56191 fix(soft reset) when reset, manual write to AIRCR/SYSRESETREQ 2024-06-22 14:52:10 +08:00
kerms 3386a56024 feat(wt_system api): get fm_ver and software reboot 2024-06-22 14:46:20 +08:00
kerms 209f62866b fix(ws) concurrent access to websocket 2024-06-22 14:28:48 +08:00
kerms 8fba1208f3 reformat(static_buffer) to memory_pool and feat:global resource management 2024-06-22 14:12:31 +08:00
kerms 3a5968f0fa fix(USBIP): DAP_task is blocked indefinitely, revert deleted kDAPTaskHandle #1 2024-05-05 11:34:08 +08:00
kerms 65ce47a62d revert(uart bridge) reverted temporally, will be completely rewritten in the next release 2024-04-21 15:24:50 +08:00
kerms 0624c6b826 feat(esp32s3) add support for esp32s3 2024-04-19 21:22:32 +08:00
kerms 86a8804cca fix(DAP) reset not working when FREERTOS FREQ < 500 2024-04-15 14:54:39 +08:00
kerms 45e7b6d90c Merge and sync fork form 'windowsair/master' 2024-03-17 19:17:09 +08:00
kerms 6fdfa76a14 feat(wifi) save credential on successful connection and auto connect to it 2024-03-05 16:43:50 +08:00
windowsair 16f8b53a76 refactor(network): Refactor usbip and tcp process code
In previous versions, parsing of the usbip protocol was implemented
via a global state machine and shared with elaphureLink.

The refactored code removes these global state machines and handles them
with the corresponding protocol header commands.
2024-02-16 18:46:50 +08:00
kerms f8b7592f13 feat wifi scan using http/json 2024-02-14 16:06:31 +08:00
windowsair 8abe565836 feat(dap): Add support for cmsis-dap v2.1.0
- Enhanced DAP_Info
- Added extra UART support

Extra UART for native cmsis-dap is not yet support now.
2024-02-08 19:33:59 +08:00
windowsair acfd967106 feat(usb): change usb interface name to "Wireless ESP CMSIS-DAP"
pyOCD identifies the debugger by USB interface name, which include
substring "CMSIS-DAP". Let's change USB interface name to adapt pyOCD.
2024-01-28 21:21:14 +08:00
kerms 96821809ad reformat esp32 chip and migrate skdconfig to idf-v5 2024-01-27 21:09:24 +08:00
kerms ea55a6f576 reformat wifi 2024-01-27 18:53:09 +08:00
kerms 24aa3bed7f remove unused includes, files and reference 2024-01-26 13:43:10 +08:00
kerms 8e3b541d26 reformat from main to components 2024-01-26 13:33:27 +08:00
kerms 5dd9b9dad8 fix address-of-packed-member warning of usb_handle 2023-12-18 21:13:58 +08:00
kerms 24b5f60b34 migrate to idfv5.1.2 (netif, wifi_event) 2023-12-18 16:48:34 +08:00
ycwan9 64faa6948b
fix wrong BOS response length in Linux (#49)
Linux first sends a get BOS request with wLength=5, and then request the full BOS in the next packet. Replying the whole BOS results a driver error.
2022-12-07 12:15:32 +08:00
windowsair 914de2bc64 feat(dap): Add basic hardware reset based on nRESET 2022-11-20 20:11:16 +08:00
windowsair 9d3f7efb40 fix(dap): fix the debug clok of esp32/esp32c3 at low speed 2022-10-29 13:59:24 +08:00
windowsair f5b83e6e81 Revert "thirdparty: Update corsacOTA"
This reverts commit fe0d2210f4.
2022-09-17 21:09:21 +08:00
windowsair fe0d2210f4 thirdparty: Update corsacOTA 2022-09-17 21:01:28 +08:00
windowsair efdfec0362 feat(esp32c3): Add support for esp32c3 2022-09-17 14:10:02 +08:00
windowsair 6d24440d7d feat(esp32): Update esp-idf to v4.4 2022-09-10 11:14:11 +08:00
windowsair 6650ac7f6e feat(esp32): Add support for esp32 2022-09-05 20:54:23 +08:00
windowsair 40778a7dc6 feat: Add elaphureLink support 2022-07-22 19:04:47 +08:00
windowsair 98b984b17b fix: Eliminating unused gpio function warnings 2022-01-20 15:13:34 +08:00
windowsair 2c4f61007f feat: Change LED behavior 2022-01-18 20:48:16 +08:00
windowsair eee981dd0f feat(uart): Add uart tcp bridge feature 2022-01-18 16:48:04 +08:00
windowsair faefa979dd feat(mDNS): Add mDNS server 2022-01-16 20:12:42 +08:00
windowsair fb348f2b47 feat(uart): Init 2021-12-21 12:36:07 +08:00
windowsair c7fa99c7ca feat(usbip): Add kcp support 2021-10-09 17:17:09 +08:00
windowsair c67afb07a1 fix(usbip): Try to handle UNLINK behavior 2021-10-03 23:04:27 +08:00
windowsair f9db957170 fix(dap): Fix timing problems in the SPI 2021-10-02 19:56:27 +08:00
windowsair e78da8cfb8 fix(dap): Cannot find JTAG device when power up 2021-06-06 22:10:05 +08:00
windowsair 9876edd6ef chore: Refactor build dependencies 2021-06-05 22:10:29 +08:00
windowsair b2c8a832cc fix(dap): JTAG speed 2021-05-31 12:46:20 +08:00
windowsair c9113ee08f feat: Add support for USB 3.0 2021-05-13 00:23:20 +08:00
windowsair 5ec463ccfd feat: Support 3-wire spi 2021-03-10 20:52:20 +08:00
windowsair 8429361cf8 feat: Add static IP feature 2021-03-09 15:51:36 +08:00
windowsair 2863553018 feat: Try to support SWO (Still Unavailable) 2021-02-25 11:54:50 +08:00