Dean Lee
c6c6877263
util.cc: remove duplidate #include ( #29632 )
...
remove duplidate #include
2023-08-25 14:34:46 -07:00
Adeeb Shihadeh
e726505918
bump cereal ( #29561 )
2023-08-23 13:42:37 -07:00
Kacper Rączy
d8bda6feb4
replay: increase file descriptor limit macOS ( #29346 )
...
* Increase file descriptor limit for replay on macos
* Reword comment
* Move set_file_descriptor_limit to common/util.cc
* Include resource.h header
2023-08-15 00:05:27 +02:00
Dean Lee
22bc06fdaa
common/util: move function `random_int` to util ( #29388 )
2023-08-14 09:37:16 -07:00
Misophist
4cad0a035d
util: random_string is now more entropic ( #29312 )
...
* random_string now returns a significantly higher entropy random string
sizeof(char*) is going to be 8 on a 64-bit system, not the length of the
string. Before, only strings of integer values [0-6] were being generated. Also
switched to C++ constructs for simplicity.
* Update common/util.cc
* maintain repo style
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-11 03:46:47 -07:00
Adeeb Shihadeh
d96361970b
thermald: common min date ( #28457 )
...
* thermald: common min date
* add to release files
2023-06-12 13:50:38 -07:00
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