• Home
  • Boards
  • SoCs
  • SoC Components
Renode
  • Home
  • Boards
  • SoCs
  • Vendors
  • SoC Components
Board photo

B_L072Z_LRWAN1

STM32L072CZ
System on Chip
ST
Vendor

Supported software


Zephyr RTOS

Hello World


A simple sample that prints “Hello World” to the console.

Run locally

You can run the Hello World demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 hello_world

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 hello_world demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Hello World demo

SBOM data

Download Software Bill of Materials data for the Hello World demo

Robot Test Suite Log

See a Robot test results for the Hello World demo

Shell Module


This demo demonstrates the Zephyr shell submodule, which allows the user to use a console interface to control the operating system.

Run locally

You can run the Shell Module demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 shell_module

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 shell_module demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Shell Module demo

SBOM data

Download Software Bill of Materials data for the Shell Module demo

Robot Test Suite Log

See a Robot test results for the Shell Module demo

Philosophers


An implementation of a solution to the Dining Philosophers problem which demonstrates the usage of multiple preemptible and cooperative threads of differing priorities, as well as dynamic mutexes and thread sleeping.

Run locally

You can run the Philosophers demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 philosophers

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 philosophers demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Philosophers demo

SBOM data

Download Software Bill of Materials data for the Philosophers demo

Robot Test Suite Log

See a Robot test results for the Philosophers demo

TensorFlow Lite Micro


This sample TensorFlow application replicates a sine wave and demonstrates the basics of using TensorFlow Lite Micro. The model included with the sample is trained to replicate a sine function and generates x values to print alongside the y values predicted by the model.

Run locally

You can run the TensorFlow Lite Micro demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 tensorflow_lite_micro

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 tensorflow_lite_micro demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the TensorFlow Lite Micro demo

SBOM data

Download Software Bill of Materials data for the TensorFlow Lite Micro demo

Robot Test Suite Log

See a Robot test results for the TensorFlow Lite Micro demo

MicroPython


This demo demonstrates the MicroPython Zephyr port by performing arithmetic operations, and by defining and calling simple functions.

Run locally

You can run the MicroPython demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 micropython

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 micropython demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the MicroPython demo

SBOM data

Download Software Bill of Materials data for the MicroPython demo

Robot Test Suite Log

See a Robot test results for the MicroPython demo

Blinky


A basic sample that blinks an LED forever using the Zephyr GPIO API.

Run locally

You can run the Blinky demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 blinky

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 blinky demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Blinky demo

SBOM data

Download Software Bill of Materials data for the Blinky demo

Robot Test Suite Log

See a Robot test results for the Blinky demo

Hello World (user)


A sample that prints “Hello World” to the console from a usermode thread.

Run locally

You can run the Hello World (user) demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 hello_world_user

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 hello_world_user demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Hello World (user) demo

SBOM data

Download Software Bill of Materials data for the Hello World (user) demo

Robot Test Suite Log

See a Robot test results for the Hello World (user) demo

Synchronization


A simple application that demonstrates kernel scheduling, communication, and timing. Two threads take turns printing “Hello World” synchronized by semaphores.

Run locally

You can run the Synchronization demo on the B_L072Z_LRWAN1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b b_l072z_lrwan1 synchronization

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run b_l072z_lrwan1 synchronization demo in Google Colab.

UART output

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Synchronization demo

SBOM data

Download Software Bill of Materials data for the Synchronization demo

Robot Test Suite Log

See a Robot test results for the Synchronization demo

LZ4


This sample application compresses and decompresses a block of data with the LZ4 algorithm and verifies the result.

Run locally

The LZ4 demo is not supported in the Renode Zephyr dashboard on B_L072Z_LRWAN1 yet.

You can contact us by clicking the button below if you want to see it supported.

Contact us

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the LZ4 demo

SBOM data

Download Software Bill of Materials data for the LZ4 demo

Robot Test Suite Log

See a Robot test results for the LZ4 demo

Components


STM32L072CZ

stm32l072cz

Similar boards


Dragino NBSN95 NB-IoT Sensor Node

stm32l072cz

Dragino LSN50 LoRA Sensor Node

stm32l072cz

Device tree


Device tree

Hierarchical device data structure

Renode dts2repl

Converted device tree source into Renode .repl file

Specification


Frequency:

32 MHz

Flash:

192 KiB

RAM:

20 KiB

ADDRESS SPACE ID TYPE DRIVER PERIPHERAL
ADDRESS SPACE 0x08000000 - 0x08030000 ID flash0 TYPE mtd DRIVER PERIPHERAL ST stm32-nv-flash
ADDRESS SPACE 0x08080000 - 0x08081800 ID eeprom TYPE mtd DRIVER driver PERIPHERAL ST stm32-eeprom
ADDRESS SPACE 0x40002800 - 0x40002c00 ID rtc TYPE rtc DRIVER driver PERIPHERAL ST stm32-rtc
ADDRESS SPACE 0x40003800 - 0x40003c00 ID spi2 TYPE spi DRIVER driver PERIPHERAL ST stm32-spi
ADDRESS SPACE 0x40004400 - 0x40004800 ID usart2 TYPE serial DRIVER driver PERIPHERAL ST stm32-usart
ADDRESS SPACE 0x40005400 - 0x40005800 ID i2c1 TYPE i2c DRIVER driver PERIPHERAL ST stm32-i2c-v2
ADDRESS SPACE 0x40005c00 - 0x40006000 ID usb TYPE usb DRIVER driver PERIPHERAL ST stm32-usb
ADDRESS SPACE 0x40010400 - 0x40010800 ID exti TYPE interrupt-controller DRIVER PERIPHERAL ST stm32-exti
ADDRESS SPACE 0x40013000 - 0x40013400 ID spi1 TYPE spi DRIVER driver PERIPHERAL ST stm32-spi
ADDRESS SPACE 0x40013800 - 0x40013c00 ID usart1 TYPE serial DRIVER driver PERIPHERAL ST stm32-usart
ADDRESS SPACE 0x40021000 - 0x40021400 ID rcc TYPE clock DRIVER PERIPHERAL ST stm32-rcc
ADDRESS SPACE 0x40022000 - 0x40022400 ID flash TYPE flash-controller DRIVER PERIPHERAL ST stm32-flash-controller
ADDRESS SPACE 0x40025000 - 0x40025400 ID rng TYPE rng DRIVER driver PERIPHERAL ST stm32-rng
ADDRESS SPACE 0x50000000 - 0x50002000 ID pinctrl TYPE pinctrl DRIVER PERIPHERAL ST stm32-pinctrl
ADDRESS SPACE 0x50000000 - 0x50000400 ID gpioa TYPE gpio DRIVER driver PERIPHERAL ST stm32-gpio
ADDRESS SPACE 0x50000400 - 0x50000800 ID gpiob TYPE gpio DRIVER driver PERIPHERAL ST stm32-gpio
ADDRESS SPACE 0x50000800 - 0x50000c00 ID gpioc TYPE gpio DRIVER driver PERIPHERAL ST stm32-gpio
ADDRESS SPACE 0x50000c00 - 0x50001000 ID gpiod TYPE gpio DRIVER driver PERIPHERAL ST stm32-gpio
ADDRESS SPACE 0x50001000 - 0x50001400 ID gpioe TYPE gpio DRIVER driver PERIPHERAL ST stm32-gpio
ADDRESS SPACE 0x50001c00 - 0x50002000 ID gpioh TYPE gpio DRIVER driver PERIPHERAL ST stm32-gpio
ADDRESS SPACE 0xe000e010 - 0xe000e020 ID systick TYPE timer DRIVER PERIPHERAL ARM armv6m-systick
ADDRESS SPACE 0xe000e100 - 0xe000ed00 ID nvic TYPE interrupt-controller DRIVER PERIPHERAL ARM v6m-nvic
  • What is Renode
  • Market cases
  • News
  • Docs
  • Zephyr Dashboard
  • Antmicro
  • Renode
Copyright © 2021-2023 Antmicro
d6287fa0