Fit Nordic Full KISS with lossless assets and firmware lifetime trimming

This commit is contained in:
mikecarper committed 2026-10-26 18:21:18 -07:00
1 parent 2369a3d28c
commit b4bec19e88
51 files changed
+7739 -17

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#if defined(NRF52_PLATFORM) && defined(MESH_NRF52_NO_PROGRAM_EXIT) && MESH_NRF52_NO_PROGRAM_EXIT
// The qualified Adafruit nRF52 Arduino main never exits: the scheduler runs
// forever and its only return path invokes NVIC_SystemReset(). Device reboot
// and update paths also reset the MCU rather than terminating a C++ process.
// Do not retain registrations for global process-exit cleanup which cannot
// run. Automatic RAII destructors, explicit close/shutdown and dynamic delete
// remain ordinary C++ operations and are unaffected by this ABI entry point.
// nrf52_flash_trim.py enables this only for the exact reviewed core main hash.
extern "C" __attribute__((visibility("hidden"))) int __aeabi_atexit(
void*, void (*)(void*), void*) {
return 0;
}
#endif