Commit Graph

6017 Commits

Author SHA1 Message Date
Matthew Kennedy 562ce6ccaf DRAFT Shrink output channels, again (#1074)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order

* fix output size

* comments

* reorder fields, no sizes yet

* should've been signed

* simplify constructor mess, hook up scaling

* notes

* typo

* if -> switch
2019-12-21 08:55:19 -05:00
rusefi 4a21203c05 docs 2019-12-19 22:40:27 -05:00
rusefi 22f2739764 Revert "Shrink output channels, use scaling (#1069)"
This reverts commit 89405014
2019-12-19 22:35:06 -05:00
rusefi d3da010088 Revert "fresh integration"
This reverts commit 9363d081
2019-12-19 22:34:58 -05:00
rusefi 320ff0972f Revert "hmm (#1073)"
This reverts commit f8c98cad
2019-12-19 22:34:52 -05:00
rusefi 88b04e374c Revert "fresh integration"
This reverts commit 5a160912
2019-12-19 22:34:47 -05:00
rusefi 5a160912f5 fresh integration 2019-12-19 22:05:19 -05:00
Matthew Kennedy f8c98cad07 hmm (#1073) 2019-12-19 21:09:59 -05:00
rusefi 9363d081c3 fresh integration 2019-12-19 20:38:48 -05:00
Matthew Kennedy 89405014cf Shrink output channels, use scaling (#1069)
* reorder fields

* temporary tle8888 fix

* comment, simplify

* hand tweak generated

* oops, those are reciprocal

* fix engineLoadAccelExtra

* aggressive priority order
2019-12-19 20:37:42 -05:00
rusefi bf8cdee62c fresh .ini 2019-12-18 19:37:51 -05:00
Matthew Kennedy 59dcc004ac add settings to log debug & errors list (#1071) 2019-12-18 19:35:08 -05:00
Matthew Kennedy 1fe3fee0d3 only log acc if enabled (#1070) 2019-12-18 19:34:08 -05:00
Matthew Kennedy 2f0b25a476 don't log if disabled (#1067) 2019-12-18 14:39:38 -05:00
Matthew Kennedy b9454790c7 Add new sensor function types (#1065)
* add functions

* add tests

* add chain tests

* float suffix
2019-12-17 09:06:29 -05:00
rusefi 62eb1ee22c Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-17 09:01:22 -05:00
rusefi eac3373645 docs 2019-12-17 08:56:08 -05:00
Matthew Kennedy eb27bcf3d6 Terrible ADC3 hack for Proteus vbatt support (#1066)
* this is a great idea!

* typo

* simplify

* simplify, cache coherency

* enable adc3 in board file

* copyright

* fix tests, probably
2019-12-17 08:34:56 -05:00
Matthew Kennedy 08a8fa8d1e Remove sensor reporting loc (#1064)
* remove raw rept loc

* remove normal reporting location

* fix up oil pressure

* format
2019-12-16 22:45:46 -05:00
Matthew Kennedy 0a7884241d one source of truth (#1063) 2019-12-16 21:44:11 -05:00
Matthew Kennedy f90a5e48eb const (#1062) 2019-12-16 20:36:40 -05:00
rusefi 2bff85ad16 notes to self 2019-12-16 01:47:34 -05:00
rusefi addfd692ce fixing build 2019-12-15 23:33:15 -05:00
rusefi f0a588a888 :( sad stuff 2019-12-15 23:21:38 -05:00
rusefi e9c95f30d2 fixing build 2019-12-15 22:58:10 -05:00
rusefi 0d0298ac98 boring test mule stuff 2019-12-15 22:21:49 -05:00
rusefi 1c7de824e2 typo 2019-12-14 18:33:08 -05:00
Matthew Kennedy db3ae5b03f DRAFT simplify dequeue logic (#1050)
* simplify dequeue logic

* unnecessary

* format

* doc
2019-12-14 18:00:39 -05:00
rusefi fe1d23fd6e Revert "Fried coil (?) on incompatible firmware change fix #1051"
This reverts commit 1eeb92b
2019-12-14 17:35:11 -05:00
rusefi 3f3cddbf01 Config generation handles padding after packed booleans (bits) wrong
fix #1057
2019-12-14 16:11:31 -05:00
rusefi d5b25902d3 Config generation handles padding after packed booleans (bits) wrong
#1057
refactoring
2019-12-14 15:33:30 -05:00
rusefi 1ab4bfc16f ETB pin rename defect 2019-12-14 09:37:50 -05:00
rusefi a1f6b358ef Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-14 09:36:46 -05:00
Matthew Kennedy 9c481744a5 fix ts (#1058) 2019-12-14 09:33:06 -05:00
Matthew Kennedy ae55eaad67 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -05:00
Matthew Kennedy 49105335b2 lcd thread name (#1059) 2019-12-14 09:12:37 -05:00
rusefi 521b27ff35 codes clean-up 2019-12-14 00:14:36 -05:00
rusefi 26574555a2 great news about #1055 2019-12-13 23:07:56 -05:00
rusefi 8ae774864c great news about #1055 2019-12-13 21:50:14 -05:00
rusefi ff9383eea1 fixing build is my most favourite time! 2019-12-13 20:51:04 -05:00
rusefi 6f2cb66d9a fixing build is my most favourite time! 2019-12-13 20:06:45 -05:00
rusefi 36ec3fd38e docs 2019-12-13 18:05:08 -05:00
rusefi 9403b2a8fc fixing build is my most favourite time! 2019-12-13 18:02:24 -05:00
rusefi 1eeb92b23b Fried coil (?) on incompatible firmware change fix #1051 2019-12-13 17:23:48 -05:00
Matthew Kennedy 003c1c17f0 Make stacks smaller (#1055)
* remove factually incorrect comment

* shrinky stacky

* shuffle comments
2019-12-13 16:47:26 -05:00
rusefi fcf88778e5 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-13 14:03:52 -05:00
rusefi 236d952335 progress towards ETB controller mocking 2019-12-13 13:52:34 -05:00
rusefi e9e7a66cf8 etbActualCount logic to handle the scenario where only one ETB is present 2019-12-13 12:50:34 -05:00
Matthew Kennedy 199cf72f4a use correct divider (#1056) 2019-12-12 08:45:10 -05:00
rusefi 1c2d1495ec only using unified name, not changing any values
reduce the pin output speed on the MCU as these are the major source of ripple on VDD. #397
2019-12-11 19:55:28 -05:00
rusefi 0cf8233974 some random pin rename & a bit of "reduce the pin output speed on the MCU as these are the major source of ripple on VDD. #397" 2019-12-11 19:53:08 -05:00
rusefi 4ae65923fb board.h default state for F4 pins #1053
no default changes here - only using our custom names to highligth default choice
2019-12-11 19:25:46 -05:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy 37473bd26e Move slow ADC to thread #630 (#1042)
* adc with thread

* enable

* check result

* stacktual embiggenment

* tracing

* let's be type safe

* improve assert

* format, comment

* remove EFI_INTERNAL_SLOW_ADC_PWM fully
2019-12-11 09:28:11 -05:00
rusEfi a44a0cad99 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-10 23:18:44 -05:00
rusEfi 35c518dcc9 just in case 2019-12-10 22:18:37 -05:00
rusefi 97b1c1ff33 straightening enum reuse 2019-12-10 21:18:35 -05:00
Matthew Kennedy 0e674f7eca ETB Encapsulation & C++ Conventions (#1049)
* encapsulate etb stuff, c++ conventions

* remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE

* reduce include dependencies

* Revert "reduce include dependencies"

This reverts commit c529bbbf757cd9070f6e00616f84b1229eeb768e.

* Revert "remove DECLARE_ENGINE_PTR/INJECT_ENGINE_REFERENCE"

This reverts commit ca98b18cd4dae24b993d1263a18daf509dcd54b9.
2019-12-10 19:37:04 -05:00
Matthew Kennedy 00840d99ec copyArray helper (#1048)
* add functions

* uses

* use for proteus

* do it for warmup mult

* do it for cranking settings

* cleanup
2019-12-10 18:04:50 -05:00
rusEfi 1cc71ef8ec dual-ETB progress 2019-12-10 00:07:46 -05:00
rusefi 62481d7fe8 The Big Refactoring of 2019: folder structure #723 2019-12-08 13:21:35 -05:00
rusefi cf8c6e7eca The Big Refactoring of 2019: folder structure #723 2019-12-08 13:09:51 -05:00
rusefi c5cfd21a70 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 0555d2170d TPS#2 calibration & fixing ETB in TS 2019-12-08 00:37:33 -05:00
rusefi a84e8c6fc0 Making UART/TTL pins configurable 2019-12-07 23:20:17 -05:00
rusefi cc87ccd58a docs 2019-12-07 23:19:40 -05:00
rusefi 23c0d8646f Making UART/TTL pins configurable 2019-12-07 21:22:09 -05:00
andreika-git 3c8b28db0b Add GUI for binarySerialRxPin/binarySerialTxPin (#1047) 2019-12-07 21:19:21 -05:00
rusefi 0664c1f566 docs 2019-12-07 14:09:06 -05:00
rusefi d6471a84bc Refactor Trigger System #635
injecting callback via parameters instead of nasty "bool isInitializingTrigger" field
2019-12-06 01:57:11 -05:00
rusefi 717abd6b67 Refactor Trigger System #635
injecting callback via parameters via magic and potentially broken field manipulation
2019-12-06 01:05:19 -05:00
rusefi 28a12d9d04 typo 2019-12-06 00:07:27 -05:00
rusefi 6c76c5fcd6 PAL repair 2019-12-05 21:10:29 -05:00
rusefi 2b49fc31ea steps towards fixing PAL inputs 2019-12-05 21:04:24 -05:00
rusefi 81d44065a6 would unification help? 2019-12-04 20:13:45 -05:00
andreika-git deaef6c5bc github CI fix (Kinetis/release) (#1045)
* fix?

* more fix

* Proteus fix

* fix Kinetis gen_config

* update Kinetis config

* quotes fix?

* quotes fix??

* Okay, no quotes, just move -DFIRMWARE_ID inside .mk

* Exclude Kinetis/debug build
2019-12-04 15:16:26 -05:00
rusefi dea4bb6511 more of the same 2019-12-04 08:12:52 -05:00
rusefi 6481662092 reducing code duplication & including kinetis 2019-12-04 07:50:46 -05:00
rusefi c0450ebd9b following the pattern 2019-12-04 07:33:56 -05:00
rusefi 5055797f6b The Big Refactoring of 2019: folder structure #723 2019-12-04 01:15:52 -05:00
rusefi 813b6aa6ce The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi d81c783391 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:57:54 -05:00
rusefi 0428ff4347 gen_config run 2019-12-04 00:38:40 -05:00
rusefi 302b336186 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-04 00:37:53 -05:00
andreika-git 2a39c69f51 iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis (#1043)
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC

* Impl. IacPidMultTable

* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi f6a50b7375 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:35:05 -05:00
rusefi 0dd517bcc7 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:22:34 -05:00
rusefi db4ea08568 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:04:27 -05:00
rusefi bd841b6ca2 docs 2019-12-03 23:55:18 -05:00
rusefi de36f76882 The Big Refactoring of 2019: folder structure #723 2019-12-03 23:52:44 -05:00
rusefi 500315b042 refactoring - updating name according to new reality 2019-12-03 14:39:11 -05:00
rusefi c4027a29f0 codes fix, thank you AndreiKA 2019-12-03 09:05:57 -05:00
rusefi eb305f0265 #490 2019-12-03 00:29:12 -05:00
rusefi bec88bf8c8 EngineTestHelper progress 2019-12-03 00:20:47 -05:00
Matthew Kennedy 9fdf74bc18 Base configuration for Proteus (#1040)
* cfg

* add enum value

* add ci

* actually build the board config

* this is pretty close

* proteus case
2019-12-02 23:54:40 -05:00
Matthew Kennedy 3008e19110 missing override (#1039) 2019-12-02 23:52:35 -05:00
rusefi 1c96d9541e refactoring 2019-12-02 23:08:18 -05:00
rusefi d007a7f902 making new scheduling API avalable 2019-12-02 22:28:32 -05:00
rusefi 82fab0282c lovely write-out-of-bounds in case of invalid configuration bugfix 2019-12-02 20:32:21 -05:00
rusefi 6555e4b305 "sensor chart" for aux fast analog input 2019-12-02 20:31:49 -05:00