aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-18 02:22:59 +0900
committertmk <nobody@nowhere>2014-07-30 14:07:43 +0900
commit80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3 (patch)
tree803fe5b419419607146b6ba1db69d24486b1494e
parente81c70149ecf73256f8bb7d77cefc07f2b91d2be (diff)
downloadqmk_firmware-80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3.tar.gz
qmk_firmware-80c3ff5fa03429f1e4ea15032f665ceb88c9b8c3.zip
Fix build files for mbed
-rw-r--r--.gitignore2
-rw-r--r--keyboard/mbed_onekey/Makefile13
-rw-r--r--protocol/mbed/HIDKeyboard.cpp (renamed from keyboard/mbed_onekey/HIDKeyboard.cpp)0
-rw-r--r--protocol/mbed/HIDKeyboard.h (renamed from keyboard/mbed_onekey/HIDKeyboard.h)0
-rw-r--r--protocol/mbed/mbed_driver.cpp (renamed from keyboard/mbed_onekey/mbed_driver.cpp)0
-rw-r--r--protocol/mbed/mbed_driver.h (renamed from keyboard/mbed_onekey/mbed_driver.h)0
-rw-r--r--tool/mbed/common.mk (renamed from keyboard/mbed_onekey/common.mk)0
-rw-r--r--tool/mbed/gcc.mk (renamed from keyboard/mbed_onekey/gcc.mk)0
-rw-r--r--tool/mbed/mbed.mk (renamed from keyboard/mbed_onekey/mbed.mk)7
9 files changed, 13 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index c25d41d23..b79d72b7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,5 @@
8*.map 8*.map
9*.sym 9*.sym
10tags 10tags
11build/
12*.bak
diff --git a/keyboard/mbed_onekey/Makefile b/keyboard/mbed_onekey/Makefile
index e686f424e..d0d1148ce 100644
--- a/keyboard/mbed_onekey/Makefile
+++ b/keyboard/mbed_onekey/Makefile
@@ -1,7 +1,4 @@
1# This file was automagically generated by mbed.org. For more information, 1PROJECT = mbed_onekey
2# see http://mbed.org/handbook/Exporting-to-GCC-ARM-Embedded
3
4PROJECT = USBKeyboard_HelloWorld
5 2
6TMK_DIR = ../.. 3TMK_DIR = ../..
7MBED_DIR = ./mbed-sdk 4MBED_DIR = ./mbed-sdk
@@ -14,8 +11,6 @@ vpath %.cpp .:$(MBED_DIR):$(TMK_DIR)
14OBJDIR = ./build 11OBJDIR = ./build
15 12
16OBJECTS = \ 13OBJECTS = \
17 $(OBJDIR)/./HIDKeyboard.o \
18 $(OBJDIR)/./mbed_driver.o \
19 $(OBJDIR)/./main.o 14 $(OBJDIR)/./main.o
20 15
21CONFIG_H = config.h 16CONFIG_H = config.h
@@ -33,6 +28,6 @@ LIBRARIES =
33MOUSEKEY_ENABLE = yes 28MOUSEKEY_ENABLE = yes
34 29
35 30
36include mbed.mk 31include $(TMK_DIR)/tool/mbed/mbed.mk
37include common.mk 32include $(TMK_DIR)/tool/mbed/common.mk
38include gcc.mk 33include $(TMK_DIR)/tool/mbed/gcc.mk
diff --git a/keyboard/mbed_onekey/HIDKeyboard.cpp b/protocol/mbed/HIDKeyboard.cpp
index f40c2d2f2..f40c2d2f2 100644
--- a/keyboard/mbed_onekey/HIDKeyboard.cpp
+++ b/protocol/mbed/HIDKeyboard.cpp
diff --git a/keyboard/mbed_onekey/HIDKeyboard.h b/protocol/mbed/HIDKeyboard.h
index 4ebe610a6..4ebe610a6 100644
--- a/keyboard/mbed_onekey/HIDKeyboard.h
+++ b/protocol/mbed/HIDKeyboard.h
diff --git a/keyboard/mbed_onekey/mbed_driver.cpp b/protocol/mbed/mbed_driver.cpp
index 333f8e378..333f8e378 100644
--- a/keyboard/mbed_onekey/mbed_driver.cpp
+++ b/protocol/mbed/mbed_driver.cpp
diff --git a/keyboard/mbed_onekey/mbed_driver.h b/protocol/mbed/mbed_driver.h
index dd1153b43..dd1153b43 100644
--- a/keyboard/mbed_onekey/mbed_driver.h
+++ b/protocol/mbed/mbed_driver.h
diff --git a/keyboard/mbed_onekey/common.mk b/tool/mbed/common.mk
index 1bd7d6edb..1bd7d6edb 100644
--- a/keyboard/mbed_onekey/common.mk
+++ b/tool/mbed/common.mk
diff --git a/keyboard/mbed_onekey/gcc.mk b/tool/mbed/gcc.mk
index 0fc41fe27..0fc41fe27 100644
--- a/keyboard/mbed_onekey/gcc.mk
+++ b/tool/mbed/gcc.mk
diff --git a/keyboard/mbed_onekey/mbed.mk b/tool/mbed/mbed.mk
index 962a05e6e..0f12ee2af 100644
--- a/keyboard/mbed_onekey/mbed.mk
+++ b/tool/mbed/mbed.mk
@@ -89,4 +89,11 @@ INCLUDE_PATHS += \
89 -I$(MBED_DIR)/libraries/USBDevice/USBMSD \ 89 -I$(MBED_DIR)/libraries/USBDevice/USBMSD \
90 -I$(MBED_DIR)/libraries/USBDevice/USBMIDI 90 -I$(MBED_DIR)/libraries/USBDevice/USBMIDI
91 91
92OBJECTS += \
93 $(OBJDIR)/protocol/mbed/mbed_driver.o \
94 $(OBJDIR)/protocol/mbed/HIDKeyboard.o \
95
96INCLUDE_PATHS += \
97 -I$(TMK_DIR)/protocol/mbed
98
92LINKER_SCRIPT = $(MBED_DIR)/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld 99LINKER_SCRIPT = $(MBED_DIR)/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_GCC_ARM/TARGET_LPC11U35_401/LPC11U35.ld