Commit Graph

18375 Commits

Author SHA1 Message Date
Nathan Schulte 16d45d6d69
add knock retard aggression value advise (#437)
* add knock retard aggression value advise

* s/advise/advice/
2024-06-03 11:52:00 -07:00
Nathan Schulte a195289a12
Toyota ETCS-i [01/02]: meld FordRedundantTps Sensor into RedundantSensor (#430)
* remove redundant_ford_tps

* meld redundant_ford_tps logic into RedundantSensor

* default tps/ppsSecondaryMaximum is 100

* initTps uses melded RedundantSensor

* meld RedundantSensor unit tests

* RedundantSensor::showInfo prints redundancy status

* RedundantSensor::showInfo prints partial redundancy status

* assert SensorResult code in RedundantSensor tests

* RedundantSensor doesn't hide primary sensor result code

in the case of a single sensor only, don't hide the UnexpectedCode value
2024-06-03 11:28:56 -07:00
GitHub gen-configs Action 0b49b38f60 Auto-generated configs and docs 2024-06-03 07:39:55 +00:00
Matthew Kennedy f800a06bfd output channel headroom on big memory boards 2024-06-03 00:38:32 -07:00
GitHub gen-configs Action 8f1415efd7 Auto-generated configs and docs 2024-06-03 05:46:16 +00:00
GitHub set-date Action 3123fa9c72 Update date 2024-06-03 00:09:28 +00: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
GitHub gen-configs Action 26a15b5848 Auto-generated configs and docs 2024-06-02 05:49:32 +00:00
Matthew Kennedy a914745ada wider limits on linear sensor 2024-06-01 22:48:02 -07:00
GitHub set-date Action eb8d222048 Update date 2024-05-30 00:09:31 +00:00
GitHub set-date Action 56a1891919 Update date 2024-05-29 00:09:49 +00:00
GitHub gen-configs Action a7a5038481 Auto-generated configs and docs 2024-05-28 23:10:07 +00:00
Matthew Kennedy 12484d8d86 tweak NC vvt sync gaps 2024-05-28 16:08:37 -07:00
Matthew Kennedy 2b5b83daa6 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-05-27 21:18:06 -07:00
Matthew Kennedy 5c7118b074 missed a spot 2024-05-27 21:17:40 -07:00
GitHub gen-configs Action 2ed6103b4e Auto-generated configs and docs 2024-05-28 04:09:27 +00:00
Matthew Kennedy e70d4c7528 implement mazda L cam 2024-05-27 21:07:57 -07:00
GitHub set-date Action fc57a539aa Update date 2024-05-24 00:09:27 +00:00
GitHub gen-configs Action 55aadcd11a Auto-generated configs and docs 2024-05-23 21:48:04 +00:00
Nathan Schulte 6d87b3983a
Doxygen says FOME (#428) 2024-05-23 14:46:39 -07:00
Nathan Schulte ad8ddf59df
stringop-overflow error (#429)
* enable stringop-overflow as error

* avoid false positive stringop-overflow in static_vector
2024-05-23 14:46:06 -07:00
GitHub set-date Action 9813134988 Update date 2024-05-16 00:08:46 +00:00
GitHub gen-configs Action eda30a58fe Auto-generated configs and docs 2024-05-15 06:44:24 +00:00
Matthew Kennedy b436518c40 avoid float -> int -> float 2024-05-14 23:42:54 -07:00
GitHub set-date Action b3223216cf Update date 2024-05-12 00:09:44 +00:00
GitHub gen-configs Action 0b8cba4d69 Auto-generated configs and docs 2024-05-11 23:00:29 +00:00
Matthew Kennedy 0097eb583b
CI can protect us from loss of precision (#424) 2024-05-11 15:59:07 -07:00
Matthew Kennedy 8c8d18e435 avoid float -> long 2024-05-11 13:35:04 -07:00
Matthew Kennedy 82b1c525e1 avoid float -> double 2024-05-11 13:24:38 -07:00
Matthew Kennedy d1d10f8a56 avoid long -> float 2024-05-11 13:19:03 -07:00
Matthew Kennedy c853beee1f Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-05-11 13:14:20 -07:00
Matthew Kennedy 9efd565d29 avoid long -> float conversion 2024-05-11 13:13:59 -07:00
GitHub gen-configs Action 0fa4970a76 Auto-generated configs and docs 2024-05-11 20:09:14 +00:00
Matthew Kennedy 9ab794a461 avoid long -> float conversion 2024-05-11 13:07:47 -07:00
GitHub set-date Action 70019f1314 Update date 2024-05-11 00:09:02 +00:00
Matthew Kennedy 3080ad906f divide, not multiply 2024-05-10 15:22:04 -07:00
Matthew Kennedy 8d84bdea51 scale it correctly 2024-05-09 22:30:18 -07:00
Matthew Kennedy 217a25865a EGT on CAN 2024-05-09 22:28:34 -07:00
GitHub gen-configs Action d26aa47bec Auto-generated configs and docs 2024-05-10 05:25:07 +00:00
Matthew Kennedy 65a8928bbb EGT in gppwm channel 2024-05-09 22:23:41 -07:00
GitHub set-date Action 8a103f1edf Update date 2024-05-05 00:09:19 +00:00
Matthew Kennedy 044e575af6 Map3D considered harmful #421 2024-05-03 22:55:18 -07:00
Matthew Kennedy a4897ebc09 Map3D considered harmful #421 2024-05-03 22:43:06 -07:00
Matthew Kennedy a070f26256 wrong variable name 2024-05-03 22:25:08 -07:00
Matthew Kennedy 0cd1b61962 Map3D considered harmful #421 2024-05-03 22:24:40 -07:00
Matthew Kennedy a474543580 Wait. Why do we even use Map3D here? #246 #417 2024-05-03 22:18:09 -07:00
Matthew Kennedy d98867fc44 KnockController::onConfigurationChange(nullptr) 2024-05-03 22:11:42 -07:00
Matthew Kennedy 5d0d3fd120 behave yourselves with null previousConfig 2024-05-03 22:10:42 -07:00
GitHub gen-configs Action 2c8e4277f1 Auto-generated configs and docs 2024-05-04 04:59:30 +00:00
Nathan Schulte 80f6ae0ab5
fix building firmware on linux (#420)
* firmware: fix building on Linux

processor is non-portable, though some Linux distributions patch around this (generally by report machine instead)

* firmware: tidy use_arm_gcc.mk

* fix failure logic
2024-05-03 21:58:07 -07:00
Nathan Schulte b8d7b2d75b
fix knock retard table init (#419)
* fix knock retard table init

column and row definition were swapped w/re: value lookup

fixes #246, #417

* initialize knock controller / max retard table on reset

* fix KnockController init

no need for previousConfig (or any config ref); use the current config
2024-05-03 21:57:26 -07:00
GitHub set-date Action 5ec4d320a2 Update date 2024-05-03 00:09:05 +00:00
GitHub gen-configs Action 64bb0a787b Auto-generated configs and docs 2024-05-02 06:01:01 +00:00
GitHub set-date Action 121153781d Update date 2024-05-01 00:09:27 +00:00
GitHub gen-configs Action 2835569979 Auto-generated configs and docs 2024-04-30 07:49:46 +00:00
GitHub set-date Action 670e28a5fa Update date 2024-04-29 00:08:54 +00:00
GitHub gen-configs Action 5e77ea73cf Auto-generated configs and docs 2024-04-28 09:55:10 +00:00
GitHub set-date Action 9ff2b98d2e Update date 2024-04-28 00:09:59 +00:00
Matthew Kennedy fecb5f6cfc unit test time is actually stored in ticks 2024-04-27 02:04:25 -07:00
Matthew Kennedy 80358ad54e setTimeNowUs(): replace global fiddling with a functino call 2024-04-27 01:59:38 -07:00
GitHub gen-configs Action afeaa302cd Auto-generated configs and docs 2024-04-27 08:34:15 +00:00
Matthew Kennedy ee782ee6ab Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-04-27 01:32:53 -07:00
Matthew Kennedy 32d2a81529 more default init vs = 0 2024-04-27 01:32:45 -07:00
GitHub set-date Action 51688b5d47 Update date 2024-04-27 00:09:04 +00:00
Nathan Schulte 12ffa0c696
build OpenBLT with nucleo_f429 board (#414) 2024-04-26 02:03:44 -07:00
Matthew Kennedy decbaaef4a common getTimeNowUs 2024-04-25 22:01:46 -07:00
Matthew Kennedy be2c04813a common getTimeNowS 2024-04-25 21:57:50 -07:00
Matthew Kennedy 54a4eed7d7 trigger decoder init 2024-04-25 16:58:19 -07:00
Matthew Kennedy 314c1e4b9c don't accidentally put it back in a 64 bit num 2024-04-25 16:54:27 -07:00
Matthew Kennedy d7158542d6 instant rpm clearer truncation to 32 bits time 2024-04-25 16:50:35 -07:00
Matthew Kennedy f6f20f96d7 fix main relay 2024-04-25 16:45:36 -07:00
Matthew Kennedy f60845e38c fix sim 2024-04-25 16:42:40 -07:00
Matthew Kennedy efc74d9975 debounce init 2024-04-25 16:40:08 -07:00
Matthew Kennedy 1c354c08c3 smart gpio init 2024-04-25 16:39:56 -07:00
Matthew Kennedy cbed1af4ba default inits in trigger adc 2024-04-25 16:32:32 -07:00
Matthew Kennedy 9fd94a6cee more timers instead of hand rolled 2024-04-25 16:30:38 -07:00
Matthew Kennedy d565951b10 tcharge uses a timer instead of hand spun 2024-04-25 16:26:37 -07:00
Matthew Kennedy f3bd75a295 advance map 2024-04-25 16:23:58 -07:00
Matthew Kennedy aa103d84ff Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-04-25 16:22:33 -07:00
Matthew Kennedy e6442f06f0 main relay bench test uses a timer 2024-04-25 16:22:16 -07:00
GitHub gen-configs Action cef1953efc Auto-generated configs and docs 2024-04-25 23:20:14 +00:00
Matthew Kennedy 632c493c4f little bit of encapsulatino 2024-04-25 16:18:51 -07:00
Matthew Kennedy 8e4994627d default init is ok for these 2024-04-25 15:49:27 -07:00
Matthew Kennedy 79dfb0f2c4 wrap times in simple structs 2024-04-25 15:46:53 -07:00
Matthew Kennedy ba613dbf15 fix dynoview typing 2024-04-25 15:29:19 -07:00
Matthew Kennedy 96834b2b99 duration vs timestamp 2024-04-25 15:22:54 -07:00
Matthew Kennedy dce084fdcb duration vs timestamp 2024-04-25 15:18:41 -07:00
Matthew Kennedy 0c30e1e148 use timer instead of home spun time math 2024-04-25 15:11:13 -07:00
Matthew Kennedy 378b37f29c use timer instead of home spun time math 2024-04-25 15:07:21 -07:00
Matthew Kennedy 9ebdc88bb4 use timer instead of home spun time math 2024-04-25 15:06:11 -07:00
Matthew Kennedy 8d486f120f clock32max 2024-04-25 14:47:49 -07:00
Matthew Kennedy d8b2d3c329 debounce efidur_t 2024-04-25 14:38:21 -07:00
Matthew Kennedy 533caae2f9 another extra time type 2024-04-25 14:27:47 -07:00
Matthew Kennedy 55ce26207e fix 2024-04-25 14:26:25 -07:00
Matthew Kennedy b505b8ba0b time in seconds doesn't need a special type 2024-04-25 14:19:01 -07:00
Matthew Kennedy 8d1029314a delete efitimems_t 2024-04-25 13:52:34 -07:00
Matthew Kennedy 5b51317585 get rid of efitimems_t 2024-04-25 13:51:16 -07:00
Matthew Kennedy 1fc7fd46a7 Merge branch 'master' of https://github.com/fome-tech/fome-fw 2024-04-25 12:57:23 -07:00