Matthew Kennedy
f518b72260
implement bit-banged I2C driver ( #2289 )
...
* bb
* implement
* tweaks
* s
* comment, format
* guard
* headers and comment
2021-02-06 16:59:06 -06:00
Matthew Kennedy
6334e5011f
Port-ify microsecond_timer hardware implementation ( #1964 )
...
* move to folder
* extract hardware part of microsecond_timer
* dead ST forum link
* de-volatile
* simulator build
* guard
2020-11-22 20:39:32 -05:00
Matthew Kennedy
6e4517be8c
adjust microsecond_timer api ( #1952 )
...
* change timer api
* don't need all that
2020-11-16 18:50:13 -05:00
rusefi
500d73ef02
Hellen says merge #1772 more about ports
2020-09-09 13:39:51 -04:00
David Holdeman
499a430347
[TCU] GearController and TransmissionController base classes ( #1749 )
...
* add tcu ts outputs
* accidental change?
* add tcu base classes
* rearrange
* accidental change?
* add files
* missing backslash
* undo accidental change
* buttonshift includes, targets, and init
* Revert "buttonshift includes, targets, and init"
This reverts commit 1b0630511e1948f3d330d74be5bff6c087f118fb.
* use unused bit
* add return documentation
Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2020-09-02 15:39:50 -04:00
rusefi
10b8da525d
TS SD integration #1653
2020-08-02 22:31:11 -04:00
rusefi
8f4aecf7ca
The Big Refactoring of 2019: folder structure #723
2020-08-02 20:46:40 -04:00
rusefi
1b84406e77
dead code
2020-04-26 17:40:12 -04:00
Matthew Kennedy
bb9c851a07
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
5fc82e21f8
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
c19f3e4caa
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
3c57c3d216
refactoring: time to unify digital pin API
2019-11-11 23:32:09 -05:00
rusefi
f3b8fba38a
different take on #971
2019-11-11 21:25:40 -05:00
Matthew Kennedy
f629ec038b
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
d6daeaa77f
DFU command & refactoring
2019-08-03 19:58:38 -04:00
rusefi
91f9a50b3f
F7 nucleo does not work?
...
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
rusefi
339603229e
docs
2019-07-28 11:46:41 -04:00
andreika-git
b80d95578d
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
153380c9f3
MC33816 integraion #784
...
progress
2019-05-03 21:54:38 -04:00
rusEfi
8afee0fd90
MC33816 integraion #784
...
bare bones skeleton
2019-05-03 21:13:25 -04:00
rusefi
db9456902f
steps towards smarter gpio
2019-04-13 10:58:52 -04:00
dron0gus
65e46ac70f
trigger input: add PAL support ( #743 )
2019-04-12 14:05:53 +02:00
rusefi
77ede53ef5
reducing duplication
...
removing unused (?) defines
removing value space overlap between PROJECT_BOARD and PROJECT_CPU
2019-04-09 18:37:25 -04:00
rusefi
02832ce0c3
The Big Refactoring of 2019: folder structure #723
2019-04-02 23:19:21 -04:00
andreika-git
8a13bab7d9
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
b80806182f
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
bd2b992918
unifying_file_naming
2019-03-29 09:11:13 -04:00
andreika-git
d6ff361743
Fix bootloader ( #717 )
...
* Use hw_stm32.mk
* Fix bootloader
2019-03-29 06:46:48 +01:00
andreika-git
c34d7cac48
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
4b11cef1d8
#35
2019-01-04 00:22:35 -05:00
rusefi
ff6f653ece
ion sense progress
2018-12-31 16:00:41 -05:00
rusefi
9cb7595d61
reviving stm32f1
2018-12-26 22:17:51 -05:00
rusefi
81837cad7d
EXTI refactoring
2018-12-18 23:50:29 -05:00
andreika-git
23fea3c0c5
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
45d89fdba8
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
16fec68cf2
refactoring
2017-08-21 10:55:34 -04:00
rusefi
67986f74f6
#473
2017-08-17 02:32:06 -04:00
rusefi
ab0068fb97
refactoring - reducing complexity
2017-04-21 12:01:44 -04:00
rusEfi
268b572a9b
auto-sync
2017-02-14 21:01:56 -05:00
rusEfi
94625d16f7
auto-sync
2016-07-17 02:03:46 -04:00
rusEfi
e390c0ebcc
auto-sync
2016-05-19 22:03:18 -04:00
rusEfi
969ebbf142
auto-sync
2015-07-10 09:01:56 -04:00
rusEfi
298341e0d1
auto-sync
2015-07-10 08:57:59 -04:00
rusEfi
241498d330
auto-sync
2015-07-06 21:33:28 -04:00
rusEfi
8f968c3014
auto-sync
2015-05-28 22:06:28 -04:00
rusEfi
9b5a79680b
auto-sync
2015-04-17 20:08:24 -04:00
rusEfi
13c60095a8
auto-sync
2015-01-14 08:05:59 -06:00
rusEfi
eb4f7c5962
auto-sync
2015-01-13 20:06:35 -06:00
rusEfi
2de4b7e839
auto-sync
2015-01-07 17:04:40 -06:00
rusEfi
3186ff017f
auto-sync
2015-01-07 10:04:42 -06:00