Linux Project Examples
GPIO LED
gpio-led-demo/
├── Makefile
└── gpio_led_demo.c
Use the SDK cross compiler and verify that the selected GPIO is not owned by another device.
Monitoring Daemon
interval_sec = 5
log_path = /var/log/sysmon.log
A monitoring daemon may collect CPU load, memory, temperature, storage, network, and process status.
Tina Package Integration
openwrt/package/utils/<package>/
├── Makefile
└── src/
Enable the package in menuconfig, rebuild the root filesystem, and package the firmware. Use log rotation and a controlled restart policy to protect SPI NOR endurance.