gab-k
efe4c320b4
Update README
2026-02-20 21:33:44 +01:00
gab-k
4068ba6e01
Update README
2026-02-20 21:23:24 +01:00
gab-k
49697cc2b2
Merge PR #48 from 'ste101/patch-1'
2025-12-18 21:23:29 +01:00
gab-k
9ded7e0483
Add Decoder ID defines inside board header files
2025-12-18 21:06:53 +01:00
gab-k
1e9fb3ed9f
Merge branch 'main' of https://github.com/gab-k/RP2040-Decoder
2025-12-17 10:56:51 +01:00
gab-k
cb64a5057a
update pico_sdk_import.cmake script to match latest SDK tools
2025-12-17 10:56:37 +01:00
gab-k
7b3685a930
docs: Improve motor control documentation details and cross-references
...
- Corrected Back-EMF measurement CV from CV63 to CV61.
- Rewrote 'Startup Controller' section for clarity and accuracy.
- Added Sphinx C cross-references for get_kp(), init_controller(), and speed_helper() functions.
2025-11-29 18:24:04 +01:00
gab-k
24c01a0d7c
Update docs to automatically get release version from latest v*.*-RELEASE tag;
2025-04-27 10:20:46 +02:00
gab-k
b968c6d31d
Update README and add Revision attribute to PCB which updates Rev x.x silkscreen on the back side;
2025-04-15 02:21:00 +02:00
gab-k
63c1b00404
Update svg generation script; Update .svg files to rev 1.1
2025-04-15 02:03:41 +02:00
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
18c5c5837a
Rename Rev_1_0 KiCad folder to USB and Rev_0_3 folder to Legacy
2025-04-15 00:53:51 +02:00
gab-k
5949be6f60
Change PCB to rev 1.1 to reflect changes in PR35 from @HMX-1972
2025-04-14 19:22:49 +02:00
gab-k
619b0f6824
Merge branch 'pr-35-test'
2025-04-14 19:02:22 +02:00
gab-k
fcb66fc92c
Merge branch 'dev' into 'main'
2025-01-05 12:49:31 +01:00
gab-k
91e10e16b6
Update PCB render workflow
2025-01-05 11:57:06 +01:00
gab-k
332275ec07
Update PCB render workflow
2025-01-05 11:55:59 +01: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
93455218e8
Update workflows
2025-01-04 17:50:38 +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
5a00f5af2c
remove fab_outputs.yml moving fabrication output generation to prerelease.yml and release.yml
2025-01-03 15:47:59 +01:00
gab-k
a2f30d0654
Update fab_outputs.yml wf
2025-01-03 14:49:36 +01:00
gab-k
87e4aff24f
Replaced solder bridge with tactile button; Fixed Footprint Rotation in position file; Fixed .gitignore for production outputs
2025-01-03 11:02:30 +01:00
gab-k
8c34f55877
Update fab_outputs.yml
2025-01-02 20:13:30 +01:00
gab-k
e215212025
Update fab_outputs.yml
2025-01-02 20:06:54 +01:00
gab-k
86df810a49
Update fab_outputs.yml
2025-01-02 20:02:20 +01:00
gab-k
0d0c182ba4
Update fab_outputs wf
2025-01-02 19:29:39 +01:00
gab-k
1c7b833c63
Update fab_outputs wf
2025-01-02 19:18:12 +01:00
gab-k
2442853c45
Update fab_outputs wf
2025-01-02 19:06:20 +01:00
gab-k
0b71d556f8
Update fab_outputs wf
2025-01-02 19:03:05 +01:00
gab-k
a3d63f2d53
Update fab_outputs wf
2025-01-02 19:01:43 +01:00
gab-k
73e88a86bb
Update fab_outputs wf
2025-01-02 18:59:01 +01:00
gab-k
de77d8465f
Update fab_outputs wf
2025-01-02 18:54:39 +01:00
gab-k
e4d352fe0e
Update fab_outputs wf
2025-01-02 18:52:12 +01:00
gab-k
20736ad7f0
Update fab_outputs wf
2025-01-02 18:50:23 +01:00
gab-k
8fdce91e64
Update fab_outputs wf
2025-01-02 18:47:26 +01:00
gab-k
7ab22c439d
Update fab_outputs wf
2025-01-02 18:46:12 +01:00
gab-k
501d9470f3
Update fab_outputs wf
2025-01-02 18:45:22 +01:00
gab-k
509466c61a
Update fab_outputs wf
2025-01-02 18:39:50 +01:00
gab-k
7befd2cdaf
Update fab_outputs wf
2025-01-02 18:36:15 +01:00
gab-k
0ceb24a79f
Update fab_outputs wf
2025-01-02 18:31:01 +01:00
gab-k
56c7b394dd
Update fab_outputs wf
2025-01-02 18:27:41 +01:00
gab-k
454889162b
Add fab outputs workflow
2025-01-02 18:24:08 +01:00
gab-k
ed98553e49
Update release/prerelease workflow
2025-01-02 17:40:55 +01:00
gab-k
11b9a62142
Update workflows
2025-01-02 17:33:26 +01:00
gab-k
5752f277e2
Update workflows
2025-01-02 17:14:53 +01:00
gab-k
5e72e8538b
Update build_sw.yml
2025-01-02 17:02:19 +01:00
gab-k
d333dffdb4
Update build_sw.yml
2025-01-02 16:57:17 +01:00
gab-k
82ce5e24aa
Update build_sw.yml
2025-01-02 16:54:29 +01:00
gab-k
f2b944b6c9
Update build_sw.yml
2025-01-02 16:50:58 +01:00
gab-k
390dd32671
Update Workflows and Cmakelists.txt
2025-01-02 16:48:54 +01:00
gab-k
1d08f5a88f
Update release.yml and prerelease.yml
2025-01-02 11:02:49 +01:00
gab-k
4096171fb4
Update release.yml and prerelease.yml
2025-01-02 10:55:43 +01:00
gab-k
a93617de60
Update workflow files
2025-01-02 10:37:18 +01:00
gab-k
d0e7406627
Update build_sw.yml
2025-01-02 09:54:07 +01:00
gab-k
be49c1b43f
Update build_sw.yml
2025-01-02 09:46:38 +01:00
gab-k
21bee73f01
Update docs and build/release action
2025-01-02 09:20:46 +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
0368a22ce7
Removed images as they are automatically deployed to gh-pages branch
2024-12-31 11:07:21 +01:00
gab-k
7e1c079e10
Merge branch 'dev' of https://github.com/gab-k/RP2040-Decoder into dev
2024-12-31 08:01:44 +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
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
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
gab-k
7779207858
fix file extension and pcb path
2024-11-26 15:01:44 +01:00
gab-k
b765f80048
Update action workflows
2024-11-26 14:54:02 +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
gab-k
dc53d98fda
Moving some components on the schematic
2024-11-25 20:46:09 +01:00
gab-k
a9c3c60b81
Changed 'LCSC Part Number' Field to 'LCSC Part #'
2024-11-24 23:23:50 +01:00
gab-k
78187ec19f
Add LCSC Part numbers
2024-11-24 22:59:27 +01:00
gab-k
9240e5b1a7
New 4-Layer Board with USB; Update gitignore; Change Speed Table Comment;
2024-11-24 19:45:49 +01:00
gab-k
bfa58bf5d6
Replace PJ75AL33SA with HT7533S
2024-01-27 12:51:50 +01:00
gab-k
626edd3a73
Add note regarding U1 / PJ75AL33SA LDO / Issue 23 to schematic; Update KiCad Project to version 7; Change C16 and C17 to 10pF
2024-01-09 21:48:46 +01:00
gab-k
d417235df5
remove measure_base_pwm; add comments
2024-01-09 21:30:32 +01:00
gab-k
c1564feb4b
Mostly renaming, remove control_parameter_t.output, add control_parameter_t.startup.level, ...
2024-01-06 22:56:31 +01:00
gab-k
f3ffb73b62
Copy code from flash to ram in order to not use XIP allowing writing to flash memory while both cores are running;
...
Motor control now operates with two states/modes;
Extended Default CV Range to 1024 - refers to NMRA/RCN standards
2024-01-05 00:37:21 +01:00
gab-k
577bc5dd5c
Merge branch 'main' into dev
2024-01-03 12:05:45 +01:00
gab-k
9b8906f476
Replace '≙' with '='
2024-01-03 09:44:56 +01:00
gab-k
baf9ea6081
Update .gitignore
2024-01-02 22:15:45 +01:00
gab-k
9ee13b67e7
Merge local branch 'changes' into main.
2024-01-01 22:01:17 +01:00
gab-k
df9b0ba633
Reformatting and renaming some functions; replaced get_direction() with get_direction_of_speed_step() in order to simplify handling of direction; additional explanation comment in CV.h; add doxygen config file;
2024-01-01 19:21:47 +01:00
gab-k
d7f4621b96
Completly remove .idea files and update .gitignore accordingly
2023-12-30 17:48:24 +01:00
gab-k
3364793a6f
Completly remove .idea files and update .gitignore accordingly
2023-12-30 17:46:43 +01:00
gab-k
6df051019d
Modified .gitignore
2023-12-30 16:09:45 +01:00
gab-k
9cf7301af7
Update .gitignore
2023-12-30 16:01:01 +01:00
gab-k
5ec8f953b4
Merge branch 'main' into dev
2023-12-30 15:37:54 +01:00
gab-k
52ec79105d
Revert changes to LOG macro
2023-12-30 15:37:38 +01:00