Commit Graph

150 Commits

Author SHA1 Message Date
rusefillc 6ca6c53786 refactoring? 2022-01-14 22:45:49 -05:00
NMSTEC 6f23d2be34
F429 Working Stby, Stop & Wake PA0 (#3787) 2022-01-12 23:18:58 -05:00
rusefillc 963c168788 Code style for methods with zero arguments #3535 2022-01-11 22:26:24 -05:00
Matthew Kennedy b4d916c913
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 e2a9acac23 reducing copy-pasta - would this work? 2022-01-04 20:03:41 -05:00
rusefillc c411029383 reducing copy-pasta - would this work? 2022-01-04 19:08:37 -05:00
rusefillc f730da6acf Dual CAN for H7 #3718 2021-12-23 23:08:30 -05:00
rusefillc 2027331edb Second CAN #3687 2021-12-22 19:20:46 -05:00
rusefillc 2480a8aa2f Second CAN #3687 2021-12-21 00:01:45 -05:00
rusefillc f2cd7f1225 rusEFI console ISO-TP via PCAN #3667
WOW, YES!!!
2021-12-08 19:30:14 -05:00
rusefillc c7db973434 proteus to have enlarged Lua 2021-12-01 09:06:16 -05:00
rusefillc b772f27b11 proteus to have enlarged Lua
one step back
2021-11-30 22:12:55 -05:00
Andrey a2ee6bb1e7 proteus to have enlarged Lua 2021-11-30 20:45:16 -05:00
Scott Smith 1fe26f55fb
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 823d9a07e0
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 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
rusefi ab11b613bc lua wants your pins! 2021-11-11 22:54:48 -05:00
rusefi ff4a0b0939 pid demo progress 2021-11-11 22:38:50 -05:00
rusefi 19f5fd5cbd on Lua control of H-bridge 2021-11-08 17:11:48 -05:00
Matthew Kennedy 95b5c6fcf9
dead vss flag (#3499) 2021-11-07 14:36:46 -05:00
rusefillc ce45a907a7 a bit of dead code 2021-11-06 23:39:56 -04:00
Matthew Kennedy caab5f505d
disable (#3484) 2021-11-06 16:57:13 -04:00
Andrey G e3be563b27
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 74a34bbea3 On Proteus Main relay control #3447 2021-11-03 13:29:04 -04:00
Andrey bfe6a5b2a8 Proteus meta - fixing confusion 2021-10-28 22:11:26 -04:00
rusefi 40fcab1355 Proteus D4 and D5 are misplaces on connector pinout fix #3418 2021-10-28 17:31:25 -04:00
Matthew Kennedy 8ed6d3bfa2
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 0e6a51e5c0 export board-specific macro for stm32 pins based on board yaml #3298
meta progress
2021-10-26 10:27:10 -04:00
Andrey 582b3fdd07 https://github.com/rusefi/proteus-Honda-OBD2A-adapter/issues/5 2021-10-25 17:43:31 -04:00
Andrey 9ab6c42418 export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 17:36:21 -04:00
Andrey 53d16c67fe export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 14:22:46 -04:00
rusefi 1f5e1c2ca5 Honda K 2021-10-23 16:19:28 -04:00
rusefi bfc4ed4df6 Honda K 2021-10-23 15:49:02 -04:00
rusefillc 7f5b4b7953 pinout documentation: proteus links not in browser address bar on Proteus black 23 #3365 2021-10-18 21:21:03 -04:00
rusefillc b8a1f4d3d2 Proteus yaml has issues about reserved pins fix #3291 2021-10-08 06:13:07 -04:00
rusefillc 618d13e673 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-03 00:09:09 -04:00
rusefillc 441549d3e6 export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:56:43 -04:00
rusefillc eb4829c83e export board-specific macro for stm32 pins based on board yaml #3298 2021-10-02 23:45:28 -04:00
David Holdeman c6537a51bf
make 14 ground (#3297) 2021-10-02 12:46:29 -04:00
rusefillc 498f16817d HTML title for pinout pages fix #2882 2021-08-15 14:22:34 -04:00
Matthew Kennedy d24f1462e2
even more pch (#3112)
* s

* more

* s

* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy 25414ebdad
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 838ec90d60 RUSEFI MSD to contain bundle-specific URL fix #2848 2021-07-30 22:33:56 -04:00
Matthew Kennedy d2003d24a0
make build happy (#3067) 2021-07-26 09:08:05 -04:00
Matthew Kennedy 3518da97a7
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 c788f1478f Button to apply nDBANK #2996
consistency good inconsistency bad
2021-07-20 13:44:45 -04:00
Andrey c93e7e7d3a Button to apply nDBANK #2996 2021-07-20 13:20:34 -04:00
Andrey aac7eb9961 +x into git 2021-07-20 12:49:40 -04:00
rusefillc 0f694205fd flipping presets logic in order to reduce duplication 2021-07-20 11:44:48 -04:00
Matthew Kennedy 2ce7777865
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