diff options
-rw-r--r-- | puzzle/dummy/CMakeLists.txt | 5 | ||||
-rw-r--r-- | puzzle/dummy/main.cpp | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/puzzle/dummy/CMakeLists.txt b/puzzle/dummy/CMakeLists.txt index 435a2ad..c485e74 100644 --- a/puzzle/dummy/CMakeLists.txt +++ b/puzzle/dummy/CMakeLists.txt @@ -12,6 +12,11 @@ add_compile_definitions(DEBUG) set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/lib/Arduino-CMake-Toolchain/Arduino-toolchain.cmake) set(ARDUINO_BOARD "Arduino Uno [avr.uno]") +# used for testing +# set(ARDUINO_BOARD "Raspberry Pi Pico W [rp2040.rpipicow]") +# add_compile_definitions(USE_TINYUSB) +# include_directories(/home/loek/.arduino15/packages/rp2040/hardware/rp2040/3.9.2/libraries/Adafruit_TinyUSB_Arduino/src/arduino) + project(pb_mod_dummy C CXX) add_subdirectory(lib/pbdrv) diff --git a/puzzle/dummy/main.cpp b/puzzle/dummy/main.cpp index df5b6f5..3d84679 100644 --- a/puzzle/dummy/main.cpp +++ b/puzzle/dummy/main.cpp @@ -25,7 +25,6 @@ const i2c_addr_t PBDRV_MOD_ADDR = ADDR_RX; void setup() { pbdrv_setup(); - Serial.begin(115200); } void loop() { |