7c128a27eb
Refactor OTA update handling and improve error reporting.
...
Added a CRC check to firmware uploads, streamlined OTA partition management, and replaced detailed slot states with a single unified state representation. Improved consistency in variable formatting, error handling, and code readability across multiple modules.
2026-03-17 22:16:31 +01:00
86f29a336c
Merge branch 'develop' of ssh://git.mannheim.ccc.de:1337/C3MA/PlantCtrl into develop
2026-03-15 20:02:05 +01:00
c61a586595
new ota logic
2026-03-15 19:57:19 +01:00
32db326266
update: use Instant to dynamically adjust loop timing and maintain consistent 50ms interval
2026-03-12 21:12:14 +01:00
a4d764c4fe
remove: eliminate MoistureSensorState::Disabled, simplify moisture sensor processing, refactor pump logic, and clean up redundant/unnecessary code
2026-03-12 21:12:14 +01:00
5c78495bd5
update: initialize all pump expander pins to low before setting output mode
2026-03-12 21:12:14 +01:00
9b21d505e6
allow single sensor detection, get rid of sensor disabled hardware state == nomessage
2026-02-27 23:12:40 +01:00
c909b33af0
remove: comment out unused plant visibility logic, update moisture sensor processing, and enhance plant ID handling in TWAI communication
2026-02-13 23:24:21 +01:00
e6f8e34f7d
remove: delete initial_hal implementation, update moisture sensor logic to handle optional raw values, optimize TWAI management, and improve CAN data handling
2026-02-01 03:57:36 +01:00
ce10d084f8
update: refactor and enhance CAN sensor initialization, reorganize GPIO assignments, improve error detection and logging, and streamline TWAI handling
2026-01-31 00:06:42 +01:00
355388aa62
update: refactor and enhance CAN sensor initialization, reorganize GPIO assignments, improve error detection and logging, and streamline TWAI handling
2026-01-30 22:01:37 +01:00
0c0b62e2ed
update: improve documentation and restructure code for modular hardware integration, add CAN communication to HAL, and update KiCad layouts
2026-01-23 22:02:14 +01:00
1de40085fb
add: implement UART-based serial configuration handling and improve error handling in charge indicator updates
2026-01-05 19:57:57 +01:00
8fc2a89503
refactor: simplify battery monitoring logic, remove unused fields, and replace BQ34Z100G1 integration with WCH I2C implementation
2026-01-04 23:59:14 +01:00
d33b05e1d7
remove HAL implementation files for v3 and v4, and the build script
2026-01-04 18:41:38 +01:00
ca2fd8a5e1
improved sensor canbus code
2025-12-06 04:01:16 +01:00
f6767d1827
refactor: organize dependencies in Cargo.toml for clarity and consistency
2025-11-13 21:33:01 +01:00
8cd9e08e93
shared flash test
2025-11-02 02:30:21 +01:00
0519ca3efe
read and write to nal
2025-10-31 23:39:10 +01:00
f366aace7f
esp-hal release wip
2025-10-31 23:22:40 +01:00
cafe1b264e
refactor: unify moisture handling, update config structure, and add peer dependencies
2025-10-23 22:44:44 +02:00
1db3f7af64
chore: 📎 + fmt
2025-10-18 20:40:38 +02:00
de83d7f4b0
fix containerized build environment for cargo
2025-10-18 18:42:02 +02:00
6c874fb852
updated node package lock
2025-10-18 18:41:47 +02:00
658efd30bb
improve build scripts
...
- use shebang
- use pushd/popd
- add npm install to initialize node project dependencies
2025-10-18 18:40:27 +02:00
70df806a87
setup cargo run to use containerized build tools that are not rust tools
2025-10-18 18:19:03 +02:00
a446f3ace2
sensor and esp and canable call all communicate with each other.
2025-10-18 00:58:12 +02:00
f6f8829cf5
cleanups
2025-10-15 02:14:49 +02:00