Commit Graph

6810 Commits

Author SHA1 Message Date
GitHub build-firmware Action e07241b635 Auto-generated configs and docs 2021-09-05 19:05:59 +00:00
Andrey 3ed50dbea7 SD-card log fields improvement (warning counter & last code) #3162 2021-09-05 14:43:35 -04:00
rusefillc 3ff9568521 more details into CUSTOM_OBD_LOW_FREQUENCY message 2021-09-05 14:21:02 -04:00
GitHub build-firmware Action 7a9ebd7ca7 Auto-generated configs and docs 2021-09-05 18:08:59 +00:00
Matthew Kennedy c72bd07179
enable address sanitizer (#3217)
* enable asan

* lua

* this is dead and leaky

* leaky nissan

* fix pwm generator use-after-stack

* initializers

* prevent problems in case of invalid trigger shape

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-09-05 05:56:59 -04:00
GitHub set-date Action 8982148e1f Update date 2021-09-05 01:00:12 +00:00
Andrey G 39664d98a0
Subaru svx trigger update (not vvt) (#3210)
* trigger: subaru: SVX: some comments

* trigger: subaru: svx: fix crank 2 offset

* trigger: subaru: svx: rework a bit

* trigger: subaru: svx: fix dtc position
2021-09-04 11:42:12 -04:00
Matthew Kennedy 57e01e2064
start system lua VM (#3219)
* start system lua vm

* show used

* message

* null if script load fails
2021-09-04 07:57:58 -04:00
GitHub set-date Action 1064c40fd6 Update date 2021-09-04 00:57:30 +00:00
rusefillc 427cce7596
Lua timer (#3218)
* Lua: Timer class #3159

* Lua: Timer class #3159

* Lua: Timer class #3159

* Lua: Timer class #3159

* lua timer is happy (#3216)

* hooks are happy

* don't need that any more

* format

* update lib

* module

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2021-09-03 20:21:39 -04:00
GitHub build-firmware Action 9eef709eb1 Auto-generated configs and docs 2021-09-03 10:35:26 +00:00
Matthew Kennedy 206670e2c5
multiple lua heaps (#3215)
* multi lua heaps

* assert

* put it in a class

* put it in the class

* privacy
2021-09-03 03:45:23 -04:00
GitHub set-date Action 7b933369f6 Update date 2021-09-03 00:57:02 +00:00
rusefillc 42cddf810f my first Lua 2021-09-02 10:46:15 -04:00
GitHub set-date Action f55c5d6791 Update date 2021-09-02 00:58:14 +00:00
GitHub build-firmware Action e94052b35f Auto-generated configs and docs 2021-09-01 19:04:18 +00:00
GitHub build-firmware Action 9c9c66081f Auto-generated configs and docs 2021-09-01 11:59:13 +00:00
rusefillc 22a0b88872 my first Lua 2021-09-01 07:47:50 -04:00
GitHub build-firmware Action 258c080ed5 Auto-generated configs and docs 2021-09-01 06:47:17 +00:00
GitHub set-date Action 5aeac671c3 Update date 2021-09-01 01:02:19 +00:00
rusefillc f47320fd70 my first Lua 2021-08-31 12:32:05 -04:00
rusefillc 4e47e7bdb9 my first Lua 2021-08-31 11:37:43 -04:00
rusefillc 526340de78 Subaru svx vvt #3210
helping or not
2021-08-31 06:05:57 -04:00
rusefillc 1a1b7f95c0 Subaru svx vvt #3210
helping or not
2021-08-31 05:54:04 -04:00
GitHub build-firmware Action b4841d3714 Auto-generated configs and docs 2021-08-31 09:06:02 +00:00
rusefillc 6ea76921f4 docs 2021-08-31 04:27:31 -04:00
GitHub set-date Action 45b3d43239 Update date 2021-08-31 00:58:13 +00:00
GitHub set-date Action 5f9f12ebd4 Update date 2021-08-30 00:55:24 +00:00
GitHub set-date Action 47fc8858a5 Update date 2021-08-29 00:58:59 +00:00
Matthew Kennedy 730b26d034
remove old vss implementation (#3208)
* dead vss

* remove
2021-08-28 01:39:55 -04:00
GitHub set-date Action 195604f749 Update date 2021-08-28 00:53:18 +00:00
GitHub build-firmware Action 5e1701df6a Auto-generated configs and docs 2021-08-27 22:03:24 +00:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00
rusefillc 22158cbc4a Revert "partial rollback was requested to revive HW CI"
This reverts commit 6834d0dd
2021-08-27 12:42:53 -04:00
GitHub build-firmware Action bcef98598b Auto-generated configs and docs 2021-08-27 11:16:03 +00:00
rusefillc 48a009fc33 Revert "Revert "memory savings (#3195)""
This reverts commit 0b3ef5f5
2021-08-27 06:18:05 -04:00
GitHub build-firmware Action 31696af765 Auto-generated configs and docs 2021-08-27 09:54:15 +00:00
Matthew Kennedy da5aaeda2b
detect "not scheduled" faster (#3200)
* fatal if not found

* handle not-scheduled

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:46:01 +03:00
Matthew Kennedy 0c6297e926
add cancel to scheduler (#3201)
* fw

* for tests

* simulator

* sim

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-08-27 11:30:06 +03:00
Matthew Kennedy 6c7b48b319
s (#3207) 2021-08-27 11:07:33 +03:00
Matthew Kennedy 98a98e920d
init the timer before we try to use it (#3205)
* init the timer before we try to use it

* format

* guard
2021-08-27 10:59:00 +03:00
rusefillc 0b3ef5f553 Revert "memory savings (#3195)"
This reverts commit 52a24ee7
2021-08-27 02:32:31 -04:00
GitHub set-date Action 8051ee4b0c Update date 2021-08-27 01:00:17 +00:00
rusefillc 6834d0dd65 partial rollback was requested to revive HW CI 2021-08-26 17:04:27 -04:00
Matthew Kennedy 52a24ee773
memory savings (#3195)
* d

* dead code

* all your ram are belong to me

* turn off gpiochips we don't need

* save

* save by using the same file handle

* smaller stack ok

* these can be on the stack

* this is closer

* what about ccm?

* probing available

* now probe ccm

* ccm

* put stuff in ccm

* fsio

* memory usage

* memory
2021-08-26 23:05:31 +03:00
Matthew Kennedy cf5d4cbe1c
add & test remove from linked list (#3199) 2021-08-26 23:03:09 +03:00
GitHub set-date Action 3fd6eb6f85 Update date 2021-08-26 00:54:08 +00:00
Matthew Kennedy 87e4e7e4cf
simpler way for limp manager to handle engine stop (#3194)
* simpler

* why would we lie about spinning?
2021-08-25 11:29:20 +03:00
GitHub set-date Action 3cfb4b7675 Update date 2021-08-25 00:56:06 +00:00
Matthew Kennedy a18b86a09b
start allowing ADC change while running (#3100)
* allow re-register of the same sensor

* add api to unsubscribe

* do it for tps

* clear the pin

* happy test

* maybe make afr happy for now

* tests build

* happy simulator

* active configuration

* check valid

* we need vbatt now

* manage all pin init in init_sensors.cpp

* don't need that

* cleanup

* thermistors

* do two phase reinit in the right place

* config vs engine

* finally the tests are happy
2021-08-24 16:41:16 -04:00