Commit Graph

20 Commits

Author SHA1 Message Date
Adeeb Shihadeh f22aff9f6e
bump to python 3.11.4 (#865)
* bump to python 3.11.4

* Update requirements.txt

* fix

* req

* fixfix

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-06-30 17:35:57 -07:00
Adeeb Shihadeh 107b96abfc
add some type hints (#774)
* type stubs for common, parser_pyx

* Cleanup imports

* values are indeed floats

* common.pyi complete, added cpp stubs

* parser_pyx.pyi complete

* CANPacker completed

* Holding temp changes...

* remove *.pyi

* just remove skip-file

Co-authored-by: Jason Shuler <jshuler@gmail.com>
2023-01-01 17:09:27 -08:00
Adeeb Shihadeh b2895650c7
Ram 1500 (#640)
* RamInit

* Dasm Fault

* match new chrysler stuff

* little more

* some more

* better names

* Fix angle signal scaling

* generate common stuff

* little more

* some more

* rename

* old bsm definition

Co-authored-by: Jonathan <jraycec@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-07-05 15:40:57 -07:00
Shane Smiskol 23fda2afa7
generator: only clear DBCs from output path (#535) 2022-01-27 23:19:11 -08:00
Adeeb Shihadeh 560d21f96e generator clear old files 2022-01-27 08:50:12 -08:00
Shane Smiskol 5949d4f316
generator: fix imports leaving extra newlines (#508)
* fix imports leaving an extra line

* generate!
2022-01-20 14:12:05 -08:00
martinl 83afde21fa
Do not reverse multiple includes order in dbc templates (#418)
* no reverse

* run generator

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-02 14:24:49 -07:00
Igor d5cc60c8fc
Fix comments syntax (#324) 2020-12-03 13:35:07 -08:00
Adeeb Shihadeh 652348a3be
fix generator test and linter (#323)
* fix generator test

* generator cleanup
2020-12-03 13:07:09 -08:00
George Hotz f3b573559f move generator to python3 2019-09-26 17:37:00 -07:00
Willem Melching f034deec7d pass dirname explicitly to generator helperfunctions and whitespace 2018-06-17 17:12:04 +02:00
Willem Melching d2fb5f0001 small generator cleanup 2018-06-17 17:08:41 +02:00
dekerr ab04e55113 Update generator.py 2018-06-17 17:02:32 +02:00
dekerr d86d7f1ffb Update generator.py 2018-06-17 17:02:32 +02:00
dekerr 031acc58e0 Update generator.py
- regex compiled as object
- files write in append mode for speed
- erased "IMPORT" lines in dbc
2018-06-17 17:02:32 +02:00
dekerr 19a4249b72 Update generator.py 2018-06-17 17:02:32 +02:00
dekerr 9c49b88e85 Update generator.py
-improved readability
-files now build in the order they appear instead of reverse
-added "with" statements for error handling
2018-06-17 17:02:32 +02:00
Willem Melching 6f40f1677f update generator script to allow for multiple imports 2018-03-09 14:21:37 +01:00
Willem Melching beba6d564f move generated files to root folder 2018-01-27 13:31:55 -08:00
Willem Melching 8c77a5df20 dbc file preprocessor 2018-01-27 13:31:55 -08:00