v2.02: SystemK v2.02, ESP-IDF v6.1.0 #20

Merged
Joe merged 16 commits from fix/Konfigurator-breaks-BLE-sdvertising into main 2026-10-18 20:12:09 +00:00
Owner

As was reported here, the use of the Konfigurator (and, to my knowledge, only the use of the Konfigurator) would cause SystemK-based devices to perform erratically or not at all. In particular, BLE-based features like the KPoint game mode did not work at all. This fix address some of the root causes of that misbehavior.

The key fix in SystemK was the substitution of cooperative timers in the place of the FreeRTOS timers used in the SystemK State Machine: we were overflowing timer queues and causing all kinds of problems. That can't happen anymore. This is described in more detail in the README.

This PR also updates the ESP-IDF to version 6.1.0.

As was reported [here](https://forum.ktag.clubk.club/t/the-ktag-app-breaks-at-sundown-may-30th-2026/74), the use of the [Konfigurator](https://git.ktag.clubk.club/Software/Android-KTag-Apps/src/branch/main/subapp-konfigurator) (and, to my knowledge, only the use of the Konfigurator) would cause SystemK-based devices to perform erratically or not at all. In particular, BLE-based features like the KPoint game mode did not work at all. This fix address some of the root causes of that misbehavior. The key fix in SystemK was the substitution of cooperative timers in the place of the FreeRTOS timers used in the SystemK State Machine: we were overflowing timer queues and causing all kinds of problems. That can't happen anymore. This is described in more detail [in the README](https://git.ktag.clubk.club/Software/SystemK/src/commit/190b2b9a5108cc26213188b0d31e83d0845079fb/README.md#timers). This PR also updates the ESP-IDF to [version 6.1.0](https://github.com/espressif/esp-idf/releases#release-v6.1). ## Related PRs: * https://git.ktag.clubk.club/Software/SystemK/pulls/17 * https://git.ktag.clubk.club/Software/KTag-HIL-Tester/pulls/2 * https://git.ktag.clubk.club/Software/2020TPC-SW/pulls/10
Fixes for the Konfigurator use case.
All checks were successful
Tests / build-and-test (push) Successful in 23s
84b61a41fa
Fixes after HIL testing.
All checks were successful
Tests / build-and-test (push) Successful in 19s
0da3a8869e
More fixes after HIL testing.
All checks were successful
Tests / build-and-test (push) Successful in 19s
e9c73e7a31
Fixing "Too many files open" error.
All checks were successful
Tests / build-and-test (push) Successful in 52s
Tests / build-and-test (pull_request) Successful in 17s
a79c3a6ebc
Joe self-assigned this 2026-09-07 22:06:15 +00:00
SystemK uses cooperative timers now.
All checks were successful
Tests / build-and-test (push) Successful in 19s
Tests / build-and-test (pull_request) Successful in 19s
5ea5cec464
Repinned SystemK.
All checks were successful
Tests / build-and-test (push) Successful in 5m7s
Tests / build-and-test (pull_request) Successful in 5m4s
a349ee894a
Added the "NEC Command" weapon.
All checks were successful
Tests / build-and-test (push) Successful in 23s
Tests / build-and-test (pull_request) Successful in 3m4s
faac4da483
Repin SystemK.
Some checks failed
Tests / build-and-test (push) Failing after 17s
Tests / build-and-test (pull_request) Failing after 17s
16077f1358
Repin SystemK.
Some checks failed
Tests / build-and-test (push) Failing after 17s
Tests / build-and-test (pull_request) Failing after 19s
7d02107988
Bumped minor version
Some checks failed
Tests / build-and-test (push) Failing after 37s
Tests / build-and-test (pull_request) Failing after 33s
d7a2567778
Joe changed title from Fix for the Konfigurator breaking BLE advertising (and related game features) to v2.00: SystemK v2.02, ESP-IDF v6.1.0 2026-10-17 13:52:31 +00:00
Joe changed title from v2.00: SystemK v2.02, ESP-IDF v6.1.0 to v2.02: SystemK v2.02, ESP-IDF v6.1.0 2026-10-17 13:52:42 +00:00
ESP-IDF v6.1.0
All checks were successful
Tests / build-and-test (push) Successful in 28s
Tests / build-and-test (pull_request) Successful in 17s
3637291292
Updated the README
All checks were successful
Tests / build-and-test (push) Successful in 21s
Tests / build-and-test (pull_request) Successful in 35s
1230cbff75
Fixed RMT initialization.
All checks were successful
Tests / build-and-test (push) Successful in 25s
Tests / build-and-test (pull_request) Successful in 21s
ef7c0e83ce
Faster USB stick initialization.
All checks were successful
Tests / build-and-test (push) Successful in 32s
Tests / build-and-test (pull_request) Successful in 44s
3204038885
Joe merged commit 11b2a0e9c1 into main 2026-10-18 20:12:09 +00:00
Joe deleted branch fix/Konfigurator-breaks-BLE-sdvertising 2026-10-18 20:12:09 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Software/2024A-SW!20
No description provided.