whitespace changes, set USDMSD up to receive USB reset/suspend/connect etc
[clinton/Smoothieware.git] / makefile
1 # Copyright 2011 Adam Green (http://mbed.org/users/AdamGreen/)
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 PROJECT=main
15 GCC4MBED_DIR=./gcc4mbed
16 INCDIRS=
17 LIBS_PREFIX=
18 LIBS_SUFFIX=
19 SRC=./src
20 #GCC4MBED_TYPE=Release
21 GCC4MBED_TYPE=Checked
22 #GCC4MBED_TYPE=Debug
23 #MRI_UART=MRI_UART_MBED_P13_P14 MRI_UART_BAUD=115200
24 MRI_UART=MRI_UART_MBED_USB MRI_UART_SHARE
25 #MRI_UART=MRI_UART_MBED_USB
26 MRI_BREAK_ON_INIT=0
27 MRI_SEMIHOST_STDIO=0
28
29 include ./gcc4mbed/build/gcc4mbed.mk
30
31 flash:
32 lpc21isp $(PROJECT).hex /dev/ttyACM0 115200 14746