mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-24 17:58:11 +08:00
include arm_math with annoying cmsis_rtos bug fix
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
|
||||
// Because of broken cmsis_os.h, we need to include arm_math first,
|
||||
// otherwise chip specific defines are ommited
|
||||
#include <stm32f4xx_hal.h> //Sets up the correct chip specifc defines required by arm_math
|
||||
#define ARM_MATH_CM4
|
||||
#include <arm_math.h>
|
||||
|
||||
#include <low_level.h>
|
||||
|
||||
#include <cmsis_os.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <cmsis_os.h>
|
||||
|
||||
#include <main.h>
|
||||
#include <adc.h>
|
||||
|
||||
Reference in New Issue
Block a user