mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -04:00
HAL_ChibiOS: F412 doesn't have CCM ram
This commit is contained in:
parent
85f4958e4e
commit
f135e73e04
@ -32,8 +32,8 @@
|
|||||||
|
|
||||||
#define MIN_ALIGNMENT 8
|
#define MIN_ALIGNMENT 8
|
||||||
|
|
||||||
#ifdef STM32F4xx_MCUCONF
|
#if defined(STM32F427xx) || defined(STM32F405xx)
|
||||||
// assume all F4xx MCUs have 64k CCM
|
// 427 and 405 have 64k CCM ram
|
||||||
#define CCM_RAM_ATTRIBUTE __attribute__((section(".ram4")))
|
#define CCM_RAM_ATTRIBUTE __attribute__((section(".ram4")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user