Matthew Kennedy
214285facc
Deduplicate mpu_util headers ( #1187 )
...
* this flag did nothing
* header dedupe
* mre fix again
* get all dependencies in mpu_util.h
* guard can/spi
* more dedupe
* pragma once
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 18:48:22 -04:00
Matthew Kennedy
9a81b7d2c5
Move can_hw.cpp in to drivers folder ( #1184 )
...
* relocate
* include path
* simulator makefile
* fix mre while we're at it
* it would help if I fixed it right
2020-03-13 09:50:43 -04:00
Matthew Kennedy
adac5fba78
Control stepper with dual H-bridges ( #1121 )
...
* divorce stepper from hw
* oops
* ptr not ref
* hbridge stepper
* typo
* hook up twin h
* hook up hardware
* use config field
* hook up motor repo
* guard tests
* whoops
* ok fix for real
* ok that's the right thing
* do full stepping
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.stagpad.local>
Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
2020-03-10 15:18:29 -04:00
rusefi
8bbd06d165
refactoring: time to unify digital pin API
2019-11-11 23:32:09 -05:00
rusefi
99c5fcbd90
different take on #971
2019-11-11 21:25:40 -05:00
Matthew Kennedy
dfcc9dba04
add sensor framework, tests ( #929 )
...
* add framework, tests
* move oil pressure to new way
* add init logic
* brackets on the same line
* spaces -> tabs
* spaces -> tabs for tests
* bracket on same line
* hook up sensor mocking
* add nan check
* fix nan check
* I wrote an essay
* casing
* only init if we have a sensor to init
* style, actually call init
* format
* fix casing
* typo
* implement linear sensor
* wire up producer
* smarter limiting
* setup comments
* add reporting
* doxyfile
* oops
* add adc subscription
* clarity
* fix logic
* multiply voltage
* test styling
* test guards
* remove dependencies
* linear sensor test
* remove unused
* fix merge
* format, implicit convert op
* explicit
* format tests
* fix merge
2019-09-21 14:33:38 -04:00
rusEfi
475377dcfc
DFU command & refactoring
2019-08-03 19:58:38 -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
3776539ed5
docs
2019-07-28 11:46:41 -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
e359ddbb25
MC33816 integraion #784
...
progress
2019-05-03 21:54:38 -04:00
rusEfi
71976df42f
MC33816 integraion #784
...
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusefi
50c481924e
steps towards smarter gpio
2019-04-13 10:58:52 -04:00
dron0gus
eee9a5c867
trigger input: add PAL support ( #743 )
2019-04-12 14:05:53 +02:00
rusefi
e30dfaf333
reducing duplication
...
removing unused (?) defines
removing value space overlap between PROJECT_BOARD and PROJECT_CPU
2019-04-09 18:37:25 -04:00
rusefi
0121a7bc5b
The Big Refactoring of 2019: folder structure #723
2019-04-02 23:19:21 -04:00
andreika-git
03a8e68b2d
trigger_input_icu, EFI_ENABLE_MOCK_ADC, HALINC_CONTRIB ( #724 )
...
* trigger_input_icu.cpp
* EFI_ENABLE_MOCK_ADC
* $(HALINC_CONTRIB)
2019-03-31 23:15:32 +02: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
rusefi
e28ce71bb8
unifying_file_naming
2019-03-29 09:11:13 -04:00
andreika-git
2363d1b4ae
Fix bootloader ( #717 )
...
* Use hw_stm32.mk
* Fix bootloader
2019-03-29 06:46:48 +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
7dfabdbe4d
#35
2019-01-04 00:22:35 -05:00
rusefi
2140a95a7d
ion sense progress
2018-12-31 16:00:41 -05:00
rusefi
e8579e7e8e
reviving stm32f1
2018-12-26 22:17:51 -05:00
rusefi
1c373573a2
EXTI refactoring
2018-12-18 23:50:29 -05:00
andreika-git
96dfebc542
STM32 Nucleo144-F767ZI board: Initial support ( #620 )
...
* More EFI_ #ifdefs for config flexibility
* Even more config flexibility
* New firmware/config/stm32f7ems/* files
* New firmware/config/boards/NUCLEO_F767/* files
* New firmware/hw_layer/stm32f7/* files
* Fix for EFI_USB_SERIAL
* Adding #if defined(STM32F7XX)
* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL
* I2Cv2 config changed in F7
* More versatile CCM defines
* Makefiles
* Double #ifs cleanup
* docs
2018-11-16 07:40:06 -05:00
andreika-git
aae56f3880
Backup NV-RAM refactor ( #518 )
...
* Backup NV-RAM refactor
* More comments on BACKUP_IGNITION_SWITCH_COUNTER
2017-12-22 08:49:03 -05:00
rusefi
8663b8b27c
refactoring
2017-08-21 10:55:34 -04:00
rusefi
a393d8aa9d
#473
2017-08-17 02:32:06 -04:00
rusefi
82b0b09f35
refactoring - reducing complexity
2017-04-21 12:01:44 -04:00
rusEfi
a77f8d01c2
auto-sync
2017-02-14 21:01:56 -05:00
rusEfi
8e83736a95
auto-sync
2016-07-17 02:03:46 -04:00
rusEfi
090c3c55f4
auto-sync
2016-05-19 22:03:18 -04:00
rusEfi
41e7abdd6f
auto-sync
2015-07-10 09:01:56 -04:00
rusEfi
69b0c4e2de
auto-sync
2015-07-10 08:57:59 -04:00
rusEfi
490da27bb3
auto-sync
2015-07-06 21:33:28 -04:00
rusEfi
e015c71ebb
auto-sync
2015-05-28 22:06:28 -04:00
rusEfi
13d6c3a0b1
auto-sync
2015-04-17 20:08:24 -04:00
rusEfi
86ccbfd756
auto-sync
2015-01-14 08:05:59 -06:00
rusEfi
485a2ec8ba
auto-sync
2015-01-13 20:06:35 -06:00
rusEfi
d26c763e5c
auto-sync
2015-01-07 17:04:40 -06:00
rusEfi
c6be689360
auto-sync
2015-01-07 10:04:42 -06:00
rusEfi
23a66323d9
auto-sync
2015-01-04 13:05:46 -06:00
rusEfi
cc289c818d
auto-sync
2015-01-03 18:03:43 -06:00
rusEfi
494b097c65
auto-sync
2015-01-02 16:05:05 -06:00
rusEfi
aa07e931f8
auto-sync
2014-12-31 10:05:21 -06:00
rusEfi
265d8889fb
auto-sync
2014-12-26 23:05:52 -06:00
rusEfi
b4bdc5c5db
auto-sync
2014-12-24 18:05:31 -06:00
rusEfi
0f399ffcc8
auto-sync
2014-12-05 10:05:25 -06:00
rusEfi
2460db4965
auto-sync
2014-09-17 11:03:04 -05:00