gab-k
e091fc96d3
Rename Rev_1_0 to USB HW Rev and Rev_0_3 to Legacy HW Rev in workflows and documentation also rename corresponding folders
2025-04-15 01:18:40 +02:00
gab-k
a2b1233c4e
Update README; Update Getting Started page; Move panic() on FLASH_SAFE_EXECUTE_CORE_INIT_FAILURE to core1; Implement k_ff feed forward factor via CV_47;
2025-01-05 11:43:29 +01:00
gab-k
cc48cca779
Update documentation doxygen comments
2025-01-04 17:44:35 +01:00
gab-k
185c703bc0
Update Sphinx documentation
2025-01-04 14:35:04 +01:00
gab-k
390dd32671
Update Workflows and Cmakelists.txt
2025-01-02 16:48:54 +01:00
gab-k
d17660f018
Update docs
2025-01-01 22:25:25 +01:00
gab-k
e648e5dfa2
Remove true expression used for debugging
2024-12-31 11:31:38 +01:00
gab-k
f1961fa5bd
Change C18 to be 0603 - 25V and rotate on PCB for easier soldering; Small logging changes; Speed step enums are actually used now for better clarity; Introduced cv_setup_check_done and flash_safe_execute_core_init_done flags for coordinating the two cores better; Incremented version no. CV_7 to 2;
2024-12-31 07:55:14 +01:00
gab-k
97b92fd9d8
Update CMake configuration, move post-build program size check to seperate post_build.cmake script
2024-12-30 08:04:30 +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
acdbf3cffe
Update Docs; Add 3D-Models for flash and Motor driver; Update Readme; Check program code for exceeding size in CMakeLists.txt; Moved measure() function to core1.c/core1.h; Added direction enum typedef; Update Control Loop Block Diagram;
2024-12-25 21:47:52 +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
f8b99de801
Expanded on stdio logging functionality, also configuration of logging is now entirely in CMakeLists.txt for convenience, also warns now for logging configurations that make no sense; Clarification in CV table comment; Moved pin definitions into board definition files; two_std_dev() now works mostly with integers; Added function for resetting all CVs saved in flash; Added various LOG() messages;
2024-12-22 21:48:41 +01:00
gab-k
7b1d5ed152
Moved all software related files to Software folder; Now using flash safe execution functions of pico_flash (pico SDK) lib; Added error handling; Added RP2040-Decoder-board.h definition; Adapted CMakeLists.txt for use with vscode pi pico extension;
2024-12-22 11:39:03 +01:00