flo199213 / Hoverboard-Firmware-Hack-Gen2

Hoverboard Hack Firmware Generation 2 for the Hoverboard with the two Mainboards instead of the Sensorboards (See Readme.md).
GNU General Public License v3.0
143 stars 112 forks source link

#include "arm_math.h" #2

Open drbytes opened 6 years ago

drbytes commented 6 years ago

Hi, I installed all the relevant software packs in Keil uVision ... at least that what I thought but I get a compilation error in main.c around line 47: #include "arm_math.h" resulting in

Src\main.c(47): error:  #5: cannot open source input file "arm_math.h": No such file or directory
  #include "arm_math.h" 

Do you know what I'm missing? (keil n00b)

drbytes commented 6 years ago

I've commented the line and it builds.

pieterjanbuntinx commented 5 years ago

You have to include the path C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.4.0\CMSIS\Include in the "Options for Target..." > C/C++. Afterwards it compiles al the c-files but it gets stuck on the other issue that's reported in this repo.

Johnvan commented 5 years ago

I have a similar problem with an adafruit MP3 program that uses arm_math.h, what do I have to do to fix this thing. ERROR: arm_math.h: No such file or directory

pieterjanbuntinx commented 5 years ago

It now works for me. To solve the other error I got I had to enable this: image

Johnvan commented 5 years ago

I have no idea what you are trying to tell me about Enabling this, what and how. Where is this Options for Target.

gaucho1978 commented 5 years ago

You have to include the path C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.4.0\CMSIS\Include in the "Options for Target..." > C/C++. Afterwards it compiles al the c-files but it gets stuck on the other issue that's reported in this repo.

in my case the correct folder is: C:\Users\GauchoHP\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Include

after doing this it correctly compile.

renmalek7 commented 4 years ago

Hi. Were you able to flash this firmware?

Johnvan commented 4 years ago

I updated my IDE and the fault went away. Thankyou for your assistance however, much appreciated.

weiminshen99 commented 1 year ago

The and other related .h files may also be found at this repository: https://github.com/PaulStoffregen/arm_math