Andrey
e721c1768f
trigger signal debug pins - logic level output #2959
2021-07-14 22:51:08 -04:00
Andrey
174e12b281
NB2 hellen-72-rev-d something is off #2958
2021-07-13 14:24:47 -04:00
Andrey
a9e7166f74
Nissan progress
2021-07-02 14:56:12 -04:00
Matthew Kennedy
1bca4843fe
test dc_motor.cpp ( #2890 )
...
* use ipwm where possible
* mock ipwm
* initialize
* test
2021-07-01 09:21:18 -04:00
Andrey
8696ea4890
crankDivider is asking for a new unit test
2021-06-27 00:51:14 -04:00
Andrey
6dbc40e990
VW warnings on cranking #2861
2021-06-26 00:51:09 -04:00
Andrey
dbea1e23a0
Trigger: warning code on normal engine start up #669
...
better TDC unit test approach?
2021-06-25 13:02:37 -04:00
Andrey
74c5a80cac
Trigger: warning code on normal engine start up #669
2021-06-23 05:22:08 -04:00
Matthew Kennedy
c27549b2e8
hard coded fan logic ( #2805 )
...
* remove fsio
* hard code impl
* test it
* enable fan with AC
* make commented stuff match
2021-06-11 06:25:12 -04:00
Andrey
0ad11168e8
Override trigger gaps feature #2734
2021-05-25 17:19:20 -04:00
Andrey
a36b655e67
Trigger: warning code on normal engine start up #669
2021-05-24 06:03:58 -04:00
rusefillc
dfd0d3229f
More low-level firmware coverage for the simulator/unit-tests #2656
2021-05-14 10:58:53 -04:00
rusefillc
9032730700
Break out unit tests #2627
2021-05-07 22:14:22 -04:00
Matthew Kennedy
830575a306
lua 5.4 ( #2590 )
...
* thread priority
* build
* makefile prep
* call startup
* lua 5.1
* mk
* 5.3
* mk
* I guess lua does something?
* extract hooks, builds for tests
* a bit of error handling
* guard
* bootloader makefile
* remove lua
* submodule
* submodule update
* builds with submodule
* disabled by default
* h7 chconf
* tweaks
* add a useful hook
* move luaconf
* perf trace lua
* test helpers
* lua unit tests
* include to satiate clang
2021-04-28 22:41:25 -04:00
Matthew Kennedy
6b64db7f9c
rewrite text logging system ( #2439 )
...
* minor cleanup
* enable mailboxes
* priority
* implement new logger
* more cleaning
* signature
* remove debug
* put the assertion back in
* remove debugging
* spelling
* doy
* tweaks & comments
* cleaning
* size_t
* guard more
* test build now
* needs more ram until we can remove LogginWithSTorage
* hunt for memory
* bootloader
* unused
* stub simulator
* it would help to get the signature right
* geez kinetis only has 64k ram
* more guarding because kinetis
* that's now very legal and very cool
* templatify
* s
* force null terminate
* probably fix
* const
* write a test
* disable sensor chart for now
* hide SC ui
* oh nope that breaks many things
This reverts commit c3c1bb324fb484c3d9cc44b7715c234bc0392e1e.
* missed one
* reset after scheduleLogging
* we can't print out the full message because it contains commas which break parsing
* force terminate long buffers
* let's see how much memory we have to play with
* a lot, is the answer
* real thread name
* shrink this for now before its deleted
* turn that back on
* biiig comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-18 18:46:47 -04:00
Matthew Kennedy
95b08c433f
Implement nonlinear fuel level sender ( #2473 )
...
* table function
* config fields
* sensor type
* switch consumers
* init the sensor
* ui
* 1mv resolution
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
Matthew Kennedy
1dd2180f76
VVT uses closed loop controller framework ( #2453 )
...
* vvt uses framework
* builds
* rename, update headers
* s
* testable
* write some basic tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-14 19:31:46 -04:00
rusefillc
490d3a6957
test_timer
2021-03-12 00:43:48 -05:00
Matthew Kennedy
053835a1c0
error accumulator ( #2434 )
...
* error accumulator
* makefile
2021-03-08 07:40:46 -05:00
rusefi
a349bf1ca8
M62T vanos support #2243
2021-02-08 16:16:26 -05:00
rusefi
a86481f3ba
refactoring: more structure
2021-02-08 15:59:40 -05:00
Matthew Kennedy
f4dcf0f397
generate triggers.txt from parametric test ( #2186 )
...
* add new test
* comment
* remove old
* main cleanup
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-05 17:58:34 -05:00
Matthew Kennedy
ff4ce2fb1f
create limp manager ( #2142 )
...
* move rev limit to limp manager
* call fatal error
* include order
* fix bug
* tests
* comment
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-26 17:30:46 -05:00
Matthew Kennedy
690ab7e917
gpio unit tests ( #2099 )
...
* fix unregister api for gpio
* consumers
* guard with a critical section
* index
* guard less
* unregister under lock
* fix reinit
* dead flag
* fix most tests
* initialize properly
* initialize properly
* assertions in tests
* fix message
* move gpio mocking
* test gpios
* we must lock earlier to be truly safe
* this was using huge memory
* devirtualize
* test deinit
2020-12-18 17:19:02 -05:00
shadowm60
864bd7fa73
Dyno view proposal ( #1999 )
...
* DynoView creation
module implementation and unit_tests
* update acc algo
we only calcualte new acceleration value if speed has changed, not on every callback.
* added acceleration ts_channel
* fixed broken unit tests
* fixed accel sign
* review updates
* Update test_dynoview.cpp
fix unit_tests
* Update engine_controller.cpp
Fix .ram4 unused size
* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
Matthew Kennedy
ee51da64ad
Launch control testable ( #1967 )
...
* testable launch start
* extract base class
* add a test
* fix ts debug
2020-11-19 08:15:56 -05:00
rusefillc
35754d298a
Starter seems to be engaged forever #1965
2020-11-18 19:34:09 -05:00
rusefillc
a42077bef8
occasional tunerstudio CRC errors #1943
...
now with a bit of a unit test
2020-11-15 12:27:47 -05:00
Matthew Kennedy
605e2590f1
buffered writer - progress on #1463 ( #1875 )
...
* add buffered writer
* rename
2020-10-12 15:10:34 -04:00
rusefi
f8f3e74d99
unit test for start/stop hardware and pin repository #1811
2020-09-21 05:02:35 -04:00
Matthew Kennedy
5929164fb3
Add injector model class ( #1687 )
...
* stub injector model
* tests
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-08-17 05:22:25 -04:00
Matthew Kennedy
b961944790
tests
2020-08-10 22:11:25 -07:00
Matthew Kennedy
1f64754b57
consume
2020-08-10 21:41:03 -07:00
Matthew Kennedy
d6464fffe7
fix ( #1620 )
2020-07-19 18:05:31 -04:00
rusefi
46a1d361b5
unit tests: order of tests multispark/sensor tests should not matter #1616
...
TODO
2020-07-19 14:10:55 -04:00
rusefi
f7a182c170
would this work?
2020-07-19 13:59:55 -04:00
rusefi
c755dea256
would this work?
2020-07-19 13:50:43 -04:00
rusefi
8bce289fac
would this work?
2020-07-19 13:45:42 -04:00
rusefi
b67e9c9df6
would this work?
2020-07-19 13:33:02 -04:00
rusefi
ded219ba78
Injectors #1 and #5 stick open #1592
...
two bytes of progress
2020-07-19 13:32:17 -04:00
rusefi
33b21c8bcf
one step backwards to help build?
2020-07-19 13:26:46 -04:00
rusefi
fdb455a004
Injectors #1 and #5 stick open #1592
...
starting somewhere
2020-07-19 13:13:25 -04:00
rusefi
f2fd9decdd
better folder structure
2020-07-19 12:57:05 -04:00
Matthew Kennedy
bef53d8ba5
remove maf2map mode ( #1474 )
...
* remove
* remove fully
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 14:06:18 -04:00
Matthew Kennedy
94e63e7c43
binary logging ( #1443 )
...
* field support
* tests
* makefiles
* test data too
* missing include dir
* write correct thing
* fix one test
* fix test
* omnomnomnom ram
* format
* use defined names
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00
Matthew Kennedy
e46d9f0c99
Fix 100% duty injection ( #1431 )
...
* skip turn-off for high duty
* mock executor injection
* test
* switch to hard cut
* test no longer relevant
2020-05-14 07:44:32 -04:00
rusefi
32ba492b48
34-2 3 cam Toyota wheel progress
2020-05-10 01:21:54 -04:00
rusefi
ac9faf6646
docs & clean-up
2020-05-10 00:59:32 -04:00
Matthew Kennedy
aa3bf51723
short term fuel trim: part 1 ( #1402 )
...
* add cell
* add stft cell tests
* add bit
* minimally generate
* config defaults
2020-05-06 21:00:40 -04:00
Matthew Kennedy
74d13c391f
Rewrite boost control in new closed loop framework ( #1342 )
...
* rewrite boost
* test
* fix build
* tests
* open loop test
* test closed loop
* fix names
* typo
* tests
* mock boost setOutput
* needs more virtual
* fix boost logic
* switch to TPS based open loop
* fix test
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 08:40:42 -04:00