Migration from Keil to AC6
Hi there!
I’m move my project form Keil uVision 5 to System Workbench but I have a proble with header file.
First, I use STM32CubeMx to generete the project for AC6.
I setup the microcontroller peripheral with STM32CubeMx and I added the FreeRTOS.
Next I generate the project selecting:
- Toolchain SW4STM32
- Copy all used library into the file project.
Second, I import my project into AC6: File -> Import -> General -> Existing project.
I can build the project without errors and I can start the debug.
Now I need to import a folder which contain my source code (task, peripheral libraries, ...).
I create a new source folder into the root of the project and I import the source and header files.
Import -> General -> File system -> My folder.
Three, I build the project and I obtain an error: ../Local/task/task_init.c:13:21: fatal error: service.h: No such file or directory.
Local is the source folder that I added and its contain my code.
With Keil I haven’t compilation errors.
I need to specify the header file into compiler options?
Any suggestions?
Thanks in advance!