Commit Graph

393 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 df62ae6a4b The Big Refactoring of 2019: folder structure #723 2019-04-05 01:41:24 -04:00
rusefi b23f9e9cf4 we need TLE8888 driver #714 2019-04-04 19:56:03 -04:00
rusefi 59d33c4cdc The Big Refactoring of 2019: folder structure #723 2019-03-31 17:44:34 -04: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
rusefi e28ce71bb8 unifying_file_naming 2019-03-29 09:11:13 -04:00
rusefi 843d887ed7 better Electronic Throttle body control #493 2019-03-10 12:58:27 -04:00
rusefi 9e46bbf519 better Electronic Throttle body control #493
two ETBs
2019-03-10 12:02:25 -04:00
rusEfi 90bf18bcd7 better Electronic Throttle body control #493 2019-03-09 23:31:47 -05:00
dron0gus 19cdfab5f5 Cleanup fixes (#700)
* Kill some more warnings

* pin_repository: add markUnused, allow use from plain C

* ehiGpio.cpp: add forgotten GPIOG port
2019-03-08 07:01:15 -05:00
rusEfi 9cfbb8d1e1 ETB progress 2019-03-03 15:27:49 -05:00
rusEfi 5b2476f37f ETB 2019-03-01 23:09:33 -05:00
rusEfi 0244ccb010 fix #698 2019-02-27 17:12:52 -05:00
rusefi 34aa05cda9 refactoring: reducing code duplication 2019-02-23 12:33:49 -05:00
rusefi e1ba29febd 688 brainpins (#694)
* GPIOF, GPIOG and GPIOH ports are not available #688
2019-02-22 22:10:41 -05:00
rusefi 23a8f5b526 wider usage of PeriodicController 2019-02-10 23:54:41 -05:00
rusefi c60c8ce777 better (?) variable names 2019-02-10 22:47:49 -05:00
rusefi 9a6446c654 ETB PeriodicController refactoring 2019-02-10 19:52:06 -05:00
rusefi ff727a8072 ETB progress 2019-02-10 19:13:04 -05:00
rusefi 8d43038981 Refactor Trigger System #635 2019-02-03 01:27:47 -05:00
rusefi 0b41d011b7 Refactor Trigger System #635 2019-02-03 01:19:16 -05:00
rusefi 8011d287c4 Refactor Trigger System #635 2019-02-03 01:14:19 -05:00
rusefi ac209bf8ac Refactor Trigger System #635 2019-02-03 01:11:50 -05:00
rusefi 4d368e0ca8 Refactor Trigger System #635 2019-02-03 01:04:24 -05:00
rusefi 4796942097 CJ125 unit-tests coverage #617 2019-02-01 23:48:11 -05:00
rusefi 6afabb6168 CJ125 heater zero PWM improvement 2019-02-01 22:37:21 -05:00
rusefi 26ae19c705 CJ125 heater zero PWM improvement 2019-02-01 22:27:17 -05:00
rusefi dd7add7a78 CJ125 heater zero PWM improvement 2019-02-01 22:20:15 -05:00
rusefi c50b16ba39 #657 2019-01-28 02:59:14 -05:00
Matthew Kennedy 2acdbd9416 const (#675) 2019-01-16 08:24:37 -05:00
rusefi 615a83cc5e Question: something strange trigger errors #662 2019-01-11 09:24:24 -05:00
rusefi fed61c1af4 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-09 22:57:33 -05:00
rusefi 7989763ee9 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 10:17:35 -05:00
rusefi 3a52b14502 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:39:02 -05:00
rusefi 9f3b06311b fixing build 2019-01-09 09:38:23 -05:00
rusefi 5c1098c93b The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 09:37:16 -05:00
rusefi 9f63ea4130 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 08:50:51 -05:00
rusefi 84bcf68849 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 07:57:43 -05:00
rusefi 7e7d8ef75c The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 01:07:50 -05:00
rusefi 8bfb0925e1 The Big Refactoring of 2019: scheduler should not be global #655 2019-01-09 00:53:54 -05:00
rusefi dce2e17f1b #655 clean-up 2019-01-09 00:25:45 -05:00
Matthew Kennedy 435a255043 Implement common for controllers (#645)
* controller

* remove stopping thread

* move microsecond timer watchdog

* docs

* typo snuck in

* go back to the old way
2019-01-06 21:15:49 -05:00
Fabien Poussin 1f29b5dd37 Workarounds for GCC 8 (#637) 2018-12-27 09:40:40 -05:00
rusefi b09850c766 #635 better names 2018-12-25 10:13:00 -05:00
rusefi 495205729b #635 refactoring: better name 2018-12-25 08:27:52 -05:00
rusefi 6f755b9c79 docs 2018-12-24 19:36:03 -05:00
Matthew Kennedy 688698927f Documentation for DcMotor (#632)
* Docs, support failure detection

* typo
2018-12-23 21:10:30 -05:00
rusefi 8f06e1d9ba docs 2018-12-23 10:45:28 -05:00
rusefi 16d6620cdd one step back 2018-12-23 02:44:41 -05:00
rusefi a5e6f73532 moving towards https://github.com/mck1117/rusefi/tree/mck1117/etb/firmware/testing 2018-12-22 23:57:28 -05:00
rusefi 1c373573a2 EXTI refactoring 2018-12-18 23:50:29 -05:00
rusefi 951338d4e2 extra caution 2018-12-09 09:23:31 -05:00
rusefi dc12e98221 fix #129 2018-12-08 23:02:51 -05:00
rusefi 3c50074261 #129 huge step forward 2018-12-08 22:57:00 -05:00
rusefi e115ef27d3 docs 2018-12-08 22:06:24 -05:00
rusefi e123ddcc90 #129 making code more readable 2018-12-08 21:23:49 -05:00
rusefi 667ec74ead #129 current state of PWM 2018-12-08 19:15:24 -05:00
rusefi 4d85b2bb4c #129 preparation 2018-12-08 17:30:17 -05:00
rusefi ab2fc9a3d1 code style and some refactoring 2018-12-08 16:59:16 -05:00
rusefi c6ef4bec83 docs & state validation 2018-12-08 15:07:07 -05:00
rusEfi f0f8852c5d NAN handling 2018-11-26 20:40:24 -05:00
andreika-git 96dfebc542 STM32 Nucleo144-F767ZI board: Initial support (#620)
* More EFI_ #ifdefs for config flexibility

* Even more config flexibility

* New firmware/config/stm32f7ems/* files

* New firmware/config/boards/NUCLEO_F767/* files

* New firmware/hw_layer/stm32f7/* files

* Fix for EFI_USB_SERIAL

* Adding #if defined(STM32F7XX)

* SPI flags changed in F7: SPI_CR1_DFF --> SPI_CR1_CRCL

* I2Cv2 config changed in F7

* More versatile CCM defines

* Makefiles

* Double #ifs cleanup

* docs
2018-11-16 07:40:06 -05:00
rusefi f1e369aa70 CJ125 unit-tests coverage #617 2018-11-03 13:45:36 -04:00
rusefi 951f1b3cd3 #616 idle for simulator 2018-11-02 13:38:31 -04:00
rusEfi 0197bd046b minor ETB progress 2018-10-21 17:45:14 -04:00
rusefi 553969dc72 refactoring 2018-09-16 22:26:57 -04:00
rusefi bcf107e675 docs 2018-09-10 22:43:57 -04:00
rusefi 99d1274f10 docs 2018-09-10 22:42:24 -04:00
rusefi 035e0b588a typo 2018-09-10 22:29:43 -04:00
rusefi 41688ba251 reducing code duplication and applying event condition more consistently 2018-08-31 21:11:22 -04:00
rusefi 7b6a059f65 dead comment & inline 2018-08-31 20:38:10 -04:00
rusefi 43da335306 refactoring: better field names 2018-07-26 15:51:06 -04:00
rusefi 2f95cd1e0d step towards more unique codes 2018-07-25 23:30:00 -04:00
rusefi 60b3aa8e60 unique error codes #598 2018-07-25 23:03:04 -04:00
rusefi 42797c8519 reviving EFI_DEFAILED_LOGGING 2018-03-04 19:19:34 -05:00
rusefi b6e26c8d1a unique name 2018-02-06 01:16:16 +03:00
rusefi 9027c0df1c code style 2018-02-03 17:07:04 -05:00
rusEfi cd2dbde620 docs 2018-01-28 18:04:41 -05:00
rusefi 9cb2757492 better method names 2018-01-28 11:27:33 -05:00
rusefi 8e33e6015f helper method 2018-01-28 11:08:37 -05:00
rusefi adfe5e9274 #65
explicit precision control
2018-01-23 12:05:14 -05:00
rusefi e6cef2e68b better error message 2018-01-21 16:06:03 -05:00
rusefi 67d22444c6 refactoring 2018-01-21 15:34:20 -05:00
rusefi 9a5b9e2edb refactoring 2018-01-21 15:31:46 -05:00
rusefi d9d70e4897 PWM docs 2018-01-21 15:28:03 -05:00
rusefi f5a4376036 happy new year 2018-01-20 20:55:31 -05:00
rusefi a3b9b57d2b docs 2017-11-27 00:05:54 -05:00
rusefi e44ea82d1b #490 2017-11-26 22:30:37 -05:00
rusefi 6d86f14d4a refactoring - better variable name 2017-11-19 10:23:47 -05:00
rusefi f87aeb739b #473 2017-08-28 00:08:37 -04:00
rusefi 53104882b7 refactoring 2017-08-03 21:28:44 -04:00
rusefi 201b3a3491 better error handling 2017-07-28 14:27:37 -04:00
rusefi 86b0c4977e refactoring - reducing code duplication 2017-07-10 22:08:55 -04:00
rusefi 80f3ee1d93 refactoring 2017-07-10 22:05:40 -04:00
rusefi 99a78ed8af better result for non-prod code 2017-07-10 21:43:03 -04:00
rusefi db8838e8ee docs 2017-07-10 21:41:13 -04:00
rusefi 32eeb672d9 refactoring: inlining method 2017-07-10 21:34:31 -04:00
rusefi bcceaeaf9b refactoring: better name 2017-06-26 09:14:31 +03:00
rusefi f4a9903d52 more pinMode fixes 2017-06-19 08:57:04 +03:00
rusefi 3386953034 fanPinMode fix 2017-06-19 00:53:18 -04:00
rusefi 5f8a367df9 debug modes 2017-06-07 23:04:56 -04:00
rusefi 2e92718e89 executor runtime stats 2017-06-07 22:55:05 -04:00
rusefi fc50e09c38 refactoring 2017-06-04 18:53:43 -04:00
rusefi be5ec054a4 refactoring 2017-06-04 18:43:08 -04:00
rusefi cdbb25eb7c refactoring 2017-06-04 18:29:57 -04:00
rusefi 3d6436d344 refactoring 2017-06-04 16:35:13 -04:00
rusefi 345401a807 a bit of OOP 2017-06-04 16:18:29 -04:00
rusefi 013cf2fbbf docs 2017-06-03 23:36:34 -04:00
rusEfi 206658663c refactoring 2017-05-30 21:56:38 -04:00
Andrei 81983a4362 Fix lockAnyContext 2017-05-25 21:51:21 +03:00
rusefi bdf278bfe5 better name 2017-05-21 11:09:47 -04:00
rusefi 67a28c081f better names 2017-05-21 10:25:35 -04:00
rusefi a3919be9bd better code name 2017-05-21 10:15:57 -04:00
rusefi e7b793ab68 removing unused parameter 2017-05-15 11:44:19 -04:00
rusefi db83980627 removing unused parameter 2017-05-15 09:35:06 -04:00
rusefi 60eb9985ba monitorReuse idea is dead 2017-05-15 09:21:40 -04:00
rusefi 6f2134511b better method name 2017-05-15 08:40:54 -04:00
rusEfi 7a7fd5116c refactoring - reducing GPIO complexity 2017-04-21 19:59:05 -04:00
rusefi 6736a0aa2b refactoring - reducing GPIO complexity 2017-04-21 19:23:20 -04:00
rusefi bd0a720485 refactoring - reducing GPIO complexity 2017-04-21 18:11:36 -04:00
rusefi 6982c304f8 refactoring - reducing GPIO complexity 2017-04-21 17:50:28 -04:00
rusefi f9d461f10c refactoring - reducing GPIO complexity 2017-04-21 17:38:13 -04:00
rusefi 9fa34486da refactoring - reducing GPIO complexity 2017-04-21 17:26:50 -04:00
rusefi 07117b03da refactoring - reducing GPIO complexity 2017-04-21 17:23:21 -04:00
rusefi f8c1daec02 refactoring - reducing GPIO complexity 2017-04-21 17:14:14 -04:00
rusefi d1a32f3b31 refactoring - reducing GPIO complexity 2017-04-21 17:10:29 -04:00
rusefi 3a11e26837 refactoring - reducing GPIO complexity 2017-04-21 17:08:04 -04:00
rusefi fcac9862b9 refactoring - reducing GPIO complexity 2017-04-21 16:52:02 -04:00
rusefi e23be8b2a6 refactoring - reducing GPIO complexity 2017-04-21 16:36:50 -04:00
rusefi 3be80a6a32 refactoring - reducing GPIO complexity 2017-04-21 16:33:51 -04:00
rusefi e3bad992d4 refactoring - reducing GPIO complexity 2017-04-21 16:20:06 -04:00
rusefi eb91eca772 refactoring - reducing GPIO complexity 2017-04-21 15:28:47 -04:00
rusefi bafb44d276 refactoring - reducing GPIO complexity 2017-04-21 15:14:37 -04:00
rusefi 8e8f2581d8 refactoring - reducing GPIO complexity 2017-04-21 13:53:47 -04:00
rusefi 928ab4e6f7 refactoring - reducing GPIO complexity 2017-04-21 13:36:51 -04:00
rusefi d05efd2820 refactoring - reducing complexity 2017-04-21 13:22:11 -04:00
rusefi 3b6c2ca150 refactoring - reducing complexity 2017-04-21 12:42:38 -04:00
rusefi e51f046f55 refactoring - reducing complexity 2017-04-21 12:31:17 -04:00
rusefi b7fb6d5e9d refactoring - reducing complexity 2017-04-21 12:06:32 -04:00
rusEfi 7cdbf2bb03 refactoring: better code names 2017-04-19 22:03:14 -04:00
rusEfi 775938e6bd first step of dead 'monitorReuse' idea removal 2017-04-15 21:38:03 -04:00
rusefi 7a4515f78b manual picking from ChibiOS migration branch to make my evening a little less depressing 2017-03-27 22:52:43 -04:00
rusefi b723a10b20 #366 2017-03-05 14:33:35 -05:00
rusefi 05b33d567e individual error codes for all errors 2017-03-05 08:50:19 -05:00
rusefi 17a80c9603 simulator bugfix - sudden RPM change 2017-03-03 22:58:30 -05:00
rusefi 2056494c55 refactoring 2017-02-24 19:42:34 -05:00
rusEfi 6370a1dd71 auto-sync 2017-01-30 06:02:53 -05:00
rusEfi 390e08b3d6 auto-sync 2017-01-06 11:02:49 -05:00
rusEfi 552c664a23 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi 4f36805664 auto-sync 2016-12-17 09:02:59 -05:00