STM32WLxx port

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: STM32WLxx port

Post by vrollei »

About ftl files.
I use compatible L4 ftl files:
tools/ftl/processors/boards/stm32l4xx/templates

Do we need dedicated ftl files for STM32WL line?
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: STM32WLxx port

Post by FXCoder »

Hi Vitaly,
All good.
Updated hal_lld.c applied.

Yes the implementations should have ftl per family - (ftl/processors/boards/templates & ftl/processors/conf & processors.xml)
So that is to be done some time...

BTW many thanks for all the work in putting the WL55 implementation together!
--
Bob
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: STM32WLxx port

Post by vrollei »

Bob,

not at all, my pleasure!

Shall we discuss next steps?

There are a lot of things to do with this STM32 line.
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: STM32WLxx port

Post by FXCoder »

Definitely there is plenty to do...

I'll first run up my own multi-radio project code base on the NUCLEO WL55.
This code base runs on a variety of STM32 platforms already so adding another is not big effort.
(I have a multi-build and config for all the different STM targets)
First up that will be using a si4463 external module for a radio just to check that everything works.
Then I have to add the semtech stack and get LoRa running with just the M4.
That may take a little time.
The RP2040 is also work in progress and has quite a bit to do yet.

At the same time I have a work project using WL55 (which may also involve WB55).
BTW I have a first draft IPCCv1 driver (very simple) that is necessary for the WB55 but not immediately needed for the WL55.

What have you in mind to do with the WL55?
--
Bob
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: STM32WLxx port

Post by vrollei »

Good plan!

I did already porting Semtech stack to ChibiOS for SX1272 with ChibiOS PWR Driver for Low Power support and RTC based ST (STM32L1, L4),
so it can be easily used for SX1276 and WLxx, but new Radio driver over SUBGHZ-SPI should be added.

I am plaining to do drivers for WLxx:
- SUBGHZ Radio driver
- PWR driver
- RTC based ST if needed for Lora timing.

to run Semtech stack on ChibiOS WLxx port.

So I can contribute...
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: STM32WLxx port

Post by FXCoder »

FYI I took the flash size in the STM32WLxxC.ld down to 128K.
This allows openocd 11.0 (with the extra script for nucleo added) to load/run from Eclipse.
Anyway that helps for the Eclipse crowd.
As for VS I'll leave that to you to test when you have a WL55 NUCLEO to hand.
--
Bob
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: STM32WLxx port

Post by vrollei »

Hi Bob,

I can run test on my own designed STM32WLxx board, but not sure what VS means.

Port update is attached, ftls added (ETH, USB and HSEBYPASS parts removed), STM32WLxxxX.ld changed according common FLASH/RAM size, demos and board files updated to fit changes.
Attachments
stm32wlxx-port-update.tar.gz
(8.17 KiB) Downloaded 497 times
vrollei
Posts: 163
Joined: Sun Nov 13, 2016 8:44 am
Been thanked: 26 times

Re: STM32WLxx port

Post by vrollei »

Forgot to change ftl file in board.chcfg,
correct version is attached.
Attachments
stm32wlxx-port-update.tar.gz
(8.29 KiB) Downloaded 518 times
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: STM32WLxx port

Post by FXCoder »

Thanks.
VS is just my shorthand for vscode.
--
Bob
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: STM32WLxx port

Post by Giovanni »

When this port has become stable we need to add an mcuconf.h generator or demos will bit rot after a while.

Giovanni
Post Reply