Commit Graph

164 Commits

Author SHA1 Message Date
Matthew Kennedy 2fdce936f0
deduplicate logic (#1307)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 16:26:51 -04:00
Matthew Kennedy d541e04a7d
Friendlier pin names (#1233)
* enable TS error readout

* friendlier text for common errors

* improve comment

* friendlier ADC errors

* ign/inj names

* more pin names
2020-03-29 19:07:07 -04:00
Matthew Kennedy 61ee03ee06
Show fatal error text in TS (the right way) (#1232)
* enable TS error readout

* friendlier text for common errors

* improve comment
2020-03-29 07:27:36 -04:00
Matthew Kennedy 608cf45d26
TS cleanup pass (#1225)
* remove biquad config

* fuel pump clarity

* one code usage

* minimal generate for ci

* and don't build it either

* remove commented out code
2020-03-25 23:00:17 -04:00
rusefi dc769e7a2a progress 2020-03-23 23:15:44 -04:00
rusefi ef28f394a9 At least read all TPS inputs 2020-03-20 09:53:45 -04:00
rusefi 09c4def495 proteus-f4 was requested 2020-03-18 11:37:53 -04:00
Matthew Kennedy 2add78b242 we already have a timestamp, don't take another one (#1133) 2020-02-08 17:48:15 -05:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
rusefi fde9a449cf random refactoring: hopefully not changing byte size of any variables but clarifying/fixing type between ticks, US and MS 2019-12-21 21:11:09 -05:00
Matthew Kennedy eb27bcf3d6 Terrible ADC3 hack for Proteus vbatt support (#1066)
* this is a great idea!

* typo

* simplify

* simplify, cache coherency

* enable adc3 in board file

* copyright

* fix tests, probably
2019-12-17 08:34:56 -05:00
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy 37473bd26e 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 bd841b6ca2 docs 2019-12-03 23:55:18 -05:00
rusefi 82fab0282c lovely write-out-of-bounds in case of invalid configuration bugfix 2019-12-02 20:32:21 -05:00
rusefi 2eab39d3ff auxFastSensor 2019-12-02 17:49:01 -05:00
rusefi a78dc22bf1 better state validation, better error codes 2019-11-29 23:41:26 -05:00
rusefi 175a18b9ec steps towards dual ETB 2019-11-28 23:51:47 -05:00
Matthew Kennedy 93d24dfc0b Merge remote-tracking branch 'origin/master' into perf-tracing 2019-11-19 16:28:58 -08:00
rusefi 7dfdfc6378 docs & code formatting 2019-11-19 18:17:03 -05:00
Matthew Kennedy 449df85f8f move to slow adc (#997) 2019-11-04 17:03:21 -05:00
rusefi 2f3ccb8125 ADC sample time & rate #976 2019-10-19 08:01:28 -04:00
Matthew Kennedy f52bdecb80 profile all the things 2019-10-13 13:14:08 -07:00
Matthew Kennedy 763b17fb50 experiment 2019-10-11 17:43:21 -07:00
Matthew Kennedy 9c2dd10734 low hanging performance fruit (#969) 2019-10-08 20:44:59 -04:00
rusefi 8c108f8362 HardFault related to auto r = convertFromInputValue(inputValue); #948 2019-09-23 02:02:42 -04:00
rusefi 2bacf53c0d HardFault related to auto r = convertFromInputValue(inputValue); #948
wow, it's a miracle anything ever worked!
2019-09-23 01:55:23 -04:00
rusefi b3b8d8607c ETB target is using integer values #945
refactoring - ADC mocking is a mess
2019-09-22 16:41:10 -04:00
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