Commit Graph

78 Commits

Author SHA1 Message Date
dron0gus 69df5d4b50 gpios rework (#739)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux

* Rename unmarkPin to brain_pin_markUnused

This is part of external gpiochip integration

* Add gpio_pin prefix to markUsed and markUnused

To distinguish from similar functions using brain_pin

* pin_repository: add helpers

this is part of gpio chips integration

* efi_gpio: simplify getHwPin using brain_pin_is_onchip
2019-04-10 01:31:10 +02:00
rusefi 23d3ac0a84 we need TLE8888 driver #714 2019-04-07 08:35:04 -04:00
rusefi 3cc32a5c09 we need TLE8888 driver #714
F7 support
2019-04-06 22:04:35 -04:00
rusefi 33b0bee2cd we need TLE8888 driver #714 2019-04-06 13:11:46 -04:00
rusefi 131533cc13 we need TLE8888 driver #714 2019-04-06 12:26:37 -04:00
rusefi dd09ea7d90 we need TLE8888 driver #714
it works now! all SPI/CS pins in 'default' mode
2019-04-06 10:30:20 -04:00
rusefi b4077d72ba we need TLE8888 driver #714 2019-04-06 07:38:02 -04:00
dron0gus 878b75f575 tle8888: fix spi confog for STM32F4 (#735)
* tle8888: fix spi confog for STM32F4

* TLE8888: fix array out of bounds access due to incorrect define used in loop
2019-04-06 00:37:00 +02:00
rusefi 259ff0141a we need TLE8888 driver #714 2019-04-04 23:03:32 -04:00
rusefi ab601820e0 we need TLE8888 driver #714 2019-04-04 20:57:51 -04:00
rusefi 53f5a60ff5 we need TLE8888 driver #714 2019-04-04 20:03:31 -04:00
rusefi b23f9e9cf4 we need TLE8888 driver #714 2019-04-04 19:56:03 -04:00
rusefi 9c05a42b1b we need TLE8888 driver #714 2019-04-04 19:29:33 -04:00
rusefi 72251d6a24 fixing build 2019-04-04 18:52:00 -04:00
rusefi 386aed5c2d fixing unit tests 2019-04-04 10:08:50 -04:00
dron0gus fde76155f2 TLE8888: initial support (#733) 2019-04-04 15:55:18 +02:00
andreika-git a79175f6ef 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 a3f33f3f0d 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
rusefi 740d18fc0f we need TLE8888 driver #714 2019-03-27 04:02:34 -04:00
rusefi 76b7554491 we need TLE8888 driver #714 2019-03-26 12:30:30 -04:00
rusefi ddb0fc6510 better error handling for invalid SPI settings 2019-03-26 09:38:23 -04:00
rusefi 3ff5581e77 SPI prescaler refactoring 2019-03-25 22:41:31 -04:00
rusefi 1f81aa169a we need TLE8888 driver #714 2019-03-25 20:30:36 -04:00
rusefi fb860c37cb we need TLE8888 driver #714 2019-03-25 15:50:14 -04:00
rusefi 11e60e35bf we need TLE8888 driver #714 2019-03-25 15:08:32 -04:00
rusefi defdacd895 typos and better parameter name 2019-03-25 14:29:34 -04:00
dron0gus 726f84f5ee tle6240 gpio driver implementation (#704)
* TLE6240: move to gpio drivers directory

* TLE6240: add gpiochip driver code
2019-03-13 08:03:22 -04:00
dron0gus 68884cc4ae gpiochips API, core and unit test (#703)
* Add external gpiochips driver API and core

* gpiochips: add unit test
2019-03-12 10:12:37 -04:00