Matthew Kennedy
48da721c49
dead knock code ( #3255 )
...
* more unification
* hip stub
* comment
* guard
* channel idx
* include
* hip
* move in to engine
* hip9011
* dead stuff
* dead
* fsio
* lcd
* more dead
2021-09-21 20:40:20 -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
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
Matthew Kennedy
15931dd56c
auto detect HSE clock speed ( #2952 )
...
* detect hse
* implementation
* these boards don't need to set their own HSECLK
* assertions
* name
* tweaks
* how did this compile?
* s
* biiiig comment
* this script doesn't need to set 25mhz any more
* ....or PLLM
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-07-12 20:51:35 -04:00
Matthew Kennedy
322f69474f
remove cranking dwell angle ( #2814 )
...
* config & impl
* settings
* engines & boards
* this test doesn't do anything interesting
2021-06-13 07:52:07 -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
72dac58f9b
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
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
962e0b32e7
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
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
f18ef02fa6
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
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
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
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
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
Andrey G
f962a7bd64
Gpio cleanup #2 ( #1530 )
...
* pin repository: PIN_USED size in now equal to brain_pin_e enum size
expect special values...
* smart gpios: register gpio chip to given base (no auto-allocation)
* drivers: gpio: core: add gpiochip_unregister()
* drivers: gpio: MC33810 intergation
* smart_gpio.cpp: cleanup ifdef mess, minor cleanups
* gpio: core: additional check for gpio ranges overlaps
* unit test: gpio chip: fixed and extended
2021-01-06 18:29:47 -05:00
Matthew Kennedy
789926a61d
convert cranking defaults to mg ( #1921 )
...
* convert cranking defaults to mg
* fix tests
2020-11-03 14:12:26 -05:00
Matthew Kennedy
8f6982dd54
disable i2c, other unused features ( #1891 )
...
* dead
* more
2020-10-20 22:24:32 -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
c2eb7c9f4a
remove tach output pin ( #1779 )
...
* remove from cfg
* cfg
* rip out impl
* efi gpio
2020-09-09 16:52:23 -04:00
rusefi
fdac041e7d
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/config/boards/kinetis/efifeatures.h
# firmware/config/boards/prometheus/efifeatures.h
# firmware/config/boards/skeleton/efifeatures.h
# firmware/config/boards/subaru-ej20gn/efifeatures.h
# firmware/config/stm32f4ems/efifeatures.h
# firmware/config/stm32f7ems/efifeatures.h
2020-09-07 15:32:15 -04:00
rusefi
df908db68e
Hellen says merge #1772 efifeatures
2020-09-07 15:27:29 -04:00
rusefi
93d015598a
EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter #806
2020-07-12 21:35:01 -04: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
rusefi
c107aa6d1b
UART DMA for "primary" connector #1528
2020-06-21 23:12:08 -04:00
rusefi
7e33ad575d
Revert "Minor fixes ( #1442 )"
...
This reverts commit 2e9cff85
2020-05-16 19:28:49 -04:00
dron0gus
2e9cff8596
Minor fixes ( #1442 )
...
* exti trigger: mark pins used, handle errors
* MC33810 add to smart gpios
2020-05-16 19:15:49 -04:00
rusefi
2ce1d1c016
helping master build
2020-05-11 19:59:35 -04:00
rusefi
a7a6bb0d81
more dead code
2020-05-11 18:24:29 -04:00
rusefi
a88b41a8d0
refactoring related to RED FATAL/CRITICAL LED is a bit dim when it should be OFF
...
#157
2020-05-11 18:22:51 -04:00
rusefi
5d6ec1d68b
refactoring: using brain_pin like the rest of the code
2020-05-02 23:47:10 -04:00
rusefi
b3cfac397b
oh what did I do
2020-05-02 22:27:20 -04:00
rusEfi
2c423052c4
docs
2020-04-08 20:37:46 -04:00
rusefi
c1ab5ca585
smart gpio clean-up
2020-04-06 14:13:29 -04:00
rusefi
cc35e8a9b0
code style
2020-04-01 19:00:56 -04:00
rusefi
fe604f71b8
CAN progress
2020-03-31 16:49:19 -04:00
rusefi
857f329b06
docs & wall
2020-03-13 02:27:44 -04:00
rusEfi
c2ab5f4871
more mc33816
2020-02-25 22:38:08 -05:00
Matthew Kennedy
a08946c2f5
Fix master ( #1134 )
...
* Revert "something went very wrong."
This reverts commit e0fb325d5a
.
* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131 )""
This reverts commit 55e8ee5052
.
* Revert "partial Revert of "Stricter compile options (#1132 )""
This reverts commit b0d7cc9a22
.
* temp prometheus fix
* fix bootloader
* fix batch files
2020-02-08 16:34:29 -05:00
rusefi
f47a1a16d1
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
e2d2bd9996
reducing code duplication & including kinetis
2019-12-04 07:50:46 -05:00
andreika-git
ae9c619c50
iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis ( #1043 )
...
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC
* Impl. IacPidMultTable
* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
rusefi
2738fefa48
that's how we can move all fields one by one from boardConfiguration to engineConfiguration
...
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00