Commit Graph

216 Commits

Author SHA1 Message Date
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
Matthew Kennedy 8f536425fb fix f4 standby (#3894)
* fix the bug

* wake on PD0 = CAN RX

* cleanup
2022-02-05 07:25:09 -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
Matthew Kennedy f82f4d08d6 Remove fsio part 2 (#3876)
* dead config stuff

* fsio state

* remove tests

* getEngineValue

* put part back
2022-02-02 00:49:44 -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
rusefillc 93fff340fd https://github.com/rusefi/alphax-2chan/issues/22 2022-01-22 16:50:58 -05:00
David Holdeman ffeced8c0d Pinout link (#3810)
* try adding link to page

* change logic

* hide for print view

* change link color
2022-01-18 18:15:33 -05:00
NMSTEC 6cdb5514a5 Add comments to Stop & Stby modes (#3798) 2022-01-17 13:11:24 -05:00
rusefillc 97b194f753 PA0 wake up - sharing is caring? 2022-01-17 01:25:31 -05:00
rusefillc d1fb89ad3d Openblt proteus #3797
rollback
2022-01-16 20:50:55 -05:00
Andrey G 17ce890105 Openblt proteus (#3797)
* OpentBLT: fix for STM32F4/H7

* Proteus: OpenBLT: switch to HSI

* Proteus: Enable OpenBLT. (not tested!)
2022-01-16 17:25:36 -05:00
rusefillc afdca12d86 refactoring? 2022-01-14 22:45:49 -05:00
NMSTEC 190c895e05 F429 Working Stby, Stop & Wake PA0 (#3787) 2022-01-12 23:18:58 -05:00
rusefillc fc996ad339 Code style for methods with zero arguments #3535 2022-01-11 22:26:24 -05:00
Matthew Kennedy 4ee76aadc2 per-board pre-low-power handlers (#3752)
* per-board pre-low-power handlers

* per-chip standby options

* default implementation
2022-01-10 08:37:05 -05:00
rusefillc 4c8abd5101 reducing copy-pasta - would this work? 2022-01-04 20:03:41 -05:00
rusefillc a9185542ce reducing copy-pasta - would this work? 2022-01-04 19:08:37 -05:00
rusefillc 980a8c837d Dual CAN for H7 #3718 2021-12-23 23:08:30 -05:00
rusefillc 33e9b73b9a Second CAN #3687 2021-12-22 19:20:46 -05:00
rusefillc f6e90b0a5e Second CAN #3687 2021-12-21 00:01:45 -05:00
rusefillc fa46c8cfd3 rusEFI console ISO-TP via PCAN #3667
WOW, YES!!!
2021-12-08 19:30:14 -05:00
rusefillc 2d9b159838 proteus to have enlarged Lua 2021-12-01 09:06:16 -05:00
rusefillc cb7cc45a90 proteus to have enlarged Lua
one step back
2021-11-30 22:12:55 -05:00
Andrey eedb7f55f6 proteus to have enlarged Lua 2021-11-30 20:45:16 -05:00
Scott Smith 8406fafa9e Expose console over serial port for H7 proc (#3578)
This way you can use the console/TunerStudio with the ST-Link

In the process, combine TS_PRIMARY_UART and TS_PRIMARY_SERIAL into TS_PRIMARY_PORT, to make UART vs
SERIAL selection more robus.  Ditto for TS_SECONDARY_*.  Also change use of TS_NO_PRIMARY to be #if
not #ifdef, so that it can be properly set as a compile flag and not be overwritten by various
header files.
2021-11-20 00:39:08 -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
rusefi c92b032728 lua wants your pins! 2021-11-11 22:54:48 -05:00
rusefi fe07fee8b1 pid demo progress 2021-11-11 22:38:50 -05:00
rusefi a358dc7de9 on Lua control of H-bridge 2021-11-08 17:11:48 -05:00
Matthew Kennedy 7f4b91809e dead vss flag (#3499) 2021-11-07 14:36:46 -05:00
rusefillc eb4ef563dd a bit of dead code 2021-11-06 23:39:56 -04:00
Matthew Kennedy 511e616607 disable (#3484) 2021-11-06 16:57:13 -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 1d30748678 On Proteus Main relay control #3447 2021-11-03 13:29:04 -04:00
Andrey b04aad4c7c Proteus meta - fixing confusion 2021-10-28 22:11:26 -04:00
rusefi f0cef3f06c Proteus D4 and D5 are misplaces on connector pinout fix #3418 2021-10-28 17:31:25 -04:00
Matthew Kennedy 4b9d91f6e5 idle closed loop vs open loop ui, etc (#3413)
* open + closed

* put idle solenoid first

* actually hide etb pins

* missed a few prepends
2021-10-26 15:04:09 -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 9c4c821bb4 https://github.com/rusefi/proteus-Honda-OBD2A-adapter/issues/5 2021-10-25 17:43:31 -04:00
Andrey 24a786be9a export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 17:36:21 -04:00
Andrey dffe5701fb export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 14:22:46 -04:00
rusefi 82cf4d4fe6 Honda K 2021-10-23 16:19:28 -04:00
rusefi 7b68d0d226 Honda K 2021-10-23 15:49:02 -04:00
rusefillc 043b098b3c pinout documentation: proteus links not in browser address bar on Proteus black 23 #3365 2021-10-18 21:21:03 -04:00
rusefillc 2ea171c1b9 Proteus yaml has issues about reserved pins fix #3291 2021-10-08 06:13:07 -04:00
rusefillc c10be2ebde export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:09:09 -04:00
rusefillc 6a3c4d5d3e export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:56:43 -04:00
rusefillc 8f71e735b5 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:45:28 -04:00
David Holdeman 176affe7c4 make 14 ground (#3297) 2021-10-02 12:46:29 -04:00
rusefillc a1553924ec HTML title for pinout pages fix #2882 2021-08-15 14:22:34 -04:00
Matthew Kennedy 39388c75d8 even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -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
Matthew Kennedy c03c779703 make build happy (#3067) 2021-07-26 09:08:05 -04:00
Matthew Kennedy f44a84b40c set up precompiled header (#2971)
* ignore

* set up precompiled header

* makefile

* fixes

* cleanup

* only depend cpp on pch

* efifeatures in pch

* f7 efifeatures

* consolidate

* simulator

* proteus build

* error handling is a good one

* bootloader pch

* don't auto include pch

* dirs

* delete on clean

* bootloader cleans

* clean.sh deletes pch

* disable in bl for now

* there was a typo so maybe it'll work now

* remove todo

* don't need that any more

* don't need these parts

* don't need this part

* undo changes

* use a different cpp as example

* s

* Revert "cleanup"

This reverts commit 8de8698490f5d09c2df753f00a89751aa898be9a.

* also unnecessary now

* buh

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-25 21:23:23 -04:00
Andrey 51802334b8 Button to apply nDBANK #2996
consistency good inconsistency bad
2021-07-20 13:44:45 -04:00
Andrey 668c342b34 Button to apply nDBANK #2996 2021-07-20 13:20:34 -04:00
Andrey 9e111f856e +x into git 2021-07-20 12:49:40 -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
Andrey 17c07a0828 s/controlPin1/controlPin/ 2021-06-05 16:19:01 -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 c17e4af490 Proteus legacy vs. non-legacy F7 (#2657)
* proteus f7 is not necessarily legacy

* script

* don't need that any more

* yaml and script

* rename
2021-05-08 18:44:19 -04:00
Matthew Kennedy 7c8c14fee2 Baro config (#2591)
* adjust API to allow i2c init to fail

* init

* proteus config

* 🎠🎠🎠

* buh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-27 15:29:22 -04:00
rusefi 06c46ba835 improving QC process 2021-04-23 00:03:21 -04:00
rusefi 6c75a3d7b4 improving QC process 2021-04-22 22:04:39 -04:00
rusefi be0f2210c5 improving QC process 2021-04-22 21:23:20 -04:00
rusefillc 82b821ce83 EFI_SOFTWARE_KNOCK for hellen 2021-04-21 09:56:46 -04:00
David Holdeman b655b70f58 quote proteus pins with # (#2539) 2021-04-10 08:35:00 -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 1b69ae320e enable serial pins on proteus (#2507)
* enable serial on proteus

* make h7 happy
2021-03-28 17:03:14 -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 5cc2efc3e5 use full memory on STM32F42x (#2450)
* linker script

* hook it up
2021-03-13 07:26:58 -05: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 792de13069 build h7 proteus (#2429)
* build h7

* scripts

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:43:00 -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
Matthew Kennedy c75af2ac75 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
Matthew Kennedy 5391b4260f 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
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 7af3931032 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
Matthew Kennedy e22a9e9d02 -g3 to -g (#2256)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-01-31 14:13:55 -05:00
David Holdeman 46ac46f171 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
rusefillc 0ae7eed5be knock-knock 2021-01-23 00:00:34 -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
rusefi dcc1d7ad01 nb2 and proteus usability 2021-01-11 01:17:03 -05:00
rusefillc 554dec7a05 Hellen 2021-01-09 11:24:13 -05:00
rusefi 35482fd21e progress 2021-01-03 17:58:00 -05:00
rusefi c29a0d9b06 docs 2021-01-01 18:19:52 -05:00