Commit Graph

618 Commits

Author SHA1 Message Date
rusefi 24bb43c334 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-04-26 19:44:04 -04:00
rusefi 289691a3f2 minor clean-up 2020-04-26 18:47:56 -04:00
rusefi 8149d90814 method inline 2020-04-26 17:50:03 -04:00
rusefi 1b84406e77 dead code 2020-04-26 17:40:12 -04:00
rusefi ab691c4821 minor clean-up 2020-04-26 17:07:39 -04:00
Matthew Kennedy f128b33694
General purpose PWM: implementation & tests (#1366)
* config

* significant digits

* renumber enum, no need for a "none"

* ui

* impl base

* error handle MAP

* init & update

* don't need arg

* don't lie about sensor

* fix test build

* test stub

* initialize

* null check

* fix clamping

* test output

* types & enums

* don't need param

* test getOutput

* fix

* output pin instead of brain pin

* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy 1bad5f3047
don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi c749807b4b progress 2020-04-22 20:20:22 -04:00
rusefi 934898f903 idle duty cycle clamping 2020-04-20 14:11:40 -04:00
rusefi 1c9e56e56f still want RAM?! 2020-04-19 23:56:08 -04:00
rusefi ca19d2fb44 still the cost of remix 66-2-2-2 2020-04-19 18:58:22 -04:00
rusefi c5ba138471 date & trigger ram usage 2020-04-19 18:32:36 -04:00
rusefi be497685a0 Renix 44-2-2 2020-04-18 22:20:17 -04:00
rusefi ed0e5e2aac multi-channel Tuner Studio tooth logger #1284 2020-04-17 12:14:45 -04:00
rusefi 3a70700935 MC progress 2020-04-16 14:08:28 -04:00
rusefi 049724b902 but what?! 2020-04-14 13:27:07 -04:00
rusefi e0712daa63 is GH trying to tell us something?!
Linking build/rusefi.elf
/home/runner/work/rusefi/rusefi/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: build/rusefi.elf section `.ram4' will not fit in region `ram4'
/home/runner/work/rusefi/rusefi/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: region `ram4' overflowed by 352 bytes
collect2: error: ld returned 1 exit status
2020-04-14 13:15:04 -04:00
rusefi 3e1b38043c fresh 2020-04-13 09:23:13 -04:00
rusefi 12c79b328d date 2020-04-12 18:11:43 -04:00
Matthew Kennedy 001ef27eb8
support ETB disable pin (#1273)
* config & hand gen

* board configs

* add dc motor support

* initialization

* also set duty to zero

* use disable in etb

* fix proteus default

* add TS fields

* I guess we needed 8 bytes

* :D

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusefi 6a94a58796 progress 2020-04-10 13:32:06 -04:00
rusEfi 19184033dd cj125 diag 2020-04-09 00:12:27 -04:00
rusefi 4420218994 TunerStudio: Save settings with self-simulation fix #1272 2020-04-08 18:03:46 -04:00
Matthew Kennedy 8006c0a548
CLT/IAT/Aux in the new sensor world (#1269)
* hook up clt

* init test

* probably fix test

* aux temp

* relax checking

* more significant figures

* remove old aux temp

* hand generate

* claim RAM

* move to ccm

* subscribe

* info printing

* warnings

* raise high voltage failure threshold

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
rusEfi d550554145 date 2020-04-06 14:58:18 -04:00
rusefi b43da0d0f8 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 3186741ddc
TPS Initialization Testing (#1264)
* test support

* stub for tests

* plumbing so we can test this

* add test

* comments
2020-04-05 09:10:08 -04:00
rusefi db82363325 v12 2020-04-03 00:19:04 -04:00
rusefi e9665e1ddc less ETB in case of critical 2020-04-02 00:32:03 -04:00
rusefi eef32ee4fc start/stop works now 2020-04-01 21:22:54 -04:00
rusefi 63246269c7 start/stop works now 2020-04-01 20:25:44 -04:00
rusefi 907b80efa9 code style 2020-04-01 19:00:56 -04:00
rusefi 46cd4af9aa date 2020-04-01 00:42:53 -04:00
rusefi b9eaa3a797 better message 2020-03-31 16:02:13 -04:00
rusefi 65e362740b start/stop progress 2020-03-31 01:06:19 -04:00
Matthew Kennedy 483d4a2204
Debuggability in the new sensor world (#1238)
* rename to avoid conflict

* fix efilib

* add sensor printing

* makefile

* that check was already there

* const

* const

* fix tests

* formatting

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-30 18:29:42 -04:00
rusefi 057b447d3d Reducinc code duplication thank you Matt 2020-03-30 14:12:57 -04:00
rusEfi 2a2b00f2d9 v12 & dual-TPS 2020-03-30 01:13:02 -04:00
Matthew Kennedy 8fd9842310
cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi b3be6f03a2 oooops 2020-03-29 16:56:40 -04:00
rusefi 6f5468d3ea critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi 076954d72e date 2020-03-26 19:25:14 -04:00
Matthew Kennedy 53679fab54
Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -04:00
rusefi 36ec8e565f start/stop progress 2020-03-25 01:41:15 -04:00
rusefi 957b0e19c1 random code inspired by Ola 2020-03-24 19:21:20 -04:00
rusefi 391b0ec368 progress 2020-03-23 23:51:51 -04:00
rusefi c6fb7fb7bb date 2020-03-23 23:28:17 -04:00
rusefi 26b50159f2 progress 2020-03-23 23:16:57 -04:00
rusefi 43440afade launch control #203 2020-03-23 20:44:34 -04:00
rusefi 31ef10fe1c start/stop progress 2020-03-23 10:32:41 -04:00
rusefi 66ec0fdea6 moving a bit of crazy aside 2020-03-23 00:01:59 -04:00
Matthew Kennedy 701f7fd7aa
Accelerator pedal with new sensors (#1208)
* add pedal sensor

* update status loop

* add bit to ts

* fix math

* divide at config time

* this used a little bit of ram
2020-03-22 17:09:46 -04:00
rusefi ef28f394a9 At least read all TPS inputs 2020-03-20 09:53:45 -04:00
rusEfi 984445d545 v12 progress 2020-03-20 00:36:22 -04:00
Matthew Kennedy d5600995e2
fix (#1202)
* fix test

* shrink memory
2020-03-19 20:02:49 -04:00
rusEfi d558b1372e v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusEfi 620088cdc1 v12 2020-03-11 20:48:09 -04:00
rusefi ff7438162b In case of incompatible firmware and console we have a vague error message fix #1180 2020-03-10 19:12:37 -04:00
rusefi 16930da2d3 hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
rusefi 7144d8f843 date 2020-03-08 09:17:43 -04:00
rusEfi bd93d9e204 date 2020-03-07 15:55:08 -05:00
rusefi f93ac0751d better invalid configuration handling 2020-03-05 21:16:45 -05:00
Matthew Kennedy 397907a06f
Support disabling most/all features (#1162)
* this flag did nothing

* guard features properly
2020-02-26 18:16:35 -05:00
rusEfi c35f4aa2e3 more mc33816 2020-02-25 22:38:08 -05:00
rusefi 40145ab09c minor progress 2020-02-22 13:04:19 -05:00
rusEfi 84995652df reviving FRANKENSO_QA_ENGINE 2020-02-18 17:53:56 -05:00
rusefi e9a3b218c4 miata vvt trigger decoding is broken #1145 2020-02-14 13:02:27 -05:00
rusEfi 8c1536dd0e FATAL error running MRE blinking test #1137
still not the fix?
2020-02-11 17:49:39 -05:00
rusEfi 51cfc6bcf1 tle8888 start-up clean-up 2020-02-09 20:41:25 -05:00
Matthew Kennedy 98e6e4b0eb Fix master (#1134)
* Revert "something went very wrong."

This reverts commit 53179dfd22.

* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131)""

This reverts commit 0bf32a7291.

* Revert "partial Revert of "Stricter compile options (#1132)""

This reverts commit a17cc28382.

* temp prometheus fix

* fix bootloader

* fix batch files
2020-02-08 16:34:29 -05:00
rusefi 53179dfd22 something went very wrong.
first we have functional defects
that we do not write test to cover newly intdroduced defects
then attempts to fix defects do not compile
2020-02-08 08:15:46 -05:00
960 4b4e683957
Boost pr (#1114)
* boost control

* cleanup

* Delete rusefi_config.txt

* Add files via upload

* Delete rusefi_config.txt

* Add files via upload

* Update rusefi.input

* Update boost_control.cpp
2020-02-02 03:56:21 -05:00
rusefi b6e0bc7ed1 date & VVT test progress 2020-01-31 01:23:01 -05:00
rusefi 154b679491 refactoring: de-coupling trigger decoder and engine 2020-01-26 03:48:25 -05:00
rusefi af8383ae3a trigger refactoring 2020-01-25 11:22:25 -05:00
rusefi 06cdb7cde6 refactoring 2020-01-22 01:22:44 -05:00
rusefi 2e0a30859c date 2020-01-19 03:49:06 -05:00
rusefi 2785b39c0e date 2020-01-13 02:03:42 -05:00
rusefi b83a5310be happy new year 2020-01-08 00:02:40 -05:00
rusefi cc466ad3ef de-coupling things a bit 2019-12-24 00:26:23 -05:00
rusefi cb9fc19f92 that's not a worth a file 2019-12-24 00:03:53 -05:00
rusefi c38b4545eb refactoring 2019-12-23 23:32:43 -05:00
rusefi 3494f6ff9f adding simplicity 2019-12-23 23:25:08 -05:00
rusefi 8ffbe768cd simplicity? 2019-12-23 22:50:04 -05:00
rusefi a81655216b adding simplicity 2019-12-23 22:40:23 -05:00
rusefi 1576a9f731 adding simplicity 2019-12-23 22:30:58 -05:00
rusefi 253f68cb61 date & fresh integration 2019-12-22 08:24:47 -05:00
Matthew Kennedy 9645130527 Shrink output channels, now with passing CI (#1077)
* 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

* rev signature

* correct map offset

* handle unsigned properly

* RPM is unsigned

* vss isn't scaled

* extract magic

* required generated for build

* de-scale rpm

* field type cases
2019-12-22 08:12:45 -05:00
rusefi 86a3feb13f Revert "fresh integration & changing protocol versions & versions"
This reverts commit f6c3f120
2019-12-21 15:02:37 -05:00
rusefi f6c3f12091 fresh integration & changing protocol versions & versions 2019-12-21 12:35:47 -05:00
Matthew Kennedy ae55eaad67 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -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 e9e7a66cf8 etbActualCount logic to handle the scenario where only one ETB is present 2019-12-13 12:50:34 -05:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi 97b1c1ff33 straightening enum reuse 2019-12-10 21:18:35 -05:00
rusEfi 1cc71ef8ec dual-ETB progress 2019-12-10 00:07:46 -05:00
rusefi 23c0d8646f Making UART/TTL pins configurable 2019-12-07 21:22:09 -05:00
rusefi 813b6aa6ce The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 6555e4b305 "sensor chart" for aux fast analog input 2019-12-02 20:31:49 -05:00