Skip to content

fatal error: stm32_def.h: No such file or directory #3

Closed
@heathkit

Description

@heathkit

Hi there! Really excited to use this library in PlatformIO. However, with a simple project I'm not able to build. Here's my platformio.ini

[env:bluepill_f103c8]
platform = ststm32
board = bluepill_f103c8
framework = arduino
debug_tool = stlink-v2
build_flags = -std=gnu++11 -MMD -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1 -DSERIAL_USB 
build_unflags = -lc -lstdc++ -lnosys

lib_deps =
  Nanopb
  PacketSerial
  STM32duino FreeRTOS

When I try to build, I get this error while building FreeRTOS

Compiling .pioenvs/bluepill_f103c8/lib823/STM32duino FreeRTOS_ID2093/FreeRTOS/Source/event_groups.o
In file included from .piolibdeps/STM32duino FreeRTOS_ID2093/src/FreeRTOS/Source/include/portable.h:94:0,
from .piolibdeps/STM32duino FreeRTOS_ID2093/src/FreeRTOS/Source/include/FreeRTOS.h:104,
from .piolibdeps/STM32duino FreeRTOS_ID2093/src/FreeRTOS.h:9,
from .piolibdeps/STM32duino FreeRTOS_ID2093/src/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.h:101,
from .piolibdeps/STM32duino FreeRTOS_ID2093/src/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c:100:
.piolibdeps/STM32duino FreeRTOS_ID2093/src/portmacro.h:9:23: fatal error: stm32_def.h: No such file or directory

Metadata

Metadata

Assignees

Labels

invalidThis doesn't seem right

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions