[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
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:


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


User avatar
Posts: 2755
Joined: Mon Jan 06, 2014 6:08 pm
Location: Shuswap, BC, Canada

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)

Post Reply