Skip to content

msalau/rl78-samples-R5F104FEAFP

Repository files navigation

These are sample applications for Renesas RL78 MCUs.

For more information about RL78 family visit Renesas web site:
http://www.renesas.eu/products/mpumcu/rl78/index.jsp

These samples were tested on R5F104FEAFP (RL78/G14) MCU. But should
run with minimal or no changes on other RL78 parts.

The samples can be built using the rl78-elf-gcc toolchain.
The easiest option is to use a ready-to-use docket image with the toolchain:
https://hub.docker.com/r/msalau/rl78-elf-gcc

E.g.:
  docker run --rm -v "$(pwd):/src" msalau/rl78-elf-gcc:4.9.2.202002 make

A pre-built toolchain can also be obtained from https://llvm-gcc-renesas.com/
https://llvm-gcc-renesas.com/rl78/rl78-download-toolchains/

Directory structure:
common/       - common files for all applications
00-led/       - 'Hello World' example (turn LED on)
01-uart/      - Transmit string through UART0
02-spi/       - Transmit string through CSI0
03-uart-dtc/  - Transmit string through UART0 with DTC
04-sleep/     - Use sub-clock and IT (interval timer)
                to wake MCU up from STOP mode every 125 ms
05-adc/       - Measure Vdd with ADC and transmit result through UART0

For license information see UNLICENSE file.

About

Samples for RL78/G14 (R5F104FEAFP)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published