Commit Graph

825 Commits

Author SHA1 Message Date
Matthew Kennedy 40106224f0 Write output channels with new parser (#4219)
* let the new parser run

* s

* support for output channels

* usages reader uses new parser for output channels

* better debugging configuration

* bad merge

* test it a bit too

* more tests

* copy/paste the same content from other file

* s

* fix bugs where even the existing logic tries to write as an enum (?)

* jar

* print stream always unix

* print stream always unix

* use typedefs correctly

* jar

* stub support for multiple of each type

* s

* s

* name some more datas
2022-06-19 09:52:23 -04:00
Matthew Kennedy aa7a404a44 new parser TS output fixes, config file fixes (#4261)
* new parser TS output fixes, config file fixes

* jar
2022-06-18 17:24:50 -04:00
Matthew Kennedy 2e56c9dd6f More fragment refactoring: encode by type, not enum index (#4075)
* fragment refactoring

* jar

* jar?

* look up fragment by type, not index

* don't even include that

* jar again

* jar again

* unit tests are happy

* guards

* jar

* hpfp guarding

* handle knock controller

* jar

* s

* stub multiple for each

* jar

* Update live_data.cpp

* s

* s
2022-06-18 09:23:44 -04:00
Matthew Kennedy 945fd58657 no trailing invalid (#4257)
* don't pad

* test & jar

* do it in the new parser too

* remove from config txt

* minor file format cleanups while we're at it
2022-06-17 21:23:42 -04:00
rusefillc dc24f27532 new autoscale constraint #4111 (#4111) 2022-06-03 02:06:55 -04:00
Matthew Kennedy e274fba799 use yaml like you're supposed to (#4233)
* use yaml like you're supposed to

* parse output names (but don't use it yet)
2022-06-03 01:02:16 -04:00
rusefillc e1984a937f helping build 2022-06-02 15:25:10 -04:00
rusefillc 613fb57a71 Merge branch 'master' of https://github.com/rusefi/rusefi 2022-06-02 15:23:40 -04:00
rusefillc 157e7aab88 better logging 2022-06-02 15:23:38 -04:00
Andrey 39b7746397 new validation and a lot of clean-up! 2022-06-02 15:18:18 -04:00
rusefillc fd82c8b64a https://github.com/rusefi/hellen-gm-e67/issues/36 2022-06-02 14:04:03 -04:00
rusefillc 9afad189cd TS enum key-value form #4232 2022-06-02 12:47:39 -04:00
rusefillc d44068746a refactoring: reducing magic constant 2022-06-02 12:41:49 -04:00
rusefillc aeb02003ac typo 2022-06-02 12:40:20 -04:00
rusefillc c105002629 helping build 2022-06-01 13:48:39 -04:00
Matthew Kennedy 01f1782d4c test new parser TS layout (#4220)
* layout tests

* code analysis

* LOL java changes its line ending behavior based on your platform

* jar
2022-05-31 19:55:45 -04:00
rusefillc 2c5419df23 heling build 2022-05-31 08:48:24 -04:00
Matthew Kennedy 289a01fd05 actually run the new parser (#4218)
* let the new parser run

* s

* ant

* minor cleanups

* allow passing string

* tests found a genuine bug

* test definitions

* helper

* test lots of parsing

* test missing define

* test typedefs, bits

* fix bug with more than 32 consecutive bits overflowing a single field

* s

* test extra hex definitions

* jar
2022-05-31 08:38:23 -04:00
rusefi 991c4aa7b8 trying to reduce confusion x2 2022-05-30 17:06:56 -04:00
rusefillc 0951be94aa trying to reduce confusion 2022-05-30 16:42:08 -04:00
rusefi b28122ac57 helping build 2022-05-15 21:41:53 -04:00
rusefillc e918719db8 reduce flash footprint by smarter code generation #4163 2022-05-15 19:36:40 -04:00
rusefillc abba034761 efi::size 2022-05-15 19:19:21 -04:00
rusefi 35a44bd1e7 reduce flash footprint by smarter code generation #4163 2022-05-15 18:33:22 -04:00
rusefillc 14ab5e566b reduce flash footprint by smarter code generation #4163 2022-05-15 17:56:39 -04:00
rusefillc 727b3cdfe1 splitting test into two 2022-05-15 10:22:23 -04:00
rusefi 48d63f9c3c one step back to avoid 'bit Constant engineType, contains fewer options (103) that expected(128)' TS warning 2022-05-14 11:10:49 -04:00
rusefillc 634e788d2d Remove value copy from controller into outputChannels #4095 2022-05-09 08:24:55 -04:00
rusefillc 240e0c38a6 compact pinout enum syntax part two 2022-05-09 08:12:25 -04:00
rusefillc d70d6a1d37 compact pinout enum syntax part two 2022-05-09 07:39:56 -04:00
rusefillc e461288403 compact pinout enum syntax 2022-05-09 07:13:50 -04:00
rusefillc 9d462f05a1 progress towards compact enum syntax 2022-05-09 07:02:01 -04:00
rusefillc 63a1bb39ab Socket can (#4126)
* Linux is asking for SocketCAN ISO-TP console connector #4123

* Linux is asking for SocketCAN ISO-TP console connector #4123

* gradle

* Linux is asking for SocketCAN ISO-TP console connector #4123

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-03 16:41:24 -04:00
rusefillc 3ef4508f1f Technical debt: ENUM_32_BITS #3874 2022-05-02 00:22:45 -04:00
rusefillc fb5bfab6f9 Technical debt: ENUM_32_BITS #3874 2022-05-01 23:52:29 -04:00
rusefillc c4728de613 one step back to help master 2022-04-29 09:18:20 -04:00
Matthew Kennedy 83caf1ea1b Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
rusefillc 881ecde7e0 new autoscale constraint #4111 2022-04-26 19:38:49 -04:00
rusefillc b3053d03c9 autoscale and scale 2022-04-26 19:25:45 -04:00
rusefillc 15c2699e08 would this ever end... 2022-04-25 18:14:11 -04:00
rusefillc 312f67e57d test coverage good 2022-04-25 00:46:27 -04:00
rusefillc f3fb27003f 2 byte pin index #4097
let's have another go?
2022-04-25 00:19:02 -04:00
rusefillc 1eb4dfe34e 2 byte pin index #4097
:( at least test coverage is being improved
2022-04-25 00:19:02 -04:00
rusefillc 3913ec4f71 2 byte pin index #4097
fixing what was just broken
2022-04-24 23:49:41 -04:00
rusefillc cf5c411fce 2 byte pin index #4097
wow that's bad again
2022-04-24 23:49:41 -04:00
rusefillc 78993e7281 2 byte pin index #4097
wow we have so many useful 'todo's :)
2022-04-24 23:23:12 -04:00
rusefillc e172a36726 2 byte pin index #4097
Matt by the way we do support '#if' in code generation

but for now without alignment any longer
2022-04-24 23:18:53 -04:00
rusefillc 1fab166cca 2 byte pin index #4097
not good
2022-04-24 23:06:33 -04:00
rusefillc 36fd27ac0a 2 byte pin index #4097 2022-04-24 17:27:45 -04:00
rusefillc 13191e0694 2 byte pin index #4097
short alignment
2022-04-24 17:26:46 -04:00