Commit Graph

1339 Commits

Author SHA1 Message Date
rusefi 6683c96638 maybe EFI_CONSOLE_TX_BRAIN_PIN 2020-05-14 00:02:10 -04:00
rusefi 92227cb4cb SPI3 2020-05-13 23:29:52 -04:00
rusefi c47a0c3125 SD card for MRE 2020-05-13 23:26:28 -04:00
rusefi 36586c0243 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-05-13 19:31:42 -04:00
rusefi 4adac49050 docs & helping master 2020-05-13 19:27:11 -04:00
rusefi d74f1c0951 lovely, yet another minor confusion 2020-05-13 01:16:05 -04:00
rusefi bdb93db70d https://github.com/rusefi/hw_microRusEfi/issues/157 2020-05-12 23:37:12 -04:00
Matthew Kennedy bd38359ceb s (#1424) 2020-05-11 23:23:04 -04:00
rusefi 2ce1d1c016 helping master build 2020-05-11 19:59:35 -04:00
rusefi 9c3bc93471 RED FATAL/CRITICAL LED is a bit dim when it should be OFF
fix https://github.com/rusefi/hw_microRusEfi/issues/157
2020-05-11 18:35:28 -04:00
rusefi a7a6bb0d81 more dead code 2020-05-11 18:24:29 -04:00
rusefi a88b41a8d0 refactoring related to RED FATAL/CRITICAL LED is a bit dim when it should be OFF
#157
2020-05-11 18:22:51 -04:00
Matthew Kennedy 9792fc01fc updates for proteus v0.3 (#1418)
* updates for v0.3

* board config too

* oops
2020-05-10 09:19:01 -04:00
dron0gus 8e9f283953 board: subaru-ej20g: remove (#1414)
Noone uses this board anymore
2020-05-09 18:22:17 -04:00
Matthew Kennedy 5c84d95360 proteus -> exti (#1378)
* proteus -> exti

* do frankenso pal the same way

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-06 18:52:15 -04:00
rusefi 101aabd8a4 docs 2020-05-03 15:54:17 -04:00
rusefi 5d6ec1d68b refactoring: using brain_pin like the rest of the code 2020-05-02 23:47:10 -04:00
rusefi b3cfac397b oh what did I do 2020-05-02 22:27:20 -04:00
rusefi 93ee6c36e3 https://github.com/rusefi/rusefi_documentation/issues/37 2020-04-29 18:41:40 -04:00
Matthew Kennedy 7e067eb0b5 Move ETB control to a thread (#1374)
* switch to thread

* actually use default frequency define

* crank ADC too

* make space in RAM

* remove TS field

* this should work for test

* fix dt

* re-resize ram
2020-04-28 07:22:31 -04:00
Matthew Kennedy 6d0efc432e allow overriding configuration (#1341)
* config overrides

* proteus too

* comment

* remove wno-error

* comment
2020-04-26 00:07:59 -04:00
rusefi b6780ab9d0 wow maybe build time magic?! by DronoGus 2020-04-25 12:07:57 -04:00
rusefi 1d0e289b74 i just want to build 2020-04-20 09:10:18 -04:00
Matthew Kennedy df6f846052 Simplify F4 board.h (#1310)
* fix

* simplify

* unneeded

* unused, change to pullup

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-18 11:41:53 -04:00
Matthew Kennedy 0d64527cb6 fix (#1309)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-17 18:27:20 -04:00
rusEfi a7a7c4bec9 MRE docs 2020-04-13 14:30:17 -04:00
Matthew Kennedy 1a59950240 support ETB disable pin (#1273)
* config & hand gen

* board configs

* add dc motor support

* initialization

* also set duty to zero

* use disable in etb

* fix proteus default

* add TS fields

* I guess we needed 8 bytes

* :D

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-10 17:27:13 -04:00
rusEfi f4c72b3895 docs 2020-04-08 23:27:26 -04:00
rusEfi 2c423052c4 docs 2020-04-08 20:37:46 -04:00
rusefi 3888ffc007 smart gpio clean-up 2020-04-06 14:28:08 -04:00
rusefi c1ab5ca585 smart gpio clean-up 2020-04-06 14:13:29 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
rusefi fe604f71b8 CAN progress 2020-03-31 16:49:19 -04:00
rusefi 21e96141a8 f4-slave 2020-03-29 22:10:13 -04:00
rusefi a806f14c24 f4-slave 2020-03-29 21:42:43 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi 22ed80f144 docs 2020-03-29 10:29:45 -04:00
Matthew Kennedy 7596a80242 Ts cleanup 2 (#1226)
* remove biquad config

* fuel pump clarity

* hide stuff

* hide more stuff correctly

* more hides

* hide comparator except for kinetis

* didn't mean to change all those

* fix kinetis
2020-03-26 11:41:58 -04:00
Matthew Kennedy 5420e5ef6d Fix mre vbatt (#1218)
* Revert "vbatt MRE happiness"

This reverts commit 4c5477f2cd.

* update comments
2020-03-25 16:23:04 -04:00
rusefi b7324c9a51 proteus-f4 was requested 2020-03-18 11:37:53 -04:00
rusefi d79148b4ea proteus-f4 was requested 2020-03-18 10:19:17 -04:00
rusefi ed947d5ce6 proteus-f4 was requested 2020-03-18 09:32:46 -04:00
rusEfi 5a21db41a4 v12 & ETB progress 2020-03-18 00:12:31 -04:00
rusefi 717400e1c4 hiding SPI from MRE users 2020-03-17 15:50:42 -04:00
rusefi 857f329b06 docs & wall 2020-03-13 02:27:44 -04:00
rusefi 98d402a66f logicAnalyzerMode was unused, removing for now 2020-03-08 09:14:49 -04:00
Matthew Kennedy a7a7d90399 ignore vbus (#1175) 2020-03-07 15:53:38 -05:00
rusEfi bf6082b828 slow v12 progress 2020-03-07 00:45:45 -05:00
Matthew Kennedy 52c7d6dfbe proteus prepend (#1166) 2020-03-02 20:02:25 -05:00
rusefi 9e47bf2b02 hiding "Analog divider" from MRE 2020-03-01 09:21:39 -05:00
rusefi f298817af2 mapping docs 2020-02-29 23:22:39 -05:00
rusEfi c2ab5f4871 more mc33816 2020-02-25 22:38:08 -05:00
rusefi 6b3228b9f1 TEST_33816 2020-02-25 21:35:21 -05:00
Matthew Kennedy 2437aaffc6 Omit canned configs from Proteus (#1159)
* omit presets from proteus

* ifdef guard
2020-02-25 19:46:22 -05:00
rusefi 33ba33d533 MRE technical info 2020-02-24 00:12:26 -05:00
rusefi e2704a4525 minor progress 2020-02-22 13:04:19 -05:00
rusefi 2fb89b4676 explicit cross-referencing 2020-02-21 20:08:16 -05:00
rusefi 94fc0451f9 "so I guess defaults are fine then, maybe add main relay = PB9" 2020-02-21 19:31:36 -05:00
rusefi 6d5734c40e proteus 2020-02-19 22:34:38 -05:00
rusEfi 4c5477f2cd vbatt MRE happiness 2020-02-16 16:59:33 -05:00
rusEfi 6aa9e896a4 proper 'f' syntax 2020-02-12 23:16:46 -05:00
rusEfi 8ef58f8e79 MRE divider 2020-02-12 22:15:36 -05:00
Matthew Kennedy a08946c2f5 Fix master (#1134)
* Revert "something went very wrong."

This reverts commit e0fb325d5a.

* Revert "trying to fix build broken by "Sensor reconfiguration while running (#1131)""

This reverts commit 55e8ee5052.

* Revert "partial Revert of "Stricter compile options (#1132)""

This reverts commit b0d7cc9a22.

* temp prometheus fix

* fix bootloader

* fix batch files
2020-02-08 16:34:29 -05:00
rusefi d645ea2d1e more Proteus CI 2020-02-02 08:42:05 -05:00
Matthew Kennedy a4e9d638b7 more proteus pins (#1118) 2020-02-02 02:38:15 -05:00
rusefi f7c8580b11 reducing headers 2020-02-01 17:27:24 -05:00
rusefi d67976364a Matt does this look right? 2020-02-01 14:45:55 -05:00
rusefi 81e7a50174 proteus build into CI 2020-02-01 14:27:41 -05:00
Matthew Kennedy 4a1e17e535 minor proteus default config & mapping fixes (#1113)
* vbatt and can

* correct comment

* fix mapping
2020-01-29 23:32:48 -05:00
rusefi 63e3e84e08 happy new year 2020-01-08 00:02:40 -05:00
rusEfi 579cf5abb8 docs 2019-12-29 14:58:39 -05:00
Matthew Kennedy c56bd4cc97 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 880d590aab Revert "Fried coil (?) on incompatible firmware change fix #1051"
This reverts commit b83114d
2019-12-14 17:35:11 -05:00
rusefi b83114db99 Fried coil (?) on incompatible firmware change fix #1051 2019-12-13 17:23:48 -05:00
Matthew Kennedy 2818142ac3 use correct divider (#1056) 2019-12-12 08:45:10 -05:00
rusefi 9e8d72ff1e only using unified name, not changing any values
reduce the pin output speed on the MCU as these are the major source of ripple on VDD. #397
2019-12-11 19:55:28 -05:00
rusefi f3a3146fc9 some random pin rename & a bit of "reduce the pin output speed on the MCU as these are the major source of ripple on VDD. #397" 2019-12-11 19:53:08 -05:00
rusefi 1cf7eacc43 board.h default state for F4 pins #1053
no default changes here - only using our custom names to highligth default choice
2019-12-11 19:25:46 -05:00
rusefi f47a1a16d1 getting rid of boardConfiguration / binary compatible change 2019-12-11 17:48:55 -05:00
Matthew Kennedy 44fc8c466d copyArray helper (#1048)
* add functions

* uses

* use for proteus

* do it for warmup mult

* do it for cranking settings

* cleanup
2019-12-10 18:04:50 -05:00
rusefi 9521a7d6d0 PAL repair 2019-12-05 21:10:29 -05:00
rusefi 0e570b8b83 steps towards fixing PAL inputs 2019-12-05 21:04:24 -05:00
rusefi 9145538679 more of the same 2019-12-04 08:12:52 -05:00
rusefi e2d2bd9996 reducing code duplication & including kinetis 2019-12-04 07:50:46 -05:00
andreika-git ae9c619c50 iacPidMultTbl + EFI_IDLE_PID_CIC + kinetis_hysteresis (#1043)
* rename EFI_IDLE_INCREMENTAL_PID_CIC -> EFI_IDLE_PID_CIC

* Impl. IacPidMultTable

* Kinetis: Trigger Comparator Hysteresis settings (+adaptive mode)
2019-12-04 00:37:32 -05:00
Matthew Kennedy b7011f875a Base configuration for Proteus (#1040)
* cfg

* add enum value

* add ci

* actually build the board config

* this is pretty close

* proteus case
2019-12-02 23:54:40 -05:00
Matthew Kennedy d27b8fe080 Remove chibios trace flag (#1037)
* remove from scripts

* remove from others
2019-12-02 19:11:07 -05:00
rusefi 448beb5471 making things nicer with dual ETB settings 2019-11-30 18:42:51 -05:00
rusefi 34f53bd102 making things nicer with dual ETB settings 2019-11-30 17:38:33 -05:00
rusefi 2738fefa48 that's how we can move all fields one by one from boardConfiguration to engineConfiguration
my approach is to move fields from the bottom of BC struct
2019-11-30 10:24:37 -05:00
rusEfi 980a3d7086 all ETBs to run in same HW mode 2019-11-29 16:51:51 -05:00
rusefi d826d5b75f attempting to fix master build 2019-11-29 13:02:11 -05:00
Matthew Kennedy 04861992f2 Build prometheus with makefiles instead of batch scripts (#1020)
* use makefiles instead of batch

* add to ci

* put batch files back, but minimum logic

* default to release

* debug level opt too
2019-11-29 02:39:30 -05:00
rusefi b8a752cf13 fixing master? 2019-11-25 21:15:07 -05:00
rusEfi 453c187ad0 v12 progress 2019-11-19 21:56:25 -05:00
rusEfi 670e149b32 v12 2019-11-19 00:04:44 -05:00
rusefi 80e1bf6dd1 MRE F4 2019-11-06 20:05:44 -05:00
rusefi b171b5ebd4 we have MRE F4 now 2019-11-06 18:58:11 -05:00
rusefi 359f7c437b skeleton & docs (#995)
* Documentation additions and clarifications.

Added config/boards/skeleton/ as an example and starting point for
board-specific support.

* Describe where the generated files came from.

* Minor rewording

* Delete mistakenly added emacs backups

* Added an overall description and build notes
2019-11-03 08:41:14 -05:00
Matthew Kennedy ca2e2cdbab move logic out of bat (#941) 2019-09-20 08:40:07 -04:00
rusefi d2e8710c80 https://github.com/rusefi/hw_microRusEfi/issues/115
documentation issue: 24 AN Temp 3 at External wideband O2 sensor #115
2019-09-16 21:00:20 -04:00
rusEfi a168c5f2eb A/C relay cleanup 2019-09-15 11:32:38 -04:00
rusEfi 47f68eb80f using MRE config for Nucleo 2019-09-14 16:03:04 -04:00
rusEfi d3d17b700f docs 2019-09-12 08:37:44 -04:00
rusefi d62556b415 docs 2019-09-12 07:29:38 -04:00
rusefi d4b9c7217e fatalErrorPin setting is not used #926
reducing configuration fragility
2019-09-09 21:44:48 -04:00
rusefi 3d85de7ee5 fatalErrorPin setting is not used #926 2019-09-09 21:34:15 -04:00
rusefi 87f6ac9ce1 MRE NA6 2019-09-08 11:17:27 -04:00
rusEfi 1faf48bd53 MRE NB2 2019-09-05 23:14:28 -04:00
rusefi ba9c96df91 Merge branch 'master' of https://github.com/rusefi/rusefi
# Conflicts:
#	java_console/models/src/com/rusefi/config/generated/Fields.java
2019-09-03 18:54:54 -04:00
rusefi 3fa5399ed7 EFI_CJ125_DIRECTLY_CONNECTED_UR should be a runtime parameter fix #914 2019-09-03 18:44:05 -04:00
rusEfi 303a4eaa0e MRE NB2 2019-09-02 17:16:36 -04:00
rusEfi 1d057a8faa MRE NB2 2019-09-02 11:07:34 -04:00
rusEfi 3970881a09 ETB progress 2019-08-31 20:17:17 -04:00
rusEfi 9ce7c4d7da NB2 MRE 2019-08-31 18:36:44 -04:00
rusEfi d696412312 reducing dead code 2019-08-31 17:59:18 -04:00
rusefi 6f8df1fd70 wow, CI was down for a week 2019-08-25 22:53:57 -04:00
rusEfi c7b893677d docs 2019-08-18 20:18:56 -04:00
rusEfi a8d872800c MRE & Miata 2019-08-17 22:42:22 -04:00
rusEfi c4d6604551 MRE etb 2019-08-17 17:33:44 -04:00
rusEfi dfc5f86e6e MRE ETB 2019-08-15 01:59:15 -04:00
rusefi ae83660230 DEFAULT_ENGINE_TYPE=MRE_BOARD_TEST build script 2019-08-10 17:16:12 -04:00
rusefi 64e9db5683 TS refresh & better MRE test configuration 2019-08-10 16:25:42 -04:00
rusefi a94eebe3ec low side channels on MRE #900
getting closer but still issues
2019-08-10 14:53:57 -04:00
rusefi 4fcecb6c26 low side channels on MRE #900
progress - now all 10 BLINK, but two are blinking together
2019-08-10 13:45:00 -04:00
rusefi 97bf87eb48 low side channels on MRE #900 2019-08-09 23:45:35 -04:00
rusefi 217332bea1 default pinout nightmare 2019-08-07 00:36:54 -04:00
rusEfi 2aad491810 pin number correction 2019-08-05 22:05:33 -04:00
rusEfi 9c0517f19f naming consistency 2019-08-05 22:00:07 -04:00
rusEfi 84ee93b241 code style & docs 2019-08-04 21:56:01 -04:00
rusefi d57779b686 F7 nucleo does not work?
funny, it was about some very unused feature
2019-08-02 01:36:02 -04:00
Matthew Kennedy 9d3e201193 microRusefi Default Configuration (#895)
* poke

* working MRE

* why was this on?

* comment, cleanup

* default silent trigger error on

* comment

* remove extra

* sensible default
2019-08-01 22:27:23 -04:00
rusefi d3e26fe9ce F7 bundles rusEfi console should erase and program using F7 configs #893 2019-07-29 21:07:04 -04:00
rusefi aa5c3047c1 fixing F7 builds 2019-07-25 00:09:02 -04:00
rusefi e8cd077c73 fixing bundles 2019-07-13 18:32:22 -04:00
rusefi fcfd140247 fixing bundles 2019-07-13 18:22:18 -04:00
rusefi 1fd6848151 FIRMWARE_ID 2019-07-13 15:17:52 -04:00
rusefi 69890e67a4 FIRMWARE_ID 2019-07-13 15:01:48 -04:00
rusefi 756dec106a support multiple VVT sensors #885
new fields & packing configuration. bumping configuration version
2019-07-12 14:24:45 -04:00
rusefi 10c06ab73c EFI_TOOTH_LOGGER 2019-07-07 15:22:46 -04:00
Matthew Kennedy cfc13f8543 fix case sensitive f767 (#874) 2019-07-07 04:21:18 -04:00
rusefi 40f6b84b1f better error message 2019-07-07 03:48:28 -04:00
rusefi 01fe961d0c refactoring 2019-07-05 19:05:07 -04:00
rusefi 2164661274 undoing wrong fix & better fix for #805
also generator logging improvements
This reverts commit 96270758c9.
2019-06-30 14:28:47 -04:00
Matthew Kennedy 79ca8cc3f4 relocate (#859) 2019-06-24 13:44:49 -04:00
Matthew Kennedy c973576f8d Fix mappings for microRusefi (#853)
* fix mappings

* add pin numbers

* + pin numbers, - # sign
2019-06-23 10:37:10 -04:00
rusefi 96270758c9 "Calibrate TPS" broken in TS fix #805 2019-06-17 22:00:34 -04:00
rusefi 056bc25c7d NOW it would probably run 2019-06-12 16:10:18 -04:00
rusefi 1327709f04 reducing code duplication 2019-06-12 14:55:26 -04:00
rusefi 0b428a968e we should not really mix ChibiOS stuff and out logic 2019-06-12 12:59:50 -04:00
rusefi 9fdb9c796c we should not really mix ChibiOS stuff and out logic 2019-06-12 12:54:13 -04:00
rusefi c6c9388181 we should not really mix ChibiOS stuff and out logic 2019-06-12 12:42:08 -04:00
rusefi 00afb035e5 we should not really mix ChibiOS stuff and out logic 2019-06-12 11:57:18 -04:00
rusefi 15098bf011 this should actually work for MRE, theoretically 2019-06-10 18:35:18 -04:00
rusefi 58be63f5a9 https://github.com/rusefi/hw_microRusEfi/issues/57 2019-06-10 17:33:05 -04:00
rusefi 9563c2f664 MRE to use MRE.ini 2019-06-09 21:24:21 -04:00
rusefi cba629b4e6 NA6 bundle 2019-06-09 21:00:01 -04:00
rusefi 23375f5152 nicer bundle folder structure and reducing unneeded content #833 2019-06-08 22:05:52 -04:00
rusefi 6d31482501 nicer bundle folder structure and reducing unneeded content #833 2019-06-08 21:39:01 -04:00
rusefi 814afaf6da nicer bundle folder structure and reducing unneeded content #833 2019-06-08 21:26:08 -04:00
rusefi bb1ff2e965 fail to generate F7 DFU files #696 2019-06-08 20:01:19 -04:00
rusefi e309b8266c we need TLE8888 driver #714 2019-06-08 15:25:28 -04:00
rusefi 70edbcba8b reducing scripts duplication 2019-06-08 15:08:03 -04:00
rusefi fe2d74c16b reducing scripts duplication 2019-06-08 11:05:17 -04:00
rusefi 0fc028f603 reducing scripts duplication 2019-06-08 10:35:16 -04:00
rusefi b64fc05b07 reducing scripts duplication 2019-06-07 19:54:15 -04:00
rusefi 8981534093 reducing scripts duplication 2019-06-07 19:50:46 -04:00
rusefi 9292efadbe TS flexibility for MRE 2019-06-07 17:38:12 -04:00
Matthew Kennedy fd3838a23f prometheus fix 2019-06-07 10:51:06 -04:00
rusefi 50e3f4e671 hiding GPS 2019-06-06 19:20:00 -04:00
Matthew Kennedy 681177bca0 mappings (#826) 2019-06-05 14:49:51 -04:00
rusefi 5ea3151da3 board-specific usability #808
hiding more stuff from MRE
2019-06-05 00:36:35 -04:00
rusefi 59ad3f9d12 board-specific usability #808
hiding cj125
2019-06-04 12:13:59 -04:00
rusefi 5601f8da03 board-specific usability #808
hiding menu items for specific boards
2019-06-01 18:29:50 -04:00
rusefi dc521198b6 board-specific usability #808 2019-05-30 20:41:54 -04:00
rusefi a2e8d02a11 board-specific usability #808 2019-05-30 18:19:27 -04:00
rusefi 236d2957ed board-specific usability #808 2019-05-30 00:39:13 -04:00
rusefi 483c891e16 board-specific usability #808 2019-05-30 00:18:41 -04:00
rusefi 52496870c5 USB pins are not registered in pin_repository #797 2019-05-10 19:34:28 -04:00
rusefi 759dfd989c USB pins are not registered in pin_repository fix #797 2019-05-10 19:06:28 -04:00
rusefi fd6376d22c USB pins are not registered in pin_repository #797 2019-05-10 17:44:43 -04:00
rusefi b01a902196 USB pins are not registered in pin_repository #797
first micro step
2019-05-10 15:36:55 -04:00
rusefi 36fed91e2c docs 2019-05-10 13:42:07 -04:00
rusefi 2c24571ddb dreams of two ETBs 2019-05-05 12:02:42 -04:00
andreika-git 20b6a17695 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
960 8466b4c75c Fixing build (#790) 2019-05-05 00:43:44 -04:00
960 520b003e16 Initial engine config, and cleanup. (#786)
* Add files via upload

Initial Engine Config

* Add files via upload

Cleanup

* Added Can coolant message for newer cars
2019-05-04 22:11:05 -04:00
rusefi 85b790edcf The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657
maybe probably pointless refactoring? reducing parameters visibility
2019-05-03 18:41:43 -04:00
rusEfi 1c013228dc 'warninigLedPin' typo and minor TS progress 2019-04-28 23:04:52 -04:00
rusefi 4e891de0d1 input mode control and other pin mode control #767 2019-04-20 10:54:55 -04:00
rusefi 5c2b49e915 input mode control and other pin mode control #767
only renaming here
2019-04-20 10:45:24 -04:00
rusefi e1fb90fc75 non-default CI issues 2019-04-19 14:16:34 -04:00
rusefi d4137ed1b9 non-default CI issues 2019-04-19 13:52:13 -04:00
rusefi 89dfd605eb non-default CI issues 2019-04-19 13:38:13 -04:00
dron0gus e0796d673b Smart gpios fixes - now without cleanup of smart_gpio.cpp (#758)
* smart_gpio.cpp: check _add return values

And occupy gpiochip's pin range if disabled of failed. So base will
align with enum.

* TLE8888: cleanup, move high level code to smart_gpio.cpp

* smart_gpio.cpp: fix compilation when BOARD_EXT_GPIOCHIPS == 0

* board-subaru: fix compilation after latest smart_gpio updates

* tle8888: now we have all 28 pins supported
2019-04-16 09:23:24 -04:00
dron0gus f572067772 Subaru EJ20G board: fix compilation after directory rename (#756) 2019-04-15 00:30:56 -04:00
rusEfi ad50909f18 thank you Dron_gus fot the idea! 2019-04-13 19:55:18 -04:00
rusEfi 7a2856c0fb reducing risks 2019-04-13 18:31:16 -04:00
rusefi 50c481924e steps towards smarter gpio 2019-04-13 10:58:52 -04:00
rusefi 1c96f971ce ? 2019-04-12 19:38:06 -04:00
dron0gus 0212cf644c Subaru EJ20G ECU: initial support (#751) 2019-04-13 01:23:48 +02:00
rusefi 9d3fb9f379 how about now? 2019-04-12 19:03:02 -04:00
rusefi abeb1165fd makes little sense 2019-04-12 19:01:04 -04:00
rusefi 14fe3f02e0 what is wrong with CI? 2019-04-12 18:50:18 -04:00
rusefi b71a7ef2a4 steps towards prometheus CI 2019-04-12 15:07:17 -04:00
rusefi 07dc854809 clean-up 2019-04-11 22:40:43 -04:00
rusEfi c130b249ba cleanup #4 2019-04-11 22:15:06 -04:00
dron0gus b3a161fce6 Cleanup 3 (#745)
* status leds: pick warning LED pin from configuration

* wave analyzer: do not init if no pin assigned
2019-04-11 23:33:33 +02:00
dron0gus 12e07bc3ab Some more include fixes for linux (#738)
* Some more include fixes for linux

* Pass cross-compile path through CROSS_COMPILE

* Lower-upper case conversion fixes for linux
2019-04-10 01:12:35 +02:00
rusefi 3e656803e8 folder name consistency 2019-04-09 18:47:38 -04:00
andreika-git c932fed64a Fix Prometheus config (#737) 2019-04-09 15:34:02 +02:00
rusefi 05c7baa7a1 CONFIG_RESET_SWITCH_PORT flexibility 2019-04-06 08:41:37 -04:00
rusefi 361a83d36b .txt > .md 2019-04-01 02:16:30 -04:00
rusefi f40eed3cfd naming convention 2019-03-29 11:24:25 -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
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 fc45b894bd Firmware Update via UART and/or USB #398 2019-03-28 05:49:09 -04:00
rusefi b5f6e169ee bootloader progress 2019-03-27 23:45:35 -04:00
andreika-git 0431bddd6b Prometheus 405 and bootloader fix+update (#712)
* Fix Prometheus-405 compilation

* Add more bootloader bat-files for some board configs

* Fix Prometheus compilation for new ChibiOS

* Fix Bootloader compilation for new ChibiOS

* Update pre-generated bootloader files for Prometheus 405/469
2019-03-22 11:38:18 -04:00
rusefi babbcbe868 H7 2019-03-20 20:27:02 -04:00
rusefi fab5b3e68e rusEfi F767 does not start on my custom board #708 2019-03-20 16:54:09 -04:00
rusefi 4d823c3692 ME7 pnp 2019-03-12 17:41:30 -04:00
rusefi 4313619b8b refactoring? 2019-03-12 17:40:07 -04:00
rusefi 55729a1aa6 F7 2019-02-24 09:49:46 -05:00
rusefi 723c7fe889 F7 2019-02-24 09:39:25 -05:00
rusefi ee2ac27900 F767 DFU 2019-02-23 18:00:56 -05:00
rusefi 292acc7790 this is kind of needed, right? 2019-02-21 23:07:18 -05:00
rusefi 54f5f07056 F746 CI 2019-02-17 12:54:02 -05:00
rusefi 0a87ad28ce linker files duplication #691 fix 2019-02-12 00:16:24 -05:00
rusefi b9c0c245b0 fixing Prometheus 2019-02-12 00:00:45 -05:00
rusefi c3988048dc F746 2019-02-07 00:14:45 -05:00
rusefi cd2043a9c9 F746 2019-02-06 23:13:44 -05:00
rusefi b54f34fff0 F7 2019-02-06 18:53:43 -05:00
rusefi 0b81388935 F7 for Chibi18 2019-02-06 18:05:32 -05:00
rusefi a3b150a171 Migrating to chibios18 (#687)
* first step #631

* chconf #631

* no EXT driver

* #631 progress

* #631 WOW it already compiles?!

* #631 simulator progress

* #631 CAN is back

* more changes about 25MHz

* Migrate to Chibios 18 stable #631

* undoing some merge mistake?

* little mess

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631

* Migrate to Chibios 18 stable #631
joystick works!

* Migrate to Chibios 18 stable #631
done?!
2019-02-05 18:36:25 -05:00
rusefi 3e953d5131 helping prometheus build 2019-02-01 18:22:16 -05:00
rusefi e8fe630af3 now USB does not work any more :( 2019-01-31 23:40:20 -05:00
rusefi 80e26f0575 still works #3?! 2019-01-31 23:05:00 -05:00
rusefi a306f6104c mini still works #2 2019-01-31 22:58:15 -05:00
rusefi bcc2e57fd0 mini board still works! 2019-01-31 22:51:10 -05:00
rusefi bc5cd34b3d it works, kind of :) 2019-01-31 22:36:47 -05:00
rusefi 16bd1b8012 mini board progress 2019-01-30 17:44:34 -05:00
rusefi 6ba7865833 405 option 2019-01-30 17:41:39 -05:00
rusefi dc7418308d mini board 2019-01-27 20:33:05 -05:00
rusefi f104bdd17b actually firmeare is currently about 430KB 2019-01-27 18:04:59 -05:00
rusefi 9f2f9ccd3b configurable FLASH_ADDR 2019-01-27 17:53:11 -05:00
rusefi b04214d791 black board 2019-01-26 13:20:01 -05:00
rusefi 6b27afcf00 progress but still does not work 2019-01-26 12:13:35 -05:00
rusefi 0fbc62ec5c STM32F407VET6 Mini first steps 2019-01-25 23:42:49 -05:00
rusefi c1509dd0b7 The Big Refactoring of 2019: DECLARE_ENGINE_PARAMETER_SUFFIX consistency and simplification #657 2019-01-10 19:25:07 -05:00
rusEfi d93f3ecd89 better? field name 2018-11-30 00:17:55 -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
andreika-git a7b7f94e0d Prepare for TPS-based Advance and tCharge Modes + Fixes (#610)
* rusefi_config.txt

* rusefi.input for TPS-based Advance

* rusefi.input for tCharge

* Fix compilation for Prometheus config

* Fix CJ125 calibration & debug flood

* Fix EnumToString utility for main.h->global.h refactoring
2018-09-25 15:45:17 -04:00
rusefi 4868a9fd82 refactoring 2018-09-16 22:25:17 -04:00
rusefi 43da335306 refactoring: better field names 2018-07-26 15:51:06 -04:00
andreika-git eb27c6b6e4 Impl. faster engine spin-up mode (alpha-version) (#567)
* Impl. faster engine spin-up mode (alpha-version)

* A comment for RPM_LOW_THRESHOLD

* Faster engine stop detection

* Safety check for instant RPM on spinning-up

* rusefi.xml

* unit-tests & relevant fixes
2018-03-10 20:58:51 -05:00
andreika-git e3c338d1b2 Prometheus board config (#561) 2018-01-29 18:27:01 -05:00
rusefi 8f4bb871ea Prometheus: how about this? 2018-01-29 11:02:56 -05:00
andreika-git e9c8a2a6a8 Bootloader set default pin states (#524)
* Set default pin states needed by Bootloader

* Small Bootloader fix
2017-12-24 13:45:03 -05:00
Andrei ed368132f7 Add board *Overrides() 2017-05-30 21:29:51 +03:00
Andrei 9c0d7cc667 BOARDSRC_CPP (and compatibility issues) pull request 2017-05-02 20:34:01 +03:00
Andrei ca301b1513 STM32F407xx-define (and small clean-up) pull request 2017-05-01 22:24:19 +03:00
Andrei 3958c25501 STM32F407xx-define (and small clean-up) pull request 2017-05-01 22:09:35 +03:00
Andrei 119159b749 call-board-configuration pull request (fix2) 2017-04-22 01:46:25 +03:00
Andrei 1643a44706 call-board-configuration pull request (fix) 2017-04-22 01:28:12 +03:00
rusefi afc0e0c974 #397 2017-04-21 11:44:15 -04:00
rusEfi f14ef46370 docs 2017-03-30 22:27:30 -04:00
rusefi bff89f30e9 moving from discovery to brain board 2017-03-29 20:19:40 -04:00
Fabien Poussin a0e5107ba2 Moving boards to config folder. 2017-03-29 17:55:53 +02:00
rusefi ffc94d612c find_cygwin . -type f -print0 | xargs -0 dos2unix
again?!
2017-03-24 18:54:38 -04:00
rusefi 8885b30df0 docs 2017-03-24 14:54:24 -04:00
rusefi 66ea0d5239 find_cygwin . -type f -print0 | xargs -0 dos2unix
firmware
2017-03-24 13:41:36 -04:00
rusefi 81aa2c16c0 progress #380 2017-03-22 16:47:13 -04:00
rusefi 6172ae0d1c #380 2017-03-22 16:35:07 -04:00
rusEfi cb1b7cc137 auto-sync 2014-12-23 15:03:33 -06:00
rusEfi 30433e40ae auto-sync 2014-12-05 11:03:16 -06:00
rusEfi 52697e2802 auto-sync 2014-09-27 15:02:54 -05:00
rusefi 4ee83f0fee auto-sync 2014-08-29 10:52:33 -04:00
rusefi 4e25f6cbfc auto-sync 2014-08-29 10:44:55 -04:00
Andrey B 605ae1e7bf fresh version 2014-08-23 18:37:21 -04:00
Andrey B c8d98e3108 manual sync 2014-07-24 17:30:16 -04:00
rusefi 6803af5650 manual sync 2014-07-09 21:15:49 -04:00
rusefi 93b522b2aa manual sync with SF 2014-06-28 14:38:08 -04:00
rusefi 454d695760 manual sync 2014-05-19 10:10:56 -05:00
Andrey B 28627edc5c manual update 2014-04-30 09:30:05 -05:00
Andrey B 9da09649de sync 2014-04-26 09:09:26 -05:00
rusefi 558ba46c27 newer version 2014-04-22 19:43:32 -05:00
rusefi aadb01cf6d initial version 2014-04-22 17:13:46 -05:00