f1c_nonos
f1c_nonos copied to clipboard
Bare metal code examples for Allwinner's F1C100S (F1C200S) SOC
Bare metal code examples for Allwinner's F1C100S (F1C200S) SOC
These examples work without any operating system environment. It's like programming simple microcontrollers or "old school" programming techniques. Examples can be used for educational purposes to teach low-level programming. All programs can be run on f1c_dbc computer or LicheePi Nano demoboard. Low-level framework is simple, but provides the following features:
- work with graphic display modules: TV, TFT, HDMI (work in progress);
- examples of working with communication interfaces: UART, SPI, I2C;
- playback and recording with built-in hardware audio codec;
- USB Device/Host driver implementation;
- µSD memory card support;
- bootloader implementation from SPI-flash memory;
- examples of integrating third-party libraries: FatFs, LVGL, LWIP, TinyGL, MP3 Decoder/Encoder...
Project directories:
| Name | Description |
|---|---|
| doc | Documentation |
| drv | Low-level drivers |
| lib | Third-party libraries |
| src/demo | Classical demo effects |
| src/lvgl | LVGL GUI-demo |
| src/tinygl | TinyGl 3D-demo examples |
| src/slideshow | µSD & FatFs example (JPG-slideshow) |
| src/usbd | USB-device examples |
| src/usbh | USB-host examples |
| src/twi | TWI(I2C) examples |
| src/lwip | lwIP over USB-Ethernet adapter RTL8152B |
| src/audio | Audio examples (MP3 Decoder/Encoder) |
| src/coremark | CoreMark Benchmark |
| tools/sunxi | Tools for loading and flashing the SOC |
| tools/zadig | Windows tool for installing SOC-driver |
| tools/iperf | TCP/IP speed test tool |
Useful links:
Disclaimer: The Software is furnished "AS IS", without warranty as to performance or results, and the entire risk as to performance or results is assumed by YOU. I disclaims all warranties, express, implied or otherwise, with regard to the Software, its use, or operation, including without limitation any and all warranties of merchantability, fitness for a particular purpose, and non-infringement of intellectual property rights.