You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using env on linux.
On rt-thread v5.1.0 building for stm32l4 works. On the current git building for stm32l4 does not work.
Also, rt-thread/bsp/stm32/libraries/STM32L4xx_HAL is missing.
On 5.1.0, building for stm32l4 works:
koen@nuc:~/src$ git clone --branch v5.1.0 https://github.com/RT-Thread/rt-thread
koen@nuc:~/src$ cd rt-thread/bsp/stm32/stm32l496-st-nucleo/
koen@nuc:~/src/rt-thread/bsp/stm32/stm32l496-st-nucleo$ scons
scons: Reading SConscript files ...
Newlib version: 4.3.0
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build/applications/main.o
CC build/board/CubeMX_Config/Src/stm32l4xx_hal_msp.o
CC build/board/board.o
CC build/kernel/components/drivers/core/device.o
CC build/kernel/components/drivers/ipc/completion.o
CC build/kernel/components/drivers/ipc/condvar.o
CC build/kernel/components/drivers/ipc/dataqueue.o
...
arm-none-eabi-size rt-thread.elf
text data bss dec hex filename
78760 1132 4076 83968 14800 rt-thread.elf
scons: done building targets.
On the current git building for stm32l4 does not work:
koen@nuc:~/src$ git clone https://github.com/RT-Thread/rt-thread
koen@nuc:~/src$ cd rt-thread/bsp/stm32/stm32l496-st-nucleo/
koen@nuc:~/src/rt-thread/bsp/stm32/stm32l496-st-nucleo$ scons
scons: Reading SConscript files ...
Newlib version: 4.3.0
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build/applications/main.o
In file included from applications/main.c:12:
board/board.h:14:10: fatal error: stm32l4xx.h: No such file or directory
14 | #include <stm32l4xx.h>
| ^~~~~~~~~~~~~
compilation terminated.
scons: *** [build/applications/main.o] Error 1
scons: building terminated because of errors.
The libraries for stm32l4 are missing?
koen@nuc:~/src$ ls rt-thread/bsp/stm32/libraries/STM32L4xx_HAL
ls: cannot access 'rt-thread/bsp/stm32/libraries/STM32L4xx_HAL': No such file or directory
The text was updated successfully, but these errors were encountered:
koendv
changed the title
stm32l4
stm32l4 libraries missing?
May 16, 2024
please use pkgs --upgrade-force to update your package index, and menuconfig do nothing but exit, it will auto donwload the L4 libraries. The stm32 L4 HAL library has became to a software package, it will auto download when you exit menuconfig and pkgs --update
I am using env on linux.
On rt-thread v5.1.0 building for stm32l4 works. On the current git building for stm32l4 does not work.
Also, rt-thread/bsp/stm32/libraries/STM32L4xx_HAL is missing.
On 5.1.0, building for stm32l4 works:
On the current git building for stm32l4 does not work:
The libraries for stm32l4 are missing?
The text was updated successfully, but these errors were encountered: