fix MPU compilation issue

pull/9274/head
Cai 2019-01-07 19:51:17 +08:00
parent c27dabe765
commit aedeaf98cd
2 changed files with 16 additions and 2 deletions

View File

@ -70,7 +70,7 @@ typedef enum IRQn
*/
/* Configuration of the Cortex-M4 Processor and Core Peripherals */
#define __MPU_PRESENT 1 /*!< MPU present or not */
#define __MPU_PRESENT 0 /*!< MPU present or not */
#define __NVIC_PRIO_BITS 5 /*!< Number of Bits used for Priority Levels */
#define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
#define __FPU_PRESENT 1 /*!< FPU present */

View File

@ -7921,7 +7921,21 @@
"extra_labels": ["RDA", "UNO_91H", "FLASH_CMSIS_ALGO"],
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
"macros": ["TWO_RAM_REGIONS", "CMSIS_NVIC_VIRTUAL", "CMSIS_NVIC_VIRTUAL_HEADER_FILE=\"RDA5981_nvic_virtual.h\""],
"device_has": ["USTICKER", "PORTIN", "PORTOUT", "PORTINOUT", "INTERRUPTIN", "SERIAL", "STDIO_MESSAGES", "PWMOUT", "SPI", "SLEEP", "ANALOGIN", "FLASH", "TRNG", "MPU"],
"device_has": [
"USTICKER",
"PORTIN",
"PORTOUT",
"PORTINOUT",
"INTERRUPTIN",
"SERIAL",
"STDIO_MESSAGES",
"PWMOUT",
"SPI",
"SLEEP",
"ANALOGIN",
"FLASH",
"TRNG"
],
"release_versions": ["2", "5"]
},
"UNO_91H": {