Open
Description
The CMake variable PICO_DEOPTIMIZED_DEBUG
is not mentioned in the Pico SDK documentation, nor the Getting Started guide.
It is an important part of configuration, especially since leaving it unset results in some debug features not working (at least as of SDK version <1.5.0 when I last checked). I would have expected it to be listed in Section 6.1 - Full List of SDK Configuration Variables.
While I'm at it, I went ahead and assembled a list linking to that and other possible contenders from the SDK source that you may or may not want to make note of in the documentation:
(SDK searched with regex if.*NOT.*PICO_
)
PICO_DEOPTIMIZED_DEBUG
PICO_DEFAULT_BOARD_rp2040
PICO_DEFAULT_BOARD_rp2350
PICO_DEFAULT_BOARD_rp2350-arm-s
PICO_DEFAULT_BOARD_rp2350-riscv
PICO_DEFAULT_BOARD_host
PICO_DEFAULT_PLATFORM
PICO_TOOLCHAIN_DIR
PICO_NO_CMSE
PICO_CLIB
PICO_CMAKE_PRELOAD_PLATFORM_DIR
PICO_PLATFORM_CMAKE_DIR
?PICO_PLATFORM_CMAKE_FILE
?PICO_TIME_NO_ALARM_SUPPORT
PICO_DEFAULT_DOUBLE_IMPL
PICO_DEFAULT_BINARY_TYPE
PICO_LINKER_SCRIPT_PATH
PICO_FLASH_SIZE_BYTES
PICO_SDK_PATH
PICO_SDK_FETCH_FROM_GIT
PICO_SDK_FETCH_FROM_GIT_PATH
PICO_SDK_FETCH_FROM_GIT_TAG
PICO_EXAMPLES_PATH
PICO_BTSTACK_PATH
PICO_CYW43_DRIVER_PATH
PICO_LWIP_PATH
PICO_LWIP_CONTRIB_PATH
PICO_MBEDTLS_PATH
PICO_TINYUSB_PATH