diff options
Diffstat (limited to 'arduino-cmake/example/CMakeLists.txt')
-rw-r--r-- | arduino-cmake/example/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arduino-cmake/example/CMakeLists.txt b/arduino-cmake/example/CMakeLists.txt new file mode 100644 index 0000000..3c89c12 --- /dev/null +++ b/arduino-cmake/example/CMakeLists.txt @@ -0,0 +1,24 @@ +#=============================================================================# +# Author: QueezyTheGreat # +# Date: 26.04.2011 # +# # +# Description: wire_master_reader firmware exmaple # +# # +#=============================================================================# + + +#====================================================================# +# Settings # +#====================================================================# +set(FIRMWARE_NAME wire_reader) + +set(${FIRMWARE_NAME}_BOARD uno) # Arduino Target board +set(${FIRMWARE_NAME}_SRCS wire_master_reader.cpp) # Firmware sources + +set(${FIRMWARE_NAME}_PORT /dev/ttyACM0) # Serial upload port + + +#====================================================================# +# Target generation # +#====================================================================# +generate_arduino_firmware(${FIRMWARE_NAME}) |