Commit Graph

313 Commits

Author SHA1 Message Date
GitHub build-firmware Action 4d358f4759 Auto-generated configs and docs 2021-02-13 01:50:56 +00:00
GitHub build-firmware Action 45ed6ebb33 Auto-generated configs and docs 2021-02-11 02:49:50 +00:00
GitHub build-firmware Action 5e96883b15 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
Matthew Kennedy 85fab40d21
get mcu temperature within port (#2326)
* remove EFI_ADC_TEMP_SENSOR

* implement

* comment

* s

* switch adc_inputs over

* header

* s

* I think aligned-on-stack should work ok

* num channels

* cache safety

* move adc init too

* don't compile that file for the h7

* cypress & kinetis

* ports

* guard against bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 22:04:36 -05:00
GitHub build-firmware Action 9fb101186a Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
GitHub build-firmware Action 71a974e477 Auto-generated configs and docs 2021-02-09 05:26:52 +00:00
GitHub build-firmware Action ad453abfc5 Auto-generated configs and docs 2021-02-09 04:49:57 +00:00
GitHub build-firmware Action 50cf213163 Auto-generated configs and docs 2021-02-09 04:23:45 +00:00
GitHub build-firmware Action 45db66cbb2 Auto-generated configs and docs 2021-02-09 02:52:50 +00:00
rusefillc 2d99e77c95 M62T vanos support #2243 2021-02-08 21:50:31 -05:00
rusefi 6b10de5616 refactoring: naming consistency 2021-02-08 18:20:53 -05:00
rusefi c576f0a9d9 M62T vanos support #2243 2021-02-08 18:08:26 -05:00
GitHub build-firmware Action e83636cd83 Auto-generated configs and docs 2021-02-08 21:41:57 +00:00
rusefi a349bf1ca8 M62T vanos support #2243 2021-02-08 16:16:26 -05:00
GitHub build-firmware Action d57b4b48b5 Auto-generated configs and docs 2021-02-08 19:13:25 +00:00
GitHub build-firmware Action ab832d269a Auto-generated configs and docs 2021-02-07 13:48:13 +00:00
GitHub build-firmware Action fe688471ca Auto-generated configs and docs 2021-02-07 01:56:30 +00:00
rusefillc d95ba6b443 Trigger pattern request Škoda Favorit #2302 2021-02-06 20:12:58 -05:00
GitHub build-firmware Action d7318c696d Auto-generated configs and docs 2021-02-07 00:52:02 +00:00
GitHub build-firmware Action 9a254634d0 Auto-generated configs and docs 2021-02-06 18:52:00 +00:00
rusefillc d80ed37040 reducing code duplication 2021-02-05 23:56:22 -05:00
rusefillc 6a2473ccc1 reducing code duplication 2021-02-05 23:45:47 -05:00
rusefillc 6915852a7a reducing code duplication 2021-02-05 23:41:26 -05:00
rusefillc 82e96d7dfb code reuse good, code duplication bad 2021-02-05 22:44:40 -05:00
rusefillc 92625913d2 code reuse good, code duplication bad 2021-02-05 22:19:24 -05:00
GitHub build-firmware Action 1073cde9b9 Auto-generated configs and docs 2021-02-05 23:21:55 +00:00
GitHub build-firmware Action dfca29a705 Auto-generated configs and docs 2021-02-05 16:29:43 +00:00
GitHub build-firmware Action 4a6bca0a2a Auto-generated configs and docs 2021-02-03 19:36:47 +00:00
Matthew Kennedy 9f0ebaac49
Proteus analog input ci (#2271)
* test vbatt

* test proteus vbatt

* tolerance

* these don't work on proteus

* new engine type

* test analog input

* more test points, less tolerance

* console build needs this file generated

* only include for hw ci builds

* wiring info

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 13:34:48 -06:00
GitHub build-firmware Action eca31a782c Auto-generated configs and docs 2021-02-02 14:17:30 +00:00
GitHub build-firmware Action 927f80886c Auto-generated configs and docs 2021-02-02 04:21:59 +00:00
rusefillc 11f9bf16f6 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:18:11 -05:00
GitHub build-firmware Action ee561bcf66 Auto-generated configs and docs 2021-02-02 03:52:46 +00:00
GitHub build-firmware Action 953e892c4a Auto-generated configs and docs 2021-02-01 17:13:13 +00:00
GitHub build-firmware Action 22a9e55c03 Auto-generated configs and docs 2021-02-01 10:41:19 +00:00
GitHub build-firmware Action dc7b94fe6c Auto-generated configs and docs 2021-01-31 22:21:02 +00:00
GitHub build-firmware Action 5ca29789ef Auto-generated configs and docs 2021-01-28 01:33:00 +00:00
GitHub build-firmware Action 7b6e402089 Auto-generated configs and docs 2021-01-27 02:58:44 +00:00
GitHub build-firmware Action 7c199746ec Auto-generated configs and docs 2021-01-27 01:49:09 +00:00
David Holdeman bcf981a9b1
Hellen mapping (#2235)
* convert hellen mapping.yaml

* remove mapping.yaml as it is not used
2021-01-22 16:51:02 -05:00
David Holdeman 6ead64e512
New board pin-mapping system (#2231)
* convert mre mapping

* convert mre mapping

* funny stuff for GPIOA_5

* move class next to id

* rough draft

* update scripts

* fix some errors

* fix some errors

* try

* check against null

* try amp

* try

* try

* fix some errors

* update scripts

* fix maybe

* fix maybe 2

* fix maybe

* fix maybe

* fix

* try

* fix

* use .equals

* use StringBuilder

* use instanceof

* use .max

* remove getMaxValue

* Suppress Warning

* major optimization

* fix maybe

* off-by-one error

* move yaml file loop

* add j2 connector

* add pads yaml

* check for null or empty

* add AV pins to pads

* forgot class

* move registerpins out of loop

* fix typo

* rebase

* check if string

* convert frankenso

* convert frankenso

* tyop

* missing class

* copy mre to skel

* remove prometheus yaml

* remove kinetis yaml

* build configDefinition

* replace var with string

* slight refactor
2021-01-22 12:03:14 -05:00
Andrey G 777979c3ca
Chibi os 20 (#2212)
* Update ChibiOS

* Fix Makefiles includes paths

* halconf.h: remove flash hack

* mcuconf: fix EXTI ptiorityes

* Digital Input: ICU: use designated initializers, initialize 'arr'

* ChibiOS: lis302dl fix

* ADC: update to new API

* UARTConfig: timeout_cb field, formating

* ChibiOS: remove _exit, _kill, _getpid

* Fix lis302dl

* Bump config versions

* chconfig_common: cosmetic changes

* stm32f4ems: commulative config update

* Update Simulator

* ALLCSRC already contain all needed ChibiOS files.

Same for ALLINC and ALLCPPSRC

* ChibiOS fix for Simulator

* ChibiOS: port lock/unlock hook and MMC over SPI timeout

* STM32F7: update configs

* STM32F7: update linker file

* Cypress: port ADC lld to ChibiOS-20

* Cypress: port SPI lld to ChibiOS-20

* Cypress: port CAN lld to ChibiOS-20

* Cypress: fix include path for rules.ld

* Cypress: update chconf.h and halconf.h for ChibiOS-20

* Kinetis: update ADC lld to ChibiOS-20

* Kinetis: update SPI lld to ChibiOS-20

* Kinetis: update UART lld driver for ChibiOS-20

* Kinetis: update chconf.h and halconf.h for ChibiOS-20

* Kinetis: fix include path for rules.ld

* Nucleo F746: update ld script

* Nucleo F746: fix compile

* Bootloader: fix compilation with ChibiOS-20, cleanup

* Bootloader: add way to pass crosscompiler using CROSS_COMPILE

* Debug build arguments

* Simulator: fix windows compilation

Exclude syscalls_cpp.cpp from compilation
2021-01-19 15:20:35 -05:00
GitHub build-firmware Action 5b6614b65a Auto-generated configs and docs 2021-01-19 00:30:19 +00:00
GitHub build-firmware Action b7016f97b6 Auto-generated configs and docs 2021-01-18 23:56:32 +00:00
GitHub build-firmware Action ba8cc12f3c Auto-generated configs and docs 2021-01-18 23:50:26 +00:00
Andrey G baea67eccf
Simplify Makefile, unify board.mk files (#2229)
* Proper way to add lis302 driver

* Proper way to add license directory to includes

* Makefile: simplify

All ChibiOS stuff is accumulated in ALLCSRC, ALLINC and so on.

* board.mk: append sources and includes to ALLSRC, ALLCPPSRC, ALLINC

* Cypress: fix CANv2 includence into build
2021-01-17 09:32:06 -05:00
GitHub build-firmware Action 8988b908ed Auto-generated configs and docs 2021-01-10 15:16:52 +00:00
GitHub build-firmware Action 8960c7a0b5 Auto-generated configs and docs 2021-01-10 13:14:51 +00:00
GitHub build-firmware Action 4500e1dc71 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
Andrey G 2af32084f4
gpio helper (#2195)
* gpios: isBrainPinValid helper

* LCD HD44780: do not touch pins if DM_NONE or invalid gpio

* Fix isEnabled checks for GPS and Joystick

* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
GitHub build-firmware Action 7d63cf4e62 Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
GitHub build-firmware Action 27e944f2bf Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
GitHub build-firmware Action d0090cb5d8 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Andrey G f96ae7525f
Gpio cleanup #2 (#1530)
* pin repository: PIN_USED size in now equal to brain_pin_e enum size

expect special values...

* smart gpios: register gpio chip to given base (no auto-allocation)

* drivers: gpio: core: add gpiochip_unregister()

* drivers: gpio: MC33810 intergation

* smart_gpio.cpp: cleanup ifdef mess, minor cleanups

* gpio: core: additional check for gpio ranges overlaps

* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
GitHub build-firmware Action 4a1246995f Auto-generated configs and docs 2021-01-06 18:57:58 +00:00
GitHub build-firmware Action 6a32510a4c Auto-generated configs and docs 2021-01-06 18:49:08 +00:00
GitHub build-firmware Action a0aba69b9f Auto-generated configs and docs 2021-01-06 03:32:28 +00:00
GitHub build-firmware Action f804aaf60f Auto-generated configs and docs 2021-01-05 21:32:00 +00:00
GitHub build-firmware Action 0abfc7c9c1 Auto-generated configs and docs 2021-01-05 12:59:14 +00:00
GitHub build-firmware Action 07abef8473 Auto-generated configs and docs 2021-01-05 04:52:50 +00:00
rusefillc 15665484e5 Audi OEM 5-cyl trigger pattern aka "Tri-Tach" https://rusefi.com/forum/viewtopic.php?f=5&t=1912 2021-01-03 13:52:53 -05:00
GitHub build-firmware Action 1caeef7ca2 Auto-generated configs and docs 2021-01-03 18:08:09 +00:00
GitHub build-firmware Action eb458b2f3b Auto-generated configs and docs 2021-01-02 21:45:28 +00:00
GitHub build-firmware Action b764fd1586 Auto-generated configs and docs 2021-01-02 14:16:50 +00:00
GitHub build-firmware Action 1f30163348 Auto-generated configs and docs 2021-01-01 16:20:39 +00:00
GitHub build-firmware Action 8a0fa161ac Auto-generated configs and docs 2021-01-01 06:12:01 +00:00
GitHub build-firmware Action de3ecc50b0 Auto-generated configs and docs 2021-01-01 05:59:19 +00:00
GitHub build-firmware Action 10c0553038 Auto-generated configs and docs 2020-12-31 17:41:53 +00:00
GitHub build-firmware Action 5b638d3a87 Auto-generated configs and docs 2020-12-30 13:37:55 +00:00
GitHub build-firmware Action c1198421a6 Auto-generated configs and docs 2020-12-24 12:33:20 +00:00
Matthew Kennedy 3d13d03424
Purge e34 config (#2127)
* remove

* enums

* s

* func test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-24 07:31:25 -05:00
GitHub build-firmware Action 6e62865f20 Auto-generated configs and docs 2020-12-22 22:24:02 +00:00
Matthew Kennedy ba9de3a604
Purge fiesta config (#2117)
* config

* this had a feature flag?

* enums

* goodbye, fiesta
2020-12-22 17:22:05 -05:00
rusefillc 2d2225bfdb PROTEUS_QC_TEST_BOARD 2020-12-22 10:13:27 -05:00
GitHub build-firmware Action 29f321a9aa Auto-generated configs and docs 2020-12-22 15:07:32 +00:00
Matthew Kennedy 8737ba62c2
Purge rover v8 config (#2116)
* bye

* goodbye, rover v8

* that snuck in

* use a different config for that test
2020-12-22 10:05:54 -05:00
GitHub build-firmware Action 434877c6a7 Auto-generated configs and docs 2020-12-22 12:26:21 +00:00
GitHub build-firmware Action b1ea05a46d Auto-generated configs and docs 2020-12-22 03:22:57 +00:00
GitHub build-firmware Action 4d26ad379f Auto-generated configs and docs 2020-12-18 17:41:54 +00:00
rusefillc 55b4e82615 naming consistency 2020-12-18 09:01:18 -05:00
GitHub build-firmware Action bf1b536565 Auto-generated configs and docs 2020-12-16 23:27:03 +00:00
Matthew Kennedy 6151f8c334
extra data for rusEfi wideband controller (#2082)
* add config

* logic

* remove old

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 18:25:11 -05:00
GitHub build-firmware Action 7c2f8707f2 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00
rusefillc bd279edd8e pnp progress 2020-12-15 00:09:35 -05:00
GitHub build-firmware Action b6089a83ee Auto-generated configs and docs 2020-12-15 04:18:45 +00:00
GitHub build-firmware Action 431bdf8f94 Auto-generated configs and docs 2020-12-14 13:31:27 +00:00
shadowm60 9d36bab793
Debug channel updates (#2078)
* Debug channel updates

Renamed DBG_44 to Dyno_View
added DBG_LOGIC_ANALYZER
DBG_46..48 are  buffers for new features
corrected ini error: [mainController.ini]:[Line:2593]:    entry = wastegatePosition, "Wastegate position sensor",       float,  "%.3f"

* enum_regeneration

fix build issue?
2020-12-14 08:29:43 -05:00
GitHub build-firmware Action d616892eab Auto-generated configs and docs 2020-12-14 04:02:29 +00:00
GitHub build-firmware Action 62d35df025 Auto-generated configs and docs 2020-12-14 02:54:40 +00:00
GitHub build-firmware Action 4ef5bf3d34 Auto-generated configs and docs 2020-12-13 22:48:42 +00:00
rusefillc 314e9ef580 TT_SUBARU_7_WITHOUT_6 2020-12-13 17:46:48 -05:00
GitHub build-firmware Action 48e26ec0a3 Auto-generated configs and docs 2020-12-13 21:23:35 +00:00
GitHub build-firmware Action b9fc438742 Auto-generated configs and docs 2020-12-13 21:19:32 +00:00
GitHub build-firmware Action b14462ca65 Auto-generated configs and docs 2020-12-13 03:24:09 +00:00
GitHub build-firmware Action b75eb9ea81 Auto-generated configs and docs 2020-12-12 20:43:22 +00:00
GitHub build-firmware Action a321ab76a7 Auto-generated configs and docs 2020-12-09 19:33:03 +00:00
GitHub build-firmware Action 247d608c1e Auto-generated configs and docs 2020-12-09 17:15:05 +00:00
GitHub build-firmware Action 5537b2035c Auto-generated configs and docs 2020-12-09 02:10:55 +00:00
GitHub build-firmware Action 9bf994e10f Auto-generated configs and docs 2020-12-08 10:16:15 +00:00
GitHub build-firmware Action 1c6b53658e Auto-generated configs and docs 2020-12-08 09:43:33 +00:00
GitHub build-firmware Action 6b80297245 Auto-generated configs and docs 2020-12-08 01:33:19 +00:00
Matthew Kennedy 67269aa637
maybe fix sensor init checks (#2034)
* enums

* don't collide

* auto_generated_enums

* check based on new enum val

* maybe this will make generate tool happy

* add a test

* fix test

* fix and add another test

* make clang happier

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 23:19:57 -05:00
GitHub build-firmware Action d20d484fce Auto-generated configs and docs 2020-12-06 23:08:10 +00:00
GitHub build-firmware Action 70467a0117 Auto-generated configs and docs 2020-12-06 19:19:09 +00:00
rusefillc 166f4fc381 MRE_SUBARU_EJ18 2020-12-06 13:08:09 -05:00
GitHub build-firmware Action c492d5b6af Auto-generated configs and docs 2020-12-06 03:05:54 +00:00
GitHub build-firmware Action be55246188 Auto-generated configs and docs 2020-12-04 16:39:14 +00:00
rusefillc 0a23e82baf 6.1 Hemi V8 decoder #2010 2020-12-04 00:30:22 -05:00
GitHub build-firmware Action 3a4942fd55 Auto-generated configs and docs 2020-12-04 05:21:17 +00:00
rusefillc 4c3eae5676 FORD ST170 CAM TRIGGER PATTERN fix #2009 2020-12-03 23:54:08 -05:00
GitHub build-firmware Action 98583bfabb Auto-generated configs and docs 2020-12-04 04:26:34 +00:00
GitHub build-firmware Action 0b2e8755ee Auto-generated configs and docs 2020-12-04 02:59:40 +00:00
GitHub build-firmware Action 77914fb702 Auto-generated configs and docs 2020-12-04 02:33:46 +00:00
rusefillc c55120372b DAIHATSU 3CYLINDER TRIGGER WHEEL SUPPORT #2008 2020-12-03 21:31:58 -05:00
GitHub build-firmware Action 82c30dadf8 Auto-generated configs and docs 2020-12-03 15:51:02 +00:00
rusefillc 745038c4a7 more dead code 2020-12-03 10:49:20 -05:00
GitHub build-firmware Action d803115081 Auto-generated configs and docs 2020-12-03 14:36:32 +00:00
GitHub build-firmware Action b2e26a2e2b Auto-generated configs and docs 2020-12-03 06:38:53 +00:00
rusefillc dd9e431782 dead code matches Mazda SOHC 2020-12-03 01:36:43 -05:00
GitHub build-firmware Action 896a96fb63 Auto-generated configs and docs 2020-12-03 06:34:34 +00:00
GitHub build-firmware Action b5b9554903 Auto-generated configs and docs 2020-12-03 06:25:01 +00:00
GitHub build-firmware Action c7f951a2e9 Auto-generated configs and docs 2020-12-03 06:21:16 +00:00
GitHub build-firmware Action b943bb8e3d Auto-generated configs and docs 2020-12-03 06:04:08 +00:00
GitHub build-firmware Action e61c79c378 Auto-generated configs and docs 2020-12-03 05:21:30 +00:00
GitHub build-firmware Action 85637f01c7 Auto-generated configs and docs 2020-12-03 01:32:59 +00:00
GitHub build-firmware Action 5c9ac60b0b Auto-generated configs and docs 2020-12-03 01:22:05 +00:00
GitHub build-firmware Action a80a1fb5a2 Auto-generated configs and docs 2020-12-02 19:12:18 +00:00
GitHub build-firmware Action 177328e736 Auto-generated configs and docs 2020-12-02 18:40:45 +00:00
GitHub build-firmware Action 94d2ab5ea2 Auto-generated configs and docs 2020-11-30 05:14:11 +00:00
GitHub build-firmware Action 8e1674956d Auto-generated configs and docs 2020-11-29 03:51:15 +00:00
rusefillc b982d02298 miata 94 2020-11-28 22:49:28 -05:00
GitHub build-firmware Action 5087fc7c5a Auto-generated configs and docs 2020-11-29 03:22:29 +00:00
rusefi 89eaae8234 LM_ALPHA_N_2 rename 2020-11-27 15:44:31 -05:00
GitHub build-firmware Action fb0863a1be Auto-generated configs and docs 2020-11-26 22:30:00 +00:00
GitHub build-firmware Action bbf29b0d40 Auto-generated configs and docs 2020-11-25 18:21:44 +00:00
GitHub build-firmware Action 9ac0391fb4 Auto-generated configs and docs 2020-11-22 23:32:36 +00:00
Andrey G a285ba6743
ADC: fixes: (#1979)
* ADC: fixes:

-use enums
-internalAdcIndexByHardwareIndex array should be adc_channel_e size
-add sanity checks
-save few bytes of RAM

* ADC: use logical OR instead of math add
2020-11-22 12:23:27 -05:00
GitHub build-firmware Action 3211c033ff Auto-generated configs and docs 2020-11-22 05:45:32 +00:00
GitHub build-firmware Action dc0d3242bf Auto-generated configs and docs 2020-11-22 05:11:29 +00:00
GitHub build-firmware Action 85d2555d70 Auto-generated configs and docs 2020-11-22 03:01:11 +00:00
Matthew Kennedy f3b7a1d9da
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
Matthew Kennedy 5d3d85d644
put getTimeNowLowerNt in to mpu_util (#1950)
* put getTimeNowLowerNt in to mpu_util

* move GPTDEVICE to port_mpu_util

* and remove from efifeatures
2020-11-18 14:17:00 -05:00
GitHub build-firmware Action e39133fef1 Auto-generated configs and docs 2020-11-17 00:54:02 +00:00
GitHub build-firmware Action f128f8b864 Auto-generated configs and docs 2020-11-17 00:45:34 +00:00
GitHub build-firmware Action ebf64223fd Auto-generated configs and docs 2020-11-15 22:33:48 +00:00
GitHub build-firmware Action 1a73258778 Auto-generated configs and docs 2020-11-14 23:08:03 +00:00
Matthew Kennedy bb8650179c
consolidate EFI_UNIT_TEST and friends (#1940)
* restructure

* guard c++

* idle too

* status_loop.h

* consolidate definitions

* use 1/0 instead, check for existence

* missed a few

* dead define

* defs for bootloader
2020-11-11 20:34:39 -05:00
GitHub build-firmware Action d6687a68e9 Auto-generated configs and docs 2020-11-11 04:13:06 +00:00
Matthew Kennedy 02c4d630f6
compensate injector flow based on fuel pressure (#1931)
* injector compensation

* fix

* ui

* testability & comments

* hella testing

* debug channels

* enum value

* auto generated enums

* update comment

* oops too much

* update config fields

* handle failed pressure sensor

* build

* fix

* add some todos for the future

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-11-10 23:11:22 -05:00
GitHub build-firmware Action eada3c394c Auto-generated configs and docs 2020-11-10 17:39:01 +00:00