Commit Graph

665 Commits

Author SHA1 Message Date
rusefi 7c1ce8db99 one of F7 builds reports error? 2020-08-26 21:53:12 -04:00
rusefi 2269f3bc71 docs 2020-08-26 20:49:21 -04:00
rusefi dcdf7c2261 progress 2020-08-23 17:21:08 -04:00
rusefi aae7d5c914 better TPS naming 2020-08-22 08:06:04 -04:00
rusefi e388d28cd2 better messages 2020-08-21 19:13:03 -04:00
rusefi 4cd5f146f4 bugfix - PPS second channel was not initialized 2020-08-19 00:46:57 -04:00
rusefi b3f013b483 TS SD integration #1653 2020-08-07 17:24:02 -04:00
rusefi 1e24f3d529 do we have this RAM? 2020-08-02 17:21:07 -04:00
rusefi ffa9de7040 auxTempSensor text output 2020-07-27 20:23:57 -04:00
Matthew Kennedy 1249c11690 more spots 2020-07-20 00:55:45 -07:00
David Holdeman 4a43b0a29f Workflow to write the date, once a day (#1504)
* Add date workflow

* add files

* use VCS_DATE in engine controller

* initial values

* switched to using one file

* moved to controllers

* Add comment and fix cron entry

* add pragma once

* Add more comments
2020-06-17 12:59:57 -04:00
rusefi 76d3dbe22c fixing stuff? 2020-06-14 18:06:33 -04:00
rusefi ff8f0731fd a few unneeded properties 2020-06-13 22:46:10 -04:00
rusefi 152fa17990 warning LED is for warnings only, communications have to reflected by COMMS LED 2020-06-13 13:23:34 -04:00
rusefi cbfdd37243 tuneCrc16 - we use it to match logs to tunes 2020-06-04 20:43:52 -04:00
rusefi a743b55e5e index for fsio_analog_input 2020-06-01 22:39:56 -04:00
rusefi 0847dc4683 useFSIO6ForRevLimiter 2020-06-01 09:09:55 -04:00
rusefi 4aaa670bc5 refactornig & new console command 2020-05-31 14:15:18 -04:00
Matthew Kennedy d13bd0b77c Hardware pwm (#1283)
* hard pwm

* fix, comments

* PC6-9 and PD12-15

* PB6-9

* dynamic frequency

* f7 mcuconf

* format

* relocate to common, support variable frequency

* error handling

* oops

* fix test build

* noop kinetis

* better guards

* guard for bl

* guards don't work if they have typos

* more mapping

* oops

* don't use for slow pwm

* enable pwm

* guard properly

* save a little memory

* use less mem

* correct timers

* all your ram are belong to us

* update limit & comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-28 16:02:41 -04:00
rusefi 7d8236a6b3 composite log for console 2020-05-26 00:07:18 -04:00
Matthew Kennedy 45e03262d0 Redundant accelerator pedal (#1470)
* add second boudns

* init logic

* test changes

* reconfigure correctly

* rams
2020-05-23 19:48:32 -04:00
rusefi 6453e891e6 "TLE8888 SR Unexpected response" does not work as intended fix #1466 2020-05-22 22:56:19 -04:00
rusefi ef66c84d77 date 2020-05-22 13:30:14 -04:00
Matthew Kennedy 0a278375fd Binary logging to SD (#1461)
* binary log

* remove old text logging

* change file extension

* just use a bare buffer

* more mem :(

* double ugh

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 15:52:58 -04:00
Matthew Kennedy 441fe43dab warnings (#1462)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-21 01:08:07 -04:00
rusefi 60835c4269 HW_CHECK_MODE 2020-05-20 22:15:47 -04:00
Matthew Kennedy ce2beafb5f Redundant tps (#1427)
* add redundant sensor

* add tests

* add configure, info printing

* tests

* tests

* partial hookup

* fix

* fix

* bad makefile merge

* use second TPS config

* update test

* update test

* sensor names

* set second pin by default

* fix auto cal

* auto cal both sensors

* add reconfigure of secondary sensors

* gobblin' up your ram

* slow down write a little bit

* put split in debug gauge

* s

Co-authored-by: Matthew Kennedy <matthew@mck-mbp-15.local>
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-18 14:32:00 -04:00
Matthew Kennedy e6e48ce66c binary logging (#1443)
* field support

* tests

* makefiles

* test data too

* missing include dir

* write correct thing

* fix one test

* fix test

* omnomnomnom ram

* format

* use defined names

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-17 15:56:37 -04:00
rusefi 11b66a6713 toyota 2jz progress 2020-05-15 16:35:18 -04:00
rusefi 03a632f3a7 VVT_INACTIVE 2020-05-14 23:13:32 -04:00
rusefi 632bedcf9c helping build 2020-05-13 19:41:10 -04:00
rusefi 4adac49050 docs & helping master 2020-05-13 19:27:11 -04:00
rusefi e37f737689 date 2020-05-11 00:59:55 -04:00
rusefi 2db29c7824 34-2 3 cam Toyota wheel progress 2020-05-10 18:03:11 -04:00
rusefi 08cfcddeb4 manual date 2020-05-09 22:44:44 -04:00
rusefi d79e404bec date&docs 2020-05-09 09:35:34 -04:00
rusefi d472685c41 docs 2020-05-03 12:40:43 -04:00
rusefi 3b4317d622 date 2020-05-03 02:50:43 -04:00
rusefi b70dab791b exactly noone is surprised 2020-05-02 22:44:36 -04:00
Matthew Kennedy 5ac535c5e5 Support 4 h-bridges (#1392)
* update dc motor api

* add more etbio

* get out of two arrays

* hand generate enough

* forgot engine param

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-05-02 17:54:28 -04:00
rusefi 7689cfc2dd Attempting cj125 2020-05-01 17:52:25 -04:00
rusefi 0750df5392 sweet unused method 2020-05-01 12:05:18 -04:00
rusefi 65fde14800 Add firing order fix #1385 2020-04-29 16:46:59 -04:00
Matthew Kennedy a9bf0f8358 Perf Trace Improvements (#1383)
* add tid field to thread

* change perf trace format

* trace consumers

* Update java parsing

* guard for test + kinetis

* stubs

* ram

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-29 10:53:35 -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 499d445fd2 reclaim (#1377)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-27 14:36:26 -04:00
rusefi 30759ed8b3 VVT miata trying to crank with random phase #1278 2020-04-26 20:50:49 -04:00
rusefi 025c8c2903 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	firmware/controllers/engine_controller.cpp
2020-04-26 19:44:04 -04:00
rusefi 176a08f0a6 minor clean-up 2020-04-26 18:47:56 -04:00
rusefi 7513c08def method inline 2020-04-26 17:50:03 -04:00
rusefi 0ec3ce595e dead code 2020-04-26 17:40:12 -04:00
rusefi fe03d576e6 minor clean-up 2020-04-26 17:07:39 -04:00
Matthew Kennedy 738e53442d General purpose PWM: implementation & tests (#1366)
* config

* significant digits

* renumber enum, no need for a "none"

* ui

* impl base

* error handle MAP

* init & update

* don't need arg

* don't lie about sensor

* fix test build

* test stub

* initialize

* null check

* fix clamping

* test output

* types & enums

* don't need param

* test getOutput

* fix

* output pin instead of brain pin

* default config
2020-04-26 14:06:28 -04:00
Matthew Kennedy 39c84378eb don't store self stim in config (#1356)
* kill

* add bench test

* fix
2020-04-23 22:38:14 -04:00
rusefi 4e662415ff progress 2020-04-22 20:20:22 -04:00
rusefi ceb8b6d9b4 idle duty cycle clamping 2020-04-20 14:11:40 -04:00
rusefi ebbd8c28f5 still want RAM?! 2020-04-19 23:56:08 -04:00
rusefi f7327e0d71 still the cost of remix 66-2-2-2 2020-04-19 18:58:22 -04:00
rusefi 912e543680 date & trigger ram usage 2020-04-19 18:32:36 -04:00
rusefi 89be50fd70 Renix 44-2-2 2020-04-18 22:20:17 -04:00
rusefi d7198271aa multi-channel Tuner Studio tooth logger #1284 2020-04-17 12:14:45 -04:00
rusefi 3e1006a626 MC progress 2020-04-16 14:08:28 -04:00
rusefi 631e900f31 but what?! 2020-04-14 13:27:07 -04:00
rusefi 0f24a41698 is GH trying to tell us something?!
Linking build/rusefi.elf
/home/runner/work/rusefi/rusefi/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: build/rusefi.elf section `.ram4' will not fit in region `ram4'
/home/runner/work/rusefi/rusefi/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: region `ram4' overflowed by 352 bytes
collect2: error: ld returned 1 exit status
2020-04-14 13:15:04 -04:00
rusefi e35fc80a0b fresh 2020-04-13 09:23:13 -04:00
rusefi 8368e3fa08 date 2020-04-12 18:11:43 -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 35f08f3958 progress 2020-04-10 13:32:06 -04:00
rusEfi 80d5ef0c3f cj125 diag 2020-04-09 00:12:27 -04:00
rusefi 6b171c97fb TunerStudio: Save settings with self-simulation fix #1272 2020-04-08 18:03:46 -04:00
Matthew Kennedy 3abd181f6f CLT/IAT/Aux in the new sensor world (#1269)
* hook up clt

* init test

* probably fix test

* aux temp

* relax checking

* more significant figures

* remove old aux temp

* hand generate

* claim RAM

* move to ccm

* subscribe

* info printing

* warnings

* raise high voltage failure threshold

* fix test

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-07 16:07:09 -04:00
rusEfi 11e489f8d7 date 2020-04-06 14:58:18 -04:00
rusefi 5993a6a7f0 killing nbVvtIndex 2020-04-05 11:43:45 -04:00
Matthew Kennedy 43d38a6691 TPS Initialization Testing (#1264)
* test support

* stub for tests

* plumbing so we can test this

* add test

* comments
2020-04-05 09:10:08 -04:00
rusefi fd02a6dc8c v12 2020-04-03 00:19:04 -04:00
rusefi be5b4fb3c6 less ETB in case of critical 2020-04-02 00:32:03 -04:00
rusefi f3ab4d81f7 start/stop works now 2020-04-01 21:22:54 -04:00
rusefi 0f774b1c1c start/stop works now 2020-04-01 20:25:44 -04:00
rusefi cc35e8a9b0 code style 2020-04-01 19:00:56 -04:00
rusefi 5f62c3535a date 2020-04-01 00:42:53 -04:00
rusefi 872f32c994 better message 2020-03-31 16:02:13 -04:00
rusefi dc52d039e7 start/stop progress 2020-03-31 01:06:19 -04:00
Matthew Kennedy cd41449459 Debuggability in the new sensor world (#1238)
* rename to avoid conflict

* fix efilib

* add sensor printing

* makefile

* that check was already there

* const

* const

* fix tests

* formatting

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-03-30 18:29:42 -04:00
rusefi 287aa9536f Reducinc code duplication thank you Matt 2020-03-30 14:12:57 -04:00
rusEfi a3588f64fa v12 & dual-TPS 2020-03-30 01:13:02 -04:00
Matthew Kennedy 0ac3e06149 cleanup extern mess (#1237)
* cleanup

* move outside define
2020-03-29 19:06:03 -04:00
rusefi 1956de6cea oooops 2020-03-29 16:56:40 -04:00
rusefi 79e5059c5a critical error usability improvements 2020-03-28 20:14:17 -04:00
rusefi 0e457ecedb date 2020-03-26 19:25:14 -04:00
Matthew Kennedy b7033bbde9 Finally rename injector_central to bench_test (#1229)
* bench test rename

* rename consumers

* good lord what are all of these externs doing

* fix tests
2020-03-26 08:03:55 -04:00
rusefi e386955741 start/stop progress 2020-03-25 01:41:15 -04:00
rusefi 92a13312dc random code inspired by Ola 2020-03-24 19:21:20 -04:00
rusefi 3232aeb80c progress 2020-03-23 23:51:51 -04:00
rusefi 44b2cd1254 date 2020-03-23 23:28:17 -04:00
rusefi 9e9c4249e2 progress 2020-03-23 23:16:57 -04:00
rusefi 205fdcee66 launch control #203 2020-03-23 20:44:34 -04:00
rusefi e58f00692e start/stop progress 2020-03-23 10:32:41 -04:00
rusefi 7c991fedce moving a bit of crazy aside 2020-03-23 00:01:59 -04:00
Matthew Kennedy 3840440e97 Accelerator pedal with new sensors (#1208)
* add pedal sensor

* update status loop

* add bit to ts

* fix math

* divide at config time

* this used a little bit of ram
2020-03-22 17:09:46 -04:00
rusefi b55a892e3a At least read all TPS inputs 2020-03-20 09:53:45 -04:00