- Compile Common.c and Delay.c
sdcc -c Common.c -D FOSC_160000
sdcc -c Delay.c -D FOSC_160000
- Compile main.c and link all things together
sdcc main.c Common.rel Delay.rel
- Cross platform included Windows, Linux and OS X.
- Fully free, no code size limit and open source.
- Compact code size.
http://sdcc.sourceforge.net
- 1T machine cycle enhanced 8051 microcontroller.
- Internal 16MHz high-speed oscillator.
- Internal 10KHz low-speed oscillator provide low power operating.
- 18KB program memory (flash) / 1KB data memory (SRAM).
- Two UARTs and one IIC interface.
- 12-bit ADC with 8 channel input.
- 16-bit 6 channel PWM.
- 6uA in power-down mode.
- TSSOP20 and QFN20 compact package.
https://direct.nuvoton.com/en/n76e003at20
https://www.nuvoton.com/hq/products/microcontrollers/8bit-8051-mcus/low-pin-count-8051-series/n76e003
- BLDC controller
- Wireless charger