Matthew Kennedy
7dee1e42eb
adjust miata sync conditions ( #3577 )
2021-11-19 02:30:05 -05:00
Scott Smith
7d65b2e5f8
Extend LogField to support scaled_channel divisors. ( #3575 )
...
Also move the type field and shrink the size field for better packing.
Saves about 800 bytes of flash. This fixes #3574 .
2021-11-19 02:29:19 -05:00
rusefillc
dad52881f0
automation around outputs section #197
...
a step back
2021-11-18 21:12:54 -05:00
rusefillc
4bf31a4016
automation around outputs section #197
2021-11-18 20:09:07 -05:00
GitHub set-date Action
3f54533821
Update date
2021-11-19 01:01:05 +00:00
rusefillc
f5cddb6337
automation around outputs section #197
2021-11-18 19:46:17 -05:00
rusefillc
1b93e07b31
automation around outputs section #197
2021-11-18 19:34:46 -05:00
rusefillc
1a7eecbf01
better error handling
2021-11-18 19:33:20 -05:00
rusefillc
224090dfec
docs
2021-11-18 19:19:22 -05:00
Scott Smith
aba4e5167e
Separate out scheduleOrQueue into it's own standalone scheduler. ( #3573 )
...
It's a large enough entity that it shouldn't be buried in ignition logic.
2021-11-18 14:27:21 -05:00
rusefillc
f1ab9d7054
automation around outputs section #197
...
wow huge step!
2021-11-18 00:19:11 -05:00
rusefillc
fc9345de5e
automation around outputs section #197
2021-11-18 00:05:27 -05:00
rusefillc
1b0acc0b86
better error handling
2021-11-18 00:04:19 -05:00
rusefillc
d8508870d5
automation around outputs section #197
2021-11-17 23:51:58 -05:00
rusefillc
82ffcad01f
proportional spark cut #3427
2021-11-17 23:35:26 -05:00
GitHub build-firmware Action
dc73fe3404
Auto-generated configs and docs
2021-11-18 04:30:54 +00:00
rusefillc
f9c43e4dfa
automation around outputs section #197
...
packing & making my job easier
2021-11-17 23:22:08 -05:00
rusefillc
28998b70a6
automation around outputs section #197
...
refactoring
2021-11-17 23:16:15 -05:00
rusefillc
571a08b46a
Bells & whistles: board-specific image into console splash screen #3498
2021-11-17 22:26:24 -05:00
rusefillc
e97dcee6f2
Bells & whistles: board-specific image into console splash screen #3498
2021-11-17 22:18:46 -05:00
Scott Smith
b3e0b28c75
Make the module API more concise. ( #3571 )
...
engineModules.get<FOO>(). becomes modules<FOO>()->
I believe the new API is more conducive to supporting arrays, by doing std::array<T, N> or
std::array<Mockable<T>, N>, with the support of a helper class.
2021-11-17 21:50:00 -05:00
Scott Smith
a5b0604880
Add a lock for scheduleOrQueue events. ( #3572 )
...
Ignition callers are all tooth based, but aux valves calls it from both the microsecond timer and
the main initialization thread. HPFP will also soon call it from both those places too.
2021-11-18 05:08:32 +03:00
GitHub set-date Action
2dae11b443
Update date
2021-11-18 01:00:51 +00:00
Scott Smith
659cc68be1
Final cleanup of ENGINE macros ( #3567 )
...
Fix some uses of ENGINE() not detected by regex due to parenthesis.
Remove now empty engine_ptr.h
Don't worry about EFI_* not being defined, the compiler defaults to 0 if they aren't.
2021-11-17 13:45:10 -05:00
Scott Smith
f9f13f0bad
Create a base class EngineModule for that contains various useful callbacks. ( #3548 )
...
* Create a base class EngineModule for that contains various useful callbacks.
This cleans up the API by not requiring the notifiers to know about who wants callbacks. The only
place you need to update to add a module is in one place.
* Add mockability.
* Convert InjectorModel to a Mockable EngineModule
2021-11-17 20:13:19 +03:00
rusefillc
8bcc8c0160
Better Windows build-in DFU #3338
2021-11-17 08:03:35 -05:00
rusefillc
8a40616a15
Better Windows build-in DFU #3338
2021-11-17 07:57:58 -05:00
rusefillc
dfac1897e1
Startup Pin State Error - maybe hardware damage of STM32 pin connected to a 12v-powered TC4427? #3558
2021-11-17 04:45:55 -05:00
rusefillc
46d2b21ecc
proportional spark cut #3427
2021-11-17 04:06:22 -05:00
Scott Smith
80091498a6
Programmatically replace ENGINE() and CONFIG() with engine-> etc ( #3565 )
...
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"
git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Scott Smith
19f7fa8f89
Make engine* and friends be const pointers in production. ( #3564 )
...
This allows the compiler to see through the pointer and make accesses faster.
It saves 1336 bytes of text.
2021-11-17 03:53:17 -05:00
Scott Smith
14578ddae7
Remove a bunch of macros from engine_ptr.h ( #3562 )
2021-11-17 10:01:39 +03:00
Matthew Kennedy
26502351f1
simulator gets a heap ( #3563 )
2021-11-17 10:00:12 +03:00
GitHub set-date Action
05bef81735
Update date
2021-11-17 01:00:29 +00:00
Scott Smith
dac2ae9b1d
Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER* ( #3560 )
...
* Programmatically remove EnginePtr/inject, EXPAND_Engine, and WITH_ENGINE_TEST_HELPER*
for i in ": public EnginePtr " ", public EnginePtr" "EXPAND_Engine;" "EXPAND_Engine"; do
git grep -l "$i" | xargs sed -i "s/$i//g"
done
git grep -l "inject" | xargs sed -i "/inject[(][)]/d"
for i in WITH_ENGINE_TEST_HELPER_SENS WITH_ENGINE_TEST_HELPER_BOARD_CALLBACK WITH_ENGINE_TEST_HELPER; do
git grep -l "$i" | xargs sed -i "s/$i/EngineTestHelper eth/g"
done
git checkout firmware/controllers/core/engine_ptr.h
git checkout unit_tests/global.h
* Review fixups.
2021-11-16 16:52:11 -05:00
rusefillc
774d96493e
spelling
2021-11-16 16:46:54 -05:00
rusefillc
6fdb98e84f
helping launch enter simulator
2021-11-16 16:45:14 -05:00
rusefillc
4807c0bf87
helping launch enter simulator
2021-11-16 16:34:23 -05:00
rusefillc
ed1d24dbbe
helping launch enter simulator
2021-11-16 16:31:35 -05:00
Andrey
1be12392c0
proportional spark cut #3427
2021-11-16 13:23:08 -05:00
rusefillc
2900f325c8
I bet device manager has command line interface fix #3547
2021-11-16 12:16:41 -05:00
Andrey
c201b5b0ec
proportional spark cut #3427
2021-11-16 05:56:15 -05:00
Matthew Kennedy
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith
2cfc4af998
Start the process of using a global engine ptr for unit tests. ( #3551 )
...
* Start the process of using a global engine ptr for unit tests.
Passing around the engine, config, and persistent state wasn't buying anything. Instead, use
EngineTestHelper(Base) to correctly set and clear the global variables. Add a dummy check in
case some test tries to set them manually.
* Fix OSX build
* Adapt PR to recently added code.
2021-11-16 00:23:14 -05:00
rusefillc
9926a228f6
let's help google discover it
2021-11-16 00:20:51 -05:00
rusefillc
e22a7ea334
https://github.com/rusefi/rusefi_documentation/issues/185
2021-11-16 00:12:57 -05:00
rusefillc
8153ffaaba
https://github.com/rusefi/rusefi_documentation/issues/184
2021-11-16 00:02:46 -05:00
Scott Smith
c354d30a71
Use Valgrind to detect unitialized variable references. ( #3555 )
...
* Use Valgrind to detect unitialized variable references.
Fix the edge cases that pop up
* Comment and disable Mac run
2021-11-15 23:42:23 -05:00
rusefillc
5d65c70a62
https://github.com/rusefi/rusefi_documentation/issues/184
2021-11-15 22:29:54 -05:00
rusefillc
45ba5e766f
current file
2021-11-15 21:56:22 -05:00