Code Monkey home page Code Monkey logo

n76e-sdcc-progs's Introduction

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.

n76e-sdcc-progs's People

Contributors

bibimbop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.