Commit Graph

332 Commits

Author SHA1 Message Date
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 215284c7bc DAC with Lua #5601 2023-10-09 11:33:09 -04:00
Andrey 13bbb72264 null terminate USB strings 2023-08-27 09:30:33 -04:00
Matthew Kennedy c7a183db49 this button isn't useful as it just bricks the ECU 2023-08-27 09:08:08 -04:00
rusefi e8c45a2e7d refactoring: reducing code duplication. Also, do we even care for critical error codes?! 2023-08-20 22:23:44 -04:00
rusefillc f32c1206eb 42x compilation fix 2023-07-06 20:03:23 -04:00
rusefillc c2c5d5b01f cleaner HAL usage 2023-07-06 16:07:55 -04:00
Andrey 777c539cac fixing cypress & reducing copy-paste 2023-07-06 15:34:42 -04:00
rusefillc 330017db67 refactoring: reducing copy-pasta 2023-07-06 14:16:33 -04:00
rusefillc 6e638b779c refactoring: reducing copy-pasta 2023-07-06 13:46:50 -04:00
Andrey G 7aebff02aa
Fix non-F4 (#5390)
* Fix non-F4

* Makefile: use tabs for intending recipe lines ONLY

https://stackoverflow.com/questions/53635263/why-does-indenting-if-else-with-tabs-break-a-makefile
The simple rule for makefiles is, always indent recipe lines with TAB,
and never indent any other lines with TAB.
2023-07-05 09:09:08 -04:00
Andrey a103960186 only:only BOR needs flash_ex? 2023-07-05 00:34:32 -04:00
Andrey 2d96b69e38 only:a bit more of AT32 2023-07-05 00:27:12 -04:00
Andrey b5f3094602 a bit more of AT32 2023-07-05 00:21:16 -04:00
Andrey 55ff879cb7 helping build 2023-07-05 00:21:06 -04:00
rusefillc d32a0c55d0 only:a bit of AT32 2023-07-04 23:48:15 -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 8b33fb79bb a bit of AT32 2023-07-04 23:40:08 -04:00
rusefillc fa98b04909 a bit of AT32 2023-07-04 23:01:04 -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
Andrey G 18fd4dcf80
Openblt usb on Proteus with OSC detecor (#5382)
* OpenBLT: enable for F4 (proteus), enable USB interface

* OpenBLT: subaru EG33: sync code with common

* OpenBLT: fix flashing script

* OpenBLT: fix flash layout

* OpenBLT: reuse osc_detector for OpenBLT on Proteus

* OpenBLT: define STM32F4XX, STM32F7XX or STM32H7XX

For compatibility with RusEFI sources
2023-07-03 08:22:18 -04:00
Andrey G d5e9c3a5e1
Openblt usb for F7 (#5365)
* OpenBLT: enable USB for F7

* OpenBLT: simple flash over USB script
2023-07-02 09:22:55 -04:00
rusefillc 5812210afa helping C&K 2023-06-25 11:02:22 -04:00
rusefillc e427007393 CJ125 is dead 2023-06-14 08:50:51 -04:00
rusefillc 24d1d5ad41 extra flexibility to facilitate ports 2023-05-31 23:10:18 -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 9697304af4 reducing GPIO code duplication 2023-05-24 10:31:51 -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
Andrey 51d0f6e347 it's going to be painful 2023-04-29 00:44:00 -04:00
Matthew Kennedy 197d75395d don't need this line at all 2023-04-29 00:44:00 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 01f7e4068d rename obd_code_e -> ObdCode
(cherry picked from commit d6534157a0)
2023-04-29 00:44:00 -04:00
Andrey 7bfadd2daa whoever needs it should speak up 2023-04-28 20:18:03 -04:00
Andrey Gusakov d79ef84e40 Fix 'equality comparison with extraneous parentheses' warning/error 2023-04-07 03:47:56 -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
rusefi ce59e17670 Revert "https://github.com/rusefi/alphax-4chan/issues/100"
This reverts commit 86d326893a.
2023-03-25 01:24:45 -04:00
rusefi 86d326893a https://github.com/rusefi/alphax-4chan/issues/100
https://github.com/rusefi/rusefi/pull/5196
2023-03-25 00:58:49 -04:00
rusefi fd3f08fdd0 https://github.com/rusefi/alphax-4chan/issues/100
flexibility
2023-03-24 23:39:20 -04:00
rusefillc 58b5764024 hellen81 does not approve
https://github.com/rusefi/rusefi/pull/5196

https://github.com/rusefi/alphax-4chan/issues/100
2023-03-24 21:08:08 -04:00