There have three folders
- application: include *.c file and Makefile
- scripts: include shell scripts
- systemd: include systemd service
Phoenix Button test application based on libgpiod.
application/
βββ button
βββ button.c
βββ MakefilePhoenix peripheral test script.
scripts/
βββ button
βΒ Β βββ button_bt.sh
βΒ Β βββ button_rf.sh
βΒ Β βββ button_rst.sh
βΒ Β βββ button_wifi.sh
βββ buzzer
βΒ Β βββ buzzer.sh
βββ common
βΒ Β βββ gpio-control
βΒ Β βββ phoenix_gpio.conf
βββ led
βΒ Β βββ led-4g.sh
βΒ Β βββ led-bt.sh
βΒ Β βββ led-cloud.sh
βΒ Β βββ led-general.sh
βΒ Β βββ led-rf.sh
βΒ Β βββ led-wifi.sh
βββ lte
βΒ Β βββ 4g-reset.sh
βΒ Β βββ queryRSSI.sh
βββ README.md
βββ relay
βΒ Β βββ relay.sh
βββ rf
βΒ Β βββ rf-bl.sh
βΒ Β βββ rf-pwr.sh
βββ rst
βΒ Β βββ restart.sh
βββ usb
βΒ Β βββ usb-en.sh
βββ wdt
βΒ Β βββ wdt-en.sh
βββ wifi
βββ wifi_en.shsystemd/
βββ gpio-wdt.service
βββ rtc-sync.servicegpio-wdt.service:watchdog auto-enable service when OS start.
rtc-sync.service: RTC auto sync time when OS start.