Commit Graph

6141 Commits

Author SHA1 Message Date
Matthew Kennedy 976ce221fe Split CAN in to separate threads for rx/tx (#1078)
* rewrite can

* default parameters
2019-12-22 12:17:53 -05:00
rusefi 34e1d4c3c1 date & fresh integration 2019-12-22 08:24:47 -05:00
Matthew Kennedy df57b24e3f 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 c392db2798 functional testing should not be that darn slow #1076
progress?
2019-12-22 01:03:58 -05:00
rusefi b08c0209fd functional testing should not be that darn slow #1076
hopefully progress?
2019-12-21 23:27:54 -05:00
rusefi 4c30e7b1b9 hopefully useful macro? 2019-12-21 21:18:38 -05:00
rusefi cf0b13041f random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS 2019-12-21 21:11:09 -05:00
rusefi 3ed388d1ad refactoring & fixing build 2019-12-21 20:43:11 -05:00
rusefi b781b07ca4 a bit of dead code 2019-12-21 20:35:13 -05:00
rusefi 28ae4e478e refactoring only #1076 2019-12-21 20:17:58 -05:00
rusefi 83507320f6 refactoring & docs update 2019-12-21 19:59:33 -05:00
rusefi fc0c68fac0 docs :( 2019-12-21 19:50:16 -05:00
rusefi 5b17240513 looks like UI options does not work yet :( trying to make command line option a bit more usable 2019-12-21 16:04:03 -05:00
rusefi 9ffda831a7 Revert "DRAFT Shrink output channels, again (#1074)"
This reverts commit ad7a383d
2019-12-21 15:02:49 -05:00
rusefi 5c679034a7 Revert "fresh integration & changing protocol versions & versions"
This reverts commit 8a8ea6c0
2019-12-21 15:02:37 -05:00
rusefi d297bf2341 Revert "reducing magic constants"
This reverts commit 67e7d4f4
2019-12-21 15:02:17 -05:00
rusefi 4e3e1983a8 Revert "trying to save build. it's a useful PR overall but :("
This reverts commit c7dd1631
2019-12-21 15:01:22 -05:00
rusefi c7dd1631c4 trying to save build. it's a useful PR overall but :( 2019-12-21 14:34:50 -05:00
rusefi 67e7d4f4e6 reducing magic constants 2019-12-21 13:30:47 -05:00
rusefi 8a8ea6c096 fresh integration & changing protocol versions & versions 2019-12-21 12:35:47 -05:00
Matthew Kennedy ad7a383d74 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 913f9637b2 docs 2019-12-19 22:40:27 -05:00
rusefi 7dc6057ac7 Revert "Shrink output channels, use scaling (#1069)"
This reverts commit 1e0f1a26
2019-12-19 22:35:06 -05:00
rusefi 81b15259d4 Revert "hmm (#1073)"
This reverts commit 85d0f6db
2019-12-19 22:34:52 -05:00
Matthew Kennedy 85d0f6dbef hmm (#1073) 2019-12-19 21:09:59 -05:00
Matthew Kennedy 1e0f1a2628 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 e6143c61fa add settings to log debug & errors list (#1071) 2019-12-18 19:35:08 -05:00
Matthew Kennedy a0111d32f2 only log acc if enabled (#1070) 2019-12-18 19:34:08 -05:00
Matthew Kennedy bb98d2bafa don't log if disabled (#1067) 2019-12-18 14:39:38 -05:00
Matthew Kennedy 2b4b119962 Add new sensor function types (#1065)
* add functions

* add tests

* add chain tests

* float suffix
2019-12-17 09:06:29 -05:00
rusefi a96ef7fc8e Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-17 09:01:22 -05:00
rusefi 6acb7264aa docs 2019-12-17 08:56:08 -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
Matthew Kennedy 7a470b9817 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 221fdcc469 one source of truth (#1063) 2019-12-16 21:44:11 -05:00
Matthew Kennedy dc1e90773b const (#1062) 2019-12-16 20:36:40 -05:00
rusefi 8480a9e1ee notes to self 2019-12-16 01:47:34 -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 7577d81689 typo 2019-12-14 18:33:08 -05:00
Matthew Kennedy 693cdf96d9 DRAFT simplify dequeue logic (#1050)
* simplify dequeue logic

* unnecessary

* format

* doc
2019-12-14 18:00:39 -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
rusefi e443f579cb Config generation handles padding after packed booleans (bits) wrong
#1057
refactoring
2019-12-14 15:33:30 -05:00
rusefi ae73ee3d65 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-14 09:36:46 -05:00
Matthew Kennedy a0b3e7c09b fix ts (#1058) 2019-12-14 09:33:06 -05:00
Matthew Kennedy 4866a78e63 Re-shrink stacks (#1060)
* small stacks

* giant servo stack

* reclaim ram
2019-12-14 09:31:13 -05:00
Matthew Kennedy 45572fb53c lcd thread name (#1059) 2019-12-14 09:12:37 -05:00
rusefi 8cf255402f codes clean-up 2019-12-14 00:14:36 -05:00
rusefi 9bd5721033 great news about #1055 2019-12-13 23:07:56 -05:00
rusefi eafefe5b24 great news about #1055 2019-12-13 21:50:14 -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 095e0ca764 docs 2019-12-13 18:05:08 -05:00
rusefi 44c98029d7 fixing build is my most favourite time! 2019-12-13 18:02:24 -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
rusefi 2176db7769 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-13 14:03:52 -05:00
rusefi 27f617686b progress towards ETB controller mocking 2019-12-13 13:52:34 -05:00
rusefi 2c296c0f18 etbActualCount logic to handle the scenario where only one ETB is present 2019-12-13 12:50:34 -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
rusEfi a50c8201a1 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-10 23:18:44 -05:00
rusEfi df16e76983 just in case 2019-12-10 22:18:37 -05:00
rusefi 34b32db032 straightening enum reuse 2019-12-10 21:18:35 -05:00
Matthew Kennedy 87ec74119d 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 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 52c15a7d9b dual-ETB progress 2019-12-10 00:07:46 -05:00
rusefi 579770b66f The Big Refactoring of 2019: folder structure #723 2019-12-08 13:21:35 -05:00
rusefi 65c8dd83b3 The Big Refactoring of 2019: folder structure #723 2019-12-08 13:09:51 -05:00
rusefi bcec694eb1 just a trivial massive rename: TriggerState > TriggerWaveform 2019-12-08 01:09:39 -05:00
rusefi 90492dd423 TPS#2 calibration & fixing ETB in TS 2019-12-08 00:37:33 -05:00
rusefi 120e771b2c docs 2019-12-07 23:19:40 -05:00
rusefi a40477e598 Making UART/TTL pins configurable 2019-12-07 21:22:09 -05:00
andreika-git 45fac99faa Add GUI for binarySerialRxPin/binarySerialTxPin (#1047) 2019-12-07 21:19:21 -05:00
rusefi 69eeb77529 docs 2019-12-07 14:09:06 -05:00
rusefi a5ee6b13d5 Refactor Trigger System #635
injecting callback via parameters instead of nasty "bool isInitializingTrigger" field
2019-12-06 01:57:11 -05:00
rusefi edabed50f5 Refactor Trigger System #635
injecting callback via parameters via magic and potentially broken field manipulation
2019-12-06 01:05:19 -05:00
rusefi 889ee45c16 typo 2019-12-06 00:07:27 -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 6fb7a30ab4 following the pattern 2019-12-04 07:33:56 -05:00
rusefi e60515789a The Big Refactoring of 2019: folder structure #723 2019-12-04 01:15:52 -05:00
rusefi 561986d3e4 The Big Refactoring of 2019: folder structure #723 2019-12-04 01:11:10 -05:00
rusefi 8ace300b39 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:57:54 -05:00
rusefi ae1d8323bd Merge branch 'master' of https://github.com/rusefi/rusefi 2019-12-04 00:37:53 -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
rusefi f3a058ab26 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:35:05 -05:00
rusefi a09ee15b08 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:22:34 -05:00
rusefi b55f0c06d5 The Big Refactoring of 2019: folder structure #723 2019-12-04 00:04:27 -05:00
rusefi 9907119cd7 docs 2019-12-03 23:55:18 -05:00
rusefi 431a21943b The Big Refactoring of 2019: folder structure #723 2019-12-03 23:52:44 -05:00
rusefi 5a299fcd9c refactoring - updating name according to new reality 2019-12-03 14:39:11 -05:00
rusefi d9f777c669 codes fix, thank you AndreiKA 2019-12-03 09:05:57 -05:00
rusefi 5c40bb4628 #490 2019-12-03 00:29:12 -05:00
rusefi ccd056d331 EngineTestHelper progress 2019-12-03 00:20:47 -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 4861bc24a9 missing override (#1039) 2019-12-02 23:52:35 -05:00
rusefi 07b7b62bca refactoring 2019-12-02 23:08:18 -05:00
rusefi 3b4e5d689f making new scheduling API avalable 2019-12-02 22:28:32 -05:00
rusefi 1287f187c1 lovely write-out-of-bounds in case of invalid configuration bugfix 2019-12-02 20:32:21 -05:00
rusefi d5bfd76922 "sensor chart" for aux fast analog input 2019-12-02 20:31:49 -05:00
rusefi 23a61bed3d actually it's better to give TS access to all bits 2019-12-02 20:26:43 -05:00
rusefi a87c432761 actually it's better to give TS access to all bits 2019-12-02 20:24:10 -05:00
rusefi b415508c70 codes clean-up 2019-12-02 20:16:41 -05:00
Matthew Kennedy 3c9c9e028c Perf trace housekeeping (#1038)
* use default params

* fix that mess

* format
2019-12-02 19:18:00 -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 63d8f050bc auxFastSensor 2019-12-02 17:49:01 -05:00
rusefi 7c8cba6c5d shared GCC settings between projects 2019-12-02 10:26:16 -05:00
rusefi 5ac023d987 misc clean-up 2019-12-02 10:03:50 -05:00
rusefi 7fb375b15f fixing build 2019-12-02 09:59:53 -05:00
rusefi f9c387b42e cj125 unit test progress! 2019-12-02 01:52:54 -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 91eef6fa3b perf trace progress but things still do not look right 2019-12-01 20:31:18 -05:00
andreika-git 70fcb50a62 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 ed9bae63af dual throttle re-init bugfix thank you andreika! 2019-12-01 09:39:34 -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 149c1c09e8 refactoring 2019-11-30 16:49:40 -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 fd5c45ba46 all ETBs to run in same HW mode 2019-11-30 01:00:54 -05:00
rusefi 75b1a9e52c all ETBs to run in same HW mode
taking a step back and going to bed :(
2019-11-30 00:39:00 -05:00
rusefi 02f4e847f4 all ETBs to run in same HW mode 2019-11-30 00:25:33 -05:00
rusefi 349eac34de better state validation, better error codes 2019-11-29 23:41:26 -05:00
rusefi 1e1d2939ed refactoring 2019-11-29 22:09:08 -05:00
rusefi 815589825c extracing constant & more information for HW CI 2019-11-29 21:57:59 -05:00
rusefi 4d6052c9f3 dual ETB seems to work! 2019-11-29 20:15:29 -05:00
rusEfi 13d4ae2169 dual ETB seems to work! 2019-11-29 19:06:50 -05:00
rusefi 73b3150d0f all ETBs to run in same HW mode 2019-11-29 19:02:12 -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 c9b4189ab3 one step backwards :) 2019-11-29 01:39:02 -05:00
rusEfi 171ad3f235 v12 2019-11-29 01:35:45 -05:00
rusefi a9c52e084f steps towards dual ETB 2019-11-29 00:26:17 -05:00
rusefi 88d8768835 steps towards dual ETB 2019-11-29 00:23:15 -05:00
rusefi f1acede97e steps towards dual ETB 2019-11-28 23:51:47 -05:00
rusefi 1c89cdf780 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-28 15:24:41 -05:00
rusefi 002a08316c steps towards dual ETB 2019-11-28 15:24:30 -05:00
rusEfi 6342724f95 v12 2019-11-28 00:40:25 -05:00
rusefi 265727b7db steps towards dual ETB 2019-11-27 22:07:36 -05:00
rusefi b8a752cf13 fixing master? 2019-11-25 21:15:07 -05:00
andreika-git 7220735530 Starter relay + Hardcoded 'FSIO' + simulator fix (#1032)
* Starter Relay: gui + built-in FSIO impl.

* Hardcoded 'FSIO' replacement for RAM-limited boards

* fix simulator
2019-11-25 20:08:01 -05:00
rusefi 28facbee47 starterRelayPinMode 2019-11-25 01:01:00 -05:00
rusefi 3ad8dc1894 starterRelay & debugMapAveraging 2019-11-25 00:59:05 -05:00
rusefi 75ac946559 Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-25 00:57:47 -05:00
rusefi 56bcdacb88 PerfTraceTool 2019-11-25 00:57:36 -05:00
andreika-git 984711655e 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 53eeb79ea9 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 706b4ca5ef firing order tool integration 2019-11-24 23:49:05 -05:00
rusefi 155ff25c22 MapAveragingCallback schedules all cylinders at once #974 2019-11-24 23:20:24 -05:00
rusefi 0a891017ec Sporadic error: FATAL error: handleCycleStart #1030
more details
2019-11-24 21:59:29 -05:00
rusefi 612649e191 Sporadic error: FATAL error: handleCycleStart #1030
more details
2019-11-24 21:45:32 -05:00
rusefi 5292024a81 MapAveragingCallback schedules all cylinders at once #974
saving pennies
2019-11-24 20:48:25 -05:00
rusefi 171860be3c pausing aux work for now 2019-11-24 12:45:38 -05:00
rusefi c5e60a7f93 improving API? 2019-11-24 00:15:44 -05:00
rusefi e8051c1807 more correct variable names 2019-11-23 23:49:39 -05:00
rusefi de963e880b docs 2019-11-23 23:42:00 -05:00
rusefi 18bb121cbe aux valves unit test 2019-11-23 22:55:21 -05:00
Matthew Kennedy 34ffe7f6b3 Make sure #798 is good and dead (#1028)
* Revert "CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798"

This reverts commit 45646f23bd.

* Revert "CI instability: FATAL error: warn stream not initialized for 6039 #798"

This reverts commit 1f8176ac7e.

* fix correctly

* use correct function
2019-11-23 21:25:29 -05:00
rusefi af3118fd42 making progres on angle-based scheduling 2019-11-23 20:36:40 -05:00
rusefi 304cc6acc3 making progres on angle-based scheduling 2019-11-23 19:47:53 -05:00
rusefi f15986b9aa refactoring 2019-11-23 18:38:16 -05:00
rusefi 44c04755d8 not needed since included in common_headers.h 2019-11-23 18:16:41 -05:00
rusefi 79ada84b56 'triggerEventAngle' not really needed 2019-11-23 17:44:44 -05:00
rusefi 1f8176ac7e CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-11-23 17:07:13 -05:00
rusefi a31057ec17 explicit list field to simplify code navigation 2019-11-23 17:04:51 -05:00
rusefi 45646f23bd CI instability: FATAL error: warn stream not initialized for 6039 - maybe buffer overrun? #798 2019-11-23 16:41:59 -05:00
rusefi eaa42d1baa consistency 2019-11-23 15:53:22 -05:00
rusefi 0fd2d49aa8 docs 2019-11-23 14:14:17 -05:00
rusefi ef6b2be840 refactoring: extracting constant 2019-11-23 12:52:57 -05:00
rusefi 6efab3683c bug: aux valve actions can overlap 2019-11-23 10:34:43 -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
rusEfi c141d42a87 v12 and minor ETB 2019-11-22 23:27:03 -05:00
Matthew Kennedy 783ed572a9 inject interfaces to ETB, renaming (#1026)
* inject interfaces, renaming

* format

* null check

* that was a dumb typo

* fix indent
2019-11-22 20:53:54 -05:00
rusefi 8dddc62979 aux overlap debugging 2019-11-22 18:50:46 -05:00
Matthew Kennedy 10a6f652d3 DC motor improvements (#1025)
* extract interface, comments, conform names

* fwd declare
2019-11-22 16:30:44 -05:00
Matthew Kennedy f425232901 const + fwd declare pid things (#1024) 2019-11-22 15:55:38 -05:00
Matthew Kennedy e7ea88044e s (#1023) 2019-11-21 23:45:16 -05:00
rusefi b158f0ec34 recoviring CI 2019-11-21 17:12:46 -05:00
Matthew Kennedy 285429dafc works on f4 (#1021) 2019-11-21 15:45:17 -05:00
rusefi 4f247493aa Perf trace maybe fix - "We were trying to trace before the os was awake" 2019-11-21 15:31:55 -05:00
rusefi 96443d079d following the pattern 2019-11-21 13:35:57 -05:00
rusEfi 7e78f077bc steps towards dual ETB 2019-11-21 00:49:38 -05:00
rusEfi 21e76fb59e v12 2019-11-21 00:19:35 -05:00
rusefi fb66dd1e7d making more code testable 2019-11-20 08:46:54 -05:00
rusefi 76a4e37c66 making more code testable 2019-11-20 02:18:17 -05:00
rusefi 127b16d761 more code into unit tests 2019-11-20 01:42:03 -05:00
rusefi 4cebc85cbf refactoring 2019-11-20 01:35:08 -05:00
rusEfi 59bbd09651 this is probably needed for F7 2019-11-20 01:15:43 -05:00
rusEfi a720a4cc6a Merge branch 'master' of https://github.com/rusefi/rusefi 2019-11-20 01:15:21 -05:00
rusefi da158b90aa Really need to Fix and expand commit gate check 2019-11-19 23:28:34 -05:00
rusefi b50066a7bd would this fix CI? 2019-11-19 22:54:36 -05:00
rusEfi 453c187ad0 v12 progress 2019-11-19 21:56:25 -05:00
rusefi 0d75d72bee NOT A GREAT FIX - TODO @andreika any chance you can help here? 2019-11-19 20:56:35 -05:00
rusefi b4c544f257 clean-up 2019-11-19 20:56:11 -05:00
rusefi cd5c3b0dc3 making GCC 9 happier 2019-11-19 20:43:12 -05:00
rusefi 95e8f4227b making F4 and else happier with perf_trace, also maybe missing 'break'? 2019-11-19 20:36:47 -05:00
rusefi 4d9b0745f1 Merge remote-tracking branch 'remotes/mck1117/perf-tracing'
# Conflicts:
#	firmware/development/development.mk
2019-11-19 20:26:56 -05:00
rusEfi f68241bc35 development into unit tests, makefile cleanup 2019-11-19 20:05:12 -05:00
Matthew Kennedy 8fd603dca9 Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 19bdb9a35f docs & code formatting 2019-11-19 18:17:03 -05:00
rusefi 67e4a7c8d7 simulation docs 2019-11-19 09:23:25 -05:00
rusEfi 670e149b32 v12 2019-11-19 00:04:44 -05:00
rusefi a6e7b1455d v12 2019-11-18 23:45:35 -05:00
rusEfi 71511441c9 ETB docs 2019-11-18 22:25:07 -05:00
rusEfi ef7c988c0c launch control #203 2019-11-18 19:22:29 -05:00
rusefi c8ea9bcf6a poke 2019-11-18 15:37:58 -05:00
rusefi 7dade5a878 v12 2019-11-17 22:32:27 -05:00
rusefi e4d31bafb7 v12 done right 2019-11-17 09:32:12 -05:00
rusefi 12f65748b3 typo 2019-11-17 09:18:43 -05:00
rusefi e783f71d53 code formatting 2019-11-17 09:03:20 -05:00
rusefi bb7895a828 refactoring: reducing complexity? 2019-11-17 09:02:49 -05:00
rusefi b865698e23 reducing warnings 2019-11-17 08:44:07 -05:00
andreika-git 6b2bdfe150 cisnan() warnings fix (#1008)
* Fix cisnan() macro warnings (strict-aliasing)

* Hey, we found a bug thanks to our fix! Let's fix it too!
2019-11-17 08:08:56 -05:00
rusefi 1624346c97 v12 2019-11-16 16:00:50 -05:00
rusefi 07fd84bb91 kinetis into gen_config.bat 2019-11-16 14:44:47 -05:00
rusefi 0aa095a17f v12 2019-11-15 23:49:28 -05:00
rusEfi 80c6b88d2a prometheus cleanup 2019-11-15 00:01:03 -05:00
rusEfi 41bdf469b2 #pragma once 2019-11-15 00:00:13 -05:00
rusEfi cedb8d5861 M73 2019-11-14 23:58:04 -05:00
rusEfi bf029b9c16 #pragma once 2019-11-14 22:50:59 -05:00
rusefi ef9ad935e0 poke 2019-11-14 10:23:11 -05:00
rusefi 9bc6d71238 Revert "OK trying partial revert now"
This reverts commit 2fe49896
2019-11-13 22:56:43 -05:00
rusefi 30c1cb89aa refactoring: time to unify digital pin API 2019-11-13 22:50:37 -05:00
rusefi e0ec28a528 docs 2019-11-13 22:47:49 -05:00
rusefi c3aa47195d todo 2019-11-13 22:02:13 -05:00
rusefi 623776d185 micro-optimization: replacing by-referece access with direct static access for real firmware 2019-11-13 21:43:24 -05:00
rusefi 99bed7b613 unused code 2019-11-13 20:15:02 -05:00
Matthew Kennedy 53424b5f0c fix (#1006) 2019-11-13 18:35:21 -05:00
Matthew Kennedy 2edd673bd6 fix (#1005) 2019-11-13 08:42:16 -05:00
rusefi f5ba5d81de looks like this part of refactoring is good? 2019-11-12 23:38:02 -05:00
rusefi 5ea97e5ba8 Revert "restoring #1003"
This reverts commit 2ebaa5cf
2019-11-12 23:18:48 -05:00
rusefi 225864808b re-applying change 2019-11-12 22:56:56 -05:00
rusefi 2ebaa5cf20 restoring #1003 2019-11-12 22:17:29 -05:00
rusefi a23f6bb23e time to panic and revert more 2019-11-12 21:42:44 -05:00
rusefi 2fe4989666 OK trying partial revert now 2019-11-12 21:05:51 -05:00
rusefi 630f706f39 I have no idea what's broken 2019-11-12 20:35:07 -05:00
rusefi 12746ca91d ops that's not what I mean 2019-11-12 19:58:14 -05:00
rusefi 73003f8b64 what's the probability of efi::size breaking build? 2019-11-12 19:40:33 -05:00
rusefi 1ad591742b refactoring: time to unify digital pin API
trying to fix build
2019-11-12 19:04:33 -05:00
Matthew Kennedy 6a5d53fe64 Fix (#1004)
* Revert "fixing build"

This reverts commit ba0aa5cba9.

* undo overzealous ifdef cplusplus
2019-11-12 01:13:13 -05:00
rusefi 586c913592 refactoring: time to unify digital pin API 2019-11-12 01:08:45 -05:00
rusefi 59130de601 refactoring: time to unify digital pin API 2019-11-12 01:08:31 -05:00
rusefi 9cb18e89f7 refactoring: time to unify digital pin API 2019-11-12 00:56:51 -05:00
rusefi ba0aa5cba9 fixing build 2019-11-12 00:50:30 -05:00
Matthew Kennedy b01a9e1388 use static asserts (#1003) 2019-11-12 00:39:38 -05:00
rusefi 4ba7842f52 refactoring: time to unify digital pin API 2019-11-12 00:25:10 -05:00
rusefi 8bbd06d165 refactoring: time to unify digital pin API 2019-11-11 23:32:09 -05:00
rusefi 3ff2b2271a refactoring: time to unify digital pin API 2019-11-11 23:04:27 -05:00
rusefi 80ef79eded this is not great :(
#639
#971
2019-11-11 22:19:35 -05:00
rusefi 78d771460a need better higher-level API :( 2019-11-11 22:14:45 -05:00
rusefi 52bb665365 fixing unit tests build 2019-11-11 21:45:15 -05:00
rusefi 950d8309b9 different take on #971 2019-11-11 21:26:09 -05:00
rusefi 99c5fcbd90 different take on #971 2019-11-11 21:25:40 -05:00
DonaldBecker f345faa9d7 Compile warning clean-ups.
Removed mistakenly-added README~

(cherry picked from commit 84b30c992ac77a1563f7449e45b9fa353612fba9)
2019-11-11 20:35:20 -05:00
rusefi a1f828162a evil manual cherry 2019-11-11 20:34:09 -05:00
DonaldBecker 4bc6d2106f A Unix shell script matching the functionality flash_dfu.bat
(cherry picked from commit fd192ab28fde1dac204b19a6fd446728a3b35647)
2019-11-11 20:25:55 -05:00
rusefi 7c453fb199 Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) fix #996 2019-11-10 23:54:08 -05:00
rusefi 412744d613 trying to fix integration tests
[java] 2019-11-10_13_31_42_194<EOT>: msg,FATAL error: PID::isSame invalid,
     [java] 2019-11-10_13_31_42_194<EOT>: postMessage EngineState: FATAL error: PID::isSame invalid
     [java] 2019-11-10_13_31_42_289<EOT>: Sending packet 4F 00 00 64 01
     [java] 2019-11-10_13_31_42_289<EOT>: output channels header: waiting for 2 byte(s)
     [java] 2019-11-10_13_31_42_290<EOT>: IncomingDataBuffer: 256 byte(s) arrived
     [java] 2019-11-10_13_31_42_290<EOT>: output channels body: waiting for 361 byte(s)
     [java] 2019-11-10_13_31_42_291<EOT>: IncomingDataBuffer: 107 byte(s) arrived
2019-11-10 16:07:13 -05:00
andreika-git add26866f5 Industrial PID Controller (#1002)
* Implement Industrial PID controller

* Test-Use PidIndustrial in alternator

* Meaningful unit-tests for PidIndustrial
2019-11-10 13:04:27 -05:00
rusefi ca0984007d Strange INJ1 signal behavior (when the frequency of scheduler's timer is less than 1MHz) #996
new advanced debugging: hardware pins
2019-11-10 12:39:47 -05:00
rusefi b226895aff v12 2019-11-09 18:40:06 -05:00
rusefi 568bcc6b21 v12 2019-11-08 20:53:51 -05:00
rusefi d08c7fc3ec pinout 2019-11-07 20:47:12 -05:00
rusefi 8898553955 consistency 2019-11-07 15:22:17 -05:00
rusefi 98e96ffc1e poke 2019-11-07 12:41:01 -05:00
rusefi f34023a9ea Trying latest gcc 9 #1001 2019-11-07 11:28:49 -05:00
rusefi acb9506510 Trying latest gcc 9 #1001 2019-11-07 11:13:32 -05:00
rusefi 7eaed773ff evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:33:40 -05:00
rusefi 80e1bf6dd1 MRE F4 2019-11-06 20:05:44 -05:00
rusefi 2530f31498 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 20:01:53 -05:00
rusefi a41b4c896d fine, taking care of more warnings 2019-11-06 19:53:09 -05:00
rusefi b171b5ebd4 we have MRE F4 now 2019-11-06 18:58:11 -05:00
rusefi 17a2847424 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-06 18:26:50 -05:00
andreika-git ae59680918 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 c734cb0fa4 Missing dwell altogether in some corner cases fix #796 2019-11-06 00:31:24 -05:00
rusefi fbdbc0656a Missing dwell altogether in some corner cases #796
flirting with the fix but not yet the fix
2019-11-06 00:10:44 -05:00
rusefi 3b2d5c8c7f Missing dwell altogether in some corner cases #796
only additional live data here
2019-11-05 23:36:33 -05:00
rusefi 92d1842bd0 refactoring 2019-11-05 23:17:44 -05:00
rusefi 7c2f9a7c5d refactoring: removing unused parameter 2019-11-05 22:49:11 -05:00
rusefi 3357e41614 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 22:40:33 -05:00
rusefi 0b5709ac1b generating fresh 2019-11-05 21:05:19 -05:00
rusefi 303a2a7bbc improving user documentation 2019-11-05 21:03:39 -05:00
rusefi 30cfb96619 evil manual merge of https://github.com/DonaldBecker/rusefi 2019-11-05 20:07:55 -05:00
rusefi 68db5ecdb1 progress towards #961 2019-11-04 22:52:37 -05:00
rusefi 9c3492043d progress towards #961 2019-11-04 22:44:52 -05:00
rusefi 17792f762c kind of todo 2019-11-04 22:29:22 -05:00
Matthew Kennedy 19f09bb6f4 move to slow adc (#997) 2019-11-04 17:03:21 -05:00
rusefi eae44843b1 custom codes cleanup 2019-11-04 09:20:00 -05:00
rusefi bc0cdd484f poke 2019-11-03 23:55:23 -05:00
rusefi e5bebe0f72 happy November 2019-11-03 23:38:00 -05:00
rusefi d99d576e2b CI instability: FATAL error: warn stream not initialized fix #798 2019-11-03 22:15:49 -05:00
rusefi 8423fa0acf pieces of #971 2019-11-03 22:02:52 -05:00
rusefi fdbe81121d moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 21:29:12 -05:00
rusefi ad800be601 v12 2019-11-03 21:27:37 -05:00
rusefi 591f19321d nicer enum name 2019-11-03 21:19:13 -05:00
rusefi d8941eec12 moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 19:36:56 -05:00
rusefi a325551edd moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 17:25:34 -05:00
rusefi 10377c918f moving setDefaultFrankensoConfiguration down is the way of righteousness 2019-11-03 17:17:43 -05:00
rusefi 82b7190dc0 review feedback 2019-11-03 10:36:35 -05:00
rusefi 359f7c437b 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
rusefi 5caaca5607 poke 2019-11-02 13:48:15 -04:00
rusefi a2f0fedf45 v12 M73 fun begins! 2019-11-01 22:56:58 -04:00
andreika-git e20bdf4386 TLE6240 outputs fix (#994) 2019-11-01 15:49:55 -04:00
andreika-git 18395f1cb3 Kinetis: smarter SPI_CS control (#993) 2019-11-01 10:50:22 -04:00
andreika-git ef23be6893 Kinetis & TLE8888 compatibility & fixes... (#991)
* TLE8888: More compatibility & postTunerStudioState

* activeConfiguration & EFI_ACTIVE_CONFIGURATION_IN_FLASH fix

* Kinetis: jump_to_bootloader() impl.

* Kinetis: UART baudrate safety check

* Kinetis: OMG!..
2019-10-31 16:06:34 -04:00
rusefi 28df878989 scramblr reports sync issues on NB1 fix #990 2019-10-30 21:01:23 -04:00
rusefi db24091933 60/2 VW trigger has running issue on 19/10/19 snapshot fix #986 2019-10-30 20:51:20 -04:00
rusefi abfc87ec8e Merge branch 'master' of https://github.com/rusefi/rusefi 2019-10-30 09:27:43 -04:00
rusefi f453cc6737 smarter IAC PID 2019-10-30 09:27:12 -04:00
rusefi 22603b6480 poke 2019-10-29 23:34:36 -04:00
rusefi ec060752f7 flipping NB1 trigger definition 2019-10-29 21:19:00 -04:00
rusefi b6c5ff5fee refactoring & verbose trigger to simulator 2019-10-29 21:12:44 -04:00
rusefi 7dec2d3ad8 bugfix around verboseTriggerSynchDetails - 64 bits on stack was causing broken messages 2019-10-29 18:20:55 -04:00
rusefi 8155cf6234 reducing code duplication with prod code & fixing simulator 2019-10-29 16:57:55 -04:00
rusefi 13e14caffb 'trigger angle offset' note 2019-10-29 16:20:56 -04:00
rusefi be9a67e67e IM_TWO_COILS 2019-10-27 16:19:59 -04:00
rusefi a8a0bc007a docs 2019-10-26 21:53:22 -04:00
rusefi bc750f61cf preparation for industrial-PID 2019-10-23 21:41:30 -04:00
rusefi 0fcf3bfa4e refactoring: reducing code duplication 2019-10-21 23:47:40 -04:00
rusefi 902f177869 poke 2019-10-21 19:52:34 -04:00
rusefi 2f38e78218 ADC sample time & rate #976 2019-10-19 08:01:28 -04:00
rusefi 26fc391ffe half-solution would not pass CI, have to merge full solution without real HW test
#975
2019-10-19 07:35:21 -04:00
rusefi 1602bdbebc steps towards #975 2019-10-18 19:45:32 -04:00
rusefi e73dd317b7 steps towards #975 2019-10-18 19:39:06 -04:00
rusefi eff84bcfeb steps towards #975 2019-10-18 18:54:32 -04:00
rusefi b31d729ce3 date 2019-10-17 00:09:13 -04:00
Matthew Kennedy 6f3bfcb099 fix wwae (#980) 2019-10-17 00:06:54 -04:00
rusefi 7d73334b54 Revert "Revert "Performance improvement: call GetBaseFuel less (#979)""
This reverts commit 323904728d.
2019-10-16 23:02:24 -04:00
rusefi 323904728d Revert "Performance improvement: call GetBaseFuel less (#979)"
This reverts commit aa9ec543
2019-10-16 22:29:19 -04:00
Matthew Kennedy aa9ec543f4 Performance improvement: call GetBaseFuel less (#979)
* Remove extra calls to getInjectionDuration

* increase callback frequency
2019-10-16 22:13:10 -04:00
rusefi a7ea155633 preparing for #973 2019-10-16 22:10:38 -04:00
rusefi 44277e9ed7 preparing for #979 2019-10-15 15:03:19 -04:00
Matthew Kennedy ba97572795 fix #977 (#978) 2019-10-15 05:24:33 -04:00
Matthew Kennedy 89ca9a0406 Merge remote-tracking branch 'upstream/master' into perf-tracing 2019-10-14 23:45:39 -07:00
Matthew Kennedy ec33723587 hook up TS commands 2019-10-14 23:41:15 -07:00
Matthew Kennedy eb418f764b trace all the things 2019-10-14 23:34:12 -07:00
rusefi cdf827a20a preparing for #961
better code style
2019-10-15 02:06:15 -04:00
rusefi 0535ac8e01 preparing for #974
code comments & refactoring
2019-10-15 01:27:19 -04:00