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
9b8906f476
Replace '≙' with '='
2024-01-03 09:44:56 +01:00
gab-k
baf9ea6081
Update .gitignore
2024-01-02 22:15:45 +01:00
Gabriel Koppenstein
1810541e48
Update Doxyfile
2024-01-02 18:40:23 +01:00
Gabriel Koppenstein
b5b5de89dd
Update doxygen-gh-pages.yml
2024-01-02 18:39:38 +01:00
Gabriel Koppenstein
3ef7fb99c7
Update doxygen-gh-pages.yml
2024-01-02 18:30:19 +01:00
Gabriel Koppenstein
461f65c88d
Update doxygen-gh-pages.yml
2024-01-02 18:14:56 +01:00
gk6394s
7f870bcf71
Merge remote-tracking branch 'origin/main'
2024-01-02 17:07:35 +01:00
gk6394s
38ec9bf60d
Change Doxyfile paths to relative paths
2024-01-02 17:07:18 +01:00
Gabriel Koppenstein
f529859eff
Create doxygen-gh-pages.yml
...
Create doxygen docs and deploy them
2024-01-02 16:33:38 +01:00
gk6394s
e0c0424f87
Refactor Motor PWM init and ADC init; Added doxygen documentation for some functions; Changed some settings in Doxyfile
2024-01-02 16:10:00 +01:00
gk6394s
8fb10e212e
Simplify get_speed_step_table_index_of_speed_step(); Removed unnecessary parameter from adjust_pwm_level function; Removed some redundant else statements and redundant "== true" from some expressions; Fixed reset_message_check() function; Added const to some function parameters and local variables;
2024-01-02 12:56:25 +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
r3drock
df009a5430
Update cmake-single-platform.yml
2023-12-31 21:21:25 +00:00
r3drock
0ca6f2ca13
Update cmake-single-platform.yml
2023-12-31 21:20:04 +00:00
r3drock
3f27046838
Create cmake-single-platform.yml
2023-12-31 21:18:26 +00:00
r3drock
5f0b51b043
Merge pull request #21 from gab-k/const
...
make more variables const
2023-12-31 21:13:17 +00:00
r3drock
02e1fdf156
make more variables const
2023-12-31 22:12:07 +01:00
r3drock
5ae65b301d
Merge pull request #20 from gab-k/warnings
...
remove some warnings
2023-12-31 20:23:51 +00:00
r3drock
78123663ce
remove some warnings
2023-12-31 21:20:51 +01:00
gab-k
d7f4621b96
Completly remove .idea files and update .gitignore accordingly
2023-12-30 17:48:24 +01:00
gab-k
6df051019d
Modified .gitignore
2023-12-30 16:09:45 +01:00
gab-k
52ec79105d
Revert changes to LOG macro
2023-12-30 15:37:38 +01:00
gab-k
c8b75ee71f
Fix missing Bitmask in F0-F4 function evaluation, Handle NULL-pointer in get_direction(), CMakelists.txt disable optimizing, Upload CLion config
2023-12-26 18:59:58 +01:00
Gabriel Koppenstein
27d68d3d24
Merge pull request #19 from gab-k/refactorlogging
...
always append a new line to log
2023-12-23 18:13:34 +01:00
r3drock
626e20fa5f
add more lines
2023-12-23 18:07:08 +01:00
r3drock
992d6ae800
always append a new line to log
2023-12-23 17:58:42 +01:00
gab-k
570401489b
fixed wrong parameter in measure() function call
v0.3
2023-10-15 14:46:59 +02:00
Gabriel Koppenstein
10fbcb5815
Merge pull request #10 from questor/main
...
- Printf debugging with different logging levels, disabled by default
- Disabled UART, USB by default
2023-07-15 11:27:28 +02:00
questor/Inter
562258e433
remove ALL logging if not enabled
2023-05-27 22:41:52 +02:00
questor/Inter
36f20a8ca3
some more comments
2023-05-27 22:04:56 +02:00
questor/Inter
8877e4862d
disable logging by default, added comments how to enable it and what are the consequences
2023-05-12 21:05:48 +02:00
questor/Inter
995dca15c8
more debug printfs, disabled function usage of gpio0/1, disabled usb interface to save some 25kb in the firmware image
2023-05-08 22:50:19 +02:00
questor/Inter
23b69d6823
more debug output
2023-04-27 23:07:19 +02:00
questor
a0408c28ed
some refactoring
2023-04-27 15:53:59 +02:00
Gabriel Koppenstein
a57295817e
Merge pull request #2 from WolfgangGitHub/main
...
Fix writing CV_1 - The default case was missing - Thank you Wolfgang
2023-01-11 22:28:15 +01:00
Wolfgang
3a3dbb4b63
fix writing CV_1 - the default case was missing
2023-01-08 22:07:59 -05:00
Gabriel Koppenstein
39056097d9
Update README.md
2022-08-11 23:25:32 +02:00
1nct
8f1f5cf915
- added/changed files for documentation
...
- added comment regarding CV array addresses
2022-08-06 13:54:26 +02:00
1nct
15a46b9dee
- added files for documentation
...
- fixed undesired behaviour for direction change while decelerating
- adjusted default value for CV_54 & CV_55
v0.1
2022-08-06 11:01:29 +02:00
1nct
0219963dd7
- Minor changes to variable names, comments & formatting
...
- Removed obsolete parameter previously used in program_mode
- Added correction constant regarding base pwm measurement
- Revised GPIO definitions (shared.h)
2022-08-03 19:19:14 +02:00
1nct
bae6fff659
- Added GPIO svg
2022-08-02 20:51:29 +02:00
1nct
1cb5ddbae0
- Added long address svg
...
- Direction is now preserved on packet timeout
- Address > 127 can no longer be written to flash as it is not valid
2022-08-02 15:02:45 +02:00
1nct
64561d622b
- Updated svg files (transparent bg)
2022-08-02 00:24:58 +02:00
1nct
c8eece795f
- Added and updated svg files used in docs
...
- minor change in speed_table calculation
2022-08-01 21:28:06 +02:00
1nct
fd017ea685
- added shared.c file containing functions that can be accessed from both cores
...
- revised CV programming especially writing
- Core 1 is only started when valid package with correct address is received
- Extended addresses are now correctly verified and implemented
- Base PWM measurement is now done on core0 and checked for automatically in cv_setup_check()
- Moved Motor PWM, GPIO, ADC to core0
- Implemented inverted direction mode (CV_29) according to DCC-Standards
- Limited feed-forward parameters y_2 to max_output/y_1
- k_p gain slopes are now calculated on initialization
- k_p gain parameters are also in pid parameter struct now
- Revised init_pid()
- Implemented Packet timeout check (CV_11)
- 16Bit and 32Bit CVs now always have the highest bytes as the lowest array index to accommodate get_XXbit_CV() functions
2022-08-01 17:20:05 +02:00
1nct
f09c4ff136
- Reduced amount of global variables. Many variables are now initialized in main() and core1_entry() respectively and then passed as pointer.
...
- Updates in speed steps are passed via multicore fifo.
- Pointer to direction variable is also passed from core1 to core0 via multicore fifo
- PID parameter struct definition moved to core1.h
- Implemented variable Proportional gain function
- Implemented function to determine base pwm level
- Minor changes regarding variable names
- Added more comments to roughly describe functionality of functions
2022-07-28 14:33:48 +02:00
1nct
15f67f6c8c
Change to Pin assignements in shared.h
2022-07-18 13:33:42 +02:00
Gabriel Koppenstein
1d687b1fd9
Add files via upload
2022-05-27 14:57:08 +02:00