Commit Graph

6 Commits

Author SHA1 Message Date
Kacper Rączy
b43a875ba2 params: specify path using PARAMS_ROOT (#28257)
* Add PARAMS_ROOT env var

* Change getenv type signature

* Use getenv default_val
2023-05-23 19:02:22 +02:00
Dean Lee
10a1b8b7b1 params: cleanup old params that aren't defined (#28017)
* delete files that are not defined in the keys

* assert after create file

* remove util::remove_files_in_dir

* cleanup

* fix up test

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-05-04 11:21:41 -07:00
Dean Lee
0d8254e959 common: add new class OpenPilotPrefix (#26753)
* new class OpenPilotPrefix

* move random_string to util

* rename file

* style

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-12-12 14:47:27 -08:00
Adeeb Shihadeh
8ba9a5107b boardd: SPI support (#26374)
* spi handle

* put usb back

* handle eintr

Co-authored-by: Comma Device <device@comma.ai>
2022-11-08 13:21:07 -08:00
Dean Lee
8dbb25e683 params: remove all files if call clearAll with the ParamKeyType.ALL key. (#26000)
* remove all files in dir

* fix test case name
2022-10-07 11:28:09 -07:00
Adeeb Shihadeh
cb8885cffb Merge common/ and selfdrive/common (#24556)
* Merge common/ and selfdrive/common

* fix that

* fix version

* fix unit tests
2022-05-18 14:11:57 -07:00