Commit Graph

1171 Commits

Author SHA1 Message Date
GitHub gen-configs Action 7593cd61d4 Auto-generated configs and docs 2024-08-31 05:50:02 +00:00
Matthew Kennedy 5c614ca945
all ECUs can use big blocking factor! (#474)
* all ECUs can use big blocking factor!

* reclaim 100 bytes of blocking factor

* fits on ethernet f4

* ch-ch-ch-ch-changelog

* bump it a little
2024-08-30 22:48:37 -07:00
GitHub gen-configs Action dca081a907 Auto-generated configs and docs 2024-08-30 07:20:25 +00:00
Matthew Kennedy a269b9af38 additional aux linear sensors #476 2024-08-30 00:18:54 -07:00
GitHub gen-configs Action a6a371b0f3 Auto-generated configs and docs 2024-08-06 05:13:24 +00:00
Matthew Kennedy 4a79d71ba3 I don't math good 2024-08-05 22:12:00 -07:00
GitHub gen-configs Action b72429c6f8 Auto-generated configs and docs 2024-08-06 05:10:30 +00:00
Matthew Kennedy 36c45a0e57 log per-cylinder map sampling 2024-08-05 22:08:48 -07:00
GitHub gen-configs Action a053e77e6f Auto-generated configs and docs 2024-08-06 04:47:59 +00:00
Matthew Kennedy d477d7c5f4 map sampling logs sample count 2024-08-05 21:45:23 -07:00
Matthew Kennedy f3045af367 AE is engine module 2024-08-01 21:45:54 -07:00
Matthew Kennedy dd8dea61c0 rename Executor -> Scheduler 2024-07-11 17:03:13 -07:00
Matthew Kennedy 8831512b6b more dead console command cleanup 2024-07-03 00:48:06 -07:00
Matthew Kennedy 94a5c52186 consoleByteArrived uses std::atomic 2024-06-27 11:51:40 -07:00
Matthew Kennedy cf87e64119 compile-time enforcement of printf strings 2024-06-10 00:51:14 -07:00
Matthew Kennedy 6bb5bd998c
process plain command only if no second byte (#440)
* process plain command only if no second byte

* print in case of not understood single-byte cmd
2024-06-09 23:07:05 -07:00
Matthew Kennedy 2eb6c25313
ts refactoring (#439)
* replace large buffer instances

* handlePageReadCommand uses locked

* cleanup

* explicitly call big vs. small packet implementation

* correctness

* unused UNUSED

* cleaner TS logging & cleanup

* about time we bumped this
2024-06-09 20:26:27 -07:00
Matthew Kennedy dfc2da083b support reading output channels with no size/offset 2024-06-09 15:45:31 -07:00
Matthew Kennedy 4465d20622 remove responseCode from writeCrcPacket 2024-06-03 17:34:21 -07:00
Matthew Kennedy ed52ff474e eliminate TsChannelBase::sendResponse 2024-06-03 17:28:14 -07:00
Matthew Kennedy d4c0df833a remove TS_RESPONSE_COMMAND_OK when TS_RESPONSE_OK exists 2024-06-03 17:21:26 -07:00
Matthew Kennedy 65e1091179 operate on uint8_t instead of char 2024-06-03 17:02:43 -07:00
Matthew Kennedy 35b46d0e92 TS helper for no-payload responses 2024-06-03 17:02:43 -07:00
Matthew Kennedy 084f848bdb fix 2024-06-02 13:00:41 -07:00
Matthew Kennedy 3a96c38f2e NULL -> nullptr 2024-06-02 12:58:07 -07:00
Matthew Kennedy a22302579e TS cleanup: ts_response_format_e 2024-06-02 12:49:24 -07:00
Matthew Kennedy 9fd94a6cee more timers instead of hand rolled 2024-04-25 16:30:38 -07:00
Matthew Kennedy ebe78cbb4b cherry pick rename rusefi.input #391 2024-03-24 22:49:36 -07:00
Matthew Kennedy cbd7e6af56 avoid more undefined behavior 2024-03-22 12:12:53 -07:00
Matthew Kennedy d8898a4665 cherry picks from #385 2024-03-13 00:56:53 -07:00
Matthew Kennedy c9d4befc4d
WiFi tweaks (#374)
* batch all wifi in to one write

* writeCrcPacket already chunks the response, so we don't really need it, but limit maximum TCP write size

* format cleanup

* don't cache wifi stuff (for now)

* h7 fiddling
2024-03-12 16:14:04 -07:00
Matthew Kennedy dba95f57dc except that one can't be final 2024-03-01 12:57:01 -08:00
Matthew Kennedy a85e6c777d make some channels final 2024-03-01 12:46:39 -08:00
GitHub gen-configs Action 2c42d8d83c Auto-generated configs and docs 2024-01-19 12:02:28 +00:00
Matthew Kennedy f3b335fe8d
all generated files in one dir (#348)
* delete existing generated source files

* ignore new generated dir

* move all the generated files

* cleanup

* jars

* makefile

* bootloader

* simulator+tests
2024-01-17 14:25:00 -08:00
GitHub gen-configs Action 5999a2fcbb Auto-generated configs and docs 2024-01-07 23:23:56 +00:00
Matthew Kennedy 9673ff01f3
implement staged injection (#331)
* output channel

* duty cycle etc math for second stage

* action_s utility

* basic enable switch

* staging fraction math

* implement staging logic

* wire up pins for second stage injectors

* staging UI

* Improve staged injection test, check scheduler arguments for other injection tests

* Stage 2 last pulse output channel, correct fuel consumption logic

* wall wet on the whole shot

* int vs size_t

* use a define instead of function so we get line numbers

* fix batch injection

* gauges

* bad test merge

* stub out secondary injector model
2024-01-07 15:22:39 -08:00
Matthew Kennedy 9353af8d99 correctly calculate tooth logger buffer count to avoid overrun 2024-01-06 19:59:36 -08:00
Matthew Kennedy 17c6a46e84 optimize for hot thread stacks and data in CCM 2024-01-06 19:37:35 -08:00
GitHub gen-configs Action 62c27ab01c Auto-generated configs and docs 2023-12-20 23:26:43 +00:00
Matthew Kennedy d224434ced aux linear uses float 2023-12-20 15:25:13 -08:00
GitHub gen-configs Action 429a51eefe Auto-generated configs and docs 2023-12-10 01:27:23 +00:00
GitHub gen-configs Action 4fa3cf6791 Auto-generated configs and docs 2023-11-27 09:31:37 +00:00
Matthew Kennedy c7cc2de16f sanity in IMU data names/ranges 2023-11-27 01:30:18 -08:00
Matthew Kennedy caa7e62b0e
new parser datalog support (#205)
* stale comments

* conform inputs

* implement datalog writing

* stale comment

* s

* stub out more support

* OutputChannelWriter

* tweak inputs so there's less diff later
2023-11-23 18:53:56 -08:00
Matthew Kennedy cda890a5eb ECU firmware knows what sort of bootloader it has 2023-11-02 15:36:52 -07:00
Matthew Kennedy 9dc183a173
we use small time units here in the future (#287) 2023-11-01 22:31:27 -07:00
Matthew Kennedy a8247afe89 deadish code makes it not build on macos 2023-11-01 21:39:39 -07:00
Matthew Kennedy a987308055 shadow avoidance 2023-11-01 14:16:09 -07:00
Matthew Kennedy 73ca7c7974 ts channel shadow avoidance 2023-11-01 14:12:15 -07:00
Matthew Kennedy 408862d69f strongly type can bus index so we can't have the same bug again 2023-10-30 23:33:59 -07:00
Matthew Kennedy 2231fa4cd8 bench test didn't work on simulator 2023-10-24 01:00:02 -07:00
Matthew Kennedy e09ed790eb extract injection refactoring from #215 2023-10-12 18:00:33 -07:00
GitHub gen-configs Action 08e68b12b4 Auto-generated configs and docs 2023-10-04 01:31:09 +00:00
Matthew Kennedy 6534650105 Fix autotune in AFR mode: add "gas scale AFR" output channels & gauges 2023-10-03 18:29:17 -07:00
GitHub gen-configs Action 5aa1fc0caf Auto-generated configs and docs 2023-10-03 05:27:44 +00:00
Matthew Kennedy d98c6a9fc3 odometry output channels 2023-10-02 22:25:35 -07:00
rusefillc 7ad5b00f2e
refactoring: vvt is not aux (#263)
* refactoring: vvt is not aux

(cherry picked from commit 6b4c4a583316a32d7723c2cfa16cda39fa9afb1b)

* this repo has VVT conditional at small-can-board
2023-09-27 00:59:04 -07:00
rusefillc 1fa1a407c4
not Idle (#264)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-09-26 15:17:33 -07:00
GitHub gen-configs Action 371e2d099c Auto-generated configs and docs 2023-09-25 18:09:04 +00:00
Matthew Kennedy 2346086b06
knock live data (#261)
* Move knock data to knock controller

* appease tsConfigVersion

* make reapply logic easier to read
2023-09-25 11:06:48 -07:00
GitHub gen-configs Action 7033eafd6a Auto-generated configs and docs 2023-09-18 19:22:21 +00:00
Matthew Kennedy 222bbe8e7c rpm acceleration is signed 2023-09-18 12:20:21 -07:00
GitHub gen-configs Action 657f1ba86c Auto-generated configs and docs 2023-09-18 09:10:54 +00:00
Matthew Kennedy 0bd9bff4b4 cdp/tip output channels #250 2023-09-18 02:08:54 -07:00
Matthew Kennedy 5ca06de55d new temp sensor output channels #250 2023-09-18 01:54:49 -07:00
GitHub gen-configs Action 18528d8ca7 Auto-generated configs and docs 2023-09-17 06:09:52 +00:00
Matthew Kennedy 3df1ee9c5f debug channel cleanups 2023-09-13 12:23:27 -07:00
Matthew Kennedy 727f3a7a76 boost is engine module 2023-09-07 12:41:56 -07:00
GitHub gen-configs Action 20e200ce4b Auto-generated configs and docs 2023-08-06 22:39:54 +00:00
Matthew Kennedy 89815e765e 16 bit bench test counter, compactify output bits #219 2023-08-06 15:38:04 -07:00
GitHub gen-configs Action 6ef6de81b6 Auto-generated configs and docs 2023-07-26 07:01:58 +00:00
Matthew Kennedy 20ebd3a433 lambda monitor live data 2023-07-25 23:59:00 -07:00
Matthew Kennedy 600d39fd8c force bigBuffer alignment https://github.com/rusefi/rusefi/issues/5354 2023-07-25 23:46:28 -07:00
GitHub gen-configs Action 229a9d99dc Auto-generated configs and docs 2023-07-21 08:42:11 +00:00
Matthew Kennedy fb8cb4987e
fan control is engine module (#203)
* fan is engine module

* mockable AC

* mockable AC

* mock AC controller in fan test

* constexpr fan livedata

* isPtr
2023-07-21 01:28:25 -07:00
Matthew Kennedy e2550105b8
vvt is engine module (#202)
* vvt refactoring

* vvt constexpr livedata

* format

* fix null deref
2023-07-19 22:16:29 -07:00
Matthew Kennedy eb7707a878 put livedata intermediates in the TS folder 2023-07-19 15:05:13 -07:00
Matthew Kennedy 95efa01d8c dead 2023-07-19 14:54:47 -07:00
GitHub gen-configs Action 72177a2fe3 Auto-generated configs and docs 2023-07-19 21:54:14 +00:00
Matthew Kennedy daed623c82 unnecessary autoscales 2023-07-19 14:49:07 -07:00
GitHub gen-configs Action 62ad0beb1d Auto-generated configs and docs 2023-07-19 07:23:44 +00:00
Matthew Kennedy bed48892aa
new parser touches all input files (#201)
* begin the resurrection

* use hw ci build script

* Revert "use hw ci build script"

This reverts commit e97e693eea.

* list serial ports

* bad merge

* Revert "list serial ports"

This reverts commit a29270405c.

* Revert "bad merge"

This reverts commit ea2541110e.

* unnecessary autoscales

* improve bad autoscale message

* bit group formatting

* formatting matching

* c struct writer mostly works

* tests and formatting alignment

* tests

* cherry pick potential hw ci fix

* format matching

* newparse reads live data files

* vvt scaling

* cleanup

* format matching

* format matching

* format matching

* format matching

* handle arrays of structs

* cleanup for merge

* jars
2023-07-19 00:21:41 -07:00
Matthew Kennedy ec24e45c04
scattered read is not a primary scenario (#198) 2023-07-18 00:09:34 -07:00
GitHub gen-configs Action 04acd2f092 Auto-generated configs and docs 2023-07-02 04:59:13 +00:00
GitHub gen-configs Action b4ed123d04 Auto-generated configs and docs 2023-07-02 04:46:25 +00:00
GitHub gen-configs Action 1c3727442b Auto-generated configs and docs 2023-07-02 04:10:48 +00:00
Matthew Kennedy d17d902f24 stub vvt live data 2023-07-01 21:08:50 -07:00
GitHub gen-configs Action 406aeae039 Auto-generated configs and docs 2023-07-02 03:51:27 +00:00
Matthew Kennedy 565a5996c8 live data injector model 2023-07-01 20:51:01 -07:00
GitHub gen-configs Action a5375917b5 Auto-generated configs and docs 2023-05-31 18:40:31 +00:00
Matthew Kennedy 04e6f45ce9 log per-cylinder timing #76 2023-05-31 11:38:06 -07:00
GitHub gen-configs Action c2abe7219e Auto-generated configs and docs 2023-05-31 18:24:40 +00:00
Matthew Kennedy ad3ea57276 tooth_logger.h -> pch 2023-05-30 22:41:20 -07:00
Matthew Kennedy 349d3a9b48 completely unused CanCategory 2023-05-30 22:13:54 -07:00
GitHub gen-configs Action 49fb17718c Auto-generated configs and docs 2023-05-05 19:50:07 +00:00
Matthew Kennedy ea81fdfc64 idle data 2023-05-05 12:48:38 -07:00
Matthew Kennedy 5f1e14825c txt format 2023-05-05 12:27:02 -07:00
GitHub gen-configs Action a10ec0ab0c Auto-generated configs and docs 2023-05-05 09:42:48 +00:00
Matthew Kennedy 18493f9083 TPS AE log cleanup 2023-05-05 02:34:48 -07:00