summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-12-10 16:46:49 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-12-10 16:46:49 +0100
commit2bd7cc35f223bf439353b3ff7a0623baf637bc21 (patch)
tree9592a1b87bb44c5c08bed407a9055b5218ba5ce0
parentd72fca14fc707bd4f75b35355eef9e60dde67133 (diff)
downloadkbd-master.tar
kbd-master.zip
Remove ard prefix from file namesHEADmaster
-rw-r--r--CMakeLists.txt12
-rw-r--r--kbd.c (renamed from ardkbd.c)0
2 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3f11ae9..99c56ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,16 +20,16 @@ project(ARDKBD C)
set(CMAKE_MODULE_PATH ${ARDKDB_SOURCE_DIR})
-add_executable(ardkbd.elf
- ardkbd.c
+add_executable(kbd.elf
+ kbd.c
)
-set_target_properties(ardkbd.elf PROPERTIES
+set_target_properties(kbd.elf PROPERTIES
COMPILE_FLAGS "-Wall -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -mmcu=${BOARD}"
LINK_FLAGS "-Wall -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Os -mmcu=${BOARD}"
COMPILE_DEFINITIONS "F_CPU=${CLOCK}"
)
-add_custom_command(OUTPUT ardkbd.hex COMMAND ${CMAKE_OBJCOPY} -O ihex -R .eeprom ardkbd.elf ardkbd.hex DEPENDS ardkbd.elf)
-add_custom_target(ardkbd ALL DEPENDS ardkbd.hex)
+add_custom_command(OUTPUT kbd.hex COMMAND ${CMAKE_OBJCOPY} -O ihex -R .eeprom kbd.elf kbd.hex DEPENDS kbd.elf)
+add_custom_target(kbd ALL DEPENDS kbd.hex)
-add_custom_target(flash COMMAND ${AVRDUDE} ${FLASH_FLAGS} -D -Uflash:w:ardkbd.hex:i DEPENDS ardkbd)
+add_custom_target(flash COMMAND ${AVRDUDE} ${FLASH_FLAGS} -D -Uflash:w:kbd.hex:i DEPENDS kbd)
diff --git a/ardkbd.c b/kbd.c
index 02c23a5..02c23a5 100644
--- a/ardkbd.c
+++ b/kbd.c