forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "boardd: new class USBDevice (commaai#23015)"
This reverts commit 4061f50.
- Loading branch information
1 parent
4061f50
commit 285adde
Showing
10 changed files
with
300 additions
and
235 deletions.
There are no files selected for viewing
Submodule panda
updated
11 files
+4 −0 | board/can_definitions.h | |
+10 −1 | board/config.h | |
+8 −2 | board/drivers/can_common.h | |
+5 −2 | board/drivers/usb.h | |
+1 −1 | board/flasher.h | |
+7 −7 | board/main.c | |
+0 −26 | board/panda.h | |
+1 −1 | board/pedal/main.c | |
+3 −1 | board/stm32fx/stm32fx_config.h | |
+3 −1 | board/stm32h7/stm32h7_config.h | |
+1 −1 | tests/safety/test.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Import('env', 'envCython', 'common', 'cereal', 'messaging') | ||
|
||
libs = ['usb-1.0', common, cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj'] | ||
env.Program('boardd', ['boardd.cc', 'panda.cc', 'usbdevice.cc', 'pigeon.cc'], LIBS=libs) | ||
env.Program('boardd', ['boardd.cc', 'panda.cc', 'pigeon.cc'], LIBS=libs) | ||
env.Library('libcan_list_to_can_capnp', ['can_list_to_can_capnp.cc']) | ||
|
||
envCython.Program('boardd_api_impl.so', 'boardd_api_impl.pyx', LIBS=["can_list_to_can_capnp", 'capnp', 'kj'] + envCython["LIBS"]) | ||
if GetOption('test'): | ||
env.Program('tests/test_boardd_usbprotocol', ['tests/test_boardd_usbprotocol.cc', 'panda.cc', 'usbdevice.cc'], LIBS=libs) | ||
env.Program('tests/test_boardd_usbprotocol', ['tests/test_boardd_usbprotocol.cc', 'panda.cc'], LIBS=libs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.