Commit Graph

13171 Commits

Author SHA1 Message Date
Matthew Kennedy 3bb93f2107 new parse: write C structs (#2852)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs

* write TS context comments

* cleanup

* ts writer copies all lines input -> output

* Add _hex and _char definitions

* definition tostring

* replace variables

* wire up firing order replacement

* c struct writer

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-06-24 19:43:56 -04:00
Matthew Kennedy 55d2231ccc new parse: read rusefi.input, write almost-working output ini! (#2851)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs

* write TS context comments

* cleanup

* ts writer copies all lines input -> output

* Add _hex and _char definitions

* definition tostring

* replace variables

* wire up firing order replacement

* jar
2021-06-24 16:36:30 -04:00
Matthew Kennedy dad704a926 don't stack overflow on early ch dbg assert (#2853) 2021-06-24 16:36:20 -04:00
Matthew Kennedy 40466e1e6f new parse: write TS tooltip comments (#2850)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs

* write TS context comments

* cleanup
2021-06-24 15:54:04 -04:00
Matthew Kennedy 8f1a55e122 new parsing: fix names of arrays of structs (#2849)
* fix offsets inside struct arrays

* style

* fix index writing for arrays of structs
2021-06-24 05:13:06 -04:00
GitHub set-date Action ffcc194a2f Update date 2021-06-24 00:44:43 +00:00
Andrey 839539abc4 fan2 bench 2021-06-23 17:16:11 -04:00
GitHub build-firmware Action 0d264916bb Auto-generated configs and docs 2021-06-23 21:07:38 +00:00
Andrey a91d67947a fan2 bench 2021-06-23 17:03:55 -04:00
Andrey 6343dc2765 fan2 bench 2021-06-23 16:58:58 -04:00
Andrey 7153a47e76 H72 default progress 2021-06-23 16:58:34 -04:00
GitHub build-firmware Action 6287f8d303 Auto-generated configs and docs 2021-06-23 18:54:44 +00:00
Andrey 57d687cd0f more bench commands into .txt 2021-06-23 14:48:42 -04:00
Andrey eaf1348650 H72 default progress 2021-06-23 14:44:50 -04:00
Andrey 8ba4b0ce1f Trigger: warning code on normal engine start up #669 2021-06-23 11:32:06 -04:00
Andrey feb56dad72 refactoring 2021-06-23 06:37:32 -04:00
Andrey 263bdb7eae global static not good, there shall be only one god object /s 2021-06-23 06:10:27 -04:00
Andrey 00c7b61387 Trigger: warning code on normal engine start up #669 2021-06-23 05:22:08 -04:00
Andrey 4ea9df4cc1 Trigger: warning code on normal engine start up #669 2021-06-23 05:00:26 -04:00
Andrey G 5c552e196a TS communication minor fixes (#2847)
* console: noone use this

* console: do not stop blinking if TS command executes too long

Set and clear flag from the same place

Co-authored-by: rusefillc <48498823+rusefillc@users.noreply.github.com>
2021-06-23 04:36:55 -04:00
Andrey 270905fa8b removing dead code 2021-06-23 04:26:32 -04:00
GitHub set-date Action 805604fc2b Update date 2021-06-23 00:49:48 +00:00
David Holdeman ce61bdd8a9 Minor pinout table improvements (#2846)
* try to fix table width

* try here
2021-06-22 19:13:44 -04:00
GitHub set-date Action 112e987f5a Update date 2021-06-22 00:52:52 +00:00
David Holdeman 34095492d1 Yaml parsing refactor (#2842)
* throw error on unknown class

* build

* refactor, first try

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* build

* start at one more

* checks, minor refactor

* try toString

* check for null, idk

* try throwing class not found error

* oh duh

* oh duh numba two

* oh duh numba three

* build

* switch to switch_inputs

* switch output to outputs

* try

* build

* break loop when found

* fix maybe

* add missing s

* fix a bug

* move nothingname check

* catch other class

* use PinType
2021-06-21 19:10:25 -04:00
Andrey 67796d174f as of today we still do not have desperate time debugging "writepin" command 2021-06-21 13:03:18 -04:00
Andrey 9b02827a1e Actually two for SWAP_UINT16 :) 2021-06-21 10:47:43 -04:00
Andrey 25168809f3 performance optimization by dron0gus 2021-06-21 09:27:09 -04:00
Andrey 604d3e7cdd flash writer thread name by dron0gus 2021-06-21 09:00:54 -04:00
Matthew Kennedy c9324d4182 does this work? (#2843) 2021-06-21 08:56:23 -04:00
Andrey cb2c148d3b Revert "TS Burned All Data engine stop #2839"
This reverts commit 3c298da4
2021-06-21 08:53:39 -04:00
Andrey 3c298da417 TS Burned All Data engine stop #2839
second guess
2021-06-21 03:10:59 -04:00
Andrey 92f7079360 TS Burned All Data engine stop #2839
first wild guess
2021-06-21 02:51:12 -04:00
rusefillc a9901e464f F4 MCU says it's too cold #2552 2021-06-21 02:49:06 -04:00
rusefillc d207f2da8e off-topic method rename 2021-06-21 02:46:11 -04:00
rusefillc e89f34bc2e TS Burned All Data engine stop #2839
a good sleep helps a lot of things
2021-06-21 02:39:16 -04:00
rusefillc 240849cf51 TS Burned All Data engine stop #2839
it was a bad API but I did not improve it
2021-06-21 02:23:29 -04:00
Andrey 7e0d83d54b looks like this parameter is very well used now? 2021-06-21 02:12:14 -04:00
Andrey d7789bc2a0 those and many other offsets are no longer correct 2021-06-21 02:11:36 -04:00
rusefillc 378c037544 clean-up 2021-06-21 02:10:11 -04:00
rusefillc a46c551014 TS Burned All Data engine stop #2839
is this a case of poor API?
2021-06-21 02:09:41 -04:00
rusefillc b62879d20c TS Burned All Data engine stop #2839
is this a case of poor API?
2021-06-21 02:09:17 -04:00
rusefillc 8a6ba7b647 TS Burned All Data engine stop #2839
finally test case?
2021-06-21 01:01:35 -04:00
Andrey 56e19b4a88 TS Burned All Data engine stop #2839
reusing constant
2021-06-21 00:53:37 -04:00
rusefillc 27cb27748d TS Burned All Data engine stop #2839
test case?
2021-06-21 00:50:11 -04:00
rusefillc 5202b492de TS Burned All Data engine stop #2839
test case?
2021-06-21 00:31:13 -04:00
rusefillc 340c9fdd11 TS Burned All Data engine stop #2839
test case?
2021-06-21 00:22:19 -04:00
rusefillc df44db007e only test refactoring 2021-06-20 23:58:32 -04:00
GitHub build-firmware Action e44facbce5 Auto-generated configs and docs 2021-06-21 03:35:31 +00:00
Andrey 526c436d19 TS Burned All Data engine stop #2839
preparing test case
2021-06-20 23:32:31 -04:00