Yuri D'Elia
324fb92fd5
Motion: implement timer multiplexing
2021-07-13 19:21:13 +02:00
Yuri D'Elia
d0581bf494
Motion: Add more methods and tests
...
- Add SetPosition/CurPosition (not only) for testing
- Implement some real tests
2021-07-13 17:43:50 +02:00
Yuri D'Elia
18ced44341
Merge remote-tracking branch 'upstream/main' into motion_wip
2021-07-13 15:31:31 +02:00
Alex Voinea
edf0804fd8
Fix Buttons ADC range
2021-07-12 16:55:37 +02:00
Alex Voinea
d44de216a9
Fix ADC channels
2021-07-12 16:55:37 +02:00
Yuri D'Elia
066aab7adc
Move cpuFrequencyDivider to config::stepTimerFrequencyDivider
2021-07-11 21:17:08 +02:00
Yuri D'Elia
d87db1ff76
Revised WIP for the Motion API
...
- Remove the combined PlanMove(a,b,c,rate) call. If we allow the units
of the various motors to be changed at compile time, the unit of
rate can vary between axes.
- Build PlanMove on top of the absolute PlanMoveTo.
- Add required stubs for TMC2130.
- Allow each axis mode to be set independently, since we have this
feature for free anyway.
- Rework internals to use PulseGen data types and structs.
2021-07-07 16:59:39 +02:00
Yuri D'Elia
6f518f1ed2
PulseGen: complete implementation
2021-07-07 16:59:04 +02:00
Yuri D'Elia
ed04bd02e2
PulseGen/speed_tables: cleanup constants
2021-07-07 16:59:04 +02:00
Yuri D'Elia
de88ed4c6b
Add initial Axis configuration static structs
2021-07-07 16:59:04 +02:00
Yuri D'Elia
531f60ed27
Add modules::speed_table for acceleration lookup tables
2021-07-07 16:59:04 +02:00
D.R.racer
43a423f299
Change buttons' ADC limits into an array
...
as proposed by @vintagePC
cleaned-up some of the unit tests by this change
2021-07-05 18:07:54 +02:00
D.R.racer
552fec9abf
Parametrize Idler and Selector in common config.h
2021-07-05 18:07:54 +02:00
D.R.racer
b484eeacb6
Start using config.h
...
Added some constexpr vars for buttons, finda, fsensor and
applied them in the FW and unit tests accordingly.
2021-07-05 18:07:54 +02:00
vintagepc
e2ec745286
Simple config header with example ( #39 )
...
Simple config header with example
2021-07-01 06:47:40 +02:00