HAL_ChibiOS: F412 doesn't have CCM ram

This commit is contained in:
Andrew Tridgell 2018-01-11 09:03:01 +11:00
parent 85f4958e4e
commit f135e73e04

View File

@ -32,8 +32,8 @@
#define MIN_ALIGNMENT 8
#ifdef STM32F4xx_MCUCONF
// assume all F4xx MCUs have 64k CCM
#if defined(STM32F427xx) || defined(STM32F405xx)
// 427 and 405 have 64k CCM ram
#define CCM_RAM_ATTRIBUTE __attribute__((section(".ram4")))
#endif