Commit Graph
4 Commits
Author SHA1 Message Date
gab-k cc48cca779 Update documentation doxygen comments 2025-01-04 17:44:35 +01:00
gab-k d970170795 - Updated CMakeLists.txt and board config .h files
- Refactored core0.c to most functions are now static functions.
- Introduced new structures (`dcc_packet_t` and `dcc_ring_buffer_t`) for DCC packet data handling and packet detection.
- DCC pin interrupt now only does packet detection and no evaluation, evaluation is now done inside the main loop.
- Refactor message evaluation logic.
- Implemented hard fault handler, now rebooting when hardfault is encountered.
- Optimized initialization sequence in main().
- Controller and speed helper functions now run outside the timer interrupts, instead flags are set, which are checked inside the core1 main loop.
- Added enumeration for speed steps to improve readability. (However they are yet to be used)
- Added various documentation comments.
- Added various LOG() messages.
- Added python script for generating speed_step typedef definition.
2024-12-29 17:06:50 +01:00
gab-k 7d2c80574a Update documentation and docs folder structure; Add abs() function using bit operators; Remove LED pin definition from legacy board definition as it does not have an LED; Implement watchdog timer; Add and modify various comments for documentation purposes 2024-12-23 22:03:41 +01:00
gab-k 201d521be8 add auto generate .svg python scripts 2024-11-25 20:52:21 +01:00