Commit Graph

175 Commits

Author SHA1 Message Date
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
rusefi e530ded915 F7 HW CI 2020-12-28 23:26:51 -05:00
rusefi 154912509b fixing QC config 2020-12-28 19:19:29 -05:00
rusefillc b286ec8a34 fine-grained check modes 2020-12-27 17:41:28 -05:00
rusefi 3d3b5706d3 HW_CHECK_SPARK_FSIO 2020-12-26 16:16:40 -05:00
rusefillc 80854bf5ce proteusBoardTest 2020-12-26 10:50:18 -05:00
rusefillc 027c5a3580 proteusBoardTest 2020-12-26 10:46:45 -05:00
rusefillc f9de491b67 proteusBoardTest 2020-12-26 10:41:33 -05:00
rusefi c67af9632a PROTEUS_QC_TEST_BOARD 2020-12-26 00:57:23 -05:00
Matthew Kennedy 7617b115de Partition configs by board type (#2106)
* remove old flag

* flags

* reorder switch

* oops
2020-12-22 21:54:40 -05:00
rusefi 4c347026ff Proteus is compiled without VSS feature #2122 2020-12-22 21:28:51 -05:00
rusefi 6ddfff8fd9 Proteus is compiled without VSS feature #2122 2020-12-22 20:50:01 -05:00
rusefillc 632afe3432 fixing master PROTEUS_DEFAULTS 2020-12-22 17:13:05 -05:00
rusefillc 1d434336f8 VR_HW_CHECK_MODE 2020-12-21 13:33:09 -05:00
rusefi 99a349e4c6 VR_HW_CHECK_MODE 2020-12-21 12:30:15 -05:00
rusefillc 1be84c072e proteus_f4_hardware_QC_special_build 2020-12-20 09:14:14 -05:00
rusefillc bf0dfcf659 proteus_f4_hardware_QC_special_build 2020-12-20 09:11:36 -05:00
Matthew Kennedy 34edf34bf4 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
rusefi 08c7849b29 it's weird 2020-11-27 16:41:11 -05:00
rusefi e2ac877926 GDB helper 2020-11-25 13:53:29 -05:00
rusefi 7adde869d7 v12 Proteus 2020-11-06 14:18:54 -05:00
Matthew Kennedy 8520a128bb show SD menu on proteus (#1837)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-30 19:18:37 -04:00
David Holdeman 0f7b91861a move cd statements to common_make.sh (#1830)
* move cd to compile.sh

* rel path

* undo changes to compile.sh and move cd to common_make
2020-09-28 18:25:15 -04:00
Matthew Kennedy 9632a784f3 add analog inputs to switches (#1829)
* add analog in to switches

* also clarify boost cut pressure

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-09-28 14:45:23 -04:00
Matthew Kennedy a62089e590 proteus SD card defaults (#1796)
* proteus SD defaults

* disable serial console pins
2020-09-14 10:54:25 +03:00
Matthew Kennedy 96a9c7f4c4 Multiple knock sensors (#1745)
* fw

* cfg fields

* fix order

* ui for channel select

* clarify

* comments

* config
2020-09-02 07:19:02 -04:00
Matthew Kennedy 1b07647e72 Software knock detection (#1730)
* s

* science

* set pin mode

* turn stuff off so it fits

* filtering maybe

* filtering actually works

* generate filter parameters internally

* shorter window

* guard behind enable flag

* use checked in filter

* add biquad reset

* tracing

* const

* exec order

* do it from a thread

* smaller buffer, comment

* configure with header

* only for proteus

* oops

* unused

* not needed

* guards

* pin config

* don't need that include

* precook filter steady state

* define sample rate

* config enable switch
2020-08-28 21:13:50 -04:00
rusefi d0ee2c78e3 progress 2020-08-17 19:51:50 -04:00
kon da262d9076 added secondary can config 2020-08-01 20:58:14 -07:00
David Holdeman a2078e9cfe Switch to Bash (#1585)
* switch firmware to bash

* switch unit_testts to bash

* switch jenkins to bash
2020-07-09 10:27:20 -04:00
rusefi 6ac45039d4 using bundle names in signature 2020-07-06 01:20:39 -04:00
rusefi 6b4613a3a8 making scripts a bit more consistent & docs 2020-07-06 00:19:25 -04:00
andreika-git 88c24479e0 Fix bundle signatures (#1569)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2020-07-04 10:46:27 -04:00
David Holdeman 8a7220d989 Convert jenkins build_extra_bundles scripts to sh (#1554)
* Add checkout

* remove empty with statement

* Actually we do need push depth

* convert build_working_folder

* convert prepare_bundle

* fixed extension

* fixed closing bracket

* fixed comparison and assignments

* no comment

* convert compile_and_upload and clean

* convert build_simulator

* Finish converting build_working_folder

* convert build_java_console

* Add hashbangs

* remove findcyg instruction

* changed paths

* remove call

* add path

* fixed script names

* add prams

* fix cd

* convert clean_env_variables

* convert common_make.sh

* Added linux hex2dfu binary

* add file extension to linux hex2dfu

* add file extension to linux hex2dfu

* remove spurious paren

* fixed board name

* convert compile-frankenso-na6

* convert compile-frankenso-pal

* add hashbang

* convert compile-kinetis

* convert compile-mre-f4

* convert compile-mre-f4-hardware-QC-special-build

* convert compile-mre-f4-slave

* convert compile-mre-f7

* convert compile-mre-f7-test

* switch to underscores

* converting boards to sh

* convert prometheus

* convert proteus

* fixed path

* switch to underscores

* chmod and add extension

* add quotes

* Add check for Windows

* Add chmod

* fix script name

* fix error checking

* quote vars

* remove checking from batch shims

* fix typo

* change error checking to support nix style error codes

* switch to 1 retval

* cd back to firmware

* Add escapes

* change from cd to rel path

* add p flags to mkdir

Co-authored-by: David Holdeman <David Holdeman>
2020-07-01 14:09:01 -04:00
Matthew Kennedy 04fce9b367 oops (#1441) 2020-05-16 20:38:38 -04:00
Matthew Kennedy bd38359ceb s (#1424) 2020-05-11 23:23:04 -04:00
rusefi 9c3bc93471 RED FATAL/CRITICAL LED is a bit dim when it should be OFF
fix https://github.com/rusefi/hw_microRusEfi/issues/157
2020-05-11 18:35:28 -04:00
Matthew Kennedy 9792fc01fc updates for proteus v0.3 (#1418)
* updates for v0.3

* board config too

* oops
2020-05-10 09:19:01 -04:00
Matthew Kennedy 5c84d95360 proteus -> exti (#1378)
* proteus -> exti

* do frankenso pal the same way

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 18:52:15 -04:00
rusefi b3cfac397b oh what did I do 2020-05-02 22:27:20 -04:00
Matthew Kennedy 7e067eb0b5 Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
Matthew Kennedy 6d0efc432e allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00