Andrey Gusakov
adc9c4fc8a
spi initialization: clean-up, rework, no logic changes
2024-03-03 11:37:19 -05:00
Andrey Gusakov
5068f99863
spi pin helpers: common for all ports, extend for SPI4,5,6
2024-03-03 11:37:19 -05:00
Andrey Gusakov
de96d8ba06
one-based indexing enums is not cool
...
Fixes possible out of array bounds introduced in 5af710ff73
2024-03-02 15:50:27 -05:00
rusefillc
5af710ff73
magic constant bad
2024-02-26 18:37:53 -05:00
Matthew Kennedy
3627276f58
support spi4/5/6
2024-02-26 18:36:26 -05:00
pchmura4
c81f22ac90
Added missing code to enable SPI4/5/6
2024-02-26 14:51:51 -05:00
pchmura4
881a8905d4
Changes to enable SPI4, SPI5 and SPI6
2024-02-26 14:51:51 -05:00
rusefillc
536f1d61ec
only:boardInitHardwareExtra
2024-02-24 18:28:20 -05:00
Andrey Gusakov
e80c57fa5f
EFI_MEMS -> EFI_ONBOARD_MEMS
2023-12-16 11:50:34 -05:00
andreika-git
a64fda548f
EFI_PROD_CODE guards
2023-12-13 09:01:41 -05:00
andreika-git
60a2aae2e1
Reset cause for STM32
2023-12-13 09:01:41 -05:00
rusefillc
28a273cae7
refactoring: better method name
2023-12-10 11:48:48 -05:00
rusefillc
101df2cf92
only:better method name
2023-11-24 14:37:01 -05:00
Andrey G
ed8af771ac
at_start_f435: enable MFS for internal flash ( #5687 )
...
* Rename EFI_INTERNAL_FLASH to EFI_STORAGE_INT_FLASH
This define enables use of RE custom flash driver for storing
settings to internal flash.
* at_start_f435: enable MFS for settings storing in internal flash
* MRE: fix special build
* kinetis: fix flash_int.cpp vs flash_int.c mess
* at32: allow allowFlashWhileRunning()
* flash_main: supress warning
2023-11-03 13:08:35 -04:00
rusefillc
2e62e6fc91
only:shall we be just a little less Toyota
2023-11-01 10:21:27 -04:00
rusefillc
215284c7bc
DAC with Lua #5601
2023-10-09 11:33:09 -04:00
rusefillc
213cabaf0f
start/stop: maybe applying more configuration changes on the fly? ( #5581 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-09-25 15:05:28 -04:00
rusefillc
bc2a2b9ab9
only:better method name
2023-06-25 02:08:53 -04:00
rusefi
f77f356e6d
reducing code duplication
2023-06-11 23:17:13 -04:00
rusefi
731fd89ef7
reducing magic constant
2023-06-11 23:13:36 -04:00
rusefillc
6f028ce955
style/guards
2023-05-31 23:06:39 -04:00
rusefillc
4cd21bc35e
better code guard?
2023-05-24 11:07:31 -04:00
rusefillc
198422ffaf
code guard
2023-05-24 00:44:58 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
Matthew Kennedy
7396d466c4
cj125
...
(cherry picked from commit fd09ad7b4f2a9c450aedf4a535db4edd24bdcee1)
2023-04-29 00:15:54 -04:00
Matthew Kennedy
bb49b22294
joystick, lcd
...
(cherry picked from commit 61c17791b89fc6b5ae17df96d9498c088afdb09f)
2023-04-28 22:32:37 -04:00
Andrey
e43c6b0d06
only:todo
2023-04-22 11:28:50 -04:00
rusefillc
d31ba5f179
trigger layer start-up is a mess fix #5241
...
reducing complexity of conditional compilation
2023-04-19 17:30:52 -04:00
rusefillc
8fc2e0eb53
trigger layer start-up is a mess #5241
...
reducing code duplication: start actual pins only from best startHardware method
2023-04-19 17:27:47 -04:00
rusefillc
d423bb063a
trigger layer start-up is a mess #5241
...
reducing the mess: moving logic out of strange method
2023-04-19 17:25:43 -04:00
rusefillc
dae865210a
trigger layer start-up is a mess #5241
...
reducing the mess: reducing code duplication
2023-04-19 17:21:23 -04:00
rusefillc
cb2d817da9
trigger layer start-up is a mess #5241
...
refactoring: just renaming method
2023-04-19 17:19:20 -04:00
rusefillc
cffad07458
trigger layer start-up is a mess #5241
...
refactoring: just renaming method
2023-04-19 17:07:36 -04:00
rusefillc
21ea057f70
reducing code duplication
2023-04-19 16:51:16 -04:00
rusefillc
af93acc15b
dead code
2023-04-19 16:49:02 -04:00
rusefillc
1f3b3e82fb
Lcd ( #5217 )
...
* WS2812 LED strip on TIM1_CH1_UP using pin PE9 and DMA.
* Applied suggestions
* linux and Windows have different approach
* linux and Windows have different approach
---------
Co-authored-by: benas-gavea <bbrazdziunas@gavea.co.uk>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-04-03 11:31:07 -04:00
Andrey
82bcc9b42c
progress: run more code in simulator
...
only:hellen-honda-k
2023-03-05 02:42:54 -05:00
Andrey
6b4c4a5833
refactoring: vvt is not aux
...
only:hellen-honda-k
2023-03-05 02:07:47 -05:00
Andrey
bd72aace92
progress: bringing simulator closer to real code
...
only:hellen-honda-k
2023-03-05 01:28:55 -05:00
Andrey
9cf426e3db
progress: run more code in simulator
...
only:hellen-honda-k
2023-03-05 01:13:43 -05:00
Andrey
264f265420
CAN GPIO #4096
...
only:hellen-honda-k
2023-03-05 00:52:57 -05:00
Andrey G
ddab1536de
Kline: do init from initHardware() and stop/start from applyNewHardwareSettings() ( #5125 )
2023-02-23 17:05:59 -04:00
rusefillc
11138a1c74
rusEFI needs K-line firmware support #3248
2023-02-17 08:18:50 -05: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
Andrey G
a300043f5d
Feed mapAveragingAdcCallback() with volts not adc raw values ( #4940 )
2023-01-05 12:14:48 -05:00
Andrey G
f25edb646d
ADC and HIP: feed callback with voltage, not raw adc values ( #4939 )
...
* hip9011: use adcToVoltsDivided() helper
* hip9011: feed callback with volts, not raw adc value
2023-01-05 12:00:23 -05:00
Matthew Kennedy
9d8bfb834e
Basic trigger scope implementation ( #4885 )
...
* big buffer
* mostly hooked up big buffer
* bad merge
* s
* sneak preview of trigger scope
* s
* constness
* channel limits
* s
* unnecessary
* efilib
* TcpServerSandbox
* includes fix
* binary format
* tooth logger uses big buffer
* dead config
* config
* implement basic trigger scope
* good behavior
* enable on other alphax
* flag to enable second channel
* use 8 bit mode on the ADC for less memory use
* changelog
2022-12-10 23:00:12 -05:00
Nathan Schulte
2afc9162eb
RTC toggle in hardware.cpp
2022-11-21 09:36:28 -05:00
Nathan Schulte
d144248a6f
fix simulator build (via MinGW) ( #4799 )
...
* firmware: kill -9 dead hipLastExecutionCount
* firmware: pin_repository C includes efi_gpio.h
* firmware: controllers: tidy #endif comments
* firmware: primary_pins logic depends EFI_GPIO_HARDWARE
* firmware: only print ADC info if HAL_USE_ADC
* firmware: digital_input: tidy #endif comments
* firmware: digital_input logic depends on e.g. HAL_USE_ADC
* firmware: digital_input logic depends !EFI_SIMULATOR
* firmware: digital_input logic depends e.g. HAL_USE_ADC
* simulator: Makefile includes RUSEFI_LIB_C as CSRC
* Revert "GHA/build-firmware: pin agents to Ubuntu 20.04 (#4793 )"
This reverts commit cb2477be6c
.
2022-11-18 23:43:43 -05:00
rusefi
6e24020ab5
GM ETB bench test in NJ #4688
...
SENT to Lua integration
2022-10-22 22:46:37 -04:00