Andrey Gusakov
3b34f6b81e
pins: STM32: extended debug information about on-chip pins
2024-05-12 13:17:44 -04:00
Andrey Gusakov
f8817a8574
ADC: common definitions to common header
2024-05-09 13:08:29 -04:00
rusEFI LLC
93edf72814
todo: are those hibernating ports not well?
2024-04-25 15:17:35 -04:00
rusefi
d594502594
only: 'void'?
2024-04-06 21:23:02 -04: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
Andrey
a9dbd1bbf7
only:cypress
2024-02-08 10:14:36 -05:00
Andrey Gusakov
84ac47c4af
ports: add initSpiCs helper that does not mak pin used
2024-02-02 23:17:56 -05:00
rusefillc
a3f3f536e8
openblt preparation
2023-12-29 17:55:50 -05:00
andreika-git
27bddc7dc5
disable WDG for Cypress & Kinetis
2023-12-14 02:04:48 -05:00
andreika-git
65b9ee94aa
reset cause stub for other archs
2023-12-13 09:01:41 -05:00
Andrey Gusakov
b87f1e8174
CAN: show low-level error counters and flags
...
STM32 only
2023-12-06 19:18:05 -05:00
andreika-git
da9d83ec8b
watchdog stub for cypress/kinetis
2023-11-28 15:49:12 -05:00
andreika-git
585ca0c829
Initial support for watchdog
2023-11-28 15:49:12 -05:00
andreika-git
04779c374f
move causeHardFault() to arm_common.cpp
2023-11-14 15:28:07 -06:00
andreika-git
aa7265a5bf
causeHardFault() function for different ports
2023-11-14 15:28:07 -06: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
Andrey
4eefedcec2
unused-variable is a nice error message to have #5683
2023-11-02 20:48:57 -04:00
Andrey
b70f8f0b92
unused-variable is a nice error message to have #5683
2023-11-02 18:31:03 -04:00
rusefillc
d709afe21b
global_port.h ( #5388 )
...
* global_port.h
* global_port.h
---------
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-07-04 23:45:10 -04:00
rusefillc
9e838f1d12
HW_LAYER_EMS* renamed to HW_LAYER_PORT* ( #5387 )
...
* HW_LAYER_EMS_CPP renamed to HW_LAYER_PORT_CPP
* HW_LAYER_EMS renamed to HW_LAYER_PORT
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-07-04 22:30:20 -04:00
rusefillc
5812210afa
helping C&K
2023-06-25 11:02:22 -04:00
rusefillc
fa57f32a37
reducing GPIO code duplication
2023-05-24 10:37:02 -04:00
rusefillc
458d8982aa
reducing GPIO code duplication
2023-05-24 10:34:11 -04:00
rusefillc
cdf5447afb
reducing GPIO code duplication
2023-05-24 10:24:44 -04:00
rusefillc
9b2a134950
docs
2023-05-24 10:15:31 -04:00
rusefillc
91a25bad96
conditional EFI_DFU_JUMP
2023-05-24 09:58:22 -04:00
rusefillc
f5d4e29661
helping cypress & kinetis
2023-05-24 09:52:07 -04:00
rusefillc
61f840fcc3
reducing GPIO code duplication
2023-05-24 09:30:19 -04:00
rusefillc
c1cdf77f3a
conditional compilation around getBackupSram
2023-05-24 09:01:22 -04:00
rusefillc
cc4175f428
reducing GPIO code duplication
2023-05-24 08:51:24 -04:00
rusefillc
f317d298af
code style
2023-05-24 01:38:56 -04:00
Matthew Kennedy
61e5b4b1ad
change ObdCode to enum class builds firmware
2023-04-29 00:44:00 -04:00
rusefillc
0be6559ced
does gcc11 know something? ( #4738 )
...
* does gcc11 know something?
* fix BACKUP_FLASH_ADDR assertion semantic (#4750 )
* fix BACKUP_FLASH_ADDR assertion semantic
* cast BACKUP_FLASH_ADDR as flashaddr_t
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Nathan Schulte <8540239+nmschulte@users.noreply.github.com>
2022-11-07 19:22:58 -05:00
rusefillc
38639e8877
nicer (?) parameter names
2022-10-19 10:25:02 -04:00
Matthew Kennedy
0cc1f729c4
Write hard faults to backup ram, print on next boot ( #4324 )
...
* use backup ram, hard fault handler improvement
* wire it up
* upload elf
* s
* I guess I'll just use strncpy
* s
* what is it even complaining about?
* neat, we don't need a cast
* cypress and kinetis
* cleanup
* ci
* guard for tests
2022-07-07 15:14:31 -04: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
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
729e107474
we have other places to set these MCU values ( #3875 )
...
* we have other places to set these values
* missing parts
Co-authored-by: rusefillc <rusefillc@gmail.com>
2022-02-01 18:18:16 -05:00
Matthew Kennedy
6b6fd5e6e8
fix dual CAN init, update UI ( #3719 )
...
* CAN init sequence
* config & UI cleanup
* ui
* simplify
2021-12-24 23:33:54 -05:00
Matthew Kennedy
408d4c6ebf
multi CAN plumbing ( #3688 )
...
* framing for multi CAN
* typoooooooo
2021-12-10 17:08:10 -05:00
rusefillc
7db1bb87f5
trigger_adc helping cypress
2021-12-01 15:26:38 -05: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
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
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
rusefillc
b65c4b5612
trigger signal debug pins - logic level output #2959
2021-07-15 00:03:31 -04:00