Compare commits
No commits in common. "3a5968f0fa54cf18b86bb1ebf667d2158ba3ba8c" and "65ce47a62dcb4ab9932c0d86206ebdf6072c8a02" have entirely different histories.
3a5968f0fa
...
65ce47a62d
|
@ -1,20 +0,0 @@
|
||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**chip used**
|
|
||||||
esp32/esp32s3/esp32c3…
|
|
||||||
|
|
||||||
**To Reproduce**
|
|
||||||
Steps to reproduce the behavior
|
|
||||||
|
|
||||||
**Expected behavior**
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
**Screenshots/logs**
|
|
||||||
If applicable, add screenshots or logs to help explain your problem.
|
|
|
@ -1,20 +0,0 @@
|
||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: ''
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
|
||||||
A clear and concise description of what you want to happen.
|
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context or screenshots about the feature request here.
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
[submodule "ESP8266_RTOS_SDK"]
|
||||||
|
path = ESP8266_RTOS_SDK
|
||||||
|
url = https://github.com/windowsair/ESP8266_RTOS_SDK.git
|
||||||
|
[submodule "components/corsacOTA"]
|
||||||
|
path = components/corsacOTA
|
||||||
|
url = https://github.com/windowsair/corsacOTA.git
|
|
@ -46,7 +46,6 @@ typedef struct
|
||||||
|
|
||||||
|
|
||||||
int kRestartDAPHandle = NO_SIGNAL;
|
int kRestartDAPHandle = NO_SIGNAL;
|
||||||
TaskHandle_t kDAPTaskHandle = NULL;
|
|
||||||
|
|
||||||
|
|
||||||
static DapPacket_t DAPDataProcessed;
|
static DapPacket_t DAPDataProcessed;
|
||||||
|
@ -104,13 +103,11 @@ void handle_dap_data_request(usbip_stage2_header *header, uint32_t length)
|
||||||
// always send constant size buf -> cuz we don't care about the IN packet size
|
// always send constant size buf -> cuz we don't care about the IN packet size
|
||||||
// and to unify the style, we set aside the length of the section
|
// and to unify the style, we set aside the length of the section
|
||||||
xRingbufferSend(dap_dataIN_handle, data_in - sizeof(uint32_t), DAP_HANDLE_SIZE, portMAX_DELAY);
|
xRingbufferSend(dap_dataIN_handle, data_in - sizeof(uint32_t), DAP_HANDLE_SIZE, portMAX_DELAY);
|
||||||
xTaskNotifyGive(kDAPTaskHandle);
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
send_stage2_submit_data_fast(header, NULL, 0);
|
send_stage2_submit_data_fast(header, NULL, 0);
|
||||||
|
|
||||||
xRingbufferSend(dap_dataIN_handle, data_in, DAP_HANDLE_SIZE, portMAX_DELAY);
|
xRingbufferSend(dap_dataIN_handle, data_in, DAP_HANDLE_SIZE, portMAX_DELAY);
|
||||||
xTaskNotifyGive(kDAPTaskHandle);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -153,7 +150,6 @@ void DAP_Thread(void *argument)
|
||||||
dap_dataIN_handle = xRingbufferCreate(DAP_HANDLE_SIZE * DAP_BUFFER_NUM, RINGBUF_TYPE_BYTEBUF);
|
dap_dataIN_handle = xRingbufferCreate(DAP_HANDLE_SIZE * DAP_BUFFER_NUM, RINGBUF_TYPE_BYTEBUF);
|
||||||
dap_dataOUT_handle = xRingbufferCreate(DAP_HANDLE_SIZE * DAP_BUFFER_NUM, RINGBUF_TYPE_BYTEBUF);
|
dap_dataOUT_handle = xRingbufferCreate(DAP_HANDLE_SIZE * DAP_BUFFER_NUM, RINGBUF_TYPE_BYTEBUF);
|
||||||
data_response_mux = xSemaphoreCreateMutex();
|
data_response_mux = xSemaphoreCreateMutex();
|
||||||
kDAPTaskHandle = xTaskGetCurrentTaskHandle();
|
|
||||||
size_t packetSize;
|
size_t packetSize;
|
||||||
int resLength;
|
int resLength;
|
||||||
DapPacket_t *item;
|
DapPacket_t *item;
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include "lwip/err.h"
|
#include "lwip/err.h"
|
||||||
#include "lwip/sockets.h"
|
#include "lwip/sockets.h"
|
||||||
|
|
||||||
extern TaskHandle_t kDAPTaskHandle;
|
|
||||||
extern int kRestartDAPHandle;
|
extern int kRestartDAPHandle;
|
||||||
|
|
||||||
int kSock = -1;
|
int kSock = -1;
|
||||||
|
@ -142,8 +141,6 @@ cleanup:
|
||||||
el_process_buffer_free();
|
el_process_buffer_free();
|
||||||
|
|
||||||
kRestartDAPHandle = RESET_HANDLE;
|
kRestartDAPHandle = RESET_HANDLE;
|
||||||
if (kDAPTaskHandle)
|
|
||||||
xTaskNotifyGive(kDAPTaskHandle);
|
|
||||||
|
|
||||||
//shutdown(listen_sock, 0);
|
//shutdown(listen_sock, 0);
|
||||||
//close(listen_sock);
|
//close(listen_sock);
|
||||||
|
|
Loading…
Reference in New Issue