Commit Graph

458 Commits

Author SHA1 Message Date
Andrey Gusakov cbc2773f67 halconf: no need to have such a big TX USB buffers 2024-11-04 08:39:30 -05:00
Andrey G d9dcc40a54
6595 burn failed (#7031)
* halconf: SERIAL_USB_BUFFERS_RX_SIZE should be 64

Until we fix bug in OTGv1

* ChibiOS: update OTGv1

* usb_console: fix SERIAL_USB_BUFFERS_TX_SIZE vs BLOCKING_FACTOR check

Actually should be removed as we can write to USB serial more than
can fit into buffer. Write caller will be just waiting for space
available in buffer.
2024-11-03 17:22:17 -05:00
rusefi fcc77166fe only:CH_CFG_USE_DYNAMIC unused? 2024-10-31 22:24:26 -04:00
Andrey 0ca3663db9 only:typo 2024-09-29 14:00:24 -04:00
Andrey Gusakov b2dfda3aee mpu_utils: implement adcMuxedGetParent() 2024-09-04 08:41:46 -04:00
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 3df13c8db8 revive MC33816 driver #6781
let's fail gracefully instead of hanging within ChibiOS
only:alphax-4k-gdi_debug
2024-08-08 11:33:39 -04:00
Andrey 2e8dd875de openblt binary version #6756
only:proteus_f7
2024-07-30 12:59:17 -04:00
Andrey 05aa7d8980 encapsulation
only:proteus_f7
2024-07-30 11:51:39 -04:00
Andrey 9b5f0244bf only:docs 2024-07-29 17:41:57 -04:00
Andrey Gusakov 0495a7163f at32: comment about dual-bank mode 2024-07-29 09:21:47 -04:00
Andrey Gusakov e64cb9bebf MFS: we do not need transaction API 2024-07-29 09:21:47 -04:00
Andrey Gusakov 5ff5691d2c flash_api: we do not need so much records in MFS
Actually currently we save only one record - settings
2024-07-29 09:21:47 -04:00
Andrey Gusakov b8100245d7 portname(): never return null
Some users do not check return value, this can cause null-pointer
access.
2024-07-20 17:37:52 -04:00
Andrey Gusakov dce26afd3f adc: adcIsMuxedInput() helper
Return true for ADC channel that is "second virtual" input on pin
Ie muxed with external switch.
This helps avoid attemp to mark pin used twice while configuring ADC
2024-07-20 17:37:52 -04:00
rusefi cdab259efa hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only:hellen154hyundai_f7
2024-07-11 09:37:06 -04:00
Andrey Gusakov 431e0ea56a ports: stm32: add ADC3 enums, add getAdcInternalChannel() helper 2024-06-25 10:34:22 -04:00
Andrey Gusakov 2ee8ef338a adc: incapsulate some private data 2024-06-25 07:18:43 -04:00
Andrey Gusakov 80bf0205db ADC: FastAdcToken rename to AdcToken 2024-06-20 09:45:31 -04:00
Andrey Gusakov dbbe6ace0a ADC: AdcConfiguration.h rename to AdcDevice.h 2024-06-20 08:16:03 -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
Andrey 2d03accf4b SERIAL_USB_BUFFERS_SIZE flexibility
only:uaefi
2024-06-11 12:09:44 -04:00
Andrey dc6419f4c2 compile-time enforcement of printf strings
only:uaefi
2024-06-10 19:39:54 -04:00
rusefillc f9faac21f9 only:flexibility 2024-06-07 03:35:44 -04:00
rusefillc a331b5873a dead & spelling 2024-06-07 02:43:31 -04:00
rusefillc e0cfb02ea3 F7 chip size flexibility 2024-06-07 02:28:26 -04:00
Andrey Gusakov 421086a47e mass_storage: allow EFI_USE_COMPRESSED_INI_MSD override 2024-05-27 08:41:17 -04:00
Andrey a8543c01a7 only:fancy! 2024-05-24 12:26:42 -04:00
Andrey c45425b3ab only:cleaner defines 2024-05-24 12:09:28 -04:00
Andrey 051d619e16 cleaner defines 2024-05-23 18:24:12 -04:00
Andrey Gusakov d6f3a842ba spi5: use another DMA stream, avoid conflict with ADC1 2024-05-12 19:52:55 -04:00
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
Andrey Gusakov 6a0eb0b0c8 ADC: encapsulation 2024-05-09 13:08:29 -04:00
rusefi 6e84d0084f https://github.com/rusefi/rusefi/issues/3301
only: docs
2024-05-09 12:35:59 -04:00
Andrey Gusakov e8a0ee051a stm32_pins: botloader guards 2024-05-09 08:30:24 -04:00
Andrey Gusakov e562f0b540 stm32_adc: simplify 2024-05-09 08:30:24 -04:00
Andrey Gusakov 3777e78124 stm32_pins: simplify 2024-05-09 08:30:24 -04:00
Andrey Gusakov 6f5fe216db stm32_pins: const, save few bytes of RAM 2024-05-05 16:44:16 -04:00
rusEFI LLC af913ef788 only: better file name 2024-05-01 19:45:14 -04:00
rusefillc c166edb0aa
calibrations_on_flash.mk (#6432)
* spi flash mk
2024-05-01 17:59:48 -04:00
rusEFI LLC 93edf72814 todo: are those hibernating ports not well? 2024-04-25 15:17:35 -04:00
rusefillc 337f2ea588 hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: allowing override if we ever need it
2024-04-22 09:16:05 -04:00
rusefillc d0e959ea92 only: dead define 2024-04-22 09:15:11 -04:00
rusefi e72be7feae only:making TM_ID_GetFlashSize more available 2024-04-18 19:28:59 -04:00
rusefi d594502594 only: 'void'? 2024-04-06 21:23:02 -04:00
rusefillc 969887b87e EFI_DFU_JUMP 2024-04-03 08:29:45 -04:00
rusefillc 2a114b4f95 PUBLIC_API_WEAK 2024-03-24 22:06:58 -04:00
rusefillc 9565918780 only:flexibility fix 2024-03-08 22:54:39 -05:00