SkillAgentSearch skills...

Ch551

example project for the ch551 microcontroller using cmake and sdcc

Install / Use

/learn @mogenson/Ch551
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Example project for the WCH CH551 8051 microcontroller using CMAKE and SDCC

This example program blinks the LED connected to pin 0 of GPIO port 3 at 2 Hz. There's no external header files, register defines, or libraries required to build. This project uses CMake for the build system and SDCC for the compiler.

Instructions

  1. Buy a CH551 development board from http://www.electrodragon.com/product/ch551-mini-dev-board-ch55x-series/
  2. Install CMake and SDCC
  3. Build and install wchisptool from https://github.com/rgwan/librech551
  4. Generate makefile: (optionally use ccmake or cmake-gui to configure project)
    $ cd build
    $ cmake ..
    
  5. Build and flash program:
    $ make
    $ make flash
    $ make erase
    $ make clean
    
View on GitHub
GitHub Stars7
CategoryDevelopment
Updated3y ago
Forks1

Languages

CMake

Security Score

55/100

Audited on May 26, 2022

No findings