Commit graph

17 commits

Author SHA1 Message Date
e58228bcdd
try again to make CI happy 2022-01-03 17:55:39 -06:00
be7212a87e
Apply an empirical increase to pulse count 2022-01-03 17:30:33 -06:00
5099ea7194
format again 2022-01-03 17:30:19 -06:00
ff37961592
run autoformatting 2022-01-03 17:13:07 -06:00
cd34af79df
Use native register width integer in the core loop
I noticed that there was a `uxth` (sign extending) instruction
in the hot loop of the code, because the native registers
are 32 bits but we were using a 16-bit type for the counter.
In this case, gcc emits two instructions (inc + uxth) to
increment `pulse_count` when just one would suffice.

At 120MHz, this changes the peaks from ~21/22, 34/35, 48
to 25/26, 41/42, 57.
2022-01-03 16:24:42 -06:00
ca707cba20
Ask compiler to always -O3 capture_track
.. this overrides the Tools > Optimize choice, so
that users can no longer make the mistake of not setting
-Os.
2022-01-03 16:24:41 -06:00
db7fbcdd70
Make DEBUG_FLOPPY configurable, default OFF
This gets a few cycles back per pulse.
2022-01-03 16:24:41 -06:00
lady ada
cede24b032 add RP2040 support 2022-01-01 21:00:41 -05:00
lady ada
9baf11f48f make sure we dont cut off a pulse on start 2022-01-01 20:05:18 -05:00
lady ada
0ae7eefd06 clang 2022-01-01 19:03:52 -05:00
lady ada
c84b536c64 add settle delay, read fluxes through the second index pulse so we get a full overlap 2022-01-01 19:00:51 -05:00
lady ada
34ffc3bb87 morestep 2022-01-01 15:53:37 -05:00
lady ada
43a8f2508a add optional serial debugger, fix track seek code and add caching, fix step delay, check for index pulses on motor spinup! allow 2 bytes for flux pulse counting in case we deal with ultra-long pulses later 2022-01-01 15:07:38 -05:00
lady ada
ac97a00972 doxyclang 2022-01-01 00:23:14 -05:00
lady ada
3fe0e2d077 at night the grease weasels come 2022-01-01 00:19:52 -05:00
lady ada
24ecf22e4e doxyclang 2021-12-31 14:17:33 -05:00
lady ada
fdd8a7b604 init 2021-12-30 22:33:52 -05:00