Matthew Kennedy
4ae631ff46
increment slow adc counter after everything
2025-05-04 01:26:37 -07:00
Matthew Kennedy
accb87c8e2
waitForSlowAdc, stepper cleanup
2025-05-04 00:38:54 -07:00
Matthew Kennedy
71d8e80ddc
progress on dual MAP
2025-03-07 00:13:41 -08:00
Matthew Kennedy
f0161a69ba
remove AdcDevice class, do it directly in stm32_adc_v2.cpp
2025-03-07 00:04:40 -08:00
Matthew Kennedy
7e9695c65b
adc simplification and cleanup
2025-03-06 23:51:43 -08:00
Matthew Kennedy
982526f574
adc simplification & cleanup
2025-03-06 23:51:08 -08:00
Matthew Kennedy
82a27d68cd
init ADC from initHardwareNoConfig
2025-03-02 14:01:09 -08:00
Matthew Kennedy
85291b4bbd
ADC ports are responsible for their own sample buffer
2025-02-04 01:29:04 -08:00
Matthew Kennedy
2155f3c019
extract some implementation details of fast ADC out to port
2024-11-08 00:58:07 +00:00
Matthew Kennedy
e7f8033e32
these functions can now be static
2024-11-08 00:51:08 +00:00
Matthew Kennedy
4266c04c65
dead function
2024-11-08 00:46:55 +00:00
Matthew Kennedy
d3110cde42
missed a line
2024-11-08 00:20:07 +00:00
Matthew Kennedy
01a397094d
execute critical tasks on one big thread ( #462 )
...
* wire up main loop
* remove PeriodicTimerController
* patch up defines, comments
* happy simulator
* format
* simulator
* ETB runs via main loop
* happy tests
* protection against invalid LoopPeriod
* stack size
* ccm
* fix |= operator
* move perf trace
* ordering
* ordering
2024-09-17 15:27:38 -07:00
Matthew Kennedy
0b31777623
adc inputs cleanup
2024-08-12 18:13:51 -07:00
Matthew Kennedy
e4e0824f57
misc format/comment cleanups
2024-08-07 12:01:08 -07:00
Matthew Kennedy
b36474888b
Merge branch 'master' of https://github.com/fome-tech/fome-fw
2024-07-22 10:39:45 -07:00
Matthew Kennedy
3f2450056a
use CriticalSectionLocker
2024-07-22 10:39:39 -07:00
Matthew Kennedy
1245ddcc21
adc clarity
2024-07-21 23:23:52 -07:00
Matthew Kennedy
c5b9f53808
cleanup
2024-07-21 22:28:51 -07:00
Matthew Kennedy
591b8446fe
minor adc_inputs cleanup
2024-07-21 13:21:02 -07:00
Matthew Kennedy
4554e099f4
if you need this command you need a debugger
2024-07-03 01:06:28 -07:00
Matthew Kennedy
cf87e64119
compile-time enforcement of printf strings
2024-06-10 00:51:14 -07:00
Matthew Kennedy
17c6a46e84
optimize for hot thread stacks and data in CCM
2024-01-06 19:37:35 -08:00
Matthew Kennedy
053e9daceb
oops these don't fit either
2024-01-06 19:01:41 -08:00
Matthew Kennedy
7b46529dee
move some stuff in to CCM
2024-01-06 18:52:37 -08:00
Matthew Kennedy
7e2097056c
unused parameters
2024-01-06 18:31:18 -08:00
Matthew Kennedy
6dc6f89e71
H7
2023-11-03 15:30:15 -07:00
Matthew Kennedy
68ef36c5d0
adc inputs shadowing
2023-11-01 14:22:29 -07:00
Matthew Kennedy
2fd26e948a
remove proteus legacy build -> none exist in the wild
2023-05-18 15:29:31 -07:00
Matthew Kennedy
d5f9479f28
ObdCode is enum class ( #77 )
...
* change ObdCode to enum class builds firmware
* test builds
* don't need this line at all
* can we go down to uint16_t?
2023-04-12 23:44:33 -07:00
Matthew Kennedy
666a41e496
hip9011
2023-02-20 22:29:48 -08:00
Andrey G
e086176fc1
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
Matthew Kennedy
96880543ca
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
584c4b7019
efi::size
2022-10-27 20:35:37 -04:00
Andrey
25b6d39802
os_access.h dead?
2022-09-07 15:56:45 -04:00
rusefillc
b3e13f12b4
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
efdae2322d
Start -> start ( #4366 )
2022-07-21 15:17:32 -04:00
Matthew Kennedy
a0d9a584db
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
0a1d18cf3b
fix proteus legacy vbatt ( #4092 )
2022-04-25 17:08:04 -04:00
Matthew Kennedy
31c0afc79f
remove mock adc ( #3888 )
...
* remove mock adc
* do these do /anything/?
2022-02-03 20:43:34 -05:00
Andreika
99c4dd4cb4
hellen81 ADC trigger
2021-12-01 13:03:08 -05:00
Matthew Kennedy
7296593448
remove engine pointer passing ( #3556 )
...
* some
* more
* more
* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy
c1941f3a49
(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
rusefillc
d005cd6891
my first Lua
2021-09-01 02:37:36 -04:00
rusefillc
cbdd36df92
my first Lua
2021-08-31 12:32:05 -04:00
Matthew Kennedy
fe74ace049
missed a little bit ( #3192 )
2021-08-24 17:00:14 -04:00
Matthew Kennedy
df48806ec0
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
39388c75d8
even more pch ( #3112 )
...
* s
* more
* s
* f7
2021-08-04 19:30:52 -04:00
Matthew Kennedy
4e6b61234f
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
1a73dcc46e
fast adc callback ( #3031 )
...
* fast adc callback
* guard
* missed one
* now cypress will be happy
2021-07-23 14:19:59 -04:00