Commit Graph

1275 Commits

Author SHA1 Message Date
Matthew Kennedy 6703705a33 Pass action_s instead of callback/param (#1084)
* change action

* consumers

* fix test

* didn't mean to add those

* simplify

* fix simulator

* fix sim for real

* oy

* maybe this time the simulator will actually be fixed, for real

* don't rely on undefined behavior
2020-01-07 00:41:18 -05:00
rusEfi 579cf5abb8 docs 2019-12-29 14:58:39 -05:00
rusEfi 59f25e04fd improvements around weird engine types 2019-12-28 23:26:43 -05:00
rusEfi 499a39e88c improvements around weird engine types 2019-12-28 23:22:16 -05:00
rusefi 435928ca81 laughable gdi progress 2019-12-26 22:30:12 -05:00
rusefi 9e4df11063 Frankenso does not use ETB 2019-12-25 15:58:54 -05:00
rusefi 5eae7e50f4 enabling TIM8 ICU 2019-12-25 09:28:51 -05:00
Matthew Kennedy c56bd4cc97 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
rusefi 1f49803441 fixing build 2019-12-15 23:33:15 -05:00
rusefi d53f037f19 :( sad stuff 2019-12-15 23:21:38 -05:00
rusefi c94532a697 boring test mule stuff 2019-12-15 22:21:49 -05:00
rusefi 880d590aab Revert "Fried coil (?) on incompatible firmware change fix #1051"
This reverts commit b83114d
2019-12-14 17:35:11 -05:00
Matthew Kennedy 4866a78e63 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -05:00
rusefi 32564db46e fixing build is my most favourite time! 2019-12-13 20:51:04 -05:00
rusefi 91fbaf1f98 fixing build is my most favourite time! 2019-12-13 20:06:45 -05:00
rusefi b83114db99 Fried coil (?) on incompatible firmware change fix #1051 2019-12-13 17:23:48 -05:00
Matthew Kennedy 853f33b1cc Make stacks smaller (#1055)
* remove factually incorrect comment

* shrinky stacky

* shuffle comments
2019-12-13 16:47:26 -05:00
Matthew Kennedy 2818142ac3 use correct divider (#1056) 2019-12-12 08:45:10 -05:00
rusefi 9e8d72ff1e 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 f3a3146fc9 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 1cf7eacc43 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 f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy b25f50c6ee 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
Matthew Kennedy 44fc8c466d 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 9521a7d6d0 PAL repair 2019-12-05 21:10:29 -05:00
rusefi 0e570b8b83 steps towards fixing PAL inputs 2019-12-05 21:04:24 -05:00
rusefi 9145538679 more of the same 2019-12-04 08:12:52 -05:00
rusefi e2d2bd9996 reducing code duplication & including kinetis 2019-12-04 07:50:46 -05:00
rusefi 561986d3e4 The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
andreika-git ae9c619c50 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
Matthew Kennedy b7011f875a 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 d27b8fe080 Remove chibios trace flag (#1037)
* remove from scripts

* remove from others
2019-12-02 19:11:07 -05:00
rusefi ccf9acd32c v12 2019-12-01 23:45:45 -05:00
rusefi 5c05b2225c v12 2019-12-01 22:37:26 -05:00
rusefi c893bb9049 v12 2019-11-30 20:24:31 -05:00
rusefi 448beb5471 making things nicer with dual ETB settings 2019-11-30 18:42:51 -05:00
rusefi 34f53bd102 making things nicer with dual ETB settings 2019-11-30 17:38:33 -05:00
rusefi 2738fefa48 that's how we can move all fields one by one from boardConfiguration to engineConfiguration
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
Matthew Kennedy f9986028c6 Harmonize chconf (#1034)
* turn off f4 kernel features we don't use

* make f7 match f4

* make mcuconf look right
2019-11-30 09:32:14 -05:00
rusEfi 980a3d7086 all ETBs to run in same HW mode 2019-11-29 16:51:51 -05:00
rusefi d21ffee979 v12 2019-11-29 14:51:20 -05:00
rusefi d826d5b75f attempting to fix master build 2019-11-29 13:02:11 -05:00
Matthew Kennedy 04861992f2 Build prometheus with makefiles instead of batch scripts (#1020)
* use makefiles instead of batch

* add to ci

* put batch files back, but minimum logic

* default to release

* debug level opt too
2019-11-29 02:39:30 -05:00
rusEfi 171ad3f235 v12 2019-11-29 01:35:45 -05:00
rusEfi 6342724f95 v12 2019-11-28 00:40:25 -05:00
rusefi b8a752cf13 fixing master? 2019-11-25 21:15:07 -05:00
rusefi 5292024a81 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 18bb121cbe aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi eaa42d1baa consistency 2019-11-23 15:53:22 -05:00
Matthew Kennedy 0a7535fb1f Use templated array references (#1027)
* update defs

* consumers, use default params

* setArrayValues in tests

* floats

* test fixing
2019-11-22 23:27:24 -05:00