Added support for configurable logging on the ESP32 platform. #10

Merged
Joe merged 5 commits from console_dev into main 2026-01-10 22:25:50 +00:00
Owner

Because the ESP-IDF supports runtime log level control, SystemK required some tweak to take full advantage of this.

This PR makes the following changes to SystemK:

  • On the ESP32 platform, the highest logging level compiled in to the app is now controlable by Kconfig, as "SystemK maximum log level".
  • Protocols.c was refactored, and the DEBUG_PACKET_[EN/DE]CODE #defines were renamed to make it clear that they now only apply to the PSoC platform.
  • Some decoding warnings in the Test Protocol were downgraded to debug, since they were a nuisance most of the time.
Because the ESP-IDF supports [runtime log level control](https://docs.espressif.com/projects/esp-idf/en/v5.5.2/esp32s3/api-reference/system/log.html#log-level-control), SystemK required some tweak to take full advantage of this. This PR makes the following changes to SystemK: - On the ESP32 platform, the highest logging level *compiled in* to the app is now controlable by Kconfig, as "SystemK maximum log level". - [Protocols.c](https://git.ktag.clubk.club/Software/SystemK/src/commit/272618d49d2531c733bf1735a24f32fbb2234a2d/Protocols/Protocols.c) was refactored, and the `DEBUG_PACKET_[EN/DE]CODE` #defines were renamed to make it clear that they now only apply to the PSoC platform. - Some decoding warnings in the Test Protocol were downgraded to debug, since they were a nuisance most of the time.
Joe added 4 commits 2026-01-10 22:20:28 +00:00
Joe added 1 commit 2026-01-10 22:22:24 +00:00
Joe merged commit c4350ebd27 into main 2026-01-10 22:25:50 +00:00
Joe deleted branch console_dev 2026-01-10 22:25:50 +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/SystemK#10
No description provided.