mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
CF/BF - Update DSP_Lib and STM32F7/Drivers/CMSIS to CMSIS 5.3.0. (#5431)
* CF/BF - Update DSP_Lib and STM32F7/Drivers/CMSIS to CMSIS 5.3.0. CMSIS 5.3.0 - https://github.com/ARM-software/CMSIS_5/releases/tag/5.3.0 * cleanup lib. * pfft * relocate driver files from lib/main/CMSIS/CM* to lib/main/STM32xx folders * Move DSP folder inside CM5. It came from the same source as the other files inside CM5 * Remove the CM5 folder and move the files in it one level up.
This commit is contained in:
parent
416495e17a
commit
0a2e5a5878
2056 changed files with 93171 additions and 1526324 deletions
|
@ -36,14 +36,6 @@ __attribute__( ( always_inline ) ) static inline void __set_BASEPRI_MAX_nb(uint3
|
|||
__ASM volatile ("\tMSR basepri_max, %0\n" : : "r" (basePri) );
|
||||
}
|
||||
|
||||
// set BASEPRI_MAX register, with memory barrier
|
||||
# if !defined(STM32F3) && !defined(STM32F4) && !defined(STM32F7) /* already defined in /lib/main/CMSIS/CM4/CoreSupport/core_cmFunc.h for F4 targets */
|
||||
__attribute__( ( always_inline ) ) static inline void __set_BASEPRI_MAX(uint32_t basePri)
|
||||
{
|
||||
__ASM volatile ("\tMSR basepri_max, %0\n" : : "r" (basePri) : "memory" );
|
||||
}
|
||||
# endif
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(UNIT_TEST)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue