Skip to content

frank-zago/n76e-sdcc-progs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N76E-SDCC-PROGS - A free small BSP for Nuvoton N76E003

The aim is to provide some sort of Arduino-like BSP for that MCU.

This is currently a toy project.

Tested on the following development board, which is flashed with an LDROM bootloader:

https://www.electrodragon.com/product/n76e003-mini-development-board/

Pre-requisites

sdcc make nvtispflash for ISP support (https://github.com/frank-zago/nvtispflash)

Build

To build the library and examples: make

To clean the tree: make clean

The examples can be flashed in ISP mode. For instance: cd example/blink make isp

Examples

  • blink: blink the builtin LED
  • uart: send a short message every 2 seconds, on serial port at 115200 8N1.
  • iap: with the IAP, read the MCU UID, company ID and device ID.
  • ws2812: a basic LED effect for a ws2812 strip.
  • bmp280-i2c: read temperature and pressure from a BMP280 using I2C
  • bmp280-spi: read temperature and pressure from a BMP280 using SPI
  • wii-nunchuk: read input data from a Nintendo Wii Nunchuk
  • tm1637: write some numbers on a 7-segment display using a TM1637

Licensing

This project, with the exception of n76e003.h, is released under the GPL-v3 or later license. See LICENSE file. n76e003.h has its own license.

The header file, n76e003.h, is coming from

https://github.com/erincandescent/libn76

Also see https://spdx.dev/ for the SPDX license tags.

About

A free small BSP for Nuvoton N76E003, using SDCC

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published