7 Commits

Author SHA1 Message Date
zhangyisong
1e6d6b9b30 Add support for heating state and NTC commands
Extend the UART protocol to support writing and reading the heating
state, and reading individual pole NTC sensors and the heating pad NTC.
Cache NTC readings for query on demand.  Move PID updates to a workqueue
to avoid blocking the timer IRQ context.
2026-07-13 21:57:54 +08:00
zhangyisong
aed11ecee8 Add debug logging and fix minor issues
Add printk debug statements to NTC temperature sensor reading and
IR temperature sensor reading. Change NTC loop to use index-based
iteration. Fix missing newline in boot message. Remove unused
watchdog and commented-out code.
2026-07-09 12:29:50 +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
7b17066575 feat: add watchdog 2026-03-04 15:01:15 +08:00
zys
2c22d68494 fix: commented all unused module 2026-03-04 13:50:33 +08:00
zys
c277f1d9ac config(cmake): deleted unneedded files 2026-03-04 13:48:16 +08:00