Commit Graph

1347 Commits

Author SHA1 Message Date
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
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
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 fe1d23fd6e Revert "Fried coil (?) on incompatible firmware change fix #1051"
This reverts commit 1eeb92b
2019-12-14 17:35:11 -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 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 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
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
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 0555d2170d TPS#2 calibration & fixing ETB in TS 2019-12-08 00:37:33 -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 813b6aa6ce The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 0428ff4347 gen_config run 2019-12-04 00:38:40 -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
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 3f0385f70d Remove chibios trace flag (#1037)
* remove from scripts

* remove from others
2019-12-02 19:11:07 -05:00
rusefi 2eab39d3ff auxFastSensor 2019-12-02 17:49:01 -05:00
rusefi 8760ef2874 v12 2019-12-01 23:45:45 -05:00
rusefi 2d86668a70 v12 2019-12-01 22:37:26 -05:00
andreika-git 3b352f6a3a 5V-compatible adcVcc + trigger_input_comp + Kinetis COMP driver impr. (#1036)
* adcVcc is not only for 3V STM32

* update ini files

* Kinetis: improve COMP driver

* Improve trigger_input_comp.cpp (hysteresis)
2019-12-01 12:08:55 -05:00
rusefi da42d0dd3d v12 2019-11-30 20:24:31 -05:00
rusefi beda8f4b31 making things nicer with dual ETB settings 2019-11-30 18:42:51 -05:00
rusefi 3ed889486e making things nicer with dual ETB settings 2019-11-30 17:38:33 -05:00
rusefi b961edc654 refactoring 2019-11-30 16:49:40 -05:00
rusefi b04166d173 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 e5c2273d13 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 ff3fbffd80 extracing constant & more information for HW CI 2019-11-29 21:57:59 -05:00
rusEfi 799027c2e9 all ETBs to run in same HW mode 2019-11-29 16:51:51 -05:00
rusefi 7aa5d3321e v12 2019-11-29 14:51:20 -05:00
rusefi 858eda91f5 attempting to fix master build 2019-11-29 13:02:11 -05:00
Matthew Kennedy 5d43ddf0b0 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 fb53d2e921 v12 2019-11-29 01:35:45 -05:00
rusEfi 19e828acda v12 2019-11-28 00:40:25 -05:00
rusefi 0c3ab53fb6 fixing master? 2019-11-25 21:15:07 -05:00
rusefi 8a8a398c70 starterRelayPinMode 2019-11-25 01:01:00 -05:00
rusefi 9df259fbfb starterRelay & debugMapAveraging 2019-11-25 00:59:05 -05:00
andreika-git 97884dc677 Kinetis: fix ENABLE_PERF_TRACE and trigger_input_comp (#1031)
* Kinetis: fix ENABLE_PERF_TRACE

* Kinetis: fix trigger_input_comp
2019-11-25 00:22:26 -05:00
andreika-git 9a0b66791b unregisterOutput() + isPinOrModeChanged() + Stepper::stepPin+enablePin + Kinetis fix (#1029)
* Fix isConfigurationChanged() for EFI_ACTIVE_CONFIGURATION_IN_FLASH

* unregisterOutput() -> unregisterOutputIfPinOrModeChanged()

* clutchUpPinMode for unregisterPin()

* Fix Kinetis: EFI_ACTIVE_CONFIGURATION_IN_FLASH & EFI_MAIN_RELAY_CONTROL

* Stepper: enablePin & stepPin with modes support
2019-11-25 00:02:53 -05:00
rusefi 04f6913d56 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 7ee657d238 aux valves unit test 2019-11-23 22:55:21 -05:00
rusefi 56ff75004b consistency 2019-11-23 15:53:22 -05:00
rusefi 91a5bd5ce3 refactoring: extracting constant 2019-11-23 12:52:57 -05:00
Matthew Kennedy 9ee8616cb0 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
rusEfi 547d9749df v12 and minor ETB 2019-11-22 23:27:03 -05:00
Matthew Kennedy 928805dcc1 works on f4 (#1021) 2019-11-21 15:45:17 -05:00
rusEfi f9ccaf5f01 steps towards dual ETB 2019-11-21 00:49:38 -05:00
rusEfi c6be861de2 v12 2019-11-21 00:19:35 -05:00
rusEfi 46240980f4 this is probably needed for F7 2019-11-20 01:15:43 -05:00
rusEfi 23620d1eb2 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-20 01:15:21 -05:00
rusefi 9249a1fd95 would this fix CI? 2019-11-19 22:54:36 -05:00
rusEfi b32bcc4a87 v12 progress 2019-11-19 21:56:25 -05:00
Matthew Kennedy 93d24dfc0b Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 7dfdfc6378 docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi 1d328c17e8 simulation docs 2019-11-19 09:23:25 -05:00
rusEfi f249a12163 v12 2019-11-19 00:04:44 -05:00
rusefi 67b434e43a v12 2019-11-18 23:45:35 -05:00
rusEfi a55e0e1460 launch control #203 2019-11-18 19:22:29 -05:00
rusefi fc41aaf655 v12 2019-11-17 22:32:27 -05:00
rusefi ebe6a4b981 v12 done right 2019-11-17 09:32:12 -05:00
rusefi fb7cba96b6 code formatting 2019-11-17 09:03:20 -05:00
rusefi 6456374eb8 v12 2019-11-16 16:00:50 -05:00
rusefi 41d638e4ef catch-up for kinetis 2019-11-16 15:05:33 -05:00
rusefi 1a9b68bca6 kinetis into gen_config.bat 2019-11-16 14:44:47 -05:00
rusefi efe4d63084 v12 2019-11-15 23:49:28 -05:00
rusEfi c3b793fc55 prometheus cleanup 2019-11-15 00:01:03 -05:00
rusEfi ae877d3040 M73 2019-11-14 23:59:35 -05:00
rusEfi 3530c68a18 M73 2019-11-14 23:58:04 -05:00
rusEfi 54ba4e5407 #pragma once 2019-11-14 22:50:59 -05:00
Matthew Kennedy 7e1cf570b2 fix (#1006) 2019-11-13 18:35:21 -05:00
Matthew Kennedy 8969efaffe fix (#1005) 2019-11-13 08:42:16 -05:00
DonaldBecker 7c3594c95a More compile and warning clean ups.
(cherry picked from commit d1cf758bfeee11180e7000c24415acf8d7bcd430)
2019-11-11 20:32:31 -05:00
rusefi 924c4f4fd3 v12 2019-11-09 18:40:06 -05:00
rusefi 99947b3983 v12 2019-11-08 20:53:51 -05:00
rusefi 43aece817b pinout 2019-11-07 20:47:12 -05:00
rusefi e474ab461a MRE F4 2019-11-06 20:05:44 -05:00
rusefi 6f9ed5205d we have MRE F4 now 2019-11-06 18:58:11 -05:00
andreika-git 4e19c96cb6 Kinetis timer freq. fix & config update (#999)
* Kinetis: fix timer frequency

* More silentTriggerError - it really helps a lot!

* Kinetis: gen_config.bat update
2019-11-06 14:45:55 -05:00
rusefi 8f5895321c refactoring 2019-11-05 23:17:44 -05:00
rusefi d1afb9b183 moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 21:29:12 -05:00
rusefi f1055f80ae v12 2019-11-03 21:27:37 -05:00
rusefi a2bee7f46b moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 19:36:56 -05:00
rusefi 06b7524c1d moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 17:25:34 -05:00
rusefi 9c94dd503e moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 17:17:43 -05:00
rusefi 5c46ad25a7 review feedback 2019-11-03 10:36:35 -05:00
rusefi 5f01a3fb04
skeleton & docs (#995)
* Documentation additions and clarifications.

Added config/boards/skeleton/ as an example and starting point for
board-specific support.

* Describe where the generated files came from.

* Minor rewording

* Delete mistakenly added emacs backups

* Added an overall description and build notes
2019-11-03 08:41:14 -05:00