7 Commits

Author SHA1 Message Date
zhangyisong
de68631faf Add DFU support with MCUboot serial recovery
Implement device firmware upgrade using MCUboot Serial Recovery over
usart1 (reusing the existing protocol UART). The application layer
handles upgrade commands (0xFF) to trigger bootloader entry, while
MCUboot manages the actual firmware swap with RSA signature
verification.

Key additions:
- sysbuild.conf to enable MCUboot bootloader with signing key
- mcuboot.conf with serial recovery and watchdog feed settings
- Kconfig option APP_DFU (default y) with conditional compilation
- dfu.cpp module for DFU initialization
- Upgrade command callback in com.hpp (bootmode_set + sys_reboot)
- Documentation for upgrade procedures and change notes
2026-08-18 21:39:59 +08:00
zhangyisong
214af410e4 Add UART sensor support with MS overlay and diagnostics
Group UART sensors into channel slots and add an MS board overlay
with per-port speed and sensor mode configuration. Also add optional
per-second channel diagnostic output controlled by APP_DEBUG_PRINT.
2026-08-06 20:10:08 +08:00
zhangyisong
0e5d15c814 Refactor app to use static classes and event-driven callbacks
Restructure Led as a template on the DT spec, add a generic
signal/slot mechanism for host status, and cache Infrared sensor
samples via trigger callbacks. Add new init modules for LED, temp,
and watchdog, and build them into the main app.
2026-08-03 22:12:31 +08:00
zhangyisong
eaa5d0c28b Add NTC sample configuration and PID temperature control
- Add CONFIG_SAMPLE_NTC to CMakeLists.txt and Kconfig
- Implement PI temperature controller with PWM output in heating.hpp
- Convert NtcGroup from template to non-template class
- Add LED helper class with flash support
- Implement COM protocol handlers for device ID and running state
- Add SPI, sensor, and PWM configuration to prj.conf
- Remove indicator overlay and update main.cpp with temperature
  monitoring
- Add test script for serial protocol communication
2026-07-09 11:06:11 +08:00
zhangyisong
e74fa5c804 feat: Add Kconfig and conditional build for hello world sample 2026-07-07 19:47:30 +08:00
zys
c277f1d9ac config(cmake): deleted unneedded files 2026-03-04 13:48:16 +08:00
62205e1377 feat: Complete the optical magnetic small board to obtain temperature and id and receive and send data 2026-01-27 22:02:25 +08:00