Commit Graph

700 Commits

Author SHA1 Message Date
GitHub build-firmware Action 918b7e7b23 Auto-generated configs and docs 2021-05-05 14:04:51 +00:00
GitHub build-firmware Action 649e3cd48f Auto-generated configs and docs 2021-05-04 14:14:18 +00:00
Andrey G b74d17cee8
Subaru board update (#2616)
* board: subaru_eg33: move to connectors yaml

* engine: subaru EG33: TPS is not inverted

* board: subaru_eg33: fix gen_config script

* board: subaru_eg33: update default settings
2021-05-03 09:32:14 -04:00
rusefillc 38a7448107 2021 is the year of Hellen 2021-05-02 23:45:39 -04:00
rusefillc d8648f5d6c 2021 is the year of Hellen 2021-05-02 18:52:33 -04:00
GitHub build-firmware Action 004fb770e7 Auto-generated configs and docs 2021-05-02 22:20:31 +00:00
GitHub build-firmware Action 32621b6327 Auto-generated configs and docs 2021-04-30 15:03:28 +00:00
GitHub build-firmware Action 625b1ba778 Auto-generated configs and docs 2021-04-30 05:39:53 +00:00
GitHub build-firmware Action bcb71310f0 Auto-generated configs and docs 2021-04-30 05:10:36 +00:00
Andrey G 6d6dca8d07
Subaru board update (#2600)
* board: subaru eg33: linker script: stack, bss and heap to ram0

* Board: Subaru EG33: clean-up configs

* board-subaru-eg33: fix board config

* engine: subaru: eg33: fixes
2021-04-28 20:25:33 -04:00
GitHub build-firmware Action 34a904386c Auto-generated configs and docs 2021-04-26 21:59:44 +00:00
GitHub build-firmware Action d79483e694 Auto-generated configs and docs 2021-04-26 03:12:08 +00:00
GitHub build-firmware Action 9e47f99f99 Auto-generated configs and docs 2021-04-26 01:46:15 +00:00
GitHub build-firmware Action 99dfe81a64 Auto-generated configs and docs 2021-04-25 13:24:53 +00:00
GitHub build-firmware Action 221f2a0f27 Auto-generated configs and docs 2021-04-20 03:56:24 +00:00
GitHub build-firmware Action 389f163c56 Auto-generated configs and docs 2021-04-20 03:35:59 +00:00
rusefillc 5aca0dec1a hellen64 scripts and pinout #2565 2021-04-18 10:42:50 -04:00
GitHub build-firmware Action 3b508985ef Auto-generated configs and docs 2021-04-18 13:37:46 +00:00
GitHub build-firmware Action 37c2495f9f Auto-generated configs and docs 2021-04-15 05:23:00 +00:00
GitHub build-firmware Action dc873bafc1 Auto-generated configs and docs 2021-04-12 18:12:58 +00:00
GitHub build-firmware Action 7407b99657 Auto-generated configs and docs 2021-04-12 12:25:48 +00:00
rusefillc 66e616c329 https://github.com/rusefi/hellen72/issues/25 2021-04-10 23:22:25 -04:00
rusefillc 2032e5fdb8 Kawasaki KX450F trigger wheel #2538 2021-04-08 22:16:14 -04:00
GitHub build-firmware Action c8aed610ba Auto-generated configs and docs 2021-04-09 02:10:22 +00:00
GitHub build-firmware Action 8b4ebaf4a9 Auto-generated configs and docs 2021-04-07 20:46:09 +00:00
GitHub build-firmware Action 521164d57a Auto-generated configs and docs 2021-04-05 19:58:54 +00:00
GitHub build-firmware Action eb65a49b3b Auto-generated configs and docs 2021-04-05 00:01:45 +00:00
Andrey G fa840a7593
hip9011 and friends (#2527)
* engine math: extrant getFiringOrderTable for reuse

* engine math: getNextFiringCylinderId helper

* introduce knock_logic: first member is getCylinderKnockBank()

moved from software_knock.cpp

* hip9011: support two inputs/banks

* fix CI

* Board Subaru EG33: populated with TPIC8101 with Advanced mode

* hip9011: test communication in advanced mode

* hip9011: handle situation when chip is already in advanced mode

* Board Subaru EG33: cylinder to knock bank mapping

* hip9011: count spi transactions in advansed mode too

* hip9011: reset incalid responce counter after chip initialization

* hip9011: make debug output more structured
2021-04-04 18:13:21 -04:00
GitHub build-firmware Action e12ef51bb5 Auto-generated configs and docs 2021-04-04 00:31:15 +00:00
GitHub build-firmware Action d2df6f9675 Auto-generated configs and docs 2021-03-29 13:06:35 +00:00
Matthew Kennedy f0cf4f38ff
fix multi-serial-port insanity (#2476)
* carve out UART specific

* implement channel

* config cleanup

* use new config

* bootloader

* dead code

* s

* h7 inherits f7

* oops

* ok now it's right

* tests

* cleanup

* call setup

* put that in its own file

* cleanup

* format

* guard

* not needed

* improve guarding

* portable

* allow override of uart mode

* fixes for bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-28 09:06:36 -04:00
GitHub build-firmware Action b5dff633ea Auto-generated configs and docs 2021-03-28 12:41:23 +00:00
GitHub build-firmware Action 5d84af0c35 Auto-generated configs and docs 2021-03-28 12:09:36 +00:00
GitHub build-firmware Action 9b6fdc823c Auto-generated configs and docs 2021-03-27 23:02:46 +00:00
GitHub build-firmware Action d215291ad5 Auto-generated configs and docs 2021-03-24 00:29:05 +00:00
GitHub build-firmware Action 47c896f008 Auto-generated configs and docs 2021-03-23 19:20:23 +00:00
Matthew Kennedy 51a5b4d6d5
rename setBoardConfigurationOverrides (#2479)
* rename

* proteus

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -04:00
GitHub build-firmware Action 2eaa6de822 Auto-generated configs and docs 2021-03-22 11:54:44 +00:00
GitHub build-firmware Action fac82ed2fe Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
GitHub build-firmware Action b0948589ac Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
Matthew Kennedy d7698f6703
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
GitHub build-firmware Action ee5e73b446 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
Matthew Kennedy b56a31143e
fix error/warning buffer overflow (#2456)
* fix error printing overflow

* make the worst offender shorter

* error as warning

* these don't need that flag set
2021-03-14 09:31:11 -04:00
GitHub build-firmware Action bc7a97e46a Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
Matthew Kennedy b087f328f7
default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
GitHub build-firmware Action c510211957 Auto-generated configs and docs 2021-03-06 02:09:06 +00:00
GitHub build-firmware Action d1056e3972 Auto-generated configs and docs 2021-03-06 01:48:51 +00:00
GitHub build-firmware Action 2ecfabd28e Auto-generated configs and docs 2021-03-06 01:45:12 +00:00
GitHub build-firmware Action 8373725f5e Auto-generated configs and docs 2021-03-06 01:34:46 +00:00
GitHub build-firmware Action 8a5d65cdbc Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
GitHub build-firmware Action 6d40566a10 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
GitHub build-firmware Action 8d49cc3e48 Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
GitHub build-firmware Action 8dc17d420c Auto-generated configs and docs 2021-03-05 03:41:12 +00:00
GitHub build-firmware Action f0098d8bc1 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
GitHub build-firmware Action d71b1184fc Auto-generated configs and docs 2021-03-03 12:32:56 +00:00
GitHub build-firmware Action b87d82735d Auto-generated configs and docs 2021-03-03 03:16:19 +00:00
GitHub build-firmware Action 41a120b05d Auto-generated configs and docs 2021-03-01 14:54:41 +00:00
GitHub build-firmware Action f564a220c6 Auto-generated configs and docs 2021-03-01 03:36:14 +00:00
GitHub build-firmware Action 6d0dfed9c2 Auto-generated configs and docs 2021-03-01 00:43:17 +00:00
GitHub build-firmware Action 1fd4759358 Auto-generated configs and docs 2021-02-28 23:58:40 +00:00
GitHub build-firmware Action e64dec2b5c Auto-generated configs and docs 2021-02-28 21:59:46 +00:00
Matthew Kennedy 59eecab421
prep proteus config for h7 (#2413)
* prep for h7

* weak link that

* make those weak

* remove other stubs

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 16:57:57 -05:00
GitHub build-firmware Action 3e92a8b38a Auto-generated configs and docs 2021-02-28 20:45:15 +00:00
Andrey G fbcff6f0c8
hip9011 compilation fix, cosmetic clean-ups (#2414)
* Board subaru eg33: has HIP9011 knock sensor

* hip9011: lastExecutionCount does not exist any more

* hip9011: extranc commands to header, use logic math for bitfields
2021-02-28 15:42:57 -05:00
GitHub build-firmware Action 0d143e2a56 Auto-generated configs and docs 2021-02-28 12:32:47 +00: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
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
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
GitHub build-firmware Action 2bcdbf9394 Auto-generated configs and docs 2021-02-24 13:17:30 +00: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
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
GitHub build-firmware Action 28fb127996 Auto-generated configs and docs 2021-02-20 03:26:09 +00: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
GitHub build-firmware Action f5586e0791 Auto-generated configs and docs 2021-02-19 22:03:28 +00: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
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
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
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
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