Hi Bob,
have not checked it with current trunk. You can try to use it with current version, just pay attention with merging these files according new ChibiOS version:
modified: os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
modified: os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h
modified: os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
STM32WLxx port
Re: STM32WLxx port
Hi,
update for current trunk version:
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/Makefile
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/cfg/chconf.h
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/cfg/halconf.h
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/cfg/mcuconf.h
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/main.c
new file: os/common/ext/ST/STM32WLxx/stm32wl54xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wl55xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wle4xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wle5xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wlxx.h
new file: os/common/ext/ST/STM32WLxx/system_stm32wlxx.h
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLExx8.ld
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLExxB.ld
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLExxC.ld
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLxxC.ld
new file: os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wlxx.mk
new file: os/common/startup/ARMCMx/devices/STM32WLxx/cmparams.h
new file: os/hal/boards/ST_NUCLEO_WL5JC/board.c
new file: os/hal/boards/ST_NUCLEO_WL5JC/board.h
new file: os/hal/boards/ST_NUCLEO_WL5JC/board.mk
new file: os/hal/boards/ST_NUCLEO_WL5JC/cfg/board.chcfg
new file: os/hal/boards/ST_NUCLEO_WL5JC/cfg/board.fmpp
new file: os/hal/ports/STM32/LLD/EXTIv1/stm32_exti16_34.inc
new file: os/hal/ports/STM32/LLD/EXTIv1/stm32_exti45.inc
modified: os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
modified: os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h
modified: os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
new file: os/hal/ports/STM32/STM32WLxx/hal_efl_lld.c
new file: os/hal/ports/STM32/STM32WLxx/hal_efl_lld.h
new file: os/hal/ports/STM32/STM32WLxx/hal_lld.c
new file: os/hal/ports/STM32/STM32WLxx/hal_lld.h
new file: os/hal/ports/STM32/STM32WLxx/platform.mk
new file: os/hal/ports/STM32/STM32WLxx/stm32_dmamux.h
new file: os/hal/ports/STM32/STM32WLxx/stm32_isr.c
new file: os/hal/ports/STM32/STM32WLxx/stm32_isr.h
new file: os/hal/ports/STM32/STM32WLxx/stm32_rcc.h
new file: os/hal/ports/STM32/STM32WLxx/stm32_registry.h
new file: tools/ftl/schema/boards/stm32wlxx_board.xsd
update for current trunk version:
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/Makefile
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/cfg/chconf.h
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/cfg/halconf.h
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/cfg/mcuconf.h
new file: demos/STM32/RT-STM32WL5JC-NUCLEO/main.c
new file: os/common/ext/ST/STM32WLxx/stm32wl54xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wl55xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wle4xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wle5xx.h
new file: os/common/ext/ST/STM32WLxx/stm32wlxx.h
new file: os/common/ext/ST/STM32WLxx/system_stm32wlxx.h
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLExx8.ld
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLExxB.ld
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLExxC.ld
new file: os/common/startup/ARMCMx/compilers/GCC/ld/STM32WLxxC.ld
new file: os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32wlxx.mk
new file: os/common/startup/ARMCMx/devices/STM32WLxx/cmparams.h
new file: os/hal/boards/ST_NUCLEO_WL5JC/board.c
new file: os/hal/boards/ST_NUCLEO_WL5JC/board.h
new file: os/hal/boards/ST_NUCLEO_WL5JC/board.mk
new file: os/hal/boards/ST_NUCLEO_WL5JC/cfg/board.chcfg
new file: os/hal/boards/ST_NUCLEO_WL5JC/cfg/board.fmpp
new file: os/hal/ports/STM32/LLD/EXTIv1/stm32_exti16_34.inc
new file: os/hal/ports/STM32/LLD/EXTIv1/stm32_exti45.inc
modified: os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.c
modified: os/hal/ports/STM32/LLD/SPIv2/hal_spi_lld.h
modified: os/hal/ports/STM32/LLD/TIMv1/hal_st_lld.c
new file: os/hal/ports/STM32/STM32WLxx/hal_efl_lld.c
new file: os/hal/ports/STM32/STM32WLxx/hal_efl_lld.h
new file: os/hal/ports/STM32/STM32WLxx/hal_lld.c
new file: os/hal/ports/STM32/STM32WLxx/hal_lld.h
new file: os/hal/ports/STM32/STM32WLxx/platform.mk
new file: os/hal/ports/STM32/STM32WLxx/stm32_dmamux.h
new file: os/hal/ports/STM32/STM32WLxx/stm32_isr.c
new file: os/hal/ports/STM32/STM32WLxx/stm32_isr.h
new file: os/hal/ports/STM32/STM32WLxx/stm32_rcc.h
new file: os/hal/ports/STM32/STM32WLxx/stm32_registry.h
new file: tools/ftl/schema/boards/stm32wlxx_board.xsd
- Attachments
-
- stm32wlxx.tar.gz
- (428.09 KiB) Downloaded 124 times
Vitaly
- FXCoder
- Posts: 384
- Joined: Sun Jun 12, 2016 4:10 am
- Location: Sydney, Australia
- Has thanked: 180 times
- Been thanked: 130 times
Re: STM32WLxx port
Hi Vitaly,
I built the demo and was able to flash/run using STM32CubeProgrammer.
I tried an Eclipse debug setup with openocd 0.11.0 which did have a scripts/target/stm32wlx.cfg but not a scripts/board/st_nucleo_wl55.cfg.
Adding the scripts/board/st_nucleo_wl55.cfg (suitably configured per below) failed erase during openocd flash programming phase.
Will look further ASAP (you may know the answer anyway).
Also I changed the demo and board.h to use LPSD1 instead of SD1 since LPSD1 is routed to the ST-LINK VCOM (i.e. the standard demo setup).
--
Bob
I built the demo and was able to flash/run using STM32CubeProgrammer.
I tried an Eclipse debug setup with openocd 0.11.0 which did have a scripts/target/stm32wlx.cfg but not a scripts/board/st_nucleo_wl55.cfg.
Adding the scripts/board/st_nucleo_wl55.cfg (suitably configured per below) failed erase during openocd flash programming phase.
Will look further ASAP (you may know the answer anyway).
Also I changed the demo and board.h to use LPSD1 instead of SD1 since LPSD1 is routed to the ST-LINK VCOM (i.e. the standard demo setup).
--
Bob
Code: Select all
#
# Configuration for STM32WL55 Nucleo board (STM32WL55JCI7U)
#
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32wlx.cfg]
reset_config srst_only
- FXCoder
- Posts: 384
- Joined: Sun Jun 12, 2016 4:10 am
- Location: Sydney, Australia
- Has thanked: 180 times
- Been thanked: 130 times
Re: STM32WLxx port
Hi,
Also renamed the board to ST_NUCLEO_WL55JC and updated demo project etc. to match.
There is also more to be added in tools/ftl/... which can happen as time permits.
--
Bob
Also renamed the board to ST_NUCLEO_WL55JC and updated demo project etc. to match.
There is also more to be added in tools/ftl/... which can happen as time permits.
--
Bob
Re: STM32WLxx port
Hi Bob,
thanks for reply!
Board name and output over LPUART1 fixed. Could you please pull changes from GitHub and check demo, I do not have NUCLEO WL55 board to run tests.
Sorry, but I do not use Eclipse, so can not tell anything about configuration file for it. I use vscode with cortex-debug plugin, it is much better on my taste.
thanks for reply!
Board name and output over LPUART1 fixed. Could you please pull changes from GitHub and check demo, I do not have NUCLEO WL55 board to run tests.
Sorry, but I do not use Eclipse, so can not tell anything about configuration file for it. I use vscode with cortex-debug plugin, it is much better on my taste.
Vitaly
- FXCoder
- Posts: 384
- Joined: Sun Jun 12, 2016 4:10 am
- Location: Sydney, Australia
- Has thanked: 180 times
- Been thanked: 130 times
Re: STM32WLxx port
Hi Vitaly,
Not sure what you want me to do with your github fork?
The changes to demo are applied and updated in OSDN chibios/trunk already.
OK about other ftl files.
I will deal with them as time permits.
--
Bob
Not sure what you want me to do with your github fork?
The changes to demo are applied and updated in OSDN chibios/trunk already.
OK about other ftl files.
I will deal with them as time permits.
--
Bob
Re: STM32WLxx port
Hi Bob,
If you have access to ChibiOS svn there is nothing to do with my GitHub fork, I just track all my changes using GitHub.
Please update os/hal/ports/STM32/STM32WLxx/hal_lld.c with attached file. There was a mistake in line 197.
Thanks!
If you have access to ChibiOS svn there is nothing to do with my GitHub fork, I just track all my changes using GitHub.
Please update os/hal/ports/STM32/STM32WLxx/hal_lld.c with attached file. There was a mistake in line 197.
Thanks!
- Attachments
-
- hal_lld.c.gz
- (2.8 KiB) Downloaded 126 times
Vitaly
Who is online
Users browsing this forum: No registered users and 9 guests