Commit Graph

56 Commits

Author SHA1 Message Date
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
rusEfi 0b50cf899c auto-sync 2015-01-04 13:05:46 -06:00
rusEfi 58d88176a4 auto-sync 2015-01-03 18:03:43 -06:00
rusEfi 6493666d64 auto-sync 2015-01-02 16:05:05 -06:00
rusEfi 257f46507b auto-sync 2014-12-31 10:05:21 -06:00
rusEfi 84d13c83ea auto-sync 2014-12-26 23:05:52 -06:00
rusEfi f44bdd4e44 auto-sync 2014-12-24 18:05:31 -06:00
rusEfi a6b9ec0f93 auto-sync 2014-12-05 10:05:25 -06:00
rusEfi dbd3d5ae28 auto-sync 2014-09-17 11:03:04 -05:00
rusefi fdde061d6e auto-sync 2014-08-29 10:52:33 -04:00
rusefi d99a8b501e auto-sync 2014-08-29 10:44:55 -04:00
Andrey B 34f2334652 fresh version 2014-08-23 18:37:21 -04:00