Commit Graph

230 Commits

Author SHA1 Message Date
Andrey 3f63ccb7a1 extracting engine_type_impl
only:uaefi
2024-10-07 17:03:23 -04:00
Andrey c3bc395cf5 int rpm -> float rpm 2024-09-26 00:34:00 -04:00
rusefillc acf97cc55c https://sourceware.org/bugzilla/show_bug.cgi?id=9687 Weak symbols not working on mingw32 2024-08-03 12:24:06 -04:00
Andrey 1530b3dbd9 PUBLIC_API_WEAK or BOARD_WEAK #6748 2024-07-27 12:47:56 -04:00
Andrey e902e9cb81 PUBLIC_API_WEAK or BOARD_WEAK #6748 2024-07-27 12:34:03 -04:00
rusefi 7f25c1cad2 small-can-board does not start #6738
only:small-can-board_debug
2024-07-23 15:31:03 -04:00
rusEFI LLC 757d023452 dup? 2024-07-09 21:04:46 -04:00
Andrey e9f1f20d1b only:dead stuff 2024-07-03 10:42:52 -04:00
rusEFI LLC fdd46ddf8b only: something dead? 2024-04-29 14:57:56 -04:00
rusefillc 9028a832ab hardware-quality-management/issues/21 hack :(
only:hellen154hyundai
2023-12-14 17:23:08 -05:00
rusefi 7367091607 only:cleaner defines 2023-11-05 18:20:12 -05:00
rusefillc 3b6c9feea5
require LEDs (#5643)
* require all boards to define LED functions (#272)

* require all boards to define LED functions

* f429 nucleo

* small can

* small can

* add to header

* LEDs

---------

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-11-03 12:56:59 -04:00
rusefi 53d51941c0 https://github.com/rusefi/rusefi-hardware/issues/253
only:hellen-112-17
2023-10-29 20:34:12 -04:00
andreika-git dfd3a11b40 fix weak linkage for simulator/win compiler 2023-10-01 17:34:13 -04:00
rusefi bdd94e7b5b EPIC: we need to test fresh boards #5511 2023-08-29 21:23:30 -04:00
rusefillc 5c194059c0 reducing enum confusion 2023-06-19 00:37:11 -04:00
rusefi 527039e7a4 weak standby callback 2023-05-12 18:13:27 -04:00
Matthew Kennedy bb49b22294 joystick, lcd
(cherry picked from commit 61c17791b89fc6b5ae17df96d9498c088afdb09f)
2023-04-28 22:32:37 -04:00
rusefi f3279c108e proteus F7 QC build is broken #5242 2023-04-19 22:09:57 -04:00
rusefillc 9e812ee7ac dead code 2023-02-10 19:09:39 -05:00
rusefillc 911523ffbc random Frankenso clean-up 2022-12-14 19:11:16 -05:00
rusefillc f703c58622 CAN side of automated testing #4630 2022-09-29 23:46:08 -04:00
rusefillc 234862b2b7 CAN side of automated testing #4630 2022-09-29 23:01:06 -04:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Andrey cc9a1136c4 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 02:21:37 -04:00
Andrey 6aa948a666 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 00:43:28 -04:00
Andrey 95d36b37e3 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 00:34:18 -04:00
rusefillc 78675bf57b better default DEFAULT_ENGINE_TYPE 2022-02-09 19:49:41 -05:00
rusefillc 5a9a563e63 https://github.com/rusefi/alphax-2chan/issues/16 2022-01-15 10:36:49 -05:00
Scott Smith 70ad9724c0
Make engine* and friends be const pointers in production. (#3564)
This allows the compiler to see through the pointer and make accesses faster.
It saves 1336 bytes of text.
2021-11-17 03:53:17 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith 344c9073e2
Start the process of using a global engine ptr for unit tests. (#3551)
* Start the process of using a global engine ptr for unit tests.

Passing around the engine, config, and persistent state wasn't buying anything.  Instead, use
EngineTestHelper(Base) to correctly set and clear the global variables.  Add a dummy check in
case some test tries to set them manually.

* Fix OSX build

* Adapt PR to recently added code.
2021-11-16 00:23:14 -05:00
Andrey 9d2f9f0d35 docs 2021-11-08 12:23:00 -05:00
Matthew Kennedy 2ce7777865
don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
Andrey 82439b3ffd so many wonderful discoveries 2021-06-27 00:54:38 -04:00
Matthew Kennedy 6d19adb24f
remove old config override (#2763) 2021-05-30 13:31:36 +03:00
Matthew Kennedy de7879b6e4
convert a table to scaled_channel (#2724)
* scaled VE table

* use setTable

* efi::clear

* ratio -> struct
2021-05-20 20:00:32 -04:00
Matthew Kennedy dd6105cfa3
shrink canned tables (#2651)
* helper

* use it miata

* do type safe copy

* miata vvt

* etb

* default iat correction

* magic is afoot here

* hunchback

* misc

* neon

* neon

* aspire

* citroen

* neon

* missed one

* dead

* festiva

* remove andreyism

* very dead

* no need for copy of that function

* cleanup
2021-05-09 14:37:16 -04:00
Matthew Kennedy bb0662791b
use setTable (#2621) 2021-05-04 10:03:41 -04:00
Matthew Kennedy c26987b96b
Destroy all shared logger (#2574)
* most of shared logger

* a few more

* one more

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 14:28:48 -04:00
Matthew Kennedy 1dffcf5729
make board config override actually usable (#2508)
* new function

* hellen

* MRE

* proteus

* put those function declarations in a reasonable place

* put the comment back

* weak

* move that to a reasonable place

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 14:46:50 -04:00
Matthew Kennedy 523bef2eb6
fix (#2511) 2021-03-30 07:28:22 -04:00
Matthew Kennedy 6491c83f73
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 aeea50ada2
move target computation (#2091) 2020-12-17 17:46:51 -05:00
Matthew Kennedy 09b41bb1bb
Everything in lambda! (#1893)
* lambda

* default configs, fix build

* config, gauge, UI

* more digits

* change menu text

* fix that while I'm here

* doesn't need extra word

* todo note

* tests

* last test

* missed a config

* update java

* store target lambda

* more java

* format

* hopefully enough java for CI to pass
2020-10-26 18:15:17 -04:00
Matthew Kennedy 51804a4eb9 no more setFuelMap 2020-08-03 12:14:11 -07:00
rusefi 1703152427 reducing code duplication? 2020-07-29 23:01:55 -04:00
rusefi 196337a8de NA6 progress 2020-07-29 22:48:41 -04:00
Matthew Kennedy dd9c9e7a81 printFloatArray 2020-07-29 02:12:11 -07:00
rusefi 42541da76c more on wipeString 2020-07-05 14:09:43 -04:00