Andrey Gusakov
3557d96d3b
flash: renames only
...
allowFlashWhileRunning() -> mcuCanFlashWhileRunning() - true if MCU
can flash while continue code execution. Dual bank mode on STM32.
New allowFlashWhileRunning() return true if MCU can write its own
flash while keep runnig OR settings are stored in external storage.
2024-08-09 18:25:31 -04:00
Andrey Gusakov
0495a7163f
at32: comment about dual-bank mode
2024-07-29 09:21:47 -04:00
Andrey
1131899755
https://github.com/rusefi/rusefi/pull/5394
...
only:nastyornot
2024-06-17 21:00:55 -04:00
Andrey
6714b63c08
https://github.com/rusefi/rusefi/pull/5394
...
only:nastyornot
2024-06-17 19:32:21 -04:00
rusefillc
969887b87e
EFI_DFU_JUMP
2024-04-03 08:29:45 -04:00
Andrey Gusakov
b499c8b519
ports: chconf_stm32.h for stm32, add its location to includes path
2024-03-03 13:02:38 -05:00
Andrey Gusakov
e5041792a2
at3@: use STM32's chconf.h
2024-03-03 13:02:38 -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
Andrey
9bd8ed1e08
we do not use dynamic threads
2024-02-25 16:25:35 -05:00
Andrey Gusakov
84ac47c4af
ports: add initSpiCs helper that does not mak pin used
2024-02-02 23:17:56 -05:00
andreika-git
62077e4c85
Enable WDG only for F4
2023-12-14 02:04:48 -05:00
andreika-git
06aaef0b0d
enable STM32_WDG_USE_IWDG for H7 and AT32
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
Andrey Gusakov
c9c7adbdbc
CAN configs are platform specific
...
Move STM32's configs to stm32_can.cpp
Create AT32's configs in at32_can.cpp
2023-11-19 16:20:11 -05:00
Andrey Gusakov
84cb2aee8d
AT32: CAN helpers
2023-11-19 16:20:11 -05:00
Andrey Gusakov
19e8d86845
ports: AT32: SPI AF tables, helpers, init code
2023-11-18 11:14:46 -06: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 Gusakov
814b94dd4b
AT32: definetly not isStm32F42x()
2023-11-12 13:08:25 -06:00
Andrey Gusakov
4634a741c2
at32: at32_common: reuse some parts from STM32
...
This is temporally, some parts are quite different and need rework
2023-11-12 13:08:25 -06:00
Andrey Gusakov
5faa4304ab
ports: at32: allow boards to disable OTG ports
2023-11-11 16:12:29 -05:00
Andrey Gusakov
1ff029a6fb
port: at32: allow STM32_SERIAL_USE_USART1 override from board
2023-11-11 16:12:29 -05:00
Andrey Gusakov
fa1aeb700a
port: at32: we do not like UART mode for console
2023-11-11 16:12:29 -05:00
Andrey Gusakov
bb161be8e8
AT32: say RAM size
2023-11-05 07:16:57 -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
Andrey G
7f05e45d41
AT32: chip detection, flash detection, sayHello() ( #5666 )
...
* at32_common.cpp: MCU type detection helper
* sayHello(): tick rate is CH_CFG_ST_FREQUENCY
* eficonsole: do isStm32F42x() check for STM32 only
* sayHello(): more info about AT32
* Update ChibiOS
* eficonsole: typo
2023-10-30 07:09:35 -04:00
Andrey G
e298348981
Artery AT_START_F435 board support ( #5662 )
...
* AT32: port directory and files
* at_start_f435: reuse board.h from ChibiOS
* at_start_f435: fix LEDs
* at_start_f435: fix usb
* at_start_f435: fix compilation
* at_start_f435: add to workflow
* at_start_f435: add to workflow fix
* ports: at32: cleanup and comments
2023-10-29 19:13:31 -04:00