Commit Graph

136 Commits

Author SHA1 Message Date
rusefi f600bbc6d7 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 10:02:07 -04:00
rusefi 533087f475 ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 09:56:06 -04: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 a604eade6f pedal ADC should be faster #931 2019-09-13 19:54:28 -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 867fe9ff36 refactoring: better placement for some ADC code 2019-07-05 20:34:41 -04:00
rusefi 83ad64eade Refactoring: OS access should be explicit #867 2019-07-04 03:57:21 -04:00
rusefi b2dece5269 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit f07f96599b.
2019-06-30 14:28:47 -04:00
rusefi 5b728cadb3 fixing F4 compilation 2019-06-23 10:34:49 -04:00
Matthew Kennedy ffb2429608 Fix F7 ADC #854 (#855)
* invalidate before reading ADC

* fix degree signs

* comment

* remove unecessary alignments, add comments
2019-06-23 09:21:12 -04:00
rusefi eef6654606 dead code 2019-06-22 06:57:11 -04:00
rusefi f07f96599b "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
Matthew Kennedy 95003e9a7b const, explicit, and override (#831)
* const, explicit, and override

* more const

* more const

* missed a spot
2019-06-08 09:51:36 -04:00
rusefi f696509531 typo 2019-05-28 18:19:51 -04:00
rusefi 79bbbc8f45 MC33816 integraion #784 2019-05-25 17:18:16 -04:00
rusefi e3d139d4d4 MC33816 integraion #784 2019-05-25 15:35:25 -04:00
rusefi 67a08fd91f docs 2019-05-15 04:16:41 -04:00
rusefi f9f1e748dc Missing ADC Pins for ADC3, PF port #785 2019-05-14 16:38:14 -04:00
rusefi f0350613da CI instability: FATAL error: warn stream not initialized for 6039 #798 2019-05-10 18:58:05 -04:00
rusefi 8c00f9ebe8 FEATURE REQ: aux temperature inputs #332 2019-05-09 19:39:21 -04:00
rusefi d09bcad3e7 dreams of two ETBs 2019-05-05 12:02:42 -04:00
rusefi 6706270c9d TPS is worth being FAST 2019-04-24 20:51:14 -04:00
rusefi b4f87ee4a9 baro? 2019-04-16 01:55:15 -04:00
rusefi 04445b5713 cj125 and hip125 and else SPI broken with chibi18 migration #757 2019-04-14 18:09:58 -04:00
rusefi 4ffd9638e6 random cleanup 2019-04-14 13:19:36 -04:00
rusefi 508e9d74e7 defined(__DOXYGEN__) ? #748 2019-04-12 20:52:51 -04:00
andreika-git e2883a9166 ADC_CHANNEL_SENSOR & EFI_INTERNAL_ADC (#726) 2019-04-01 20:02:19 +02: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
dron0gus c9edbf4225 Cleanup fixes (#700)
* Kill some more warnings

* pin_repository: add markUnused, allow use from plain C

* ehiGpio.cpp: add forgotten GPIOG port
2019-03-08 07:01:15 -05:00
rusefi 3d53c9911d making gcc8 happier? 2019-03-02 18:41:25 -05:00
rusefi 761498efb1 refactoring - using proper enum 2019-02-24 10:04:00 -05:00
rusefi 46bdbf82d1 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi ee4ac9b240 NA6 progress
A/C toggle switch indicator in TS
renaming "pedalPosition" to "throttlePedalPosition"
2019-01-27 00:02:58 -05:00
rusefi cbd2d69731 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 6d80a31586 docs 2018-12-23 23:29:19 -05:00
rusEfi 3d3122c76c better? field name 2018-11-30 00:17:55 -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
rusefi 1f90cf153d refactoring 2018-09-16 22:26:57 -04:00
rusefi 959a91ae4c unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi f4dd44245d docs 2018-04-08 11:38:14 -04:00
rusefi a56fd71ecd docs 2018-04-08 11:35:24 -04:00
rusefi 64b7a51617 #65
explicit precision control
2018-01-23 12:05:14 -05:00
andreika-git bf181f88d8 CJ125: prepare ADC (#542) 2018-01-22 17:45:10 -05:00
rusefi 1d31067d19 happy new year 2018-01-20 20:55:31 -05:00
rusEfi 414f45ede2 softer error handling 2017-12-03 18:17:59 -05:00
rusefi 2974ff66e2 fix #490 2017-11-27 21:49:58 -05:00
Matthew Kennedy c3c38aa9bd Implement oil pressure sensor (#491)
* code changes

* config changes
2017-11-15 14:30:13 -05:00
Matthew Kennedy d13b25eaa2 Fix adcdbug when one or more channels set to "none" (#477)
* gitignore atollic truestudio

* Fix adcdebug when >= 1 ADC channel is set to none
2017-08-29 10:03:24 -04:00
andreika-git 83dfee8e96 Use RTC backup register to save Stepper IAC position (#471) 2017-08-07 07:28:21 -04:00
rusefi 3f42eddd64 better constant name 2017-08-06 19:43:01 -04:00