dron0gus
474d5e64cf
Update chibios ( #1364 )
...
* Update ChibiOS
* Fix coexistance of ChibiOS and our flash drivers
* Add 'int' = internal prefix for all on-chip flash functions
This avoid conflict with ChibiOS functions available after
enabling HAL_USE_EFL
* Exclude ChibiOS flash driver from bootloader
* Makefile magic?
* Kinetis: fix build after ChibiOS update and switching to SMART_BUILD
* Bootloader now use SMART_BUILD too
2020-04-25 16:32:32 -04:00
rusefi
2f69beee31
a bit of header clean-up
2020-04-06 13:05:30 -04:00
Matthew Kennedy
bb9c851a07
Deduplicate mpu_util headers ( #1187 )
...
* this flag did nothing
* header dedupe
* mre fix again
* get all dependencies in mpu_util.h
* guard can/spi
* more dedupe
* pragma once
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 18:48:22 -04:00
Matthew Kennedy
fc051fd2ca
remove ( #1188 )
...
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-13 17:19:29 -04:00
Matthew Kennedy
ada5d5fee7
insert dsb on flash write ( #1160 )
2020-02-25 23:52:11 -05:00
Matthew Kennedy
52c710bb62
move flash addr in to mpu_util ( #1123 )
...
* move flash addr in to mpu_util
* this _may_ work
* don't use offsetof
* proper header + defines
2020-02-05 08:06:38 +05:30
Matthew Kennedy
ff3329655a
Dont cache dma buffers ( #1110 )
...
* add no_cache
* don't disable cache
* conventions
* formatting
2020-01-29 00:32:43 -05:00
rusefi
1817b8654e
SCB_DisableDCache rollback
2020-01-25 21:30:19 -05:00
rusefi
fea2394c7b
F7 SPI challenges
2020-01-24 23:52:56 -05:00
rusefi
bb217b01dd
happy new year unification
2020-01-13 21:57:43 -05:00
rusefi
b83a5310be
happy new year
2020-01-08 00:02:40 -05:00
dron0gus
1b42748e60
Spi fixes ( #1083 )
...
* spi: add support for SPI4
* mpu_util: spi: add 8BIT mode definitions for F4, F7 and kineris (?)
2020-01-06 08:44:23 -05:00
rusefi
d575ffe5c1
enabling TIM8 ICU
2019-12-25 09:28:51 -05:00
Matthew Kennedy
eb27bcf3d6
Terrible ADC3 hack for Proteus vbatt support ( #1066 )
...
* this is a great idea!
* typo
* simplify
* simplify, cache coherency
* enable adc3 in board file
* copyright
* fix tests, probably
2019-12-17 08:34:56 -05:00
rusefi
af4f20551b
getting rid of boardConfiguration / binary compatible change
2019-12-11 17:48:55 -05:00
rusefi
4305b4ce2f
not needed since included in common_headers.h
2019-11-23 18:16:41 -05:00
rusefi
42dc9e3662
fancy C++ s/NULL/nullptr/
2019-10-08 01:26:35 -04:00
rusefi
36a8cf8ad4
CI instability: FATAL error: warn stream not initialized for 6039
...
also some refactoring
fix #798
2019-08-04 13:48:10 -04:00
rusefi
21c61bfaec
software jump to DFU #809
...
very very dark magic it is
2019-08-04 00:21:44 -04:00
rusEfi
4d508693c4
software jump to DFU #809
...
different assembly magic between F4 and F7
2019-08-03 22:38:59 -04:00
rusefi
7a6f933563
software jump to DFU #809
...
bugfix - looks like all the magic was not really happening
2019-08-03 20:45:15 -04:00
rusEfi
d6daeaa77f
DFU command & refactoring
2019-08-03 19:58:38 -04:00
rusefi
2c99bf035d
software jump to DFU #809
2019-07-28 12:33:47 -04:00
rusefi
11167dcfed
helping build
2019-07-28 01:52:14 -04:00
rusEfi
6f0c545e19
build repair
2019-07-28 00:36:47 -04:00
rusefi
42ed1440e0
docs
2019-07-28 00:02:34 -04:00
rusefi
0d994cc356
random changes related to
...
software jump to DFU #809
2019-07-27 20:33:50 -04:00
rusefi
3a2e1c9990
Ola 960 made some progress towards software jump to DFU #809
2019-07-27 19:51:54 -04:00
rusefi
cdac02429c
refactoring: better file name
2019-07-06 20:15:49 -04:00
rusefi
83ad64eade
Refactoring: OS access should be explicit #867
2019-07-04 03:57:21 -04:00
rusefi
aaae4a2278
Refactoring: OS access should be explicit #867
2019-07-03 21:01:48 -04:00
andreika-git
f71940ad11
fix Simulator ( #818 )
2019-06-02 17:26:35 -04:00
andreika-git
970f67862c
STM32-specific GPIO refactor (stm32_pins.cpp) ( #817 )
...
* stm32_pins.cpp
* PIN_USED & other
2019-06-02 16:48:38 -04:00
rusefi
ac725cf303
Missing ADC Pins for ADC3, PF port #785
...
refactoring
2019-05-14 19:04:49 -04:00
rusefi
f9f1e748dc
Missing ADC Pins for ADC3, PF port #785
2019-05-14 16:38:14 -04:00
andreika-git
b80d95578d
EFI_CONSOLE_UART_DEVICE, flash->hw_ports, Fix TLE6240 and misc.fixes ( #793 )
...
* rename EFI_CONSOLE_UART_DEVICE -> EFI_CONSOLE_SERIAL_DEVICE
* Impl. EFI_CONSOLE_UART_DEVICE
* Move flash source files to ports/stm32/ & hw_ports.mk
* Fix TLE6240
* Fix EFI_NO_CONFIG_WORKING_COPY
* EFI_PRINT_MESSAGES_TO_TERMINAL
2019-05-05 11:06:27 -04:00
andreika-git
21346c0063
Add more portability to smart_gpio & SPI ( #754 )
2019-04-14 13:35:30 -04:00
rusefi
508e9d74e7
defined(__DOXYGEN__) ? #748
2019-04-12 20:52:51 -04:00
andreika-git
b80806182f
More portability & small fixes ( #719 )
...
* Use hw_stm32.mk
* Fix bootloader
* Use more common hw_ports.mk filename instead of hw_stm32.mk
* More CPU compatibility for Makefile
* TS_UART_MODE & rename TS_SERIAL_UART_DEVICE->TS_SERIAL_DEVICE
* Move lockAnyContext()/unlockAnyContext() to rfiutil.c
* USE_FATFS
* EFI_LCD
* Less compilation errors
* STATUS_LOGGING_BUFFER_SIZE & SETTINGS_LOGGING_BUFFER_SIZE
* EFI_ALTERNATOR_CONTROL, EFI_SERVO, EFI_DISABLE_CONSOLE_ACTIONS
* #ifndef PWM_PHASE_MAX_COUNT & more flexible GPIO inside portname()
* merge
* EFI_ALTERNATOR_CONTROL, EFI_ELECTRONIC_THROTTLE_BODY
2019-03-29 15:29:01 +01:00
andreika-git
d6ff361743
Fix bootloader ( #717 )
...
* Use hw_stm32.mk
* Fix bootloader
2019-03-29 06:46:48 +01:00
andreika-git
c34d7cac48
More compatibility for ADC_inputs, etc. ( #716 )
...
* Move STM32-specific ADC pinouts to ports/stm32/stm32_common.cpp
* Move STM32-specific files to ports/*
* setAdcChannelOverrides()
* Add #ifdefs for adc_inputs (PWM_FREQ_*, PWM_PERIOD_*, ADC_*_DEVICE)
* addChannel(), removeChannel()
* fix tle6240 compilation
* Add stm32_common.cpp to Makefile
* More ports/stm32/* paths
* More ports/stm32/* paths
* More flexible GPIO ports
* Add #ifdef for GPTDEVICE
* EFI_BOARD_TEST and EFI_JOYSTICK
* EFI_TLE8888
* Fix HIP9011_logic compilation
* ADC_CHANNEL_SENSOR
* Move ioportid_t PORTS[] to ports/*
* Fix simulator
2019-03-28 22:46:10 -04:00