summaryrefslogtreecommitdiff
path: root/src/tangara/app_console
AgeCommit message (Collapse)Author
2025-08-26Add index column to `bt_list` commandRyan Waskiewicz
This commit adds an 'index' field to the output of the `bt_list` command. This is meant to be used with/for `bt_forget <index>`, which requires an index of the device to forget - this helps clarify the index of each device.
2025-04-24app console: add LVGL heap to heap statsBe
2025-03-24app console: add largest free block size to `heaps`Be
This is the maximum amount that malloc can currently allocate in a single allocation.
2025-02-28add bt_forget console commandWesley Ellis
2025-02-10Merge pull request 'Console: Update doco to point to `sdkconfig`, and handle ↵ailurux
no-stats cases.' (#257) from tursiae/tangara-fw:tasksconfig into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/257
2025-02-10s/sdkconfig.local/sdkconfig/gTursiae
2025-02-10Also document the `idf.py menuconfig` approach.Tursiae
2025-02-09Console: Update doco to point to `sdkconfig.local`, and handle no-stats cases.Tursiae
When `CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS` is not set, the FreeRTOS scheduler will not keep track of task runtime statistics, and the `tasks` command on the console will show `nan%` for the usage. This adds a recommendation for the user to enable the `...STATS` config in their build, and also updates the guidance for `configUSE_TRACE_FACILITY` to point at the supported `sdkconfig.local` configuration pathway, instead of pointing at the `#define` that's deeper in the configuration stack. Also, the sampling period is dropped from 2.5s to 10ms when the runtime stats are not enabled; given that we're not measuring any usage, it's not worth sleeping any longer than that. We might even be able to drop to zero?
2025-02-09Console: Stop `tasks` from hanging in `std::sort`.Tursiae
`std::sort` expects a comparator that returns `a < b`. Flipping this to `a >= b` would normally be fine to reverse the order, but floats behave weirdly with NaN. Instead of flipping the comparator, this uses the reverse-iterators to reverse the sort order of the tasks, and returns to an `a < b` comparator.
2024-07-24Add a settings screen with power+battery infojacqueline
Mostly for debugging, but also u can toggle fast charging off and on now
2024-07-17Add a console command to dump a snapshotjacqueline
2024-07-11WIP improve bluetooth api and settings screenjacqueline
2024-07-03Tweak app console setup to improve companion connectionsjacqueline
- disable regular log output when entering the console - disable colour changes for the prompt character
2024-05-02move driver includes into a subdir as welljacqueline
2024-05-02start moving include files into subdirsjacqueline
2024-05-02WIP merge cyclically dependent components into one big componentjacqueline