Hiroh Satoh / keyboard Featured

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
64:656686e87927
Parent:
9:d1daefbf1fbd
--- a/README.md	Fri Sep 02 02:10:18 2016 +0900
+++ b/README.md	Fri Sep 02 02:18:25 2016 +0900
@@ -1,5 +1,35 @@
 
+# Offline GCC Compile
+
+## Prerequisite
+
+ * install arm-none-eabi-gcc
+ * install srecord
+
+```
+brew install srecord
+```
+
+## Make hex files
+
+```
+$ make -j merge
+$ ls -altrh .build/keyboard.hex  .build/combined.hex
+-rw-r--r--@ 1 cho45  staff   123K  9  2 02:05 .build/keyboard.hex
+-rw-r--r--@ 1 cho45  staff   415K  9  2 02:16 .build/combined.hex
+```
+
+keyboard.hex is application hex. combined.hex is merged with softdevice.
+
+## Flash hex to /Volume/MBED
+
+```
+$ make flash
+```
+
+Copy combined.hex to /Volume/MBED
 
 # ref
 
+- https://lowreal.net/2016/09/02/1
 - https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.bluetooth.service.human_interface_device.xml