Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 819 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 819 Bytes

A blink-led example for R5F102AA (RL78/G12)

The firmware blinks an LED connected to P20 (pin #1). The target MCU is R5F102AA (RL78/G12 in LSSOP-30)

Building

Using Docker

docker run --rm -v "$(pwd):/src" msalau/rl78-elf-llvm make

or

./build.sh

Using a local rl78-llvm toolchain

PATH=<path-to-rl78-llvm>/bin/:${PATH} make

GitHub Actions Integration

A CI workflow to build the firmware in a Docker container which has LLVM for RL78 in it.

The image from Docker Hub used: msalau/rl78-elf-llvm

The final SRecord image is saved in artifacts.