Commit Graph

281 Commits

Author SHA1 Message Date
rusefillc da195acd87 MRE 0.6.0 has SD which does not match some previous usages 2022-05-02 05:42:59 -04:00
GitHub build-firmware Action b84cb0d83a Auto-generated configs and docs 2022-04-28 22:06:22 +00:00
Matthew Kennedy 83caf1ea1b Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy 1d0e04e9de no lua mre debug (#4110) 2022-04-26 14:07:56 -04:00
rusefillc 1dad60b118 anything for gods of flash 2022-04-24 18:46:17 -04:00
Matthew Kennedy 1e26e1ae99 pass parameters instead of `export` in build scripts (#4081)
* no `export ...` mess

* frankenso NA6
2022-04-18 19:05:27 -04:00
Matthew Kennedy 3f9fc7d09c set SHORT_BOARD_NAME from mk, not shell script (#4078)
* MRE

* proteus

* weird format lol

* alphax 4

* alphax 2ch

* prometheus, subaru

* s

* put a canary in the coal mine

* activate the sleepy canaries

* atlas

* tdg pdm

* The canary detected the problems it needed to

This reverts commit b0a3718b115f69f85f78fc4814aec04434968c0f.

* Revert "activate the sleepy canaries"

This reverts commit f80cfcdd789418caa30854064bcb9ce865eee474.

* prometheus
2022-04-18 14:22:05 -04:00
rusefillc ead3ff60b4 something is not right here, do we still have RAM image in MRE QC? 2022-04-18 00:03:56 -04:00
rusefillc 44dae6d8d5 sacrifice to the gods of small flash 2022-04-17 19:04:18 -04:00
rusefillc 9567f6f671 helping build 2022-04-16 20:22:46 -04:00
rusefillc 58d5ade510 running out of flash - helping QC build 2022-04-15 09:45:46 -04:00
rusefillc 12fbfae0fb running out of flash - helping QC build 2022-04-15 09:36:44 -04:00
rusefi d7350ed2f7 refactoring: using VAR_DEF_ENGINE_TYPE bash variable for DEFAULT_ENGINE_TYPE Makefile variable 2022-04-09 18:48:33 -04:00
rusefillc c414c80055 MRE QC build broken #4059
another bug: this variable was not used for MRE!
2022-04-09 18:22:05 -04:00
rusefi 8e66bb7304 MRE QC build broken #4059
nasty typo!
2022-04-09 17:53:24 -04:00
Matthew Kennedy fc4e6cbdb3 fix 4032 (#4034)
* fix 4032

* board defaults should not set these things
2022-04-03 06:58:25 -04:00
Andrey 298ea5f8c0 Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 02:21:37 -04:00
Andrey b96c51874c Trigger setup in TS is highly confusing: hide operation mode from users? #4031 2022-04-03 00:34:18 -04:00
Matthew Kennedy 015f2165d8 allow egt on mre (#4026) 2022-03-30 07:01:10 -04:00
rusefillc fc74cf8371 4chan ETB 2022-03-29 20:49:23 -04:00
GitHub build-firmware Action 3aeed0dbea Auto-generated configs and docs 2022-03-11 01:39:55 +00:00
GitHub build-firmware Action 4506d8d2af Auto-generated configs and docs 2022-03-10 22:18:46 +00:00
GitHub build-firmware Action e609e3cc90 Auto-generated configs and docs 2022-03-10 17:57:35 +00:00
rusefillc f0de921850 openblt doesn't work proteus f7 #3483
one step back
2022-02-21 16:59:09 -05:00
rusefillc 84e5b01fea +x 2022-02-21 09:18:46 -05:00
rusefillc a21f116c8b OpenBLT: MRE: safe pins state #3802 2022-02-20 09:55:42 -05:00
rusefillc 923e3517c9 better default DEFAULT_ENGINE_TYPE 2022-02-09 19:55:04 -05:00
rusefillc 234b776613 dead copy-pasta 2022-02-06 21:50:09 -05:00
rusefillc 16463e2fb2 https://rusefi.com/forum/viewtopic.php?p=44278#p44278 2022-02-04 17:16:12 -05:00
GitHub build-firmware Action 6e0ec51a79 Auto-generated configs and docs 2022-02-03 20:36:34 +00:00
GitHub build-firmware Action 614fa598c8 Auto-generated configs and docs 2022-02-03 20:07:58 +00:00
GitHub build-firmware Action d56702b9bb Auto-generated configs and docs 2022-02-03 19:55:31 +00:00
Andrey f9e7d3d16d EFI_ADC_13 used multiple times in hellen121vag #2925 2022-02-03 13:53:08 -05:00
Matthew Kennedy a565c74189 SD card UI cleanup (#3870)
* dead config bit

* hide sd pin options

* #3868
2022-02-01 15:42:23 -05:00
Matthew Kennedy 28b6cce9d9 Remove fsio part 1 (#3871)
* dead includes

* move last logic out of fsio

* dead functions
2022-02-01 15:42:04 -05:00
Matthew Kennedy e17b0d292d flash savings (#3858)
* save table space

* turn some stuff off on some boards

* comment
2022-01-31 08:57:37 -05:00
David Holdeman ce3cbb31f0 Move Aux Reuse to ts_name to match others (#3843) 2022-01-26 08:18:05 -05:00
rusefillc 3ef961c64e microRusEFI - pinout - can we merge sections fix #3837 2022-01-26 00:34:40 -05:00
rusefillc 1c1f25a221 https://rusefi.com/forum/viewtopic.php?f=17&t=2260 2022-01-25 12:46:35 -05:00
rusefillc b8871eaca6 refactoring? 2022-01-14 23:10:48 -05:00
rusefillc fc996ad339 Code style for methods with zero arguments #3535 2022-01-11 22:26:24 -05:00
rusefillc dabd4d2354 GDI red FATAL led on cranking #3766 2022-01-10 16:42:31 -05:00
rusefi 02b127545c GDI red FATAL led on cranking #3766 2022-01-10 13:53:43 -05:00
rusefillc 07a44e0acb GDI red FATAL led on cranking #3766 2022-01-10 13:06:19 -05:00
rusefi 7624056a2c desperate measures 2022-01-08 18:41:56 -05:00
rusefillc c596aa2b78 reducing copy-pasta - would this work? 2022-01-04 19:56:36 -05:00
rusefillc a9185542ce reducing copy-pasta - would this work? 2022-01-04 19:08:37 -05:00
rusefi 7c10ffb07c MRE meta 2021-12-31 01:21:42 -05:00
rusefillc eb49728480 reviving Passat 2021-12-29 21:18:15 -05:00
rusefillc f2e1d958ee ELM327 optimization: sendShortPacketsInOneFrame #3656 2021-12-05 00:43:04 -05:00
rusefillc b6b2ffe29b tune via CAN #3361 2021-12-04 00:03:00 -05:00
rusefillc 07ce2036b3 https://rusefi.com/forum/viewtopic.php?f=5&t=2217 2021-11-21 08:12:05 -05:00
Scott Smith 80091498a6 Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy 4f9df2a110 new parser handles enum values (#3492)
* simplify

* poke to force generate

* enums

* jar

* jar

* poke

* prepends formatted

* prepends

* eol

* eol

* allow no endl at eof

* Revert "eol"

This reverts commit 022029faef338281b1a3551f82e46c4b6a7578a5.

* Revert "eol"

This reverts commit 6274502db740569235210916fde4ec84863d7fb3.
2021-11-11 23:09:39 -05:00
rusefillc eb4ef563dd a bit of dead code 2021-11-06 23:39:56 -04:00
Andrey G 36d721412e MRE: disable OpenBLT (#3487) 2021-11-06 18:47:22 -04:00
Andrey G 51f53aa3fc Openblt (#3430)
* Makefile: define BOOTLOADER=1 for linker in case of OpenBLT too

This will reserve first 32K of flash for bootloader.

* OpenBLT: include into build

* board: subaru eg33: add OpenBLT board code

* board: subaru eg33: use OpenBLT

* Board: Subaru EG33: OpenBLT: reuse HAL and CMSIS from OpenBLT submodule

* Board: Subaru EG33: OpenBLT: reuse linker file from OpenBLT too

* OpenBLT for MRE

* OpenBLT: MRE: adjust LD memory map for smallest variat of MCU on MRE

* OpenBLT: enable for MRE

* OpenBLT: disable CRC check of user application

This allows us to use DFU tool to flash main application too.

* hex2dfu: fresh binary for linux

* OpenBLT: extract common part of OpenBLT makefiles to openblt.mk

* OpenBLT: enable CRC check of user application for MRE and EG33

CRC (actually just a summ) of few first vectors is stored at 0x1c
offset. This is reserved vector for Cortex-M3, M4 and M7

* common_make: append OpenBLT CRC to dfu files

This should allow to use DFU to do main application update when
when OpenBLT is used as bootloader. hex2dfu will store same
styled CRC as OpenBLT expects to see in user app.

* OpenBLT reorganization

Move common stuff to hw_layer/ports/

* OpenBLT: proteus

* Proteus: enable OpenBLT for F4 and F7

Compilation tested only
2021-11-05 19:28:55 -04:00
Andrey 29851fe219 export board-specific macro for stm32 pins based on board yaml #3298
meta progress
2021-10-26 10:27:10 -04:00
Andrey 1e1a71675e export board-specific macro for stm32 pins based on board yaml #3298
mre meta progress
2021-10-25 21:05:45 -04:00
rusefillc 0d159abf79 https://rusefi.com/forum/viewtopic.php?p=42392#p42392
trying to allow VSS on AN-temp3 and 4
2021-09-28 16:21:57 -04:00
rusefillc a1553924ec HTML title for pinout pages fix #2882 2021-08-15 14:22:34 -04:00
Matthew Kennedy 4e6b61234f yet more pch (#3068)
* big pch energy

* put back ramdisk stub

* tests are happy

* h743 nucleo

* kinetis

* I love deleting code!

* make stepper happy

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Andrey 305efd4de1 RUSEFI MSD to contain bundle-specific URL fix #2848 2021-07-30 22:33:56 -04:00
David Holdeman c61d11e3d0 Pinout links (#3037)
* add support for links

* add undefined check and remove pdiv ref

* add MRE id

* clear search
2021-07-23 09:20:13 -04:00
David Holdeman d2691c1ee9 Pinout Title and connector names (#3021)
* add page title and connector name

* try mre
2021-07-21 19:47:38 -04:00
rusefillc 50f3f5ecba flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
Matthew Kennedy e3849b95d5 don't require EXTERN_ENGINE in every file (#2969)
* move enginePins

* no more extern engine

* uses

* more

* extern config too

* put this where it belongs

* include correct header

* merge
2021-07-16 18:13:33 -04:00
rusefillc a50bf43a33 Update readme.md 2021-07-07 14:05:56 -04:00
Matthew Kennedy 717d4dd7ac Unified cyl count macro (#2914)
* update test framework

* eh

* hey look it's fewer warnings

* unwind

* fix

* config

* configs

* logic

* even java had some

* console needs help
2021-07-06 20:14:08 -04:00
Andrey b474a6685f https://github.com/rusefi/rusefi/issues/2848
per-board URL into project help
2021-07-03 23:47:23 -04:00
rusefillc 96d28a1029 typo & clarification 2021-06-17 11:38:36 -04:00
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -04:00
Andrey 16df446fde MRE pinout improvement CAN polarity 2021-05-26 06:49:08 -04:00
David Holdeman 68da5c279e Doxygen titles (#2728)
* move addRow call

* undo submo bump

* add header titles
2021-05-22 22:10:58 +03:00
Matthew Kennedy c7cc5471ad Lua on f407, try again (#2725)
* lua on f4

* move perf trace to efifeatures

* check that it's defined

* cypress and kinetis

* it would help to define the correct thing

* disable buffer if not used

* we can work with 2k

* turn off ramdisk on mre qc

* wow strncpy is useless for truncated strings

* turn off for bootloader

* lto bootloader

* memory

* memory
2021-05-20 23:05:18 +03:00
rusefillc 591b2b3c6c Revert "lua on f407 (#2646)"
This reverts commit e35e99f5
2021-05-09 18:25:50 -04:00
Matthew Kennedy e35e99f52d lua on f407 (#2646)
* lua on f4

* move perf trace to efifeatures

* check that it's defined

* cypress and kinetis

* it would help to define the correct thing

* disable buffer if not used

* we can work with 2k

* turn off ramdisk on mre qc

* wow strncpy is useless for truncated strings

* turn off for bootloader

* lto bootloader
2021-05-09 16:25:38 -04:00
David Holdeman e9ef2dfca2 MRE reuse pins (#2587)
* try adding a reuse pin

* try
2021-04-26 23:25:11 -04:00
rusefillc 82b821ce83 EFI_SOFTWARE_KNOCK for hellen 2021-04-21 09:56:46 -04:00
Matthew Kennedy 761e65c710 make board config override actually usable (#2508)
* new function

* hellen

* MRE

* proteus

* put those function declarations in a reasonable place

* put the comment back

* weak

* move that to a reasonable place

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-31 14:46:50 -04:00
Matthew Kennedy 92d249918b rename setBoardConfigurationOverrides (#2479)
* rename

* proteus

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -04:00
Matthew Kennedy 72214b8b77 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
Matthew Kennedy 243ecdf3dd 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
Matthew Kennedy 6e41aeb165 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
David Holdeman a12cc8e091 Fix mre pinout (#2384)
* move pins over

* rearrange
2021-02-22 16:23:08 -05:00
David Holdeman 3c0d8a3206 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
David Holdeman 70341538f0 MRE connectors (#2354)
* Add MRE connector images

* fix name

* missing colon
2021-02-14 20:56:25 -05:00
Matthew Kennedy a576c2e109 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 adff68748c 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 ad6fc5415d move board.h for f7/h7 (#2316)
* f7 board.h

* h7
2021-02-08 15:46:48 -05:00
Matthew Kennedy 3412d8fe64 move f4 board.h (#2313)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-08 15:29:07 -05:00
Matthew Kennedy 37fa81b5d0 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 c0757a7d13 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 e22a9e9d02 -g3 to -g (#2256)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
rusefillc 9cec794f27 IGNORE_FLASH_CONFIGURATION 2021-01-28 18:03:45 -05:00
rusefillc 3c62dfc39d mre_f4_recovery build 2021-01-28 17:46:49 -05:00
David Holdeman 928b8ce70a 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 d134fabc51 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
rusefillc 554dec7a05 Hellen 2021-01-09 11:24:13 -05:00