Skip to content

Add Seeed Studio reTerminal E1001 hardware support#16

Draft
Copilot wants to merge 15 commits intomainfrom
copilot/add-seeeds-reterminal-e1001
Draft

Add Seeed Studio reTerminal E1001 hardware support#16
Copilot wants to merge 15 commits intomainfrom
copilot/add-seeeds-reterminal-e1001

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 21, 2026

  • Diagnose PaperS3 boot crash: BTU_StartUp Unable to allocate resources for bt_workqueue -- internal RAM exhausted because wifi_manager_init() was racing with the asynchronous Bluedroid bring-up
  • Move the synchronous portion of BT bring-up (Classic mem release, controller init/enable, Bluedroid init/enable, GATTC callback registration) into ble_keyboard_init() so it runs in the caller context and completes before wifi_manager_init() starts
  • Diagnose follow-on PaperS3 crash: esp_wifi_init fails with ESP_ERR_NO_MEM -- the 16 static DMA RX buffers don't fit in the ~138 KB of internal heap that remains after Bluedroid is up (only 11 of 16 could be allocated)
  • Lower CONFIG_ESP_WIFI_STATIC_RX_BUFFER_NUM from 16 back to the IDF default of 10 and add CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y so other WiFi/LwIP allocations land in PSRAM
  • Validate (Code Review and CodeQL clean)

Copilot AI and others added 2 commits April 21, 2026 13:42
Agent-Logs-Url: https://github.com/clackups/draftling/sessions/8e6455f2-a92c-4491-93bc-f33f9a198513

Co-authored-by: clackups <179045798+clackups@users.noreply.github.com>
Agent-Logs-Url: https://github.com/clackups/draftling/sessions/35e95517-d397-4b78-9eed-dc469fb6452c

Co-authored-by: clackups <179045798+clackups@users.noreply.github.com>
Agent-Logs-Url: https://github.com/clackups/draftling/sessions/230fc8d3-6352-4e6e-9e14-357d7b88d219

Co-authored-by: clackups <179045798+clackups@users.noreply.github.com>
…d PaperS3 boot loop

Agent-Logs-Url: https://github.com/clackups/draftling/sessions/f0945e68-df4c-407d-bfb6-ede2566dde60

Co-authored-by: clackups <179045798+clackups@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants