Commit Graph

1126 Commits

Author SHA1 Message Date
Matthew Kennedy 3f8a2894c7 formatting: (void) and trailing whitespace 2024-09-17 15:38:29 -07:00
GitHub gen-configs Action 11fa537f5b Auto-generated configs and docs 2024-09-01 23:55:00 +00:00
Matthew Kennedy 8d843f3cac people ask constantly about why this doesn't do what they want 2024-09-01 16:53:40 -07:00
GitHub gen-configs Action 17ca8b204f Auto-generated configs and docs 2024-09-01 23:50:02 +00:00
Matthew Kennedy 40dfd1e205 give dwell metric its own channel 2024-09-01 16:48:40 -07:00
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