Commit Graph

29 Commits

Author SHA1 Message Date
rusefillc 96d63adf4a only:making technical debt more obvious 2024-02-12 10:00:08 -05:00
rusefillc 30c903e9ca only:accelerometer refactoring & docs 2024-02-12 10:00:08 -05:00
Andrey Gusakov 89e17fe083 accelerometers: hide variables under guard 2024-02-12 09:49:05 -05:00
Andrey Gusakov 11c0b96c7d accelerometer: add support for lis302dl and lis3dsh, autodetection 2024-02-12 09:49:05 -05:00
Andrey Gusakov da8244a97a Styling 2024-02-12 09:49:05 -05:00
Andrey Gusakov 6b957e33b7 IMU: select CAN vs SPI 2023-12-18 12:00:48 -05:00
rusefi b141199292 some logging and some setting safety 2023-12-17 08:51:56 -05:00
Andrey Gusakov 54e6e12936 Accelerometer: no annoing printf 2023-12-16 11:50:34 -05:00
Andrey Gusakov 10093dca6e CodeQL ? 2023-12-16 11:50:34 -05:00
Andrey Gusakov 846e2391d1 Accelerometer: add support for LIS2DH12 (LSM303AGR driver) 2023-12-16 11:50:34 -05:00
Andrey Gusakov a5c7895528 sensors: accelerometer: use ChibiOS's lis2dw12 driver 2023-12-16 11:50:34 -05:00
Andrey Gusakov e80c57fa5f EFI_MEMS -> EFI_ONBOARD_MEMS 2023-12-16 11:50:34 -05:00
Andrey Gusakov c7fe53e107 Rename LIS302DLCsPin to accelerometerCsPin 2023-12-14 00:31:46 -05:00
Matthew Kennedy d31f535ca3 sanity in IMU data names/ranges 2023-11-27 14:59:21 -05:00
Andrey b5c27f01a6 we have centralized SPI management? do we? 2023-02-26 20:25:24 -05:00
Andrey 3bff1ea14d placing board stuff into board folder, reducing hacky code 2023-02-26 20:25:24 -05:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -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 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 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 G 2af32084f4
gpio helper (#2195)
* gpios: isBrainPinValid helper

* LCD HD44780: do not touch pins if DM_NONE or invalid gpio

* Fix isEnabled checks for GPS and Joystick

* LCD HD44780: writePad use this method wider
2021-01-08 20:01:26 -05:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
dron0gus 1b42748e60 Spi fixes (#1083)
* spi: add support for SPI4

* mpu_util: spi: add 8BIT mode definitions for F4, F7 and kineris (?)
2020-01-06 08:44:23 -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
rusefi af4f20551b getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
rusefi 34acd20833 More than one aux pid #866
renaming this class since we will probably have two different implementations for two different cases
2019-07-08 03:35:41 -04:00
rusefi 508e9d74e7 defined(__DOXYGEN__) ? #748 2019-04-12 20:52:51 -04:00
rusefi 02832ce0c3 The Big Refactoring of 2019: folder structure #723 2019-04-02 23:19:21 -04:00