aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/CMakeLists.txt1
-rw-r--r--client/i2c.cpp2
-rw-r--r--client/readme.md5
3 files changed, 7 insertions, 1 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index 7d492b0..989b837 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -13,6 +13,7 @@ project(pbc C CXX)
add_subdirectory(lib/mpack)
add_subdirectory(lib/i2ctcp)
add_subdirectory(lib/pbdrv)
+include(lib/pbdrv/ext/stdlib/include.cmake)
add_executable(pbc
main.cpp
diff --git a/client/i2c.cpp b/client/i2c.cpp
index 4dbc724..78e5585 100644
--- a/client/i2c.cpp
+++ b/client/i2c.cpp
@@ -10,7 +10,7 @@
// #include "pb/mod/main.h"
-bool i2c_dump_send = false;
+bool i2c_dump_send = true;
bool i2c_dump_recv = true;
void i2c_send(uint16_t addr, const char * data, size_t data_size) {
diff --git a/client/readme.md b/client/readme.md
index da48cf1..fcde40d 100644
--- a/client/readme.md
+++ b/client/readme.md
@@ -45,3 +45,8 @@ send 0x39 68:65:6c:6c:6f 44 0x20 'world' 33
The data is concatenated, and may contain mixed types of literals
+## known bugs (TODO)
+
+- tab completion for `dump` seems to print garbage sometimes
+- the send command with an address but no data causes a segmentation fault
+