Matthew Kennedy
498824eff4
tabs
2024-03-12 15:28:52 -07:00
Matthew Kennedy
f8070a922a
implement & test backend for injection splitting ( #367 )
...
* framing dual injection
* fix test
* uncomment logic
* format
* start test
* good test
* add todo
2024-02-21 10:54:27 -08:00
Matthew Kennedy
9673ff01f3
implement staged injection ( #331 )
...
* output channel
* duty cycle etc math for second stage
* action_s utility
* basic enable switch
* staging fraction math
* implement staging logic
* wire up pins for second stage injectors
* staging UI
* Improve staged injection test, check scheduler arguments for other injection tests
* Stage 2 last pulse output channel, correct fuel consumption logic
* wall wet on the whole shot
* int vs size_t
* use a define instead of function so we get line numbers
* fix batch injection
* gauges
* bad test merge
* stub out secondary injector model
2024-01-07 15:22:39 -08:00
rusefillc
daf9c19689
additional coverage ( #336 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:53:07 -08:00
rusefillc
d2eb532126
signal_executor_sleep is not part of real firmware ( #334 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:39:26 -08:00
rusefillc
c7a79619e0
encapsulation ( #335 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2024-01-07 12:32:41 -08:00
Matthew Kennedy
a45b9ab611
minor housekeeping
2024-01-06 23:10:56 -08:00
Matthew Kennedy
17c6a46e84
optimize for hot thread stacks and data in CCM
2024-01-06 19:37:35 -08:00
Matthew Kennedy
6ff3bb49f7
that doesn't fit
2024-01-06 18:58:32 -08:00
Matthew Kennedy
7b46529dee
move some stuff in to CCM
2024-01-06 18:52:37 -08:00
Matthew Kennedy
f46ae91a79
wider guard of gpio check
2023-11-03 15:31:13 -07:00
Matthew Kennedy
9c3207f5ea
event queue shadowing
2023-11-01 16:02:34 -07:00
Matthew Kennedy
1aa4d5d66e
PWM shadowing
2023-11-01 16:02:27 -07:00
Matthew Kennedy
0fd5e33b89
happy hpfp test
2023-11-01 15:35:41 -07:00
Matthew Kennedy
fe028f4f06
dc motor
2023-11-01 15:16:27 -07:00
Matthew Kennedy
21998dae2d
tests
2023-11-01 15:14:53 -07:00
Matthew Kennedy
ada987985d
efi gpio de-shadowing
2023-11-01 14:54:57 -07:00
Matthew Kennedy
9c783a9cc7
missed one
2023-11-01 13:54:57 -07:00
Matthew Kennedy
1310eb4e29
lua and scheduler shadowing
2023-11-01 13:46:22 -07:00
Matthew Kennedy
ad6c5af975
speedo output ( #269 )
...
* speedo output
* s
* fix init
2023-10-15 14:59:39 -07:00
Matthew Kennedy
b8c715719a
Prevent multiple-starts on a thread from causing panic #265
2023-10-12 16:09:34 -07:00
Matthew Kennedy
7da4ab860c
consolidate pwm logic
2023-10-06 14:21:47 -07:00
Matthew Kennedy
0050ef733b
minor pwm logic cleanup
2023-10-06 11:50:08 -07:00
Matthew Kennedy
cfa8696437
accept T& in addition to T*
2023-08-03 17:39:59 -07:00
Matthew Kennedy
71552374ab
reset scheduling used count on launch
2023-07-26 10:35:20 -07:00
Matthew Kennedy
3337510d11
#35
2023-06-05 14:28:50 -07:00
Matthew Kennedy
75e57b1821
shared define for all LED pin mode
2023-06-04 23:32:14 -07:00
Matthew Kennedy
32882c6eff
get rid of FrontDirection too #55
2023-05-31 10:24:36 -07:00
Matthew Kennedy
ad3ea57276
tooth_logger.h -> pch
2023-05-30 22:41:20 -07:00
Matthew Kennedy
d5f9479f28
ObdCode is enum class ( #77 )
...
* change ObdCode to enum class builds firmware
* test builds
* don't need this line at all
* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy
f090a97b0b
remove specs_s struct, flatten config
2023-03-27 00:58:18 -07:00
Matthew Kennedy
e5d28022ad
spammy prints cleanup
2023-03-16 01:27:03 -07:00
Matthew Kennedy
718ad4a391
extract expected.h
2023-03-07 00:33:31 -08:00
Matthew Kennedy
20c45768b6
dual ACR pins #47
2023-03-05 18:19:57 -08:00
Matthew Kennedy
b6e3f105df
state sequence api doesn't use triggervalue #55
2023-02-28 02:25:38 -08:00
Matthew Kennedy
ecaaff544b
de-pointerize outputMode #49
2023-02-25 00:31:12 -08:00
Matthew Kennedy
073d662228
basic harley acr ( #48 )
...
* acr
* cleanup
* handle m_hasPinMode
* output channel
* ui
* wrap phase
* don't inject during ACR
* skip extra calculation
---------
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2023-02-25 00:13:51 -08:00
rusefillc
6b31c43339
Default binary should have more relaxed pinout: FATAL pin #5002
...
refactoring: extract method
2023-01-23 10:11:04 -05:00
rusefillc
9e3a4fa461
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
348dc35148
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
2118aaff60
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
29db8e2474
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
a58e687d2f
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
29604cbd60
https://github.com/rusefi/hellenNA6_issues/issues/35
2022-11-09 14:41:21 -05:00
Andrey G
cc9b1517ac
compile warnings: signed vs unsigned and unused ( #4713 )
2022-10-30 09:47:53 -04:00
rusefillc
ec184423f2
send more of Engine Sniffer data #4560
2022-10-29 21:55:35 -04:00
rusefillc
cc51ca3c85
send more of Engine Sniffer data #4560
2022-10-29 21:27:49 -04:00
Matthew Kennedy
c23d7ec077
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
1e0144efaa
constify efi_gpio, use size_t ( #4695 )
2022-10-23 08:25:47 -04:00
Matthew Kennedy
90489edb96
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