rusefi
426bc8720e
console "spark 1" bench hands up proteus #5320
...
i feel lucky!
2023-06-11 23:23:17 -04:00
rusefillc
1c49d77fff
extra flexibility to facilitate ports
2023-05-31 23:36:30 -04:00
rusefillc
840a968bc8
code guard
2023-05-24 00:39:56 -04:00
rusefillc
228c1ac246
code guard
2023-05-24 00:13:07 -04:00
Matthew Kennedy
789aa2cf2a
remove proteus legacy build -> none exist in the wild
...
(cherry picked from commit 2fd26e948a2596db7256ec44a0e0c41dc8c3c749)
2023-05-19 10:28:38 -04:00
Andrey
51d0f6e347
it's going to be painful
2023-04-29 00:44:00 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
Andrey Gusakov
342e7d1ac6
adc: unused suppress
2023-04-07 03:47:52 -04:00
Andrey G
a6ec708a6b
Support non-uniform dividers on ADC inputs ( #4938 )
...
* adc: support per-channel dividers
* S105: non-uniform analog dividers
* adc: default weak getAnalogInputDividerCoefficient() implementation
* adc: fix emulator compilation
2023-01-08 17:29:29 -05:00
rusefillc
5b159f0ff5
Support non-uniform dividers on ADC inputs #4938
...
maybe helping?
2023-01-08 15:37:51 -05:00
rusefillc
e58d375244
external muxes for internal ADC #3350
2023-01-07 22:09:43 -05:00
rusefillc
558f88ce23
external muxes for internal ADC #3350
2023-01-07 21:56:12 -05:00
Matthew Kennedy
1eb00e5ec9
adc resubscription of the same sensor ( #4947 )
...
* adc resubscription of the same sensor
* overload function name
* fix logic
* thermistors and map
2023-01-06 08:09:17 -05:00
rusefillc
b75f899973
efi::size
2022-10-27 20:35:37 -04:00
rusefillc
ea8f75a6cb
Adc unregister ( #4684 )
...
* Sensor: unregister on the fly #4683
* Sensor: unregister on the fly #4683
* Adc unregister #4684
* Adc unregister #4684
2022-10-20 09:33:27 -04:00
Matthew Kennedy
9d132676fd
consolidate analog vs. temp info commands ( #4646 )
...
* consolidate analog vs. temp info commands
* cleanup
* guard
2022-10-10 07:44:20 -04:00
rusefillc
6e71b72acc
refactoring - reducing API between FW and Java
2022-09-11 02:16:47 -04:00
Andrey
ab4b451195
os_access.h dead?
2022-09-07 15:56:45 -04:00
rusefillc
026a28d651
Adc mux ( #4379 )
...
* adc mux
* cypress is a special ADC size case
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-07-26 14:12:00 +03:00
Matthew Kennedy
b99d90b006
Start -> start ( #4366 )
2022-07-21 15:17:32 -04:00
Matthew Kennedy
c6f46128d6
prototype overcurrent protected driver ( #4029 )
...
* stub passthrough protected driver
* plumbing
* include the thing
* signature
* dead
* tdg pdm build task
* s
* pdm pins
* tdg
* init properly
* remove gaps
* board doesn't fatal on start
2022-05-17 23:49:18 -04:00
Matthew Kennedy
bc6a87cadc
allow enum_class in rusefi_hw_enums.h ( #4104 )
...
* make things c++ friendly
* install various canaries in coal mines
* using is much clearer than typedef
* fixing builds
* lps25
* trigger includes were a mess
* c -> c++ cleanup
* os util
* why did so many include os_util.h?
* fwd declare
* cypress/kinetis
* s
* eg33 happy
* happy sim
* cypress usb
* pch
* cypress
* doesn't need to include all that
* h7
2022-04-25 20:38:16 -04:00
Matthew Kennedy
648f9e623d
fix proteus legacy vbatt ( #4092 )
2022-04-25 17:08:04 -04:00
Matthew Kennedy
d8073e8b27
remove mock adc ( #3888 )
...
* remove mock adc
* do these do /anything/?
2022-02-03 20:43:34 -05:00
Andreika
ada89312b5
hellen81 ADC trigger
2021-12-01 13:03:08 -05:00
Matthew Kennedy
8cdac4cac0
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy
cb032fb1ea
(void) -> () ( #3550 )
...
* static functions with (void)
* more
* Revert "more"
This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.
* s
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
Matthew Kennedy
31ffb0add4
Fast adc API ( #3327 )
...
* dead fast tps
* oooooh map avg on hh7
* adc v4 fast support
* new fast API
* hardware.cpp
* adc v2
* warning
* guard
* no check required
* stub cypress/kinetis
* kinetis and cypress stubs
2021-10-07 08:29:01 -04:00
rusefillc
b917394354
my first Lua
2021-09-01 02:37:36 -04:00
rusefillc
f47320fd70
my first Lua
2021-08-31 12:32:05 -04:00
rusefillc
48a009fc33
Revert "Revert "memory savings ( #3195 )""
...
This reverts commit 0b3ef5f5
2021-08-27 06:18:05 -04:00
rusefillc
0b3ef5f553
Revert "memory savings ( #3195 )"
...
This reverts commit 52a24ee7
2021-08-27 02:32:31 -04:00
Matthew Kennedy
52a24ee773
memory savings ( #3195 )
...
* d
* dead code
* all your ram are belong to me
* turn off gpiochips we don't need
* save
* save by using the same file handle
* smaller stack ok
* these can be on the stack
* this is closer
* what about ccm?
* probing available
* now probe ccm
* ccm
* put stuff in ccm
* fsio
* memory usage
* memory
2021-08-26 23:05:31 +03:00
Matthew Kennedy
4603f875cd
missed a little bit ( #3192 )
2021-08-24 17:00:14 -04:00
Matthew Kennedy
a18b86a09b
start allowing ADC change while running ( #3100 )
...
* allow re-register of the same sensor
* add api to unsubscribe
* do it for tps
* clear the pin
* happy test
* maybe make afr happy for now
* tests build
* happy simulator
* active configuration
* check valid
* we need vbatt now
* manage all pin init in init_sensors.cpp
* don't need that
* cleanup
* thermistors
* do two phase reinit in the right place
* config vs engine
* finally the tests are happy
2021-08-24 16:41:16 -04:00
Matthew Kennedy
045db15dac
implement adc unsubscription ( #3149 )
...
* allow re-register of the same sensor
* adc unsub
2021-08-14 15:41:27 +03:00
Matthew Kennedy
d24f1462e2
even more pch ( #3112 )
...
* s
* more
* s
* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy
25414ebdad
yet more pch ( #3068 )
...
* big pch energy
* put back ramdisk stub
* tests are happy
* h743 nucleo
* kinetis
* I love deleting code!
* make stepper happy
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-03 22:05:01 -04:00
Matthew Kennedy
f70c844c60
H7 ADC triggered by hardware timer ( #3028 )
...
* config
* allow changing adc speed
* timer triggered ADC
* ICU on nucleo
* turn that off too
* 10khz
* make those default for all h7
* I can't type
2021-07-23 14:50:35 -04:00
Matthew Kennedy
09192cfc4d
fast adc callback ( #3031 )
...
* fast adc callback
* guard
* missed one
* now cypress will be happy
2021-07-23 14:19:59 -04:00
rusefillc
aee2ed4ba4
New hardware testing commands #2978
2021-07-17 13:42:10 -04:00
Matthew Kennedy
2ce7777865
don't require EXTERN_ENGINE in every file ( #2969 )
...
* move enginePins
* no more extern engine
* uses
* more
* extern config too
* put this where it belongs
* include correct header
* merge
2021-07-16 18:13:33 -04:00
Andrey
a926357a01
making code more testable
2021-07-14 22:37:05 -04:00
Andrey G
62cbc6db91
Adc fixes ( #2691 )
...
* ADC: save few bytes
* ADC: fix limit checking, add note for futher users
* ADC: not used anymore
2021-05-13 15:51:18 -04:00
Matthew Kennedy
f7581b1869
s ( #2683 )
2021-05-11 15:45:35 -04:00
Matthew Kennedy
5ba7577496
move FSIO aux analog inputs to sensor model ( #2669 )
...
* sensor entries
* init
* non-explicit for list init to work
* switch fsio
* no longer need this lua hook
* init
2021-05-09 19:47:37 -04:00
Matthew Kennedy
3f36d488bf
move ADC pin initialization ( #2660 )
...
* set the pin in adc subscription land
* remove from adc_inputs
* more subscriptions
* use our lib instead
2021-05-09 14:36:11 -04:00
Andrey G
0f4de02223
ADC: internalIndex should be used as getAvgAdcValue argument ( #2618 )
...
* ADC: internalIndex should be used as getAvgAdcValue argument
-plus output messages re-formated
* ADC: logger -> efiPrintf
2021-05-03 16:44:19 -04:00
Matthew Kennedy
742ea83bfa
Baro config ( #2591 )
...
* adjust API to allow i2c init to fail
* init
* proteus config
* 🎠 🎠 🎠
* buh
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-27 15:29:22 -04:00
Matthew Kennedy
bbb6b6dd14
remove simple cases of LoggingWithStorage ( #2569 )
...
* remove simple cases
* more simple
* serial
* s
* more
* try memory
* easy
* mmc acc
* that's how much memory
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-19 08:11:59 -04:00