Skip to content

Commit f37d528

Browse files
committed
Added FW versions to dai::build
1 parent 07e68f0 commit f37d528

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

depthai-core

src/py_bindings.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ PYBIND11_MODULE(depthai, m)
3636
m.attr("__commit__") = DEPTHAI_PYTHON_COMMIT_HASH;
3737
m.attr("__commit_datetime__") = DEPTHAI_PYTHON_COMMIT_DATETIME;
3838
m.attr("__build_datetime__") = DEPTHAI_PYTHON_BUILD_DATETIME;
39+
m.attr("__device_version__") = dai::build::DEVICE_VERSION;
40+
m.attr("__bootloader_version__") = dai::build::BOOTLOADER_VERSION;
3941

4042
// Add bindings
4143
std::deque<StackFunction> callstack;

0 commit comments

Comments
 (0)