Commit Graph

2399 Commits

Author SHA1 Message Date
rusefillc 6e9f981120 only:todo mc33972 2023-11-21 11:15:56 -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 54274d8022 CAN: we need both Rx and Tx pins to be valid 2023-11-19 16:20:11 -05:00
Andrey Gusakov 2cacc1b65c L9779: fix initialization 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
rusefillc afa1e36f46 only:driver for mc33972 replacement #5733 2023-11-17 12:35:57 -05:00
rusefillc c50be9ecdd undoing noise
only:proteus_f7
2023-11-16 22:36:38 -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 Gusakov 814b94dd4b AT32: definetly not isStm32F42x() 2023-11-12 13:08:25 -06:00
Andrey Gusakov e08a311fa7 guards: EFI_BACKUP_SRAM 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 5a11a2a2b4 stm32_common: divide into parts for easy reuse 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 a1e407706d Something kia rio starter 4chan #5701
definitely better multithreading behaviour and better readability
2023-11-09 00:33:16 -05:00
rusefi b856e5306d Something kia rio starter 4chan #5701
only:alphax-4chan_f7
2023-11-08 23:31:56 -05:00
rusefillc ec6e711745 Something kia rio starter 4chan #5701
another last step before debugger?
2023-11-08 22:21:51 -05:00
rusefi 9a5ec27c54 only:cleaner defines 2023-11-05 18:20:12 -05:00
rusefi e82fe52ac1 https://github.com/rusefi/alphax-8chan/issues/122
only:alphax-8chan
2023-11-05 13:32:06 -05:00
Andrey Gusakov bb161be8e8 AT32: say RAM size 2023-11-05 07:16:57 -05:00
rusefillc 5e1f66c1b9 only:Unit Tests on Windows 2023-11-04 18:48:46 -04:00
rusefi 1bbff802a6 only:Unit Tests on Windows 2023-11-04 13:30:57 -04:00
rusefillc 23fbc3f8f4 only:Unit Tests on Windows 2023-11-04 13:18:55 -04:00
rusefillc c5c62a42c0 better guards 2023-11-04 13:05:08 -04:00
rusefillc 2d9b835768 better guards 2023-11-04 09:45:22 -04:00
rusefillc 12e6c18c4e better guards 2023-11-04 09:45:14 -04:00
rusefillc 3d48982b1f only:Unit Tests on Windows 2023-11-04 09:42:49 -04:00
andreika-git 525d8355b3 trigger_input_comp is now ready for unused-vars 2023-11-03 15:47:40 -04: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
Andrey cdfee38284 clean-up 2023-11-02 11:26:29 -04:00
rusefillc b13a243af7 only:variable shadowing should be avoided #5676 2023-11-01 17:02:24 -04:00
rusefillc 54297824e0 only:variable shadowing should be avoided #5676 2023-11-01 16:25:30 -04:00
rusefillc e384914c95 only:variable shadowing should be avoided #5676 2023-11-01 13:02:20 -04:00
rusefillc 35e57475a4 only:variable shadowing should be avoided #5676 2023-11-01 12:12:50 -04:00
rusefillc 91ba507d4b only:variable shadowing should be avoided #5676 2023-11-01 12:07:00 -04:00
rusefillc 781a236885 only:shall we be just a little less Toyota 2023-11-01 10:32:53 -04:00
rusefillc 2e62e6fc91 only:shall we be just a little less Toyota 2023-11-01 10:21:27 -04:00
rusefillc 198c9e8f57 only:shall we be just a little less Toyota 2023-11-01 10:09:04 -04:00
rusefi 6b97f23eae pursuit of truth 2023-10-31 09:36:45 -04:00
Stefan de Kraker 4b64e0e087 Fixed CAN data bus selection
* Fixed CAN data bus selection

* Made canChannel non-optional
2023-10-31 01:42:47 -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
rusefillc 8c4a06bc10
getBackupSram neven null (#5663) 2023-10-29 15:46:15 -04:00
Andrey G 80a370088e
hw_layer: ICU helper: fix clocks (#5659) 2023-10-29 12:29:09 -04:00
rusefillc 7b25477ddf CodeQL says Potentially uninitialized local variable 2023-10-27 23:41:55 -04:00