Commit Graph

706 Commits

Author SHA1 Message Date
Matthew Kennedy 00f726713a Init order h7 (#2495)
* init order

* s
2021-03-25 21:12:19 -04:00
Matthew Kennedy 368415972e read configuration from flash exactly once (#2481)
* early hw init

* s

* read configuration exactly once

* cleanup

* housekeeping

* test friendly

* ugh bad merge

* that is a noop

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 18:16:26 -04:00
Matthew Kennedy 53a579abbf move some initialization steps earlier (#2480)
* early hw init

* s

* Revert "s"

This reverts commit 10d3039168613cfb2b0cf1c960d2f18894745ce3.

* bor

* I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 16:22:03 -04:00
Matthew Kennedy cb33bb77ae Dedicated code path for USB console/TS (#2465)
* new apis

* dedicated USB path

* move decl

* init

* don't init usb twice

* guard

* check that we're initialized before using TS

* comment

* guard

* guard USB

* brain doesn't go good

* make tests happy

* dead define

* cypress

* ifdef != if

* s

* include priority

* don't start a thread we know we don't need

* bad-ish merge

* const

* why did this code exist...?

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-18 14:07:22 -04:00
Matthew Kennedy 925a6ca086 harden against various no-boot scenarios (#2468)
* zero length trigger

* validate config

* validate cylinder count

* wrong type on cylinder count

* invalid comment

* invalid SPI
2021-03-17 09:24:13 -04:00
Andrey G 4b9181a5cd Enable trigger stimulation after HW timer initialized (#2466)
To avoid 'CRITICAL error: hwTimer not alive' error
2021-03-16 17:31:30 -04:00
Matthew Kennedy ce3878949c stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
Matthew Kennedy e6d24d3010 avoid various "no connect" scenarios (#2432)
* init mmc and USB earlier

* connect USB faster
2021-03-07 20:21:42 -05:00
rusefillc db6b4f27e7 todo 2021-03-02 22:23:17 -05:00
Matthew Kennedy 55facb6613 use DECLARE_ENGINE_PTR for Engine class (#2365)
* engine cleanup

* do the cleanup

* one last spot

* expand_engine noop for firmware

* simulator
2021-02-16 16:58:54 -05:00
rusefillc f6d001773c IGNORE_FLASH_CONFIGURATION 2021-01-28 19:40:51 -05:00
rusefillc 9cec794f27 IGNORE_FLASH_CONFIGURATION 2021-01-28 18:03:45 -05:00
rusefillc b286ec8a34 fine-grained check modes 2020-12-27 17:41:28 -05:00
rusefillc f147aabcd7 trigger and start button pins not displayed by "pins" command #2084
progress but not complete fix yet
2020-12-16 22:00:42 -05:00
Matthew Kennedy 2792828dce Remove lockAnyContext, replace with CriticalSectionLocker (#1938)
* switch to CriticalSectionLocker

* that's just about all

* clean up last usage

* include hpp for sim

* need the cpp wrappers in the makefile too

* include dir

* include
2020-11-19 06:56:02 -05:00
rusefi b4208f585c QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:16:41 -04:00
rusefi 4743718663 QC control mode to crash if RPM = 0 and to mark successful 3 minute test with self-stimulation RPM increase #1871 2020-10-11 19:05:56 -04:00
rusefi 34904db591 better QC procedure 2020-09-19 04:39:32 -04:00
David Holdeman 8366e7380f some documentation improvements (#1787) 2020-09-11 20:20:37 -04:00
rusefi ff8f0731fd a few unneeded properties 2020-06-13 22:46:10 -04:00
rusefi 60835c4269 HW_CHECK_MODE 2020-05-20 22:15:47 -04:00
rusefi f7321942e9 class constructors are a great way to have simple initialization sequence 2020-05-03 11:49:06 -04:00
rusefi cfd8889236 class constructors are a great way to have simple initialization sequence 2020-05-03 10:58:52 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi a222ecdfe1 happy new year unification 2020-01-13 21:57:43 -05:00
rusefi 4605c64a07 that's not a worth a file 2019-12-24 00:03:53 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusEfi c4d6604551 MRE etb 2019-08-17 17:33:44 -04:00
rusefi ef5a1447e9 CI instability: FATAL error: warn stream not initialized for 6039
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusEfi 475377dcfc DFU command & refactoring 2019-08-03 19:58:38 -04:00
rusefi 2b15ff31b1 dead code 2019-07-29 21:44:33 -04:00
rusefi 777eb532dc Refactoring: OS access should be explicit #867 2019-07-03 21:48:04 -04:00
rusEfi ed32a9c7b2 reducing code duplication & reboot to rusEfi console 2019-06-28 23:33:48 -04:00
rusefi b34bdf5bcb docs 2019-05-02 17:52:48 -04:00
andreika-git 4c00b4c6fb A tiny fix of EFI_ACTIVE_CONFIGURATION_IN_FLASH (#761) 2019-04-15 13:36:25 -04:00
rusefi 24948a2641 defined(__DOXYGEN__) ? fix #748 2019-04-12 22:10:57 -04:00
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi f475fb1691 better conditional compilation 2019-01-31 17:55:23 -05:00
rusefi 0e82173958 #631 TIME_MS2I mostly 2019-01-28 20:00:17 -05:00
rusefi fcea23b20a refactoring: more logical initialization sequence 2019-01-11 00:08:26 -05:00
rusefi 7ffb3a2be0 refactoring: better method name 2019-01-11 00:03:42 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi daeaa925f2 refacoting: making code more consistent 2019-01-05 00:57:09 -05:00
rusefi c3ab54e3e3 probably better place for initial initialization 2019-01-05 00:46:11 -05:00
rusefi 4868a9fd82 refactoring 2018-09-16 22:25:17 -04:00
rusefi 92df53aec9 error codes 2018-09-10 22:10:55 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi ebaa011a01 docs 2018-04-08 11:35:24 -04:00
rusefi b3a7e07344 #586 undoing bootloader damage 2018-03-25 09:18:40 -04:00
rusefi 2127133564 version into simulator output 2018-03-24 21:13:08 -04:00
rusefi 4bec14be2a date 2018-03-22 08:13:53 -04:00
rusefi 2f887ec315 #569 2018-03-17 21:24:04 -04:00
rusefi f36ee55f04 fix #570 2018-03-01 06:01:15 -05:00
rusefi 1f8f1a612a progress #568 2018-02-10 14:02:48 +03:00
rusefi f8055aad4c hopefully #568 fix 2018-02-07 08:12:34 +03:00
rusefi dee3a86cb1 unused parameter 2018-02-06 01:44:10 +03:00
rusefi 034156851c refactoring 2018-02-03 20:43:31 -05:00
rusefi a8ed61c277 reducing coupling between trigger emulation and FSIO 2018-02-03 11:42:50 -05:00
rusefi 28acce56bf extracting macro 2018-02-03 10:56:29 -05:00
rusefi 349aca993d extracting macro 2018-02-03 10:48:35 -05:00
rusefi 66afbe6489 poke 2018-02-02 10:29:32 -05:00
rusefi 8fd3d1a318 same action twice 2018-01-30 14:56:24 -05:00
rusefi b8bca64807 CAN debug field #26 2018-01-29 19:41:39 -05:00
rusefi 103c46a673 fixing build? 2018-01-28 14:49:06 -05:00
rusefi 7b3434caca #557 2018-01-28 14:03:58 -05:00
rusefi 3522179966 #553 let's try 768 2018-01-25 09:46:31 -05:00
rusEfi b9c22bdff4 temp funny code for puff #553 2018-01-24 21:34:05 -05:00
rusefi 7a8eeda2a1 fresh version of USB CFG 2018-01-23 22:52:29 -05:00
rusefi 1129716ce9 close #463 2018-01-23 21:59:10 -05:00
rusefi dce2a70706 #65 2018-01-23 13:18:59 -05:00
rusefi c17455dc0d #540 2018-01-23 08:34:18 -05:00
rusefi 53394cd506 fix #539 reducing idle stepper reaction time 2018-01-21 12:19:36 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusEfi adc1a6e209 poke 2018-01-20 12:11:46 -05:00
rusEfi f66fb77008 avoiding AFR warning 2018-01-16 12:58:35 -05:00
rusefi 7b5302d897 fix #532 2018-01-07 12:11:49 -05:00
rusefi 403565dfe2 get global_fuel_correction 2018-01-04 18:45:25 -05:00
rusEfi 4ce94603bb new command style 2018-01-03 15:38:08 -05:00
rusEfi c85055099d happy new year nissan! 2018-01-01 22:24:33 -05:00
rusefi f888d9a41a date 2017-12-27 18:39:53 -05:00
rusefi 5db918142a date 2017-12-23 12:25:22 -05:00
rusefi 6e61392ae9 debug field STATUS 2017-12-17 13:14:39 -05:00
rusefi 95824c2c91 more FSIO logging 2017-12-17 00:17:55 -05:00
rusefi 11e9a873db #490 configuration validation 2017-12-08 20:04:58 -05:00
rusefi cad2262040 #490 FSIO curves to console table editor 2017-12-03 16:11:39 -05:00
rusefi b37fc28c72 #490 fixing offset defect 2017-12-02 21:16:42 -05:00
rusefi 63dfd35bfe fix #502 2017-12-01 23:25:30 -05:00
rusefi b1db389be2 fix #490 2017-11-27 21:49:58 -05:00
rusefi 74e671e995 fixing build? 2017-11-27 00:05:30 -05:00
rusefi c4cab3e1f5 fix #500 2017-11-26 19:35:08 -05:00
rusefi f6b41e57f9 fix #497 2017-11-23 17:43:42 -05:00
rusefi 05ba9966e7 better enum name 2017-11-19 17:54:00 -05:00
rusefi 27d22bba0c #495 2017-11-19 14:26:21 -05:00
rusefi 094ff94c26 #495 2017-11-19 14:22:14 -05:00
rusefi 72df70cb48 #495
compacting data structure without changing the size yet
2017-11-19 12:07:07 -05:00
rusefi ffa099f083 #487 2017-11-06 23:00:57 -05:00
rusefi 3d3bc09e79 date 2017-11-02 18:12:04 -04:00
rusefi 4452717d9a #385 2017-10-29 20:29:02 -04:00