0
0
Fork 0

Compare commits

..

No commits in common. "3a5968f0fa54cf18b86bb1ebf667d2158ba3ba8c" and "65ce47a62dcb4ab9932c0d86206ebdf6072c8a02" have entirely different histories.

5 changed files with 6 additions and 47 deletions

View File

@ -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.

View File

@ -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.

6
.gitmodules vendored Normal file
View File

@ -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

View File

@ -46,7 +46,6 @@ typedef struct
int kRestartDAPHandle = NO_SIGNAL;
TaskHandle_t kDAPTaskHandle = NULL;
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
// 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);
xTaskNotifyGive(kDAPTaskHandle);
#else
send_stage2_submit_data_fast(header, NULL, 0);
xRingbufferSend(dap_dataIN_handle, data_in, DAP_HANDLE_SIZE, portMAX_DELAY);
xTaskNotifyGive(kDAPTaskHandle);
#endif
@ -153,7 +150,6 @@ void DAP_Thread(void *argument)
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);
data_response_mux = xSemaphoreCreateMutex();
kDAPTaskHandle = xTaskGetCurrentTaskHandle();
size_t packetSize;
int resLength;
DapPacket_t *item;

View File

@ -21,7 +21,6 @@
#include "lwip/err.h"
#include "lwip/sockets.h"
extern TaskHandle_t kDAPTaskHandle;
extern int kRestartDAPHandle;
int kSock = -1;
@ -142,8 +141,6 @@ cleanup:
el_process_buffer_free();
kRestartDAPHandle = RESET_HANDLE;
if (kDAPTaskHandle)
xTaskNotifyGive(kDAPTaskHandle);
//shutdown(listen_sock, 0);
//close(listen_sock);