1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00

cpu/stm32: add unused backup RAM as extra heap

This commit is contained in:
Benjamin Valentin 2022-11-16 13:21:50 +01:00 committed by Benjamin Valentin
parent ba3ccfe32e
commit 6f05daceb3

View File

@ -78,6 +78,11 @@
#error Not supported CPU family
#endif
/* add unused backup RAM as extra heap */
#if !defined(NUM_HEAPS) && CPU_HAS_BACKUP_RAM
#define NUM_HEAPS 2
#endif
#ifdef __cplusplus
extern "C" {
#endif