Commit Graph

9634 Commits

Author SHA1 Message Date
David Holdeman e1e1de5e9b
add info to 4S (#2300) 2021-02-06 16:06:25 -06:00
GitHub build-firmware Action 9a254634d0 Auto-generated configs and docs 2021-02-06 18:52:00 +00:00
Andrey G 08a5421090
Add subaru eg33 (#2294)
* engine: Subaru SVX EG33 engine configuration

Not tested yet. Just basic settings and placeholder

* board: add Dron_Gus's Subaru EG33 p'n'p board

* board: subaru eg33: linker script: stack, bss and heap to ram0

* board: subaru eg33: add mapping.yaml

* board: subaru eg33: scripts for autogenerated

* board: subaru eg33: fix DMA conflict (ADC1 vs SPI5)

* board: subaru eg33: enable ADC3

* board: subaru eg33: Autogenerated

* board: subaru eg33: disable fsio control of Main Relay

Default MAIN_RELAY_LOGIC cause error during parsing

* board: subaru eg33: configuration hack to fix usbconsole.c

* gen_config: generate config for Subaru SVX board too
2021-02-06 12:50:34 -06:00
Andrey G 3166076839
Some fixes prior to board pull request (#2291)
* ChibiOS: add support for STM32F765

This chip is used on Subaru EG33 p'n'p RusEFI board from Dron_Gus

* drivers: gpio: mc33810: commulative update

- use BIT macro
- fix wake-up method
- fix order of arguments in _add function

* port: stm32f4/7: detectCanDevice check for enabled interfaces only

* ADC: fix internal array size

internalAdcIndexByHardwareIndex should be EFI_ADC_LAST_CHANNEL size
couse adc_channel_e is used as index

* status LEDs: support status LEDs that driven by low level
2021-02-06 12:22:57 -05:00
rusefillc 30358e0526 reducing code duplication 2021-02-06 00:46:40 -05:00
rusefillc cda053f388 H7 compilation #2284 2021-02-06 00:37:12 -05:00
rusefillc 0ffa4c6e3a H7 compilation #2284 2021-02-06 00:28:38 -05:00
rusefillc 4dbb77415a reducing code duplication 2021-02-06 00:25:13 -05:00
rusefillc a093a839be reducing code duplication 2021-02-06 00:18:47 -05:00
rusefillc 94130c41a0 H7 compilation #2284 2021-02-06 00:07:05 -05:00
rusefillc 7c231d968f H7 compilation #2284 2021-02-05 23:57:28 -05: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 38dfe28d7a Merge remote-tracking branch 'origin/master' into master 2021-02-05 23:37:35 -05:00
rusefillc e4a85acb3b H7 compilation #2284 2021-02-05 23:37:18 -05:00
David Holdeman 4e96eb47f2
Fix doxygen (#2286)
* install graphviz to fix missing dot command

* try excludes

* can't use newline

* try

* add ChibiOS-Contrib
2021-02-05 23:09:02 -05:00
rusefillc c135899442 H7 compilation #2284 2021-02-05 22:46:04 -05:00
rusefillc 82e96d7dfb code reuse good, code duplication bad 2021-02-05 22:44:40 -05:00
rusefillc aafb5ca28d let's build for h7 2021-02-05 22:29:23 -05:00
rusefillc 92625913d2 code reuse good, code duplication bad 2021-02-05 22:19:24 -05:00
rusefillc 908dbd640c let's build for h7 2021-02-05 22:10:59 -05:00
rusefillc ac6c8a6c9f let's build for h7 2021-02-05 21:37:33 -05:00
rusefillc 9d77a35b5a let's build for h7 2021-02-05 21:09:36 -05:00
rusefillc 4be60dccfd let's build for h7 2021-02-05 20:58:34 -05:00
rusefillc 904b2db132 let's build for h7 2021-02-05 20:25:01 -05:00
rusefillc f92e24cd98 let's build for h7 2021-02-05 20:18:47 -05:00
rusefillc 06c2e346cb let's build for h7 2021-02-05 20:16:10 -05:00
rusefillc 08931afb07 that's a bit useless? 2021-02-05 20:14:52 -05:00
rusefillc 988bdd857d let's build for h7 2021-02-05 20:14:29 -05:00
rusefillc 8ebb628a6c Merge remote-tracking branch 'origin/master' into master 2021-02-05 20:00:55 -05:00
rusefillc f7b29fd42e let's build for h7 2021-02-05 20:00:44 -05:00
GitHub set-date Action 168dced2e7 Update date 2021-02-06 00:42:44 +00:00
rusefillc 8ba7e62142 hellen72b 2021-02-05 19:20:04 -05:00
rusefillc 162571a105 Merge remote-tracking branch 'origin/master' into master 2021-02-05 19:17:52 -05:00
rusefillc b431f32fbf Gather Nissan CAN data #2278 2021-02-05 19:17:22 -05:00
GitHub build-firmware Action 1073cde9b9 Auto-generated configs and docs 2021-02-05 23:21:55 +00:00
Matthew Kennedy 870857df36
add option to disable ETB if engine not spinning (#2280)
* config/ui

* trigger central mods

* implement
2021-02-05 17:19:57 -06:00
GitHub build-firmware Action dfca29a705 Auto-generated configs and docs 2021-02-05 16:29:43 +00:00
rusefillc 0090dc04ee Gather Nissan CAN data #2278 2021-02-05 11:27:51 -05:00
GitHub set-date Action f5605ca2f0 Update date 2021-02-05 00:43:18 +00:00
Matthew Kennedy 7bd3979595
eliminate idle's custom applyPinState (#2273)
* remove

* not static
2021-02-04 17:04:37 -05:00
GitHub set-date Action 01acbe891b Update date 2021-02-04 00:42:55 +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
rusefillc 449ff446e2 https://github.com/rusefi/rusefi/issues/2274 2021-02-03 11:37:47 -05:00
Matthew Kennedy 9151b0c6c1
fix #2269 (#2272)
* fix #2269

* cleanup
2021-02-03 08:04:22 -06:00
Matthew Kennedy 5ceeac93e9
put vbatt in sensor model (#2261)
* vbatt in sensor model

* sensor name

* vbatt

* s

* oy vei

* a little bit of cleanup

* memory apparently

* cj125 test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-03 07:55:40 -06:00
GitHub set-date Action 60b6c3454c Update date 2021-02-03 00:45:57 +00:00
rusefillc 29db28f077 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 11:06:32 -05:00
rusefillc bd0f9687ac Merge remote-tracking branch 'origin/master' into master 2021-02-02 09:50:37 -05:00
rusefillc 8ff61e9e68 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-02 09:50:20 -05:00
GitHub build-firmware Action eca31a782c Auto-generated configs and docs 2021-02-02 14:17:30 +00:00
Brenton Hewitt 9d9c3c266d
Gm map sensors (#2265)
* GM 2 and 1 Bar Map Sensors

* GM MAP Sensor Selection Options
2021-02-02 08:15:28 -06:00
Matthew Kennedy 56530d2851
hardware ci tweaks (#2266)
* frankenso config

* Revert "frankenso config"

This reverts commit 5bb2375ba2d33ae487273eaa5b7a4f12e8a9cecc.

* add hardware CI flag for proteus

* rename ci job

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-02 08:14:24 -06:00
rusefillc 7eb5816c33 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:44:14 -05:00
GitHub build-firmware Action 927f80886c Auto-generated configs and docs 2021-02-02 04:21:59 +00:00
rusefillc 5a52713be9 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 23:20:04 -05: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
rusefillc 953dabfb26 Merge remote-tracking branch 'origin/master' into master 2021-02-01 22:50:11 -05:00
rusefillc 9a2cc6b3c9 GM/Daewoo 60/2/2/2 Trigger Pattern #2264 2021-02-01 22:49:49 -05:00
GitHub set-date Action be9ea1a9aa Update date 2021-02-02 00:50:32 +00:00
David Holdeman f5fc824afb
Pinouts Improvements (#2263)
* redo pinout generation in ci script

* missing operand

* fix some errors

* copy yaml

* more bugs

* fix bug

* wait for image to load

* set background color for hover in dark theme

* add feature: click on rows to select pin

* change cursor to pointer

* undo accidental submodule bump

* oops
2021-02-01 17:31:36 -06:00
GitHub build-firmware Action 953e892c4a Auto-generated configs and docs 2021-02-01 17:13:13 +00:00
rusefillc 02f08808ef spaces into multiplication 2021-02-01 12:11:00 -05:00
GitHub build-firmware Action 22a9e55c03 Auto-generated configs and docs 2021-02-01 10:41:19 +00:00
rusefillc 98049d326c M62T vanos support #2243 2021-02-01 05:39:25 -05:00
rusefillc fd9dcb3e6e M62T vanos support #2243 2021-02-01 05:31:33 -05:00
rusefillc 6cdfec3014 M62T vanos support #2243 2021-02-01 00:42:53 -05:00
rusefillc 22142ae708 Merge remote-tracking branch 'origin/master' into master 2021-02-01 00:25:43 -05:00
rusefillc 4bb9762e2e extracting runtime state from trigger central 2021-01-31 22:41:17 -05:00
rusefillc 869e4cfc49 vvt/cam events to pass index 2021-01-31 22:24:45 -05:00
rusefillc d116101e1a trigger: exti: callback parameter is now index 2021-01-31 22:10:10 -05:00
rusefillc a411e0d1af code style 2021-01-31 22:02:01 -05:00
rusefillc 73085b3914 code style 2021-01-31 21:45:01 -05:00
GitHub set-date Action 35de086654 Update date 2021-02-01 00:55:27 +00:00
GitHub build-firmware Action dc7b94fe6c Auto-generated configs and docs 2021-01-31 22:21:02 +00:00
Matthew Kennedy 0e70d08a22
Add fallback map table (#2248)
* table

* sd math

* config

* debug channel name

* ptr vs not ptr

* actually use return value

* memory

* less magic
2021-01-31 17:19:06 -05:00
Matthew Kennedy 10c31c2955
-g3 to -g (#2256)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
rusefillc 6ffddb8e3a #2260 2021-01-31 13:30:14 -05:00
rusefillc 5e50b542a8 typo 2021-01-31 12:27:26 -05:00
David Holdeman 96aba27ae4
Connector images, hellen128 mapping (#2255)
* add some connector images

* proteus black23

* add script

* add black23 to script

* remove redirect to send to stdout

* copy img

* black35

* rotate white35

* white35

* forgot last row of black35

* rename

* create in subdir

* hellen72 main

* connectors subdir stupid

* undo submodule update

* remove hash signs

* add hellen128 image

* cd to script dir first

* hellen128 rough draft

* gen hellen128

* fix paths
2021-01-31 08:11:18 -05:00
GitHub set-date Action 948f08866d Update date 2021-01-31 00:55:10 +00:00
Matthew Kennedy 198bdec496
USB reports real STM32 Serial Number (#2254)
* mpu util data

* implementation
2021-01-30 14:51:11 -05:00
GitHub set-date Action a9067fdd75 Update date 2021-01-30 00:52:18 +00:00
rusefi f7b0873995 Miata default config: "22 - AN temp 4" is PA3 not PA6? 2021-01-28 23:30:46 -05:00
rusefi 92b38d21e3 removing weird stuff 2021-01-28 23:16:43 -05:00
rusefillc 3490cdc968 Merge remote-tracking branch 'origin/master' into master 2021-01-28 20:43:39 -05:00
rusefillc 5d1c248e4d No hablo inglés 2021-01-28 20:43:23 -05:00
GitHub set-date Action c56f34adc1 Update date 2021-01-29 00:51:58 +00:00
rusefillc 35a0b12edc IGNORE_FLASH_CONFIGURATION 2021-01-28 19:40:51 -05:00
rusefillc 99dd0b9450 IGNORE_FLASH_CONFIGURATION 2021-01-28 18:03:45 -05:00
rusefillc d388afff34 mre_f4_recovery build 2021-01-28 17:46:49 -05:00
rusefillc 592a481608 Merge remote-tracking branch 'origin/master' into master 2021-01-27 22:58:20 -05:00
rusefillc 6fcd1633c6 Hellen mapping #2235
fixing CLT mis-mapping
2021-01-27 22:58:06 -05:00
Matthew Kennedy 93b034b8e9
Limp handles inj/ign disable (#2245)
* status loop just asks limp mgr

* put logic in limp manager

* don't need that function any more

* bye

* TIL these bits already exist in the configuration
2021-01-27 21:28:53 -05:00
GitHub build-firmware Action 5ca29789ef Auto-generated configs and docs 2021-01-28 01:33:00 +00:00
Matthew Kennedy e0b2802a43
Map fallback logic, TS cleanup (#2247)
* add new field

* UI

* set default

* consume new parameter

* some cleanup while we're at it
2021-01-27 20:31:29 -05:00
GitHub set-date Action 7746ba0492 Update date 2021-01-28 00:54:25 +00:00
GitHub build-firmware Action 5c2ad041ca Auto-generated configs and docs 2021-01-28 00:25:42 +00:00
rusefillc 1109c879a5 poke 2021-01-27 19:23:42 -05:00
rusefillc 156ae07bac limp mode too good for bench testing #2244 2021-01-27 00:02:37 -05:00
GitHub build-firmware Action 5186e853d7 Auto-generated configs and docs 2021-01-27 04:47:00 +00:00
rusefillc bc7f9379e1 naming consistency 2021-01-26 23:45:11 -05:00
GitHub build-firmware Action 0a71cfd3c6 Auto-generated configs and docs 2021-01-27 04:09:36 +00:00
rusefillc bdc2de9ee6 InstantRpm 2021-01-26 23:07:41 -05:00
rusefillc dc80e4e6cb M62T vanos support #2243 2021-01-26 22:54:25 -05:00
GitHub build-firmware Action 7b6e402089 Auto-generated configs and docs 2021-01-27 02:58:44 +00:00
Matthew Kennedy bed6819d8b
normalize configuration grammar (#2240)
* modify grammar

* add missing typedefs

* these typedefs are easier to handle in the parser

* make the existing parser work with the changed format

* grumble grumble jar

* we can deal with this part later

* handle later

* deal with this later
2021-01-26 21:56:47 -05:00
rusefillc e219638f60 M62T vanos support #2243 2021-01-26 21:43:23 -05:00
rusefillc b6f5e5f34d M62T vanos support #2243 2021-01-26 21:16:47 -05:00
GitHub build-firmware Action 7c199746ec Auto-generated configs and docs 2021-01-27 01:49:09 +00:00
rusefillc cf5d110ae8 Merge remote-tracking branch 'origin/master' into master 2021-01-26 20:47:05 -05:00
rusefillc 845de71a54 M62T vanos support #2243 2021-01-26 20:46:50 -05:00
GitHub set-date Action 74b25da160 Update date 2021-01-27 00:51:45 +00:00
GitHub set-date Action 3563c09d4c Update date 2021-01-26 00:53:32 +00:00
rusefillc dc4574ccfa Merge remote-tracking branch 'origin/master' into master 2021-01-25 00:31:02 -05:00
rusefillc e1febfb9e1 fixing port I 2021-01-25 00:29:48 -05:00
GitHub set-date Action f893a3ce78 Update date 2021-01-25 01:28:32 +00:00
rusefillc 30bc6f6d0a Revert "FRANKENSO to use HAL_VSS_USE_PAL"
This reverts commit f2e03e5a
2021-01-24 00:05:17 -05:00
rusefillc f2e03e5ab6 FRANKENSO to use HAL_VSS_USE_PAL 2021-01-23 22:57:13 -05:00
GitHub set-date Action cd65c9f988 Update date 2021-01-24 01:29:28 +00:00
rusefillc 4fe45db61a https://github.com/rusefi/rusefi/pull/2236 by AlexHLinS 2021-01-23 20:08:57 -05:00
rusefillc 1ed7d16d50 knock-knock 2021-01-23 00:00:34 -05:00
rusefillc c069f1c959 fixing port I 2021-01-22 23:31:21 -05:00
rusefillc 97cc6e4e1f Merge remote-tracking branch 'origin/master' into master 2021-01-22 22:58:23 -05:00
GitHub set-date Action e8ab9391af Update date 2021-01-23 01:27:52 +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
rusefillc df64f072ac Merge remote-tracking branch 'origin/master' into master 2021-01-22 12:03:30 -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
rusefillc 4819776810 Merge remote-tracking branch 'origin/master' into master 2021-01-22 02:09:51 -05:00
rusefillc 4ed3fd4a71 Hellen72 2021-01-22 02:09:28 -05:00
GitHub build-firmware Action d511985ff8 Auto-generated configs and docs 2021-01-22 07:04:05 +00:00
rusefillc 6bc882f30a Hellen72 2021-01-22 02:02:16 -05:00
GitHub build-firmware Action aa477f2bcd Auto-generated configs and docs 2021-01-22 06:58:13 +00:00
rusefillc 2060dd6cfe knock9 2021-01-22 01:54:20 -05:00
rusefillc edd89c34f9 HELLEN_NB2 2021-01-22 01:47:01 -05:00
rusefillc aaa9f2a608 Hellen needs text representation of GPIOI
H7 dreams are asking for J and K
2021-01-22 01:25:05 -05:00
GitHub set-date Action 1c410364c3 Update date 2021-01-22 01:28:07 +00:00
andreika-git dc40689a57
hellen72 trigger PAL mode (#2233)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-21 10:22:29 -05:00
GitHub set-date Action 978a025772 Update date 2021-01-21 01:29:32 +00:00
GitHub set-date Action e46ff8c4b5 Update date 2021-01-20 01:30:08 +00:00
Matthew Kennedy fd02da6670
update wideband firmware image (#2232) 2021-01-19 16:51:05 -05:00
GitHub build-firmware Action 2b53721016 Auto-generated configs and docs 2021-01-19 21:13:15 +00:00
rusefillc a91b9a676e viva v12 2021-01-19 16:09:34 -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
rusefillc 20f05fd450 ### 2021 Printing Ink Day 2021-01-19 15:19:31 -05:00
GitHub build-firmware Action 174edaff6e Auto-generated configs and docs 2021-01-19 04:05:31 +00:00
rusefi 51c8e77790 SD card debug field 2021-01-18 23:03:24 -05:00
GitHub set-date Action 797003326a Update date 2021-01-19 01:28:19 +00:00
GitHub build-firmware Action 5b6614b65a Auto-generated configs and docs 2021-01-19 00:30:19 +00:00
rusefi baff5d745e 10k docs 2021-01-18 19:18:24 -05:00
rusefi e7dc807456 Merge remote-tracking branch 'origin/master' 2021-01-18 19:01:30 -05:00
rusefi 0dc0ae19be OMG we are not using java yet?! 2021-01-18 19:00:53 -05:00
GitHub build-firmware Action b7016f97b6 Auto-generated configs and docs 2021-01-18 23:56:32 +00:00
rusefi bb1ae49534 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:54:18 -05:00
rusefi 10e980e293 Revert "Save more space in the angle cache (#2228)"
This reverts commit c7ca1b2e
2021-01-18 18:53:00 -05:00
GitHub build-firmware Action ba8cc12f3c Auto-generated configs and docs 2021-01-18 23:50:26 +00:00
rusefi d9ee2f8b9f Merge remote-tracking branch 'origin/master' 2021-01-18 18:44:43 -05:00
rusefi 94ae9fdef2 https://refactoring.com/catalog/replaceMagicLiteral.html 2021-01-18 18:44:31 -05:00
Matthew Kennedy c7ca1b2ef4
Save more space in the angle cache (#2228)
* store event angles in a scaled field

* tests

* comment
2021-01-18 18:31:06 -05:00
GitHub build-firmware Action ee2c2782c1 Auto-generated configs and docs 2021-01-18 12:05:53 +00:00
Matthew Kennedy fa30efbc94
boost fixes (#2230)
* fix boost pin reinit

* call boost from periodic slow

* ui

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-18 07:04:14 -05:00
GitHub set-date Action 84cacc86bd Update date 2021-01-18 01:26:13 +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
Matthew Kennedy 6a1b9db952
save 1440 bytes (#2226) 2021-01-16 21:22:30 -05:00
GitHub set-date Action 99fcf11cc9 Update date 2021-01-17 01:27:50 +00:00
Matthew Kennedy 60f70a3721
clean up some includes (#2227)
* cleanup

* make c happy
2021-01-16 09:45:45 -05:00
GitHub set-date Action 577fc65b89 Update date 2021-01-16 01:27:41 +00:00
rusefillc e3e517f9a2 journey of self discovery 2021-01-14 23:34:10 -05:00
rusefillc ea816c3536 DBGMCU->IDCODE 2021-01-14 23:19:54 -05:00
rusefillc 717e36a7a4 todo: reduce magic constants 2021-01-14 22:34:06 -05:00
rusefillc abd85cf8dc Merge remote-tracking branch 'origin/master' into master 2021-01-14 22:20:24 -05:00
Matthew Kennedy bdacda558c
fix instant rpm (#2180)
* consumers

* impl

* instant rpm in idle timing
2021-01-14 20:45:55 -05:00
GitHub set-date Action b16704c9f9 Update date 2021-01-15 01:26:19 +00:00
Matthew Kennedy 2e557dbcf6
make fuel math look more like ign math (#2214) 2021-01-14 19:18:30 -05:00
GitHub set-date Action 15f92b42c9 Update date 2021-01-14 01:29:36 +00:00
GitHub set-date Action 8fcc864db9 Update date 2021-01-13 01:21:01 +00:00
rusefillc 1eee754118 Merge remote-tracking branch 'origin/master' into master 2021-01-12 15:54:06 -05:00
rusefillc aec0e5c5aa Main Relay bench test button 2021-01-11 20:39:47 -05:00
GitHub set-date Action 80a2c1ec1a Update date 2021-01-12 01:14:10 +00:00
rusefillc e1668402f6 cmd_test_main_relay
helping build
2021-01-11 20:01:20 -05:00
rusefillc d97501b601 todo EFI_MAIN_RELAY_CONTROL 2021-01-11 19:48:38 -05:00
rusefillc 1431baefbc cmd_test_main_relay 2021-01-11 19:37:50 -05:00
rusefillc 015becd751 Merge remote-tracking branch 'origin/master' into master 2021-01-11 17:11:03 -05:00
rusefillc 3acdbef923 probably false alarm, but this area needs a clean-up 2021-01-11 14:17:35 -05:00
Andrey G 25560b85c2
Supress annoing unused warnings (#2216) 2021-01-11 08:49:20 -05:00
Matthew Kennedy a5266cd6ef
part of 2217 which may fix it alone (#2220) 2021-01-11 08:01:54 -05:00
Matthew Kennedy 604b0cd527
templated interpolate2d (#2221)
* template table2d

* assertions

* oops

* tests

* test bins too

* more assert

* format

* explicitly handle and test NaN

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 08:00:15 -05:00
rusefi 04e791d99c nb2 and proteus usability 2021-01-11 01:17:03 -05:00
Matthew Kennedy 868f0d47ac
Enable idle timing/ve tables based on idle phase logic (#2213)
* add helper

* advance

* ve

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-11 00:54:37 -05:00
rusefillc d94c07935a hellen72 2021-01-10 23:58:23 -05:00
rusefillc 7e5b9903b7 cmd_test_main_relay 2021-01-10 23:58:09 -05:00
GitHub build-firmware Action e581834582 Auto-generated configs and docs 2021-01-11 04:48:37 +00:00
rusefillc 4416d1c7dc cmd_test_main_relay 2021-01-10 23:46:50 -05:00
GitHub build-firmware Action b2f715ef32 Auto-generated configs and docs 2021-01-11 01:36:06 +00:00
rusefillc 494b6caf3b cmd_test_main_relay 2021-01-10 20:30:08 -05:00
rusefillc eb5495f1fe Merge remote-tracking branch 'origin/master' into master 2021-01-10 20:25:16 -05:00
GitHub set-date Action f42097741d Update date 2021-01-11 01:11:57 +00:00
rusefi f1f6c329a0 cmd_test_main_relay 2021-01-10 20:11:46 -05:00
rusefi 6e29730b36 vvt knock 2021-01-10 18:57:27 -05:00
rusefillc 5b84eaaf94 Migrate to newer ChibiOS #710 2021-01-10 12:30:10 -05:00
GitHub build-firmware Action 8988b908ed Auto-generated configs and docs 2021-01-10 15:16:52 +00:00
shadowm60 8d1610a7a3
Vss filter configuration field and param (#2210)
Prep work to introduce biquad filter on vss input to reduce noise on logs and for dynoview as well
2021-01-10 10:14:50 -05:00
GitHub build-firmware Action 8960c7a0b5 Auto-generated configs and docs 2021-01-10 13:14:51 +00:00
Matthew Kennedy 571122d461
Start support for multi-bank closed loop fueling (#2184)
* cfg

* cell

* N banks

* tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-10 08:10:49 -05:00
GitHub set-date Action 37b73b14a6 Update date 2021-01-10 01:13:38 +00:00
GitHub build-firmware Action 2583b040a2 Auto-generated configs and docs 2021-01-10 01:08:07 +00:00
rusefillc 1cbb0c5680 Revert "Revert "rpm rate of change (#2159)""
This reverts commit 538b3ac6
2021-01-09 20:06:19 -05:00
GitHub build-firmware Action 750d80bf83 Auto-generated configs and docs 2021-01-10 00:49:08 +00:00
rusefillc 538b3ac649 Revert "rpm rate of change (#2159)"
This reverts commit f73b7123

#2207 yes, this makes no sense but just to confirm
2021-01-09 19:45:07 -05:00
rusefillc 9dfa5e9670 cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 19:15:50 -05:00
rusefillc 880b310ec9 cherry pick from https://github.com/dron0gus/rusefi/tree/ChibiOS-20 2021-01-09 18:55:58 -05:00
rusefillc c3812253e2 Migrate to newer ChibiOS #710 2021-01-09 18:34:45 -05:00
rusefillc 500703077b Migrate to newer ChibiOS #710 2021-01-09 18:10:56 -05:00
rusefillc d5b798e2a2 Migrate to newer ChibiOS #710 2021-01-09 18:05:32 -05:00
rusefillc 32bcfc37b2 Migrate to newer ChibiOS #710 2021-01-09 18:03:32 -05:00
rusefillc 4f49c73a45 Lcd fix (I hope) #2211
there is still an issue :(
2021-01-09 17:30:39 -05:00
Andrey G 7803968621
Lcd fix (I hope) (#2211)
* LCD: check if settings are valid on each access

* Lada Kalina: remove duplicate code

All LCD pins are set to GPIO_UNASSIGNED in disableLCD()

* Remove duplicate code

* We still need to know when invalid gpio is used...

This reverts commit c17775231a.
2021-01-09 17:16:10 -05:00
Matthew Kennedy 021dc9d185
fix (#2209) 2021-01-09 16:51:24 -05:00
rusefillc c17775231a dron0gus please help 2021-01-09 15:31:09 -05:00
Matthew Kennedy 8d5495111e
Fix master fatal error (#2206)
* print the fatal that caused test failure

* fix the error
2021-01-09 15:13:43 -05:00
GitHub build-firmware Action 4500e1dc71 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
David Holdeman 52e88ade01
Add TCU Solenoid debug fields (#2202)
* try adding debug fields

* oops

* include

* add labels

* add enum

* add more solenoid

* whoops

* ifdef
2021-01-09 14:12:45 -05:00
GitHub build-firmware Action 7996099627 Auto-generated configs and docs 2021-01-09 16:25:47 +00:00
rusefillc 4a23aa4dbc Hellen 2021-01-09 11:24:13 -05:00
GitHub set-date Action 51bf935500 Update date 2021-01-09 01:09:57 +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
Matthew Kennedy d0c71d758b
update biquad (#2201) 2021-01-08 19:48:56 -05:00
GitHub build-firmware Action 99430a2508 Auto-generated configs and docs 2021-01-08 18:43:44 +00:00
rusefillc 03777db548 poke 2021-01-08 13:39:53 -05:00
rusefillc 92615c7886 hellen72 2021-01-08 13:22:59 -05:00
GitHub build-firmware Action c0626f3012 Auto-generated configs and docs 2021-01-08 18:11:13 +00:00
GitHub build-firmware Action 7d63cf4e62 Auto-generated configs and docs 2021-01-08 17:51:57 +00:00
andreika-git 11c358f65c
Hellen72 config (#2200)
* Hellen72 config

* Hellen72 files

Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-01-08 12:50:13 -05:00
Matthew Kennedy 44b5427813
better error checking of thermistor config (#2199)
* add bounds check on result

* validate thermistor config

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 20:37:15 -05:00
GitHub set-date Action 0b601bb4a6 Update date 2021-01-08 01:09:32 +00:00
rusefillc 3e897c6fd0 Merge remote-tracking branch 'origin/master' into master 2021-01-07 10:17:16 -05:00
rusefillc 8d7e391845 poke 2021-01-07 08:59:33 -05:00
GitHub build-firmware Action 27e944f2bf Auto-generated configs and docs 2021-01-07 13:25:37 +00:00
Matthew Kennedy 5f1a13aed4
Fix fan bench (#2198)
* fix fan, complain if missing bench mode

* more complaining about unexpected codes

* unused
2021-01-07 08:23:31 -05:00
GitHub build-firmware Action d0090cb5d8 Auto-generated configs and docs 2021-01-07 13:08:14 +00:00
Matthew Kennedy 7a90692187
Idle timing uses phase logic, remove falloff (#2169)
* use phase computation

* move & simplify implementation

* test

* bad merge

* initialize

* wonderful changelog

* now unused parameter

* put back deadzone

* ui

* test deadzone

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-07 08:06:36 -05:00
rusefillc 5f17896227 2021 Orthodox Christmas Day 2021-01-07 05:48:22 -05:00
rusefillc 90743a4c7d 2021 Orthodox Christmas Day 2021-01-07 04:06:02 -05:00
GitHub set-date Action d0cee36c91 Update date 2021-01-07 01:10:03 +00:00
rusefillc ff765f5f5d knock v12 2021-01-06 19:42:07 -05: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 034412ef53 Auto-generated configs and docs 2021-01-06 19:42:58 +00:00