Skip to content

Commit

Permalink
Merge pull request #18921 from benpicco/cpu/stm32-bkup_heap
Browse files Browse the repository at this point in the history
cpu/stm32: add unused backup RAM as extra heap
  • Loading branch information
benpicco authored Nov 18, 2022
2 parents 3c7c48e + 6f05dac commit 2f12276
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cpu/stm32/include/cpu_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f12276

Please # to comment.