[STM32L072CZ / B-L072Z-LRWAN1] Porting micropython small LoRa board

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
marciol
Posts: 1
Joined: Fri Jan 19, 2018 1:53 pm

[STM32L072CZ / B-L072Z-LRWAN1] Porting micropython small LoRa board

Post by marciol » Fri Jan 19, 2018 2:10 pm

Hi all.

I'm interested in buy the B-L072Z-LRWAN1 STM discovery kit, so I need an opinion if it is worth the money that I willing to expend.

This board is composed of a SX1276 transceiver and a STM32L072CZ in a small module of 11.5mm x 13mm.

The chip in question has the follow spec memory:

* 192 KB Flash memory
* 20 KB RAM

Follow the link for the discovery kit:

http://www.st.com/content/st_com/en/pro ... rwan1.html that

The link for the STM32L072CZ:

http://www.st.com/en/microcontrollers/stm32l072cz.html

It will feasible to port micropython? What do you think?

BR

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: [STM32L072CZ / B-L072Z-LRWAN1] Porting micropython small LoRa board

Post by dhylands » Fri Jan 19, 2018 4:25 pm

Seems like it might be possible. Certainly not easy as you'd need to strip things down to fit. I wouldn't recommend it as your first port. If you also want to support extra peripherals it feels like things will be really tight.

Minimal micropython needs about 80k flash. The micropython on the pyboard needs 256k flash (without counting the file system)

User avatar
WhiteHare
Posts: 129
Joined: Thu Oct 04, 2018 4:00 am

Re: [STM32L072CZ / B-L072Z-LRWAN1] Porting micropython small LoRa board

Post by WhiteHare » Thu Oct 11, 2018 12:05 am

The OP could control the LoRa radio from a Wemos, which obviously supports micropython already. Example: https://www.openhardware.io/view/394/Mi ... os-D1-Mini

Post Reply