Reduce RAM memory usage by tuning the stack of the stasks and the heap allocated for FreeRTOS.
Add Monitor to log the stack usage of each task.
This commit is contained in:
parent
89e7033830
commit
a83f067af9
7 changed files with 62 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ void NrfLogger::Init() {
|
|||
|
||||
NRF_LOG_DEFAULT_BACKENDS_INIT();
|
||||
|
||||
if (pdPASS != xTaskCreate(NrfLogger::Process, "LOGGER", 512, nullptr, 0, &m_logger_thread))
|
||||
if (pdPASS != xTaskCreate(NrfLogger::Process, "LOGGER", 200, this, 0, &m_logger_thread))
|
||||
APP_ERROR_HANDLER(NRF_ERROR_NO_MEM);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue