From be4c4eb90b39124bebfba2252d7c7fb318e99d1c Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Thu, 19 Nov 2015 18:03:59 +0100 Subject: [PATCH] STM32F411: prettify cmsis-core / cmsis-stm This is just wording for the Teacup changes notes consistent with the other cmsis- files. --- cmsis-core_cm4.h | 4 ---- cmsis-core_cm4_simd.h | 6 +----- cmsis-stm32f4xx.h | 6 +----- 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/cmsis-core_cm4.h b/cmsis-core_cm4.h index 135d961..3fdac10 100644 --- a/cmsis-core_cm4.h +++ b/cmsis-core_cm4.h @@ -38,10 +38,6 @@ Copied from $(MBED)/libraries/mbed/targets/cmsis/core_cm4.h. - Used only to get things running quickly. Without serial it's almost - impossible to see wether code changes work. Should go away soon, because - all this MBED stuff is too bloated for Teacup's purposes. - - Replaced __DSB(); with __ASM volatile ("dsb"). - Added from mbed-core_cmFunc.h: __enable_irq() and __disable_irq()\ - Added from mbed-core_cmInstr: __CLZ and __RBIT diff --git a/cmsis-core_cm4_simd.h b/cmsis-core_cm4_simd.h index bdb71b7..cc9ac8f 100644 --- a/cmsis-core_cm4_simd.h +++ b/cmsis-core_cm4_simd.h @@ -38,11 +38,7 @@ Copied from $(MBED)/libraries/mbed/targets/cmsis/mbed-core_cm4_simd.h. - Used only to get things running quickly. Without serial it's almost - impossible to see wether code changes work. Should go away soon, because - all this MBED stuff is too bloated for Teacup's purposes. - - - Prefixed names of #include files with mbed- to match the names of the + - Prefixed names of #include files with cmsis- to match the names of the copies in the Teacup repo. */ diff --git a/cmsis-stm32f4xx.h b/cmsis-stm32f4xx.h index 6c643fa..47e7798 100644 --- a/cmsis-stm32f4xx.h +++ b/cmsis-stm32f4xx.h @@ -50,11 +50,7 @@ Copied from $(MBED)/libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/stm32f411xe.h and stm32f4xx.h - Used only to get things running quickly. Without serial it's almost - impossible to see wether code changes work. Should go away soon, because - all this MBED stuff is too bloated for Teacup's purposes. - - - Prefixed names of #include files with mbed- to match the names of the + - Prefixed names of #include files with cmsis- to match the names of the copies in the Teacup repo. - Prefixed function names with mbed_ to not conflict with Teacup names. - Comment out HAL_DRIVERS