n76e003_platformio
Nuvoton MCUs (N76E003) example project with PlatformIO
Introduction
I just got many N76E003 based modules and I want to develop and upload them my own firmware!
Afte some searching it seems everyone uses keil + uVision IDE (free is limited to 4KB flash out of 18KB),
So I knew my next project is to add this N76E003 board to PlatformIO using free SDCC!
Features
- I wrote uploader script- currently
upload_protocol
=custom
but I want to make tool-nulink so it will benulink
. - The uploader script can use Nuvoton CLI tool or GUI tool for uploading - the GUI works much better and faster (~4s vs ~20s).
- Fully free, no code size limit and open source thanks to SDCC + PlatformIO.
Getting Started
Hardware
- Buy Nu-Link ICP programmer: this and this works for me.
- Buy N76E003 EVB: this and this works for me, also many modules use them like this
Software
- Download and install Visual code
- Install PlatformIO extension to Visual code.
- Download and install the NuMicroICP and/or NuLinkCLI from Nuvoton tools.
- Clone this repo, open it with Visual code and upload it via PlatformIO-upload command.
TODO
- Add more examples.
- PR to platform-intel_mcs51 to add N76E003 board and examples.
- Move uploader script into a tool-nulink package repo of PlatformIO.
- Move N76E003 lib into a freamwork package of PlatformIO or into tool-SDCC.
- Implement Arduino-like API like this amazing project - because the N76E003 is VERY simular to STM8S103.
Enjoy!
A.E.TECH