rusefillc
1a3fb4a0db
Epic: Remove FSIO #2928
2021-11-14 11:04:51 -05:00
rusefillc
3327b0d4e7
Epic: Remove FSIO #2928
2021-11-14 10:57:19 -05:00
GitHub build-firmware Action
41b9a37897
Auto-generated configs and docs
2021-11-14 15:53:06 +00:00
rusefillc
5f1aadf638
Epic: Remove FSIO #2928
2021-11-14 10:39:47 -05:00
GitHub build-firmware Action
b223139c3b
Auto-generated configs and docs
2021-11-14 15:07:50 +00:00
rusefi
bdb6327ff9
Epic: Remove FSIO #2928
2021-11-14 09:49:02 -05:00
GitHub build-firmware Action
42c1db2109
Auto-generated configs and docs
2021-11-14 14:40:23 +00:00
GitHub build-firmware Action
756b9e2b3d
Auto-generated configs and docs
2021-11-14 14:27:16 +00:00
rusefillc
8fd82af0cb
Epic: Remove FSIO #2928
2021-11-14 08:37:50 -05:00
rusefillc
0fc4096213
Epic: Remove FSIO #2928
2021-11-14 08:33:19 -05:00
GitHub build-firmware Action
87202db62b
Auto-generated configs and docs
2021-11-14 13:13:06 +00:00
rusefillc
94320910e9
Epic: Remove FSIO #2928
2021-11-14 07:30:26 -05:00
rusefillc
eab7f670a2
Epic: Remove FSIO #2928
2021-11-14 07:24:50 -05:00
rusefillc
2080ae2148
script settings need names!
2021-11-13 23:10:38 -05:00
GitHub build-firmware Action
a81574c7ad
Auto-generated configs and docs
2021-11-14 03:54:30 +00:00
rusefillc
29670184e2
script settings need names!
2021-11-13 22:47:46 -05:00
GitHub build-firmware Action
2762268d58
Auto-generated configs and docs
2021-11-14 03:02:10 +00:00
Matthew Kennedy
8edc91f657
mercedes two lobe trigger testing ( #3543 )
...
* mercedes
* config
* break;
* I did the gap ratio math wrong
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 21:50:04 -05:00
GitHub set-date Action
7e1fe984f8
Update date
2021-11-14 01:02:27 +00:00
GitHub build-firmware Action
625eda6d09
Auto-generated configs and docs
2021-11-13 15:38:11 +00:00
rusefi
d172961577
findTableIndex
2021-11-13 10:02:01 -05:00
rusefillc
f7d1a3e542
lua can
2021-11-13 08:23:44 -05:00
rusefillc
731906b2be
lua can
2021-11-13 08:20:30 -05:00
rusefillc
14281da180
lua can
2021-11-13 04:44:17 -05:00
GitHub build-firmware Action
b702a7f419
Auto-generated configs and docs
2021-11-13 09:41:01 +00:00
rusefillc
4803a6def5
Something something Automatic Compression Release #3442
2021-11-13 04:24:53 -05:00
Matthew Kennedy
31848f5bf4
lua pid class ( #3411 )
...
* lua pid
* no luaaa stl
* update luaaa
* finality
* luaaa
* luaaa
* = default
* bad merge
* gitmodules
* lua
* proteus demo script
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 03:18:16 -05:00
Matthew Kennedy
569ec1013b
update luaaa ( #3540 )
...
* lua update
* no stdlib mode
* turn off system luaaa for now since it makes luaaa sad
* let user heap do a little
* gitmodules
* memory shuffling
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-12 22:10:05 -05:00
GitHub build-firmware Action
015a07576d
Auto-generated configs and docs
2021-11-13 03:01:55 +00:00
rusefillc
d96755ec15
Proteus Harley
2021-11-12 21:56:07 -05:00
GitHub set-date Action
187f58078e
Update date
2021-11-13 01:04:13 +00:00
GitHub build-firmware Action
44fc5651bf
Auto-generated configs and docs
2021-11-12 04:15:01 +00:00
GitHub build-firmware Action
17a6f81365
Auto-generated configs and docs
2021-11-12 04:00:30 +00:00
GitHub build-firmware Action
8a5f3a3a0c
Auto-generated configs and docs
2021-11-12 03:51:31 +00:00
Andrey
31b50ff021
Something something Automatic Compression Release #3442
2021-11-11 21:38:49 -05:00
Andrey
db6a1ae7e2
docs
2021-11-11 21:31:24 -05:00
GitHub build-firmware Action
cf7231a8a0
Auto-generated configs and docs
2021-11-12 01:54:56 +00:00
Andrey
37adc7e713
Bench Test IAC Valve fails #3534
...
that's not even funny
2021-11-11 20:39:01 -05:00
Andrey
06f7098cae
Bench Test IAC Valve fails #3534
2021-11-11 20:31:46 -05:00
Andrey
5136d0b994
Bench Test IAC Valve fails #3534
2021-11-11 20:28:01 -05:00
GitHub build-firmware Action
132e70befe
Auto-generated configs and docs
2021-11-12 01:22:13 +00:00
Andrey
1aca049c47
Something something Automatic Compression Release #3442
2021-11-11 20:16:46 -05:00
Andrey
7d3d93d469
dead line
2021-11-11 20:16:46 -05:00
Andrey
9aa98cd523
refactoring: less hacky implementation
2021-11-11 20:16:46 -05:00
GitHub set-date Action
a5ca40bebe
Update date
2021-11-12 01:01:37 +00:00
GitHub build-firmware Action
c57174f2ac
Auto-generated configs and docs
2021-11-11 23:37:47 +00:00
rusefillc
0db5f673dc
Overflow in currentTimeMillis and getTimeNowSeconds #3531
2021-11-11 17:54:31 -05:00
rusefillc
29b21e6eb6
Overflow in currentTimeMillis and getTimeNowSeconds #3531
...
it now takes 1000 times longer to overflow
2021-11-11 16:43:41 -05:00
rusefillc
677a2ede70
Overflow in currentTimeMillis and getTimeNowSeconds #3531
...
it now takes 1000 times longer to overflow
2021-11-11 16:39:23 -05:00
Matthew Kennedy
baf11a27b9
load lua libs correctly ( #3529 )
...
* fix lua lib loading
* test
2021-11-11 13:44:13 -05:00
Scott Smith
93d31c6c9b
Convert TriggerWaveform::wave to a pointer in preparation for code-defined sequences. ( #3528 )
...
It will eventually be class to support dynamic universal patterns in addition to ROM-based
tables.
2021-11-11 13:19:25 -05:00
rusefillc
e117292d62
where are we now?
2021-11-11 11:11:40 -05:00
rusefillc
ad7c5d9aae
where are we now?
2021-11-11 10:36:31 -05:00
Scott Smith
aec887efc8
Change users of MultiChannelStateSequence to use the API ( #3524 )
...
Better than reaching into members that should be private. I didn't feel like actually making
them private though, as one user validates pinStates isn't NULL.
2021-11-11 09:19:22 -05:00
rusefillc
1f415a0212
Idle valve outputs not available in TS #3523
2021-11-10 21:07:38 -05:00
GitHub build-firmware Action
17b786734c
Auto-generated configs and docs
2021-11-11 01:46:41 +00:00
rusefillc
371f0ca72c
Idle valve outputs not available in TS #3523
2021-11-10 20:40:42 -05:00
GitHub build-firmware Action
993a2111dd
Auto-generated configs and docs
2021-11-11 01:09:25 +00:00
Scott Smith
1a299a3221
Move phaseCount into MultiChannelStateSequence ( #3520 )
...
We can them drop the field from a bunch of callers, simplifying the code.
2021-11-10 19:47:27 -05:00
rusefi
35f6ac4305
open q
2021-11-10 19:24:17 -05:00
Scott Smith
5bd7d8e372
Don't keep a separate MultiChannelStateSequence for the trigger emulator, version 2. ( #3517 )
...
All it wants is to use the main trigger state, so don't bother copying it. Instead, change
PwmConfig to take a const pointer to a Multi.*Sequence, then make all the users adapt. Worse
fallout is that SimplePwm now has its own Multi.*Sequence, but PwmConfig is downgraded to a
pointer, so that's only a net +4 bytes. And we can make the overhead of Multi.*Sequence much lower
using embedded arrays, which only the caller can do since it knows the maximum size... (for another
day...)
Also remove SimplePwm's 2nd copy of SingleChannelStateSequence. It served no purpose.
Saves 1992 bytes of BSS and 24 bytes of RAM4 (latter probably due to SimplePwm change)
2021-11-10 07:01:20 -05:00
rusefillc
38ea0d1835
Revert "Don't keep a separate MultiChannelStateSequence for the trigger emulator. ( #3513 )"
...
This reverts commit 4e220dc163
.
2021-11-09 20:42:23 -05:00
GitHub set-date Action
150019b0ed
Update date
2021-11-10 01:00:05 +00:00
GitHub build-firmware Action
6b39c9f5f1
Auto-generated configs and docs
2021-11-09 20:43:52 +00:00
Scott Smith
4e220dc163
Don't keep a separate MultiChannelStateSequence for the trigger emulator. ( #3513 )
...
All it wants is to use the main trigger state, so don't bother copying it. Instead, change
PwmConfig to take a const pointer to a Multi.*Sequence, then make all the users adapt. Worse
fallout is that SimplePwm now has its own Multi.*Sequence, but PwmConfig is downgraded to a
pointer, so that's only a net +4 bytes. And we can make the overhead of Multi.*Sequence much lower
using embedded arrays, which only the caller can do since it knows the maximum size... (for another
day...)
Also remove SimplePwm's 2nd copy of SingleChannelStateSequence. It served no purpose.
Saves 1992 bytes of BSS and 24 bytes of RAM4 (latter probably due to SimplePwm change)
2021-11-09 14:35:07 -05:00
Scott Smith
9b40e68155
Save ~2800 bytes of RAM by not caching angle->trigger mapping ( #3506 )
...
Memory seems more valuable than CPU; use the O(lg n) lookup by angle. A side effect is that it
seems to fix trigger lookup for the second phase of TRIGGERTYPE 53 544 TT_TRI _TACH 0.00
2021-11-09 07:03:27 -05:00
GitHub build-firmware Action
3484c3270b
Auto-generated configs and docs
2021-11-09 02:36:07 +00:00
GitHub build-firmware Action
e63e942fb5
Auto-generated configs and docs
2021-11-09 02:26:06 +00:00
rusefi
99a90309ef
why is meat allowed to touch machine?!
2021-11-08 20:49:12 -05:00
rusefi
8bab53c1fd
nicer messages
2021-11-08 20:49:12 -05:00
GitHub build-firmware Action
464332e5be
Auto-generated configs and docs
2021-11-09 01:26:41 +00:00
GitHub set-date Action
3168ccd62c
Update date
2021-11-09 01:00:19 +00:00
rusefi
69a53c565f
pid demo progress
2021-11-08 17:31:33 -05:00
GitHub build-firmware Action
dbecc45968
Auto-generated configs and docs
2021-11-08 22:24:44 +00:00
Scott Smith
8639b7c7e4
Make getTimeNowNt even faster ( #3504 )
...
The last version is already much better than the original, mostly because it doesn't call
CriticalSectionLocker, which has a ton of overhead due to debug tracking. But this version is
another 4 instructions / 12 bytes shorter. Does as much match in 32-bit land as possible, and
avoids math operations that span 64-bits (i.e. either operate on the lower half or upper half, but
not both). The result is only 3 instructions not including the necessary 4 loads (ptr to now, now,
ptr to upper, upper), 1 store (upper), and 1 return/branch.
2021-11-08 14:24:31 -05:00
Andrey
2166a5ba16
ETB: do not touch HW pins if function not selected, this way Lua can use DC motor hardware pins directly
2021-11-08 12:44:37 -05:00
Andrey
757cd10c1f
docs
2021-11-08 12:23:00 -05:00
Scott Smith
2752c39d7f
Change getTimeNowNt to be lock free. ( #3502 )
...
Track the top two bits of the 32-bit time field, along with the bits that comprise the top half of
the 64-bit time field. We can detect when the 32-bit field is advancing or falling back from the
global time counter as long as the change is less than about 1 billion ticks. This shows up as
either 01 or 11 in the top 2 bits of the 32-bit time field relative to the 64-bit field. Or is
there is no change it shows up as 00. Changes of 2 billion or more cannot be discerned as +2
billion and -2 billion both show up as 10.
Change the simulator to use this logic to make sure it gets some exercise.
2021-11-08 08:24:20 -05:00
GitHub build-firmware Action
f6aac4b1f9
Auto-generated configs and docs
2021-11-08 03:23:43 +00:00
GitHub set-date Action
db5ef62885
Update date
2021-11-08 01:02:17 +00:00
GitHub build-firmware Action
41fe16ed40
Auto-generated configs and docs
2021-11-07 18:40:19 +00:00
GitHub build-firmware Action
678f5db3b9
Auto-generated configs and docs
2021-11-07 15:30:54 +00:00
Andrey
49d4dea65e
lua pid class #3411
2021-11-07 09:53:40 -05:00
Andrey
c98bfecf11
lua pid class #3411
2021-11-07 09:49:47 -05:00
Andrey
94faa375e1
reducing complexity
2021-11-07 01:57:32 -05:00
rusefillc
d0a8bbc974
typo
2021-11-07 01:51:05 -05:00
rusefillc
4f6dc57d31
refactoring - magic constant bad
...
cypress and kinetis both have this macro already
2021-11-07 01:34:16 -04:00
rusefillc
73fe152db2
refactoring - magic constant bad
...
cypress and kinetis both have this macro already
2021-11-07 01:28:28 -04:00
GitHub build-firmware Action
fdc32277ea
Auto-generated configs and docs
2021-11-07 04:44:16 +00:00
rusefillc
5ddd516860
refactoring - magic constant bad
2021-11-07 00:09:17 -04:00
rusefillc
fd28e82f73
refactoring - magic constant bad
2021-11-07 00:03:16 -04:00
GitHub build-firmware Action
2ee8ecb287
Auto-generated configs and docs
2021-11-07 03:59:47 +00:00
rusefillc
eb4ef563dd
a bit of dead code
2021-11-06 23:39:56 -04:00
GitHub build-firmware Action
1ce3fa63b7
Auto-generated configs and docs
2021-11-07 03:33:26 +00:00
GitHub build-firmware Action
7df704907c
Auto-generated configs and docs
2021-11-07 02:14:13 +00:00
rusefillc
3f278e989b
a bit of dead code
2021-11-06 21:19:56 -04:00
GitHub build-firmware Action
4dca92f21e
Auto-generated configs and docs
2021-11-07 01:05:29 +00:00
rusefillc
31347d66be
a bit of dead code
2021-11-06 21:01:01 -04:00
Andrey
e3355ab2d3
Remove Miata MX5 NB1 trigger #3488
2021-11-06 20:24:41 -04:00
GitHub build-firmware Action
cab19aeba0
Auto-generated configs and docs
2021-11-06 23:15:42 +00:00