Commit Graph

2566 Commits

Author SHA1 Message Date
Matthew Kennedy 6fe0cadfc0
allow disabling fast ADC (#2406)
* mostly guard against no fast adc

* disable on h7

* guard more

* guard adc init

* you can't do that in c++

* we need that

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 07:30:19 -05:00
GitHub build-firmware Action 306e4a230f Auto-generated configs and docs 2021-02-28 01:16:53 +00:00
GitHub build-firmware Action 13b234d97f Auto-generated configs and docs 2021-02-26 22:40:02 +00:00
Matthew Kennedy 520fc2b4ec
H7 flash (#2408)
* enable

* defines and mpu util

* implement flash for h7

* format
2021-02-26 17:38:17 -05:00
GitHub build-firmware Action af5cefae43 Auto-generated configs and docs 2021-02-26 19:46:59 +00:00
GitHub build-firmware Action 713850beda Auto-generated configs and docs 2021-02-26 13:01:20 +00:00
GitHub build-firmware Action c03bf4297c Auto-generated configs and docs 2021-02-25 22:11:12 +00:00
GitHub build-firmware Action 39d9f55d01 Auto-generated configs and docs 2021-02-25 18:39:40 +00:00
GitHub build-firmware Action 5a990fb55d Auto-generated configs and docs 2021-02-25 06:39:30 +00:00
Matthew Kennedy d7adbe5fef
maybe hook up sdmmc (#2398)
* maybe hook up sdmmc

* the complier didn't like that very much

* mcuconf

* guard properly

* fix

* duh

* omg that's an extra close paren

* explicitly set which device fatfs should use

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-25 01:37:44 -05:00
GitHub build-firmware Action 2e4067c210 Auto-generated configs and docs 2021-02-25 02:57:52 +00:00
Matthew Kennedy 7b33ebfa9c
build (#2399) 2021-02-24 21:55:51 -05:00
GitHub build-firmware Action e93d6855fb Auto-generated configs and docs 2021-02-24 20:04:17 +00:00
GitHub build-firmware Action 4e7e40ae00 Auto-generated configs and docs 2021-02-24 19:09:56 +00:00
Matthew Kennedy 4fe0ceec61
deduplication in halconf (#2377)
* rusefi_halconf

* h7 gpt

* don't redefine that

* maybe this was necessary

* format

* no usb in cypress

* flags for bl

* cypress

* maybe bootloader

* no smart build for cypress/kinetis

* no smart build

* no really, disable smart build

* don't need to clean that env var

* cypress

* format
2021-02-24 14:08:03 -05:00
GitHub build-firmware Action 2bcdbf9394 Auto-generated configs and docs 2021-02-24 13:17:30 +00:00
Matthew Kennedy 392a7539be
enable H7 spi (#2391)
* enable features

* move MMC SPI config to port

* correct word length

* related cleanup

* doesn't need nocache

* include

* enable that
2021-02-24 08:14:21 -05:00
GitHub build-firmware Action deb285825e Auto-generated configs and docs 2021-02-24 03:57:41 +00:00
GitHub build-firmware Action eade11deb5 Auto-generated configs and docs 2021-02-24 00:20:19 +00:00
GitHub build-firmware Action e7ef64ca4b Auto-generated configs and docs 2021-02-24 00:13:13 +00:00
GitHub build-firmware Action 0d853dba4a Auto-generated configs and docs 2021-02-23 21:59:18 +00:00
GitHub build-firmware Action fadda9fd62 Auto-generated configs and docs 2021-02-22 21:54:33 +00:00
GitHub build-firmware Action 50f2ffbc1e Auto-generated configs and docs 2021-02-22 21:25:20 +00:00
David Holdeman 21e8aa89e2
Fix mre pinout (#2384)
* move pins over

* rearrange
2021-02-22 16:23:08 -05:00
GitHub build-firmware Action bebcbcc182 Auto-generated configs and docs 2021-02-22 21:03:46 +00:00
GitHub build-firmware Action b6e3df01b8 Auto-generated configs and docs 2021-02-21 16:03:51 +00:00
GitHub build-firmware Action 78690eddfa Auto-generated configs and docs 2021-02-20 07:13:41 +00:00
GitHub build-firmware Action 9e1ac5d7ed Auto-generated configs and docs 2021-02-20 05:49:05 +00:00
rusefillc 16f77d39a5 Merge remote-tracking branch 'origin/master' into master 2021-02-20 00:46:27 -05:00
rusefillc 6c9a5818b7 hellen 2021-02-20 00:45:48 -05:00
GitHub build-firmware Action 28fb127996 Auto-generated configs and docs 2021-02-20 03:26:09 +00:00
rusefillc d5729874b4 a lot of Hellen 2021-02-19 22:23:58 -05:00
GitHub build-firmware Action 0486dbf13e Auto-generated configs and docs 2021-02-20 01:50:25 +00:00
GitHub build-firmware Action 3d038877ea Auto-generated configs and docs 2021-02-19 22:52:43 +00:00
rusefillc 15e935063e Merge remote-tracking branch 'origin/master' into master 2021-02-19 17:50:34 -05:00
rusefillc 54e4e78feb hellen64 2021-02-19 17:40:32 -05:00
GitHub build-firmware Action f5586e0791 Auto-generated configs and docs 2021-02-19 22:03:28 +00:00
rusefillc 476921dfbf Merge remote-tracking branch 'origin/master' into master 2021-02-19 17:00:44 -05:00
rusefillc ec7902bd51 let's start somewhere! 2021-02-19 17:00:30 -05:00
David Holdeman 7f5c32f624
Add missing MRE pins, fix bug (#2380)
* get type for table with multi-id pin

* add missing pins

* add missing type styles

* missing colon

* fix type

* add missing color

* use whole type
2021-02-19 16:59:57 -05:00
GitHub build-firmware Action 0c216bf3e3 Auto-generated configs and docs 2021-02-19 13:00:43 +00:00
GitHub build-firmware Action 4b66be4db3 Auto-generated configs and docs 2021-02-19 12:42:54 +00:00
GitHub build-firmware Action e0e7363473 Auto-generated configs and docs 2021-02-18 23:20:11 +00:00
Andrey G 12b7b737dc
Subaru build (#2376)
* Subaru EG33: gen_config.sh update

* gen_config and gen_enum_to_string for subaru_eg33 board too

* Subaru eg33: add to buildables

* Subaru: fix build

* Subaru eg33: fix build and cleanup

* subaru eg33: add compile script

* github: subaru_eg33: call special  gen_config.sh
2021-02-18 18:18:13 -05:00
GitHub build-firmware Action f020d7ab09 Auto-generated configs and docs 2021-02-18 22:36:03 +00:00
rusefillc 47a06394eb Merge remote-tracking branch 'origin/master' into master 2021-02-18 17:33:55 -05:00
rusefillc f750f65d4e would this give me h72 SD? 2021-02-18 17:31:03 -05:00
GitHub build-firmware Action 365a5c5667 Auto-generated configs and docs 2021-02-18 22:09:39 +00:00
rusefillc c836f766af would this give me h72 SD? 2021-02-18 17:04:51 -05:00
GitHub build-firmware Action 8e997a3369 Auto-generated configs and docs 2021-02-18 21:18:58 +00:00
rusefillc 384113a984 would this give me h72 SD? 2021-02-18 16:16:45 -05:00
GitHub build-firmware Action 62c1c3b054 Auto-generated configs and docs 2021-02-18 20:06:38 +00:00
Matthew Kennedy 90ef4c93ad
merge mcuconf for f4/f7 (#2375)
* merge for f4/f7

* more

* include efifeatures

* s

* no TS serial on f7 for now

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-18 15:04:32 -05:00
GitHub build-firmware Action e984b479e2 Auto-generated configs and docs 2021-02-18 05:13:23 +00:00
GitHub build-firmware Action d9cc527e05 Auto-generated configs and docs 2021-02-18 04:52:54 +00:00
GitHub build-firmware Action 8116cc8c98 Auto-generated configs and docs 2021-02-18 04:34:52 +00:00
GitHub build-firmware Action d01db86384 Auto-generated configs and docs 2021-02-18 01:27:52 +00:00
GitHub build-firmware Action 6281781d14 Auto-generated configs and docs 2021-02-18 00:44:07 +00:00
GitHub build-firmware Action c761fd0ebb Auto-generated configs and docs 2021-02-18 00:31:12 +00:00
rusefillc 17ce08d53b h72 2021-02-17 19:25:49 -05:00
GitHub build-firmware Action fb0be82bea Auto-generated configs and docs 2021-02-17 22:46:18 +00:00
andreika-git 443df01eea
Hellen72 more defaults (#2369)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-02-17 11:20:03 -05:00
rusefi 3d69adb2e2 https://github.com/andreika-git/hellen-one/issues/3 2021-02-17 10:18:46 -05:00
rusefi 3af540ad27 https://github.com/andreika-git/hellen-one/issues/3 2021-02-17 10:16:21 -05:00
rusefi 5d914002f1 h72 might require this 2021-02-17 09:50:28 -05:00
rusefi 3dffa04ee7 h72 wants control 2021-02-16 16:08:45 -05:00
rusefillc 7b55648779 USB mass storage tweaking #2352 2021-02-16 14:59:54 -05:00
Matthew Kennedy 878794f9cf
properly put buffers in no-cache regions (#2357)
* configure for no cache

* this doesn't need a setting

* now we don't need invalidate

* reorder and comment

* mmc

* sw knock
2021-02-15 17:39:11 -05:00
GitHub build-firmware Action 852a93be92 Auto-generated configs and docs 2021-02-15 03:38:10 +00:00
David Holdeman aae5c61d37
MRE connectors (#2354)
* Add MRE connector images

* fix name

* missing colon
2021-02-14 20:56:25 -05:00
Matthew Kennedy 187c4d00f7
USB mass storage tweaking (#2352)
* disable TS in case of USB MSD

* housekeeping while we're here

* enable on MRE

* changelog
2021-02-14 15:03:07 -05:00
Matthew Kennedy 89391919dc
automatic switch between internal and MSD SD card (#2349)
* auto enable usb msd

* guard and turn on for proteus
2021-02-14 08:10:39 -05:00
Andrey G f1785fee11
Config cleanups (#2347)
* Remove duplication

* Ports: STM32F7: we want PAL_USE_CALLBACKS for F7 too
2021-02-13 18:45:33 -05:00
Matthew Kennedy 3ff54eb1c0
cleanup (#2343) 2021-02-13 14:23:39 -05:00
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
rusefillc d87a38541e M62T vanos support #2243 2021-02-10 21:44:21 -05:00
GitHub build-firmware Action 5e96883b15 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
Matthew Kennedy dade25ef34
move chconf/mcuconf/halconf in to hw_ports (#2321)
* move f4 config files

* don't need this

* f7

* f7

* h7

* this was duplicated

* turn off smart build

* loader too

* update prometheus paths

* bootloader should include confdir

* fix the flash size while we're at it

* move chconf_common

* use wait

* normalize board.mk

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-10 19:38:24 -05:00
rusefi 6f065274e4 aux pid is now VVT 2021-02-10 12:41:38 -05: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
rusefillc f65df4f24f M62T vanos support #2243
still trying to fix Kinetis
2021-02-09 00:25:02 -05: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
rusefillc d5aa951a49 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc 8e74af3e86 M62T vanos support #2243 2021-02-08 22:48:17 -05: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
Matthew Kennedy 2c465247e9
stm32h7 usb (#2319)
* enable

* enable

* serial number

* usb defines

* buffer size

* more stuff we can enable
2021-02-08 16:24:49 -06:00
GitHub build-firmware Action e83636cd83 Auto-generated configs and docs 2021-02-08 21:41:57 +00:00
Matthew Kennedy 435f8f7e2b
h7 flash, guard against no CAN (#2317)
* h7 flash

* guard some other stuff

* I guess it just builds now?

* maybe ci too
2021-02-08 16:24:38 -05:00
rusefi a349bf1ca8 M62T vanos support #2243 2021-02-08 16:16:26 -05:00
Matthew Kennedy 3debd2229b
move board.h for f7/h7 (#2316)
* f7 board.h

* h7
2021-02-08 15:46:48 -05:00
Matthew Kennedy ad07166e9d
move f4 board.h (#2313)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 15:29:07 -05:00
GitHub build-firmware Action d57b4b48b5 Auto-generated configs and docs 2021-02-08 19:13:25 +00:00
Matthew Kennedy b995e7bcaa
include board.c from hw_ports.mk (#2311)
* set mcu type in hw_ports

* move f4 linker script

* move f7 linker script

* don't set default linker file in makefiles

* extra line

* prometheus actually didn't depend on anything special for f469

* dead line

* h7

* dead

* move board.c

* set explicit cpu type for simulator

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 07:52:31 -06:00
Matthew Kennedy 423acd384b
simplify MCU selection (#2308)
* set mcu type in hw_ports

* move f4 linker script

* move f7 linker script

* don't set default linker file in makefiles

* extra line

* prometheus actually didn't depend on anything special for f469

* dead line

* h7

* dead
2021-02-08 02:11:44 -05:00
Matthew Kennedy 6a3cf83d02
goodbye f746 (#2309) 2021-02-07 07:52:57 -06: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
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 0ffa4c6e3a H7 compilation #2284 2021-02-06 00:28:38 -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 e4a85acb3b H7 compilation #2284 2021-02-05 23:37:18 -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 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 8ba7e62142 hellen72b 2021-02-05 19:20:04 -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
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
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
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
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
Matthew Kennedy 10c31c2955
-g3 to -g (#2256)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -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
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 5d1c248e4d No hablo inglés 2021-01-28 20:43:23 -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 6fcd1633c6 Hellen mapping #2235
fixing CLT mis-mapping
2021-01-27 22:58:06 -05: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
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
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 97cc6e4e1f Merge remote-tracking branch 'origin/master' into master 2021-01-22 22:58:23 -05: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 4ed3fd4a71 Hellen72 2021-01-22 02:09:28 -05:00
rusefillc 6bc882f30a Hellen72 2021-01-22 02:02:16 -05: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
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
Andrey G 25560b85c2
Supress annoing unused warnings (#2216) 2021-01-11 08:49:20 -05:00
rusefi 04e791d99c nb2 and proteus usability 2021-01-11 01:17:03 -05:00
rusefi 6e29730b36 vvt knock 2021-01-10 18:57:27 -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
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
GitHub build-firmware Action 4500e1dc71 Auto-generated configs and docs 2021-01-09 19:15:01 +00:00
rusefillc 4a23aa4dbc Hellen 2021-01-09 11:24:13 -05: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
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
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
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 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 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
rusefillc 64489ae63d knock knock v12 2021-01-06 12:48:32 -05: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
rusefi a935bf97f4 progress 2021-01-03 17:58:00 -05: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
rusefi a5aa3638b3 GPIOG_1 is not a proteus control pin, assuming a typo 2021-01-01 18:20:49 -05:00
rusefi d4a56de9ab docs 2021-01-01 18:19:52 -05: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
rusefi c86b576500 F7 HW CI 2020-12-28 23:26:51 -05:00
rusefi b355a6f55c fixing QC config 2020-12-28 19:19:29 -05:00
rusefillc f28f1e0f90 fine-grained check modes 2020-12-27 17:41:28 -05:00
rusefi 0622917e53 xmas tree 2020-12-26 21:25:19 -05:00
rusefi 75d141f2ad xmas tree 2020-12-26 18:59:30 -05:00
rusefi 2fac4cd732 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
rusefi 81e7da7e2b proteusBoardTest 2020-12-26 13:41:33 -05:00
rusefillc 043d82ac3e https://github.com/rusefi/rusefi/wiki/HOWTO-Miata-NB2-on-Proteus 2020-12-26 11:42:09 -05:00
rusefillc 5f285d2425 proteusBoardTest 2020-12-26 10:50:18 -05:00
rusefillc fe1d3911fe proteusBoardTest 2020-12-26 10:46:45 -05:00
rusefillc 1ebce57721 proteusBoardTest 2020-12-26 10:41:33 -05:00
rusefi af6ad0757e PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05: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
Matthew Kennedy 55ebe223a7
Partition configs by board type (#2106)
* remove old flag

* flags

* reorder switch

* oops
2020-12-22 21:54:40 -05:00
rusefi 6032d0a26f Proteus is compiled without VSS feature #2122 2020-12-22 21:28:51 -05:00
rusefi d6b745e1c0 Proteus is compiled without VSS feature #2122 2020-12-22 20:50:01 -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 ce4ab4d09c fixing master PROTEUS_DEFAULTS 2020-12-22 17:13: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
rusefillc c0cbc2a31f VR_HW_CHECK_MODE 2020-12-21 13:33:09 -05:00
rusefi f3b71d0ab8 VR_HW_CHECK_MODE 2020-12-21 12:30:15 -05:00
rusefillc 038eb00207 something ? HIP / SPI pin conflict does not fail gracefully #2108
maybe this is just testing framework bug?
2020-12-20 17:17:03 -05:00
rusefillc fbab35bd56 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-20 12:51:20 -05:00
rusefi 3bafda26cd proteus_f4_hardware_QC_special_build 2020-12-20 11:17:38 -05:00
rusefillc 0fe6bfad13 proteus_f4_hardware_QC_special_build 2020-12-20 09:14:14 -05:00
rusefillc afaef9ce8f proteus_f4_hardware_QC_special_build 2020-12-20 09:11:36 -05:00
rusefi 0213bfc606 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 17:06:42 -05:00
rusefillc 265ef38cb5 something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 16:07:21 -05:00
rusefillc dff387929a something ? HIP / SPI pin conflict does not fail gracefully #2108 2020-12-19 15:18:23 -05:00
CrazyStriker 5f0fd4ed0a
Nb proteus config (#2104)
* Added proteus config and started working on it

* Update engine config

* corrected board config

* Completed pin attribution in proteus hardcoded nb2 miata

* Removed problematic call

* Corrected the blocking value

* Removed blocking equal sign

* Reworked indentation
2020-12-18 15:53:57 -05: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
rusefillc df5b21ceb5 NB2 MRE closer to reality 2020-12-17 19:03:38 -05:00
Matthew Kennedy 1838beadfa
only build in config for the correct board (#2088)
* only build in config for the correct board

* undo

* undo

* undo

* only touch proteus config

* include configs in tests
2020-12-17 17:12:24 -05:00
rusefillc 8f2116921c trigger and start button pins not displayed by "pins" command fix #2084 2020-12-16 22:24:19 -05:00
rusefillc 9ab4c2af5b hello new wiki 2020-12-16 19:58:15 -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
Matthew Kennedy d62618c5f8
prototype wideband firmware update (#2074)
* add submodule for firmware

* ts

* add updater

* add bench_test

* don't collide idx

* feature flag

* send acks

* fix timeout logic

* ui

* do it on the bench thread

* guard

* guard

* only do twice

* guard

* bump version

* update

* file name

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
GitHub build-firmware Action 7c2f8707f2 Auto-generated configs and docs 2020-12-15 05:19:06 +00:00