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
0462d3f6b7
Put both HW revisions into subfolders of KiCad folder
2024-12-30 08:12:51 +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
Gabriel Koppenstein
e8a8ac6d98
Update docs.yml
2024-11-27 23:15:51 +01:00
Gabriel Koppenstein
bce1405a60
Update docs.yml
2024-11-27 23:12:54 +01:00
Gabriel Koppenstein
fa3791c781
Update docs.yml
2024-11-27 23:09:41 +01:00
Gabriel Koppenstein
a0d775f081
Update docs.yml
2024-11-27 23:03:08 +01:00
Gabriel Koppenstein
ab2a7e17ea
Update docs.yml
2024-11-27 23:01:36 +01:00
Gabriel Koppenstein
5b25cd2f7a
Update docs.yml
2024-11-27 22:57:43 +01:00
Gabriel Koppenstein
6863502e22
Update docs.yml
2024-11-27 22:55:15 +01:00
gab-k
01bac1ba00
update docs workflow
2024-11-27 22:50:02 +01:00
gab-k
5ca892610e
update workflow
2024-11-27 22:44:08 +01:00
gab-k
fb165f6e08
Modify docs.yml
2024-11-27 22:35:00 +01:00
gab-k
251d71e73f
update docs workflow
2024-11-27 22:33:06 +01:00
gab-k
c0f61511ce
Update docs
2024-11-27 21:59:54 +01:00
gab-k
72bd29ddbc
Update documentation system with doxygen/breathe/sphinx
2024-11-27 11:33:22 +01:00
Gabriel Koppenstein
fad8b68e01
Update pcb_render.yml
2024-11-26 17:29:59 +01:00
Gabriel Koppenstein
12b45b9da3
Update doxygen-gh-pages.yml
2024-11-26 17:27:19 +01:00
Gabriel Koppenstein
3f7f092b2c
Update doxygen-gh-pages.yml
2024-11-26 17:21:48 +01:00
Gabriel Koppenstein
cf79990b51
Update pcb_render.yml
2024-11-26 17:08:41 +01:00
Gabriel Koppenstein
70846f5336
Update pcb_render.yml
2024-11-26 16:52:09 +01:00
Gabriel Koppenstein
babe18c758
Update pcb_render.yml
2024-11-26 16:46:23 +01:00
Gabriel Koppenstein
d05bd6ef33
Update pcb_render.yml
2024-11-26 16:41:11 +01:00
Gabriel Koppenstein
b7a5aa8960
Update pcb_render.yml
2024-11-26 16:31:24 +01:00
Gabriel Koppenstein
5c3525c82e
Update pcb_render.yml
2024-11-26 16:23:46 +01:00
Gabriel Koppenstein
304e7f3faa
Update pcb_render.yml
2024-11-26 16:14:55 +01:00
Gabriel Koppenstein
8b37c6ead4
Update pcb_render.yml
2024-11-26 16:03:33 +01:00
Gabriel Koppenstein
a099ef67ed
Update pcb_render.yml
2024-11-26 15:58:43 +01:00
Gabriel Koppenstein
0c225ee7f0
Update pcb_render.yml
2024-11-26 15:46:01 +01:00
Gabriel Koppenstein
f8fcd77449
Update pcb_render.yml
2024-11-26 15:27:15 +01:00
Gabriel Koppenstein
cb6669992f
Update pcb_render.yml
2024-11-26 15:11:52 +01:00
Gabriel Koppenstein
c65afef54f
Update pcb_render.yml
2024-11-26 15:08:04 +01:00
github-actions
d862355199
Add rendered PCB images
2024-11-26 14:02:56 +00:00
gab-k
7779207858
fix file extension and pcb path
2024-11-26 15:01:44 +01:00
Gabriel Koppenstein
0736054a49
Update pcb_render.yaml
2024-11-26 14:58:20 +01:00
gab-k
b765f80048
Update action workflows
2024-11-26 14:54:02 +01:00
Gabriel Koppenstein
cc81e4ed4c
Update render-pcbdraw.yml
2024-11-25 23:37:38 +01:00
Gabriel Koppenstein
5d82d0c3f7
Update render-pcbdraw.yml
2024-11-25 23:15:11 +01:00
Gabriel Koppenstein
42d6fe3ef6
Update render-pcbdraw.yml
2024-11-25 23:11:19 +01:00
Gabriel Koppenstein
6d04cfb8b3
Update render-pcbdraw.yml
2024-11-25 23:07:53 +01:00
Gabriel Koppenstein
a83f53d3d8
Update render-pcbdraw.yml
2024-11-25 23:03:36 +01:00
Gabriel Koppenstein
fc8653ad74
Update render-pcbdraw.yml
2024-11-25 22:54:33 +01:00
Gabriel Koppenstein
c6ee7b2564
Create render-pcbdraw.yml
2024-11-25 22:47:03 +01:00
gab-k
0380b398fc
modify gitignore
2024-11-25 22:41:54 +01:00
gab-k
201d521be8
add auto generate .svg python scripts
2024-11-25 20:52:21 +01:00