Commit Graph

76 Commits

Author SHA1 Message Date
rusefillc 20cbeec9cd front to rear axle speed slip rate gauge #5842
only:proteus_f4
2023-12-31 11:34:35 -05:00
Andrey 02960f1503 only: front to rear axle speed slip rate gauge #5842 2023-12-30 23:51:59 -05:00
rusefillc c4eb8fc9f8 CLI encapsulation preparing for libfirmware move 2023-08-08 22:58:17 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
Matthew Kennedy 614dc2f260
Strictly validate stack use in hardware CI (#4880)
* firmware error in case of low stack only on HW CI

* send date

* I don't java good

* I still don't java good

* send the right command

* I guess we can check it on every single test?

* javaaaaaa

* atoi breaks on later non-digit

* avoid sscanf use (for atoi)

to avoid bloating the stack

* less churn

* less churn

Co-authored-by: Nathan Schulte <nmschulte@desmas.net>
2022-12-08 13:20:55 -05:00
rusefillc 3606580178 error=parentheses 2022-12-03 01:12:31 -05:00
rusefillc 5e62595d69 reduce flash footprint by smarter code generation #4163 2022-12-03 00:51:41 -05:00
rusefillc f9fa729d8d less horrible constant name 2022-10-27 22:17:50 -04:00
Matthew Kennedy a9cc3223dc
plumbing for 4513 (#4599)
* plumbing for 4513

* not static
2022-09-20 06:19:51 -04:00
Matthew Kennedy acf18c7072
move math (#4353) 2022-07-17 00:16:22 -04:00
rusefillc 149f6ea110
ChibiOS 20.3.5 (#4285)
* ChibiOS 20.3.5

* chibios bump

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-25 12:43:28 -04:00
Andrey 9c5bd03bba docs 2022-03-19 19:33:37 -04:00
Matthew Kennedy 71fb9e9a7d
does this help? (#3795)
* does this help?

* maybe this helps

* oops I snuck in an O0

* only firmware
2022-01-16 08:55:40 -05:00
rusefillc 51ade79641 itoa unit test, not a very detailed one 2022-01-03 03:31:57 -05:00
Matthew Kennedy caee2a5439
delimeter is not comma (#3533)
* delimeter is not comma

* do it in config txt

* use txt

* s

* string

* compat

* also, spelling is hard

* use new name

* use new name

* generate enough for happy console

* use an even less common character

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-19 12:01:45 +03:00
rusefillc fe25b24050 dead code 2021-11-08 19:01:18 -05:00
Matthew Kennedy b52d50bbf2
Use pch in lots of files (#3066)
* most engine.h

* most engine_configuration

* more

* more

* more

* more

* more

* moooooore

* ok I'm done for now

* oops
2021-07-26 01:05:17 -04:00
Matthew Kennedy a25773a11b
more Lua hooks (#2605)
* more hooks

* zero index

* test table hook

* test works

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-29 22:22:04 -04:00
Matthew Kennedy ad71016862
rip the bandaid: find-replace most of scheduleMsg (#2572)
* biiiig find replace

* more trivial find replace

* pwm

* almost all of them

* few more

* gpio

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-04-21 12:53:13 -04:00
Matthew Kennedy 4e3e95db2d
replace print/printMsg with scheduleMsg (#2497)
* start cleaning

* disabled feature means don't print that it's disabled

* cli

* usages

* printMsg -> scheduleMsg

* this is alllll dead now

* no crlf please

* all hope is lost if you manage to hit this line

* tests

* tests

* ok we did actually need that part

* sim

* d

* kinetis

* it did ifdef, not if

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-26 17:23:26 -04:00
Matthew Kennedy ffae0cd335
round rpm instead of truncating (#2023)
* round rpm instead of truncating

* efiround is expensive

* Revert "efiround is expensive"

This reverts commit e5690f89e1.

* round is better than rintf

* testing

* it works now?!

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-12-06 00:11:57 -05:00
Matthew Kennedy 747b3d2fa8
fix #1968 (#1976)
* tanf

* name

* comment, add test
2020-11-22 08:26:17 -05:00
Matthew Kennedy 97cb9f45bd
logging simplification: switch bare functions to member functions: try the second (#1794)
* first pass

* first pass

* const means we don't have to check!

* static

* test fixup

* fix sniffer
2020-09-13 11:49:25 +03:00
rusefi 256a4a2637 Revert "logging simplification: switch bare functions to member functions (#1788)"
This reverts commit d941bdc5
2020-09-12 04:36:24 -04:00
Matthew Kennedy d941bdc502
logging simplification: switch bare functions to member functions (#1788)
* first pass

* first pass

* const means we don't have to check!

* static

* test fixup
2020-09-12 03:08:11 +03:00
rusefi 526e02af53 TS SD integration #1653 2020-08-06 22:05:26 -04:00
Matthew Kennedy aac641b1f4 don't use register keyword 2020-07-29 02:40:10 -07:00
rusefi 7d8384d7fa 1 byte issue in TuneReadWriteTest fix #1512 2020-06-18 23:29:08 -04:00
Matthew Kennedy 0619575716
ETB testing: output, position clamping (#1333)
* add clampf

* more tests

* public

* missed a mock

* fix output duty clamping

* do it that way

* more

* ah ha!

* test negative too

* clamp pedal

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2020-04-20 13:52:20 -04:00
rusefi bb217b01dd happy new year unification 2020-01-13 21:57:43 -05:00
Matthew Kennedy b4e176a9cb fix ltoa_internal: fix #948 (#949)
* fix ltoa_internal

* fix hex
2019-09-23 08:45:45 -04:00
rusefi 712eca7b15 typo in comment 2019-09-23 01:39:04 -04:00
rusefi 24ed35ac9c fixing build - simulator 2019-03-30 18:04:22 -04:00
andreika-git f1ec34f032 More portability and smaller RAM footprint possible (#722)
* EFI_NO_CONFIG_WORKING_COPY

* EFI_CONSOLE_NO_THREAD

* EFI_SHAFT_POSITION_INPUT

* #ifndef UTILITY_THREAD_STACK_SIZE

* fix printf() -> print()
2019-03-30 22:41:46 +01:00
rusefi b3ba88f819 docs by Matt K 2019-01-06 20:48:15 -05:00
Matthew Kennedy 45d4243636 Improve wall wetting AE to use time constant (#650)
* impruv

* c++17

* add tests, docs
2019-01-06 20:45:51 -05:00
rusEfi b8e7bac586 unit test for atoff() 2018-11-25 22:20:57 -05:00
andreika-git bd40691e67 AirFlow-interpolated tCharge Mode (#612)
* Add vars & enums

* updateTChargeK()

* limitRateOfChange()

* Impl. AirFlow-interpolated tCharge mode

* Update tsOutputChannels: tCharge & airFlow

* Set default config params

* Unit-tests

* Fix tChargeMode_e
2018-09-29 12:16:36 -04:00
rusefi 99e74635ef step towards more unique codes 2018-07-25 23:30:00 -04:00
rusefi 1d31067d19 happy new year 2018-01-20 20:55:31 -05:00
rusefi d05432df12 fix #532 2018-01-07 12:11:49 -05:00
rusefi 155216ebd5 typo 2017-12-10 15:05:58 -05:00
rusefi 148fea5574 better efiRound implementation 2017-12-10 10:19:05 -05:00
rusEfi ce232a2708 refactoring: tolower 2017-04-04 23:00:21 -04:00
rusefi da7df362c6 docs 2017-03-05 14:17:48 -05:00
rusEfi 55e89f0f31 auto-sync 2017-01-03 06:05:22 -05:00
rusEfi a31f078dbf auto-sync 2016-08-09 23:03:58 -04:00
rusEfi 5146628bd8 auto-sync 2016-06-22 23:01:57 -04:00
rusEfi fbdea87819 auto-sync 2015-12-31 16:02:30 -05:00
rusEfi 969ebbf142 auto-sync 2015-07-10 09:01:56 -04:00