Commit Graph

1497 Commits

Author SHA1 Message Date
rusefi 433b4811ca what could possibly go wrong 2020-05-02 22:34:31 -04:00
rusefi b3cfac397b oh what did I do 2020-05-02 22:27:20 -04:00
rusefi 7689cfc2dd Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi 93ee6c36e3 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
Matthew Kennedy a9bf0f8358 Perf Trace Improvements (#1383)
* add tid field to thread

* change perf trace format

* trace consumers

* Update java parsing

* guard for test + kinetis

* stubs

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -04:00
Matthew Kennedy 7e067eb0b5 Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
Matthew Kennedy 1d1ea3bb50 move hooks in to common chconf.h (#1376)
* move hooks in to common

* but not for kinetis

* don't use c style void arg

* kinetis needed more, not less

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 16:07:05 -04:00
Matthew Kennedy 499d445fd2 reclaim (#1377)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
rusefi 498374e7d3 https://rusefi.com/forum/viewtopic.php?p=36268#p36268 2020-04-26 23:03:50 -04:00
rusefi edd4e62b46 better defaults 2020-04-26 19:16:54 -04:00
Matthew Kennedy 6d0efc432e allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00
dron0gus d5a76b5dda Update chibios (#1364)
* Update ChibiOS

* Fix coexistance of ChibiOS and our flash drivers

* Add 'int' = internal prefix for all on-chip flash functions

This avoid conflict with ChibiOS functions available after
enabling HAL_USE_EFL

* Exclude ChibiOS flash driver from bootloader

* Makefile magic?

* Kinetis: fix build after ChibiOS update and switching to SMART_BUILD

* Bootloader now use SMART_BUILD too
2020-04-25 16:32:32 -04:00
rusefi b6780ab9d0 wow maybe build time magic?! by DronoGus 2020-04-25 12:07:57 -04:00
Matthew Kennedy a005daa8cb switch ADC to gpt (#1343)
* switch to gpt

* halconf

* fix kinetis

* fix kinetis

* fix guards

* comment cleanup
2020-04-23 22:50:18 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi b607400984 TLE8888 mode flexibility 2020-04-23 16:57:37 -04:00
rusefi 313b2685eb hardware continues integration needs a high RPM high tooth count test case
#1351
2020-04-23 01:26:30 -04:00
rusefi 1d0e289b74 i just want to build 2020-04-20 09:10:18 -04:00
rusefi 510549332e Better handling in case of ETB idle without ETB #1332 2020-04-20 00:23:32 -04:00
Matthew Kennedy df6f846052 Simplify F4 board.h (#1310)
* fix

* simplify

* unneeded

* unused, change to pullup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-18 11:41:53 -04:00
Matthew Kennedy 0d64527cb6 fix (#1309)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 18:27:20 -04:00
rusefi 44a5840bcf dreaming about 63 volts 2020-04-15 21:28:44 -04:00
rusefi d5f3147c00 test pins are needed 2020-04-15 16:20:18 -04:00
rusefi d788348d7c mc33 fix 2020-04-14 19:36:25 -04:00
rusefi ae8936b93b MC restart 2020-04-14 19:23:53 -04:00
rusefi 59a007d21a docs 2020-04-14 08:34:51 -04:00
rusefi b02b5f2202 Merge branch 'master' of https://github.com/rusefi/rusefi 2020-04-13 19:01:34 -04:00
rusefi f6986e604f MC flag0 2020-04-13 19:01:22 -04:00
rusEfi a7a7c4bec9 MRE docs 2020-04-13 14:30:17 -04:00
rusefi 0fc66f1598 progress 2020-04-10 20:31:58 -04:00
Matthew Kennedy 1a59950240 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 35f08f3958 progress 2020-04-10 13:32:06 -04:00
rusefi cb2b699db6 DBG_TRIGGER_SYNC merged into DBG_TRIGGER_COUNTERS 2020-04-10 13:19:54 -04:00
rusEfi f4c72b3895 docs 2020-04-08 23:27:26 -04:00
rusefi c98cdc9c0a cj125 progress 2020-04-08 23:14:21 -04:00
rusEfi 2c423052c4 docs 2020-04-08 20:37:46 -04:00
rusefi 6051c4dbff v12 2020-04-06 17:24:20 -04:00
rusefi 3888ffc007 smart gpio clean-up 2020-04-06 14:28:08 -04:00
rusefi c1ab5ca585 smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi a1b554638f clean-up 2020-04-06 12:58:04 -04:00
rusefi 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
rusefi 19a7a7adf6 v12 2020-04-03 17:44:55 -04:00
rusefi 9203f08072 flipped 60/2? 2020-04-03 00:44:54 -04:00
rusefi fd02a6dc8c v12 2020-04-03 00:19:04 -04:00
rusefi a228870915 v12 2020-04-02 22:59:01 -04:00
rusefi 939a00a4b9 isFasterEngineSpinUpEnabled 2020-04-02 21:49:31 -04:00
rusefi 42ddc885a1 no PPS in slave mode 2020-04-02 00:33:12 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
rusefi ffd262a7ba CAN progress 2020-03-31 20:23:40 -04:00
rusefi f2dafeefe0 CAN progress 2020-03-31 20:08:30 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusEfi a3588f64fa v12 & dual-TPS 2020-03-30 01:13:02 -04:00
rusefi 21e96141a8 f4-slave 2020-03-29 22:10:13 -04:00
rusefi a806f14c24 f4-slave 2020-03-29 21:42:43 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi 22ed80f144 docs 2020-03-29 10:29:45 -04:00
rusefi 84e0e1b6e9 critical error usability improvements 2020-03-28 21:28:32 -04:00
Matthew Kennedy 7596a80242 Ts cleanup 2 (#1226)
* remove biquad config

* fuel pump clarity

* hide stuff

* hide more stuff correctly

* more hides

* hide comparator except for kinetis

* didn't mean to change all those

* fix kinetis
2020-03-26 11:41:58 -04:00
Matthew Kennedy 8642a0a6c7 TS cleanup pass (#1225)
* remove biquad config

* fuel pump clarity

* one code usage

* minimal generate for ci

* and don't build it either

* remove commented out code
2020-03-25 23:00:17 -04:00
Matthew Kennedy 5420e5ef6d Fix mre vbatt (#1218)
* Revert "vbatt MRE happiness"

This reverts commit 4c5477f2cd.

* update comments
2020-03-25 16:23:04 -04:00
rusEfi 5928cd486a pretty slow v12 progress 2020-03-24 23:17:54 -04:00
rusefi 205fdcee66 launch control #203 2020-03-23 20:44:34 -04:00
rusefi 4d617aa0fe random header clean-up 2020-03-23 09:00:57 -04:00
rusefi fb115578dc start/stop 2020-03-20 20:45:35 -04:00
rusEfi fbbac83010 v12 progress 2020-03-20 00:36:22 -04:00
rusEfi b9d6f33b82 v12 2020-03-18 17:46:46 -04:00
rusefi b7324c9a51 proteus-f4 was requested 2020-03-18 11:37:53 -04:00
rusefi d79148b4ea proteus-f4 was requested 2020-03-18 10:19:17 -04:00
rusefi ed947d5ce6 proteus-f4 was requested 2020-03-18 09:32:46 -04:00
rusEfi f2b3fe281e v12 & ETB progress 2020-03-18 00:24:10 -04:00
rusEfi 5a21db41a4 v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusefi 717400e1c4 hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
rusEfi 0e3f8b1b5c docs 2020-03-16 16:39:42 -04:00
Matthew Kennedy f18e848d9c remove (#1188)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 17:19:29 -04:00
Matthew Kennedy 9a81b7d2c5 Move can_hw.cpp in to drivers folder (#1184)
* relocate

* include path

* simulator makefile

* fix mre while we're at it

* it would help if I fixed it right
2020-03-13 09:50:43 -04:00
rusefi 857f329b06 docs & wall 2020-03-13 02:27:44 -04:00
rusEfi b089596641 v12 2020-03-12 00:16:32 -04:00
rusEfi cb37a6f51d v12 2020-03-11 20:48:09 -04:00
rusefi 2ae15b5bab hard-coding miata Nb2 VVT Ratio magic 2020-03-09 16:59:19 -04:00
rusefi 98d402a66f logicAnalyzerMode was unused, removing for now 2020-03-08 09:14:49 -04:00
Matthew Kennedy a7a7d90399 ignore vbus (#1175) 2020-03-07 15:53:38 -05:00
rusEfi bf6082b828 slow v12 progress 2020-03-07 00:45:45 -05:00
rusefi a5fb0e44c1 code style 2020-03-06 01:26:33 -05:00
Matthew Kennedy 52c7d6dfbe proteus prepend (#1166) 2020-03-02 20:02:25 -05:00
rusefi 9e47bf2b02 hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusefi f298817af2 mapping docs 2020-02-29 23:22:39 -05:00
rusefi 4e03792b14 MRE PNP 2020-02-29 23:15:04 -05:00
rusefi e196e1c6b3 todo NB2 2020-02-27 21:28:31 -05:00
rusEfi e536bce7f2 v12 2020-02-27 03:29:03 -05:00
Matthew Kennedy d5034ab8c2 this flag did nothing (#1161) 2020-02-26 17:30:02 -05:00
rusEfi c2ab5f4871 more mc33816 2020-02-25 22:38:08 -05:00
rusefi 6b3228b9f1 TEST_33816 2020-02-25 21:35:21 -05:00
Matthew Kennedy 2437aaffc6 Omit canned configs from Proteus (#1159)
* omit presets from proteus

* ifdef guard
2020-02-25 19:46:22 -05:00
Matthew Kennedy 6db8978667 Add single flag for omitting PnP configs (#1157)
* switch to single enable flag

* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusefi d755e95768 v12 2020-02-24 00:20:36 -05:00
rusefi f1866f6792 migrate slow ADC to software timer so that TIM8 is also available for input capture #630 2020-02-24 00:12:51 -05:00
rusefi 33ba33d533 MRE technical info 2020-02-24 00:12:26 -05:00
rusefi ebb1980b50 v12 2020-02-23 09:16:11 -05:00
rusefi e2704a4525 minor progress 2020-02-22 13:04:19 -05:00
rusefi 2fb89b4676 explicit cross-referencing 2020-02-21 20:08:16 -05:00
rusefi 94fc0451f9 "so I guess defaults are fine then, maybe add main relay = PB9" 2020-02-21 19:31:36 -05:00
rusefi 833f491f05 M73 2020-02-19 22:34:51 -05:00
rusefi 6d5734c40e proteus 2020-02-19 22:34:38 -05:00
rusEfi e9ac797ac9 reviving FRANKENSO_QA_ENGINE 2020-02-18 17:53:56 -05:00
rusefi 83d7085f40 code style & pleasing LGTM 2020-02-18 08:16:19 -05:00
rusEfi 4c5477f2cd vbatt MRE happiness 2020-02-16 16:59:33 -05:00
rusEfi 6aa9e896a4 proper 'f' syntax 2020-02-12 23:16:46 -05:00
rusEfi 8ef58f8e79 MRE divider 2020-02-12 22:15:36 -05:00
rusEfi ce54ae9497 TLE8888 watchdog #917
window watchdog progress
2020-02-10 13:24:09 -05:00
Matthew Kennedy a08946c2f5 Fix master (#1134)
* Revert "something went very wrong."

This reverts commit e0fb325d5a.

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

This reverts commit 55e8ee5052.

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

This reverts commit b0d7cc9a22.

* temp prometheus fix

* fix bootloader

* fix batch files
2020-02-08 16:34:29 -05:00
rusefi d645ea2d1e more Proteus CI 2020-02-02 08:42:05 -05:00
960 580e725d11 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
Matthew Kennedy a4e9d638b7 more proteus pins (#1118) 2020-02-02 02:38:15 -05:00
rusefi 3d3c4c38f4 looking forward 2020-02-01 17:55:58 -05:00
rusefi f7c8580b11 reducing headers 2020-02-01 17:27:24 -05:00
rusefi d67976364a Matt does this look right? 2020-02-01 14:45:55 -05:00
rusefi 81e7a50174 proteus build into CI 2020-02-01 14:27:41 -05:00
rusefi f834f99245 opening the door to boost controller! 2020-01-31 14:29:52 -05:00
Matthew Kennedy 4a1e17e535 minor proteus default config & mapping fixes (#1113)
* vbatt and can

* correct comment

* fix mapping
2020-01-29 23:32:48 -05:00
rusefi 7fdd10b50c code style 2020-01-14 03:41:11 -05:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
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