How do I use extram_bss in CMakeLists?
Posted: Wed Feb 02, 2022 11:37 pm
The API guide for external RAM mentions that extram_bss "linker fragment scheme" can be used to force all bss of a component into external RAM. Can someone show the code syntax to use this technique? I am on 4.0 and 4.4 IDFs using cmake.
Here is an example CMakeLists.txt for one of my application components:
Here is an example CMakeLists.txt for one of my application components:
Code: Select all
set(srcs "ca_wifi.c" "wifi_scan.c" "ble_init.c" "gatt_svr.c")
idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS "." "../../main/include"
"../bme680/include"
"../ca_drivers/include" "../ca_sound/include"
"../mqtt/include" "../partition_mgt/include"
REQUIRES spiffs fatfs bt nvs_flash app_update esp-tls
esp_adc_cal port mqtt)