Replace sdkconfig with device.properties (#411)

This commit is contained in:
Ken Van Hoeylandt
2025-11-12 22:36:08 +01:00
committed by GitHub
parent 8335611796
commit 7918451699
85 changed files with 1022 additions and 2379 deletions
+31 -5
View File
@@ -1,20 +1,46 @@
# Get Started
Copy the relevant `sdkconfig.board.*` file into `sdkconfig`.
This will apply the relevant settings to build the project for your hardware.
See [https://docs.tactility.one]
# Useful Parameters
## Enable FPS
You can copy these into `sdkconfig` manually or set them via `idf.py menuconfig`
```
## LVGL FPS Counter
```properties
CONFIG_LV_USE_OBSERVER=y
CONFIG_LV_USE_PERF_MONITOR=y
```
## LVGL Layer debugging
```properties
CONFIG_LV_USE_REFR_DEBUG=y
CONFIG_LV_USE_LAYER_DEBUG=y
```
## Halt on error
```
```properties
CONFIG_ESP_SYSTEM_PANIC_PRINT_HALT=y
# CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT is not set
```
## Stack debugging
[Stack smashing protection mode:](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/kconfig-reference.html#config-compiler-stack-check-mode)
> - In NORMAL mode (GCC flag: -fstack-protector) only functions that call alloca, and functions with buffers larger than 8 bytes are protected.
> - STRONG mode (GCC flag: -fstack-protector-strong) is like NORMAL, but includes additional functions to be protected -- those that have local array definitions, or have references to local frame addresses.
> - In OVERALL mode (GCC flag: -fstack-protector-all) all functions are protected.
```properties
CONFIG_STACK_CHECK_STRONG=y
```
or:
```properties
CONFIG_STACK_CHECK_ALL=y
```