Hello,
I am trying to move my project to CI and I am having some trouble with the integration process.
The header files located in the include directory are not found. Everything compile just fine on VsCode.
-
This is the command i am running:
platformio ci src/main.cpp --project-conf=platformio.ini
-
This is my project config:
[env:bluepill_f103c8] platform = ststm32 board = bluepill_f103c8 framework = arduino upload_port = /dev/ttyUSB* upload_protocol = serial monitor_speed = 115200
-
This is my file structure:
├── primary
│ ├── include
│ │ ├── flight_module.h
│ │ ├── imu_driver.h
│ │ ├── odom.h
│ │ ├── pmw3901.h
│ │ ├── README
│ │ ├── sensors_define.h
│ │ ├── status.h
│ │ └── tof_driver.h
│ ├── platformio.ini
│ ├── src
│ │ ├── flight_module.cpp
│ │ ├── imu_driver.cpp
│ │ ├── main.cpp
│ │ ├── odom.cpp
│ │ ├── pmw3901.cpp
│ │ ├── status.cpp
│ │ └── tof_driver.cpp
- And that’s my error:
src/main.cpp:1:10: fatal error: flight_module.h: No such file or directory
Any ideas what I’m doing wrong?