rusefi
daf4edb04e
C++
2023-09-10 23:47:44 -04:00
Andrey
f0479fdc17
preparing method for reuse
2023-09-06 08:16:14 -04:00
Andrey
e81f9f953a
some of these error codes are quite pointless now in 2023
2023-09-05 21:32:50 -04:00
Andrey
ba66fdcf82
reducing code duplication around assert
2023-09-05 21:28:39 -04:00
Andrey
464ce6ae50
default arguments are cool even while I might not even need it now
2023-09-05 16:17:13 -04:00
Andrey
70945665e9
default arguments are cool even while I might not even need it now
2023-09-05 16:01:34 -04:00
Andrey
05a8a93028
technical debt? our way to have unit tests working is to have this field instead of proper 'this'
2023-09-05 15:38:51 -04:00
Andrey
c8302be4ae
type clean-up to avoid nasty cast
2023-09-05 15:33:05 -04:00
Andrey
1067e27a50
this field can use a type
2023-09-05 15:20:57 -04:00
rusefi
516c72c411
let's admit we use C++ here
2023-08-31 00:01:31 -04:00
rusefi
720ba01d04
proteus fails to start while powered by stim board #5545
...
only:proteus_f7
2023-08-29 00:46:21 -04:00
rusefillc
3c8cd08c61
broadcast button toggle counter #5514
...
only:fancy boolen with counter
2023-08-22 14:37:17 -04:00
rusefillc
cf7944cd78
CAN side of automated testing fix #4630
...
closing simply because we have too many tickets
2023-08-21 00:40:36 -04:00
rusefi
e8c45a2e7d
refactoring: reducing code duplication. Also, do we even care for critical error codes?!
2023-08-20 22:23:44 -04:00
rusefillc
b2c8e06d1c
broadcast button toggle counter #5514
2023-08-20 17:27:41 -04:00
rusefillc
9febfc7070
startPwm should not FATAL fix #5497
2023-08-07 23:32:52 -04:00
rusefi
163e4ddd40
turnAllPinsOff improvements #5429
...
only:turning a couple of more pins off
2023-07-21 21:30:21 -04:00
Andrey
c3a87bc4d3
hiding stuff from unit tests
2023-07-06 21:36:39 -04:00
rusefillc
4bbc0a8189
hiding stuff from unit tests
2023-07-06 17:01:02 -04:00
rusefillc
bc2a2b9ab9
only:better method name
2023-06-25 02:08:53 -04:00
Andrey
5bdcb84d0a
Too many bench test buttons are broken #5327
2023-06-15 19:30:46 -04:00
Andrey
88f662ca2d
Too many bench test buttons are broken #5327
2023-06-15 15:43:35 -04:00
rusefillc
65dcdb86ec
Too many bench test buttons are broken #5327
2023-06-15 11:46:39 -04:00
rusefi
f77f356e6d
reducing code duplication
2023-06-11 23:17:13 -04:00
Matthew Kennedy
b174ef488a
shared define for all LED pin mode
2023-06-05 11:49:09 -04:00
Matthew Kennedy
f7e6ccd9e2
de-pointerize outputMode #49
2023-06-05 10:25:00 -04:00
rusefillc
74e2592746
p from past
2023-06-05 10:23:20 -04:00
Matthew Kennedy
12a29232cc
tooth_logger.h -> pch
...
(cherry picked from commit ad3ea57276361b6da69eb920dd056a662f6f5c70)
2023-05-31 15:59:02 -04:00
Andrey
8c9b17485e
Revert "Allow scheduling_s to come from a pool ( #4841 )"
...
This reverts commit 5250b177
2023-05-25 10:10:17 -04:00
rusefillc
8f6f7819a4
one step back: sleep implementation not to use heap
2023-05-25 10:10:17 -04:00
rusefillc
9ec713c162
dead doc
2023-05-25 09:49:30 -04:00
rusefillc
fb2e64a6be
reducing GPIO code duplication
2023-05-24 10:57:09 -04:00
rusefillc
b2547c629d
reducing GPIO code duplication
2023-05-24 10:44:33 -04:00
rusefillc
fa57f32a37
reducing GPIO code duplication
2023-05-24 10:37:02 -04:00
rusefillc
458d8982aa
reducing GPIO code duplication
2023-05-24 10:34:11 -04:00
rusefillc
cdf5447afb
reducing GPIO code duplication
2023-05-24 10:24:44 -04:00
rusefillc
61f840fcc3
reducing GPIO code duplication
2023-05-24 09:30:19 -04:00
rusefillc
cc4175f428
reducing GPIO code duplication
2023-05-24 08:51:24 -04:00
rusefillc
cdd7bfe535
code style
2023-05-24 00:09:06 -04:00
Andrey
51d0f6e347
it's going to be painful
2023-04-29 00:44:00 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
Matthew Kennedy
2857e9527d
remove specs_s struct, flatten config
...
(cherry picked from commit f090a97b0b7771dfe02e4b4bb9919d50a6a11ef5)
2023-04-28 20:59:11 -04:00
Matthew Kennedy
dc6f53bda5
extract newton's method implementation ( #5157 )
...
* move expected, update libfirmware
* hellen ID solver uses shared Newton's method
* comment shouldn't have been moved
2023-03-07 08:45:17 -05:00
Andrey
0c948f6448
yes, this thing works nicely
2023-02-20 23:43:58 -05:00
rusefillc
a11a770ae4
Default binary should have more relaxed pinout: FATAL pin #5002
...
refactoring: extract method
2023-01-23 10:11:04 -05:00
rusefillc
1be06f8d08
h-bridge wastegate not alive on bench #4965
...
life is sad when debugger is broken
2023-01-17 13:46:54 -05:00
Matthew Kennedy
872595f302
ETB compensates for battery voltage ( #4838 )
...
* compensate battery voltage
* changelog
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 22:55:26 -05:00
Matthew Kennedy
5250b177c2
Allow scheduling_s to come from a pool ( #4841 )
...
* injection events use scheduling pool
* knock and prime
* bench test
* dropped this: *
* extract action before execute
* comment
* init allocated timers
* metrics
* dropped this: ,
* guard
* injection events use scheduling pool
* knock and prime
* bench test
* dropped this: *
* extract action before execute
* comment
* init allocated timers
* metrics
* dropped this: ,
* guard
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-12-10 17:55:51 -05:00
Matthew Kennedy
994ee2f22f
Combine angle based event ( #4884 )
...
* Remove AngleBasedEventOld/New, only AngleBasedEvent now
* this 7 year old comment of old test code can go away
2022-12-10 17:07:02 -05:00
Matthew Kennedy
769cdd32ca
TriggerScheduler cleanup ( #4844 )
...
* TriggerScheduler cleanup
* remove TRIGGER_EVENT_UNDEFINED
* remove dead overload of scheduleOrQueue
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-28 08:55:38 -05:00
rusefillc
800b6b7a95
https://github.com/rusefi/hellenNA6_issues/issues/35
2022-11-09 14:41:21 -05:00
Andrey G
e7b06cbfca
compile warnings: signed vs unsigned and unused ( #4713 )
2022-10-30 09:47:53 -04:00
rusefillc
0283351d6c
send more of Engine Sniffer data #4560
2022-10-29 21:55:35 -04:00
rusefillc
066ac7e2ea
send more of Engine Sniffer data #4560
2022-10-29 21:27:49 -04:00
Matthew Kennedy
2924d98609
use offsetof instead of generated offset defines ( #4696 )
...
* constify efi_gpio, use size_t
* use offsetof instead of macros
* don't generate offsets in rusefi_generated.h
* comment explaining the madness
* java fixes
* casing
2022-10-23 16:39:18 -04:00
Matthew Kennedy
0838fd5dc4
constify efi_gpio, use size_t ( #4695 )
2022-10-23 08:25:47 -04:00
Matthew Kennedy
b089825a4a
schedule ignition charge by angle instead of tooth ( #4513 )
...
* schedule ignition charge by angle
* same mistake as #4536
* s
* wrap sparkAngle too
* AngleBasedEventNew
* function moved
* implement scheduleOrQueue
* prints
2022-09-25 11:00:55 -04:00
Matthew Kennedy
af7e4f6fe5
two modes trigger scheduler ( #4598 )
...
* two modes trigger scheduler
* asOld
* hpfp
2022-09-20 05:28:23 -04:00
Andrey
b69d613192
moving IO-only away from scheduling logic
2022-09-14 00:52:24 -04:00
Matthew Kennedy
35997c6318
pwm iteration limit to avoid float math accuracy loss ( #4578 )
2022-09-13 21:16:35 -04:00
Andrey G
55c1f53c75
dead code, reduce typedefs ( #4566 )
...
* Do lightweight checks first
* Dead getTimeIgnitionSeconds()
Dead since 81fffe87b7
* Get rid of efitime_t.
Purpose are not clear. Use efitick_t where ticks are used,
use efitimeus_t for uS, use efitimems_t or efitimems64_t for mS.
* Fix unit tests
* Fix misc: stm32f1_test_project
2022-09-11 16:08:11 -04:00
rusefillc
851e8e48d3
refactoring: type safety
2022-09-11 02:57:35 -04:00
rusefillc
6bcd29c727
send more of Engine Sniffer data #4560
...
new API & first usage
2022-09-10 23:42:59 -04:00
Andrey
5962cbd5c2
brutal encapsulation
2022-09-07 20:31:04 -04:00
Andrey
52869d63bb
tear down Engine god object #4511
...
just trying different things
2022-09-07 20:25:49 -04:00
Andrey
ae93591755
brutal encapsulation
2022-09-07 20:20:29 -04:00
Andrey
8c21b4ef41
brutal encapsulation
2022-09-07 19:37:11 -04:00
Andrey
6e8d248408
brutal encapsulation
2022-09-07 19:37:11 -04:00
Andrey
2d9dbbd6b8
extracting prime_injection
2022-09-07 16:25:50 -04:00
Andrey
ab4b451195
os_access.h dead?
2022-09-07 15:56:45 -04:00
rusefillc
a7af8ecec9
Engine Sniffer into TS data logs fix #4535 ( #4537 )
2022-09-05 19:49:27 -04:00
rusefi
eb976de07d
lua outputs bench test
2022-08-24 13:20:14 -04:00
rusefillc
c7c443ea24
https://github.com/rusefi/hellen154hyundai/issues/57
2022-08-09 13:26:11 -04:00
Matthew Kennedy
435fd9538b
Simpler thread controller ( #4327 )
...
* s
* Start -> start
* maybe tests are happy
* s
* s
2022-08-02 01:16:13 +03:00
Matthew Kennedy
2096a22319
report injector, ignition faults ( #4408 )
...
* report injector, ignition faults
* guard
2022-08-01 15:41:47 -04:00
rusefillc
6f767f603a
(insert passive-aggressive smart prefix here) HARDWARE VALIDATION has disappeared fix #4405
2022-07-30 15:03:45 -04:00
rusefillc
94738f4a16
FATAL does not light up red LED on MRE with OpenBLT fix #4404
2022-07-30 14:58:43 -04:00
Matthew Kennedy
b99d90b006
Start -> start ( #4366 )
2022-07-21 15:17:32 -04:00
Matthew Kennedy
e9d092f975
big delete ICU ( #4270 )
...
* big delete
* icu vestiges
* changelog
2022-07-07 15:27:59 -04:00
Matthew Kennedy
769f7ec558
get correct stamp ( #4174 )
2022-05-14 23:01:02 -04:00
rusefillc
500c443a15
Timestamp Error scheduleByTimestampNt too far #3395
...
improving error message
2022-05-14 21:24:19 -04:00
Matthew Kennedy
9b820cf1dc
remove suspicious cast that could maybe cause an overflow ( #4169 )
...
* suspicious cast
* don't print 64b
* explicit type
2022-05-13 06:40:37 +03:00
Matthew Kennedy
e4a0979dc2
Brain pin is enum class ( #4108 )
...
* change most usages to Gpio::
* board configs
* engine configs etc
* isBrainPinValid, smart gpio
* generator
* generator
* generator
* connector yamls
* kinetis enums
* cypress txt
* kinetis config
* frankenso
* config generator
* actually do it for the others
* disable skips for pr ci
* fix tle8888
* misc
* weird cast from int
* needs this operator too
* this can be an unsigned subtract
* happy tests
* s
* kinetis isConfigurationChanged weirdness
* missed J/K
* cypress efifeatures
* build script mistake (!)
* mistake in smart gpio
* debounce
* eg33
* kinetis, so needy
* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy
bc6a87cadc
allow enum_class in rusefi_hw_enums.h ( #4104 )
...
* make things c++ friendly
* install various canaries in coal mines
* using is much clearer than typedef
* fixing builds
* lps25
* trigger includes were a mess
* c -> c++ cleanup
* os util
* why did so many include os_util.h?
* fwd declare
* cypress/kinetis
* s
* eg33 happy
* happy sim
* cypress usb
* pch
* cypress
* doesn't need to include all that
* h7
2022-04-25 20:38:16 -04:00
David Holdeman
7de7ea6ad0
TCU features and fixes ( #4082 )
...
* add tcc pwm freq field
* add pc fields, make trans fields conditional
* make button shift fields conditional, remove duplicates
* add 3-2 solenoid fields
* add PC curves
* try combining tcc curves
* try combining pc curves
* use airmass instead of tps for pc
* reduce airmass axis
* increase axis digits
* duplicate for per shift, change names
* add pc per shift arrays
* try moving tables
* move more tables
* init solenoid pins
* start adding pwm stuff, change some array names
* fix gear issue
* fix multiple shift issue
* fix transmission controllers not working
* fix transmission controllers not working 2
* rearrange and virtual some things
* make getMode const
* fix pwm
2022-04-18 20:09:27 -04:00
David Holdeman
fe39f58022
Some untested TCC control ( #4066 )
...
* rebase
* save changes
* save changes
* fix whitespace
* try enum class
* change field name
* Add TCC pin fields
* add TCC tables
* add a bit of TCC control logic
2022-04-12 19:15:09 -04:00
rusefillc
014b8293a5
User board-specific terms in error messages #3886
...
progress
2022-02-03 12:45:26 -05:00
Andrey
08c1c5d969
Remove legacy check fix #3808
2022-01-18 16:01:27 -05:00
Andrey
7e007cc534
https://rusefi.com/forum/viewtopic.php?p=44100#p44100
2022-01-18 10:24:08 -05:00
rusefillc
64387689ff
On m_event vs lobe vs scheduling #3804
2022-01-18 00:45:24 -05:00
rusefillc
e76aa1cc60
https://github.com/rusefi/alphax-2chan/issues/14
2022-01-16 23:03:14 -05:00
rusefillc
f43ef3a8b6
warning(CUSTOM_ERR_6586, "attempting to change unassigned pin")
2022-01-16 15:53:27 -05:00
rusefillc
7f0357ffcb
mk files refactoring
2022-01-06 20:06:31 -05:00
Andrey
940b04ab24
Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming
2021-12-07 20:18:47 -05:00
rusefillc
4b8c5f1671
harley
2021-11-26 14:41:35 -05:00
rusefillc
c29bb71556
spelling
2021-11-23 07:57:43 -05:00
Scott Smith
ba4a00d3bb
Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData ( #3519 )
...
* Drop SingleChannelStateSequence in favor of MultiChannelStateSequenceWithData
Most all the users were Multi* anyways, so just improve that:
1. Allow up to 8 waveforms to share one byte per timestamp. It could be better but this is simple
and gets most of the benefit.
2. Use a wrapper structure to handle reserving space for the arrays. Makes the interface simpler
and more rigid. Also saves 4 bytes per Multi*. Downside is access is now via -> and *,
not . and (nothing).
Saves 224 bytes of BSS, 1832 bytes of RAM4/CCM, 952 bytes of TEXT, and 103 bytes of RODATA
* Instantiate a base_t to make debugging easier.
Also fixes crash on real firmware by using &m_base instead - LTO optimization issue?
* No magical templated StaticAlloc thingy. Just virtual functions.
2021-11-21 04:56:07 -05:00
rusefillc
e54d3b9e06
On -fpermissive in Windows in unit tests #3581
2021-11-20 00:16:03 -05:00
Scott Smith
5bc1949aef
Basic framework for high pressure fuel pump control ( #3476 )
...
* Basic framework for high pressure fuel pump control
* Many changes
Move calculations to fast callback
Move main object into Engine
Respond to pin changes without requiring a reboot
* Use EngineModule for HpfpController
Schedule pin off after executing pin on so we are sure it ends, even if the motor stops.
Test scheduling.
Less RAM use by only having one event and reordering fields.
* Make scheduling test actually useful - need non-0 activation angle.
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-11-19 23:06:51 -05:00
Scott Smith
18c27a6e9c
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
b579b33082
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
Scott Smith
823d9a07e0
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
cc95bd6c8e
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
Matthew Kennedy
8cdac4cac0
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith
62daac73c7
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
Matthew Kennedy
145316c497
less macro, more c++ ( #3549 )
...
* less macro
* s
2021-11-15 12:44:40 +01:00
rusefillc
22c872d8d8
Epic: Remove FSIO #2928
2021-11-14 10:57:19 -05:00
rusefillc
eb1af46655
Epic: Remove FSIO #2928
2021-11-14 08:37:50 -05:00
Scott Smith
d4c4db9a12
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
Scott Smith
dac67235c4
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
1db9a02f1d
Revert "Don't keep a separate MultiChannelStateSequence for the trigger emulator. ( #3513 )"
...
This reverts commit 280dfa94e7
.
2021-11-09 20:42:23 -05:00
Scott Smith
280dfa94e7
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
rusefi
22e78a97a5
nicer messages
2021-11-08 20:49:12 -05:00
Matthew Kennedy
0fe2721556
use name of pwm ( #3393 )
2021-10-22 15:23:53 -04:00
Matthew Kennedy
efa08b329d
Fix simulator ( #3360 )
...
* fix simulator
* print out halt reason
* option to close simulator after time
* workflow calls it
* test with the bug still present
* ...and fix the bug
2021-10-17 20:07:25 -04:00
Andreika
bc4a068c9c
[DRAFT] IAC H-Bridge Microstepping ( #3213 )
...
* fix for stepperHbridgeHardware
* new config fields for microstepping
* add stepper dir pin mode to the dialog
* refactor stepper hw dialog & add microstepping panel
* microstepper modes enum
* stepperDcInvertedPins needed by Hellen
* add sleep() for stepper and divisor for pause()
* microstepping impl.
* make unit-tests more happy
* small progress
* fix etb-stepper dlg conflict
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-10-06 13:57:04 -04:00
Andrey
2a2722c3cc
SPARK_EXTREME_LOGGING
2021-10-01 23:50:32 -04:00
rusefillc
3ff9568521
more details into CUSTOM_OBD_LOW_FREQUENCY message
2021-09-05 14:21:02 -04:00
Matthew Kennedy
da5aaeda2b
detect "not scheduled" faster ( #3200 )
...
* fatal if not found
* handle not-scheduled
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:46:01 +03:00
Matthew Kennedy
0c6297e926
add cancel to scheduler ( #3201 )
...
* fw
* for tests
* simulator
* sim
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:30:06 +03:00
Matthew Kennedy
98a98e920d
init the timer before we try to use it ( #3205 )
...
* init the timer before we try to use it
* format
* guard
2021-08-27 10:59:00 +03:00
Matthew Kennedy
cf5d4cbe1c
add & test remove from linked list ( #3199 )
2021-08-26 23:03:09 +03:00
Matthew Kennedy
25414ebdad
yet more pch ( #3068 )
...
* big pch energy
* put back ramdisk stub
* tests are happy
* h743 nucleo
* kinetis
* I love deleting code!
* make stepper happy
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy
b52d50bbf2
Use pch in lots of files ( #3066 )
...
* most engine.h
* most engine_configuration
* more
* more
* more
* more
* more
* moooooore
* ok I'm done for now
* oops
2021-07-26 01:05:17 -04:00
Andrey
2ec8c3090f
trailing spark outputs #2931
2021-07-21 20:51:51 -04:00
Matthew Kennedy
e2a01b4c3e
force init LEDs even with fatal ( #2998 )
2021-07-20 17:09:52 -04:00
Matthew Kennedy
2ce7777865
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
rusefi
7945faa93a
FATAL on NB2 tune jim stim input signal #2965
2021-07-14 17:45:54 -04:00
Andrey
e1c41ff798
FATAL on NB2 tune jim stim input signal #2965
2021-07-14 16:03:00 -04:00
Matthew Kennedy
64177cf899
put names in flash ( #2939 )
...
* put names in flash
* probing freed ram
* this one too
* probing memory
* more like that much
2021-07-09 17:05:16 -04:00
Matthew Kennedy
7a21f7fbc0
inject ( #2938 )
2021-07-09 17:02:25 -04:00
Matthew Kennedy
e00c7d0b98
trailing coils ( #2937 )
...
* gpio wiring
* plumbing
2021-07-09 15:51:30 -04:00
Andrey
02d002f081
random progress
2021-07-09 14:43:58 -04:00
rusefillc
70fd233740
random progress
2021-07-09 14:27:10 -04:00
Andrey
b8857f5ba8
trailing spark outputs #2931
2021-07-09 10:14:00 -04:00
Matthew Kennedy
86683afca2
trailing spark scheduling ( #2932 )
...
* enable bit
* implement trailing sparks
* test trailing spark
* it helps to call the correct function
* add pins
* gobblin ram
2021-07-09 08:37:46 -04:00
Matthew Kennedy
2eb0b2a631
Unified cyl count macro ( #2914 )
...
* update test framework
* eh
* hey look it's fewer warnings
* unwind
* fix
* config
* configs
* logic
* even java had some
* console needs help
2021-07-06 20:14:08 -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
Matthew Kennedy
cd055a687d
dc motor api ( #2869 )
...
* iwpm
* dc motor has configure
* consume
* format
* spelling
2021-06-26 21:42:40 -04:00
rusefillc
6605935015
unit_tests: mapAveragingTriggerCallback causes segmentation fault #2858
2021-06-25 10:21:31 -04:00
Matthew Kennedy
7eb3b9890d
misc threading/safety improvements ( #2854 )
...
* allow termination of thread controller
* no gpio if fatal
* stub for test
2021-06-24 20:18:23 -04:00
Matthew Kennedy
097bf85faf
dual fans ( #2806 )
...
* remove fsio
* hard code impl
* test it
* enable fan with AC
* make commented stuff match
* second fan config
* second fan ui
* defaults
* impl
2021-06-13 08:06:45 -04:00
David Holdeman
6d4060d824
Doxygen titles ( #2728 )
...
* move addRow call
* undo submo bump
* add header titles
2021-05-22 22:10:58 +03:00
Matthew Kennedy
5a5f25244a
make the simulator usable ( #2717 )
...
* these start themselves now
* dead
* configure ports
* start serial
* dead
* minimal pins
* simulator logging works
* why not enable lua
* speeeeeed
* start lua
* spammy print
2021-05-17 12:44:02 +03:00
Andrey
4f63d2b476
More low-level firmware coverage for the simulator/unit-tests #2656
2021-05-15 05:27:33 -04:00
Matthew Kennedy
8b30776016
remove stateChangeCallback from simplepwm ( #2644 )
...
* remove callback parameter from cj125
* remove from ext
* remove stateChangeCallback
* alt doesn't need that
* demorgan
* remove call
* bad cut/paste
* check the actual pin in the test
2021-05-07 09:38:41 -04:00
Matthew Kennedy
461903f7e4
pack scheduling_s ( #2642 )
...
* pack scheduling_s
* ramz
2021-05-07 08:22:35 -04:00
rusefillc
f7d1f2dfac
code style
2021-05-06 10:43:42 -04:00
rusefillc
02d4cde3c4
https://rusefi.com/forum/viewtopic.php?f=16&t=1996
2021-04-25 09:18:35 -04:00
Matthew Kennedy
c26987b96b
Destroy all shared logger ( #2574 )
...
* most of shared logger
* a few more
* one more
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00