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
392bfbc859
cleanup ( #2343 )
2021-02-13 14:23:39 -05:00
rusefillc
f8f90cbffb
No hablo inglés
2021-01-28 20:43:23 -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
7617b115de
Partition configs by board type ( #2106 )
...
* remove old flag
* flags
* reorder switch
* oops
2020-12-22 21:54:40 -05:00
rusefillc
88bb2f4569
trigger and start button pins not displayed by "pins" command fix #2084
2020-12-16 22:24:19 -05:00
Matthew Kennedy
91d1acb50e
prototype wideband firmware update ( #2074 )
...
* add submodule for firmware
* ts
* add updater
* add bench_test
* don't collide idx
* feature flag
* send acks
* fix timeout logic
* ui
* do it on the bench thread
* guard
* guard
* only do twice
* guard
* bump version
* update
* file name
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-16 08:28:53 -05:00
shadowm60
45205e7da7
Dyno view proposal ( #1999 )
...
* DynoView creation
module implementation and unit_tests
* update acc algo
we only calcualte new acceleration value if speed has changed, not on every callback.
* added acceleration ts_channel
* fixed broken unit tests
* fixed accel sign
* review updates
* Update test_dynoview.cpp
fix unit_tests
* Update engine_controller.cpp
Fix .ram4 unused size
* Update test_dynoview.cpp
2020-12-04 20:28:48 -05:00
Matthew Kennedy
6b0c533d2c
consolidate EFI_UNIT_TEST and friends ( #1940 )
...
* restructure
* guard c++
* idle too
* status_loop.h
* consolidate definitions
* use 1/0 instead, check for existence
* missed a few
* dead define
* defs for bootloader
2020-11-11 20:34:39 -05:00
rusefillc
529a6863c3
GDI Epic #1448
2020-11-09 22:53:23 -05:00
Matthew Kennedy
ebc884e8d5
trigger decode cleanup and perf ( #1853 )
...
* trigger decode cleanup
* test config ptr patchup
* disable CDM by default
2020-10-04 19:29:26 -04:00
shadowm60
2d665e2c90
Launch control - experimental ( #1816 )
...
* Update tachometer.cpp
Initial implementation of E30 M3 Tach output solution #907 , unit_test plus debugging next
* tacho unit tests
First successfull unit test for tachometer
* RAM adjustment so it would link
* refactoring tacho, broken!
* starting to make some progress...still fails after a few seconds
* Rework with SW PWM
* Update after code review
* unit_test update
* First working unit_test
* Update .gitignore
* Update engine_controller.cpp
* Update engine_controller.cpp
* Update tachometer.h
* Update test_tacho.cpp
* Switched UART DMA on
* Revert "Switched UART DMA on"
This reverts commit 4a23974c431e0e7fd760595d2161e74e6854897e.
* enable launch control
make use of already existent code + integration
* Delete compile_frankenso_all.sh
remove it since it is not part of the project
* Update main_trigger_callback.cpp
broke unit_Tests
Co-authored-by: rusefi <rusefi@users.noreply.github.com>
2020-09-22 16:25:27 -04:00
rusefi
b1ec0508f5
Merge remote-tracking branch 'origin/Hellen_fork_point' into master
...
# Conflicts:
# firmware/config/boards/common_make.bat
# firmware/controllers/algo/engine.cpp
# firmware/controllers/system_fsio.txt
2020-09-11 03:59:06 -04:00
rusefi
8831da2e3b
Hellen says merge #1772 fast ADC
2020-09-11 03:54:07 -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
b6b4e25551
Revert "Hellen says efifeatures"
...
This reverts commit 4e60dcdf
2020-09-07 12:24:50 -04:00
rusefi
4e60dcdf00
Hellen says efifeatures
2020-09-07 12:08:36 -04:00
rusefi
7e4e773011
a bit of flexibility
2020-08-26 23:08:48 -04:00
Andrei
178c55e62b
vss_exti untested
2020-08-13 18:27:31 +03:00
rusefi
cf745be1af
EFI_IDLE_INCREMENTAL_PID_CIC should be a runtime parameter fix #806
2020-07-12 21:53:55 -04:00
rusefi
b0e45d1974
UART DMA for "primary" connector #1528
2020-06-22 00:46:17 -04:00
rusefi
57b0d7f7ef
UART DMA for "primary" connector #1528
2020-06-21 23:22:45 -04:00
rusefi
c107aa6d1b
UART DMA for "primary" connector #1528
2020-06-21 23:12:08 -04:00
rusefi
c6aaa8f6a7
UART DMA for "primary" connector #1528
2020-06-21 21:50:41 -04:00
rusefi
af82d63112
refactoring connectivity
2020-06-21 16:37:33 -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
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
kon
ae44c0fce7
Aux serial ( #1422 )
...
* aux serial updates from last PR
* trying to guess
* wow that's old! also not working maybe?
* hiding diag code which was messing with GP2/GP3 i.e. TLE8888_PIN_22 TLE8888_PIN_23
* date
* Mc33 undervolt (#1421 )
* mc33 flash check
* DI sanity checks for setting HV config
* mc33 under voltage check
* mc33 under voltage check
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
* fixed {}
Co-authored-by: rusefi <rusefillc@gmail.com>
Co-authored-by: NOx-z <50815960+NOx-z@users.noreply.github.com>
Co-authored-by: Christopher W. Anderson <gitstuff@pswitch.com>
Co-authored-by: kon <dev@triggerdevel>
2020-05-11 12:17:42 -04:00
rusefi
6268b8d039
reducing confusion?
2020-05-04 19:26:13 -04:00
rusefi
5d6ec1d68b
refactoring: using brain_pin like the rest of the code
2020-05-02 23:47:10 -04:00
rusefi
433b4811ca
what could possibly go wrong
2020-05-02 22:34:31 -04:00
Matthew Kennedy
499d445fd2
reclaim ( #1377 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
Matthew Kennedy
a005daa8cb
switch ADC to gpt ( #1343 )
...
* switch to gpt
* halconf
* fix kinetis
* fix kinetis
* fix guards
* comment cleanup
2020-04-23 22:50:18 -04:00
rusefi
3888ffc007
smart gpio clean-up
2020-04-06 14:28:08 -04:00
rusefi
c1ab5ca585
smart gpio clean-up
2020-04-06 14:13:29 -04:00
rusefi
205fdcee66
launch control #203
2020-03-23 20:44:34 -04:00
Matthew Kennedy
d5034ab8c2
this flag did nothing ( #1161 )
2020-02-26 17:30:02 -05:00
Matthew Kennedy
2437aaffc6
Omit canned configs from Proteus ( #1159 )
...
* omit presets from proteus
* ifdef guard
2020-02-25 19:46:22 -05:00
Matthew Kennedy
6db8978667
Add single flag for omitting PnP configs ( #1157 )
...
* switch to single enable flag
* engine_configuration.cpp
2020-02-24 19:08:02 -05:00
rusefi
f834f99245
opening the door to boost controller!
2020-01-31 14:29:52 -05:00
rusefi
63e3e84e08
happy new year
2020-01-08 00:02:40 -05:00
Matthew Kennedy
b25f50c6ee
Move slow ADC to thread #630 ( #1042 )
...
* adc with thread
* enable
* check result
* stacktual embiggenment
* tracing
* let's be type safe
* improve assert
* format, comment
* remove EFI_INTERNAL_SLOW_ADC_PWM fully
2019-12-11 09:28:11 -05:00
rusefi
561986d3e4
The Big Refactoring of 2019: folder structure #723
2019-12-04 01:11:10 -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
82b7190dc0
review feedback
2019-11-03 10:36:35 -05:00
rusefi
d3931fac50
why was RTC disabled?
2019-09-20 18:22:39 -04:00
rusefi
d4b9c7217e
fatalErrorPin setting is not used #926
...
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusEfi
32d6c1ce68
tiny progress
2019-09-02 11:48:49 -04:00
rusefi
5f51a783d2
fixing build?
2019-08-06 22:33:27 -04:00
rusefi
d57779b686
F7 nucleo does not work?
...
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
rusefi
10c06ab73c
EFI_TOOTH_LOGGER
2019-07-07 15:22:46 -04:00
rusefi
eca2c711e7
docs
2019-05-07 10:10:15 -04:00
andreika-git
20b6a17695
EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes ( #793 )
...
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE
* Impl. EFI_CONSOLE_UART_DEVICE
* Move flash source files to ports/stm32/ & hw_ports.mk
* Fix TLE6240
* Fix EFI_NO_CONFIG_WORKING_COPY
* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
rusefi
913f887391
fixing F7 build
2019-05-03 22:12:57 -04:00
rusEfi
71976df42f
MC33816 integraion #784
...
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusefi
1d7c3f5b07
USB and TLE8888 not working for F4 or F767 #764
2019-04-20 22:38:56 -04:00
rusefi
600a6c5b9b
USB and TLE8888 not working for F4 or F767 #764
...
changing order of compilation in order to change which version is hw_tested
2019-04-20 22:13:50 -04:00
rusefi
af365a8f71
USB and TLE8888 not working for F4 or F767 #764
...
starting not to like smart chips
2019-04-20 16:50:03 -04:00
rusefi
cee91fa378
USB and TLE8888 not working for F4 or F767 #764
...
continuing the guessing game
2019-04-20 14:58:01 -04:00
rusefi
2f80486d24
USB and TLE8888 not working for F4 or F767 #764
...
nope, still fails :(
2019-04-20 12:48:01 -04:00
rusefi
c305c29984
USB and TLE8888 not working for F4 or F767 #764
...
interesting?!
2019-04-20 12:23:16 -04:00
rusefi
6d673b4bd8
USB and TLE8888 not working for F4 or F767 #764
2019-04-19 06:33:49 -04:00
rusefi
a43ab0b9da
trying again #764
2019-04-19 01:56:05 -04:00
rusefi
f874a809d0
?
2019-04-19 00:10:26 -04:00
rusefi
befc01a601
would it work?
2019-04-18 08:57:59 -04:00
rusefi
57bdac9118
one step back
2019-04-16 01:32:24 -04:00
rusefi
adceeaff8d
running with BOARD_MC33972_COUNT
2019-04-15 23:15:16 -04:00
rusefi
cedcd5fcf2
we need TLE8888 driver #714
2019-04-14 17:10:59 -04:00
rusefi
4adf3e0ff7
we need TLE8888 driver #714
...
reviving build
2019-04-13 16:35:45 -04:00
rusefi
fb1dd5a3ca
steps towards smarter gpio
2019-04-13 11:22:40 -04:00
rusefi
50c481924e
steps towards smarter gpio
2019-04-13 10:58:52 -04:00
rusefi
2f5c20e4da
progress?
2019-04-13 01:05:01 -04:00
rusefi
24948a2641
defined(__DOXYGEN__) ? fix #748
2019-04-12 22:10:57 -04:00
dron0gus
b3a161fce6
Cleanup 3 ( #745 )
...
* status leds: pick warning LED pin from configuration
* wave analyzer: do not init if no pin assigned
2019-04-11 23:33:33 +02:00
rusefi
05c7baa7a1
CONFIG_RESET_SWITCH_PORT flexibility
2019-04-06 08:41:37 -04:00
rusefi
540e0a2c85
The Big Refactoring of 2019: console vs TS vs CONSOLE_MODE_SWITCH_PIN vs text protocol #725
2019-04-01 11:16:19 -04:00
andreika-git
a79175f6ef
More portability & small fixes ( #719 )
...
* Use hw_stm32.mk
* Fix bootloader
* Use more common hw_ports.mk filename instead of hw_stm32.mk
* More CPU compatibility for Makefile
* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE
* Move lockAnyContext()/unlockAnyContext() to rfiutil.c
* USE_FATFS
* EFI_LCD
* Less compilation errors
* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE
* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS
* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()
* merge
* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
andreika-git
a3f33f3f0d
More compatibility for ADC_inputs, etc. ( #716 )
...
* Move STM32-specific ADC pinouts to ports/stm32/stm32_common.cpp
* Move STM32-specific files to ports/*
* setAdcChannelOverrides()
* Add #ifdefs for adc_inputs (PWM_FREQ_*, PWM_PERIOD_*, ADC_*_DEVICE)
* addChannel(), removeChannel()
* fix tle6240 compilation
* Add stm32_common.cpp to Makefile
* More ports/stm32/* paths
* More ports/stm32/* paths
* More flexible GPIO ports
* Add #ifdef for GPTDEVICE
* EFI_BOARD_TEST and EFI_JOYSTICK
* EFI_TLE8888
* Fix HIP9011_logic compilation
* ADC_CHANNEL_SENSOR
* Move ioportid_t PORTS[] to ports/*
* Fix simulator
2019-03-28 22:46:10 -04:00
rusefi
9a8f31e12f
we need TLE8888 driver #714
2019-03-25 15:14:22 -04:00
rusefi
a3b150a171
Migrating to chibios18 ( #687 )
...
* first step #631
* chconf #631
* no EXT driver
* #631 progress
* #631 WOW it already compiles?!
* #631 simulator progress
* #631 CAN is back
* more changes about 25MHz
* Migrate to Chibios 18 stable #631
* undoing some merge mistake?
* little mess
* Migrate to Chibios 18 stable #631
* Migrate to Chibios 18 stable #631
* Migrate to Chibios 18 stable #631
joystick works!
* Migrate to Chibios 18 stable #631
done?!
2019-02-05 18:36:25 -05:00
rusefi
dfe6d8391f
better conditional compilation
2019-01-31 19:14:29 -05:00
rusefi
a1d834130e
FSIO to stop engine if things are REALLY bad - user-configurable and disabled by default obviously
2019-01-05 23:48:37 -05:00
rusefi
dc5fe620ee
Saab CDM knock signal integration #647
2019-01-04 23:47:39 -05:00
rusefi
d56050dada
avoiding magic constant
2018-12-24 00:15:00 -05:00
rusefi
7f5d352ecd
explicit default
2018-12-23 23:59:21 -05:00
rusefi
00a7f26ef9
progress
2018-12-16 01:13:44 -05:00
rusefi
66ff934c6a
#630
2018-12-09 14:32:50 -05:00
rusefi
f2165da28e
new configurable option EFI_TEXT_LOGGING
2018-09-16 23:54:14 -04:00
rusefi
2f887ec315
#569
2018-03-17 21:24:04 -04:00
rusefi
f33ee12f3b
#550
2018-01-23 22:23:24 -05:00
rusefi
0b0f9efa3a
Feature 463 ( #464 )
...
* #463
* #463
* default .LD filename
* #463
* fixing start-up by disabling LSE until rusEfi patch is applied
* simulator compiles now
* latest ChibiOS 17 with FatFS 0.13
2018-01-23 21:17:30 -05:00
rusefi
5542b4b27b
narrow into reality
2018-01-23 08:33:20 -05:00
andreika-git
0e6cea5cdd
Idle with incremental PID-CIC (EFI_IDLE_INCREMENTAL_PID_CIC) ( #520 )
...
* Idle with incremental PID-CIC (EFI_IDLE_INCREMENTAL_PID_CIC)
* typo
* Remove unused targetIdleRpm from TS config
2017-12-27 17:56:04 -05:00
rusEfi
2bc7dc9eff
#495 todo clean-up
2017-11-19 15:24:36 -05:00
rusefi
8a0e0ff1b3
#473
2017-08-17 02:49:07 -04:00
rusefi
8db50d44fc
#140
2017-06-18 02:39:19 -04:00
Andrei
8c847247ad
EFI_MAIN_RELAY_CONTROL draft
2017-06-13 01:14:39 +03:00
andreika-git
226a2c76a1
Merge branch 'master' into bootloader
2017-06-05 20:35:33 +03:00