2017-05-12 23:31:23 +00:00
|
|
|
#=============================================
|
|
|
|
# User defined
|
|
|
|
#=============================================
|
2017-06-21 00:00:20 +00:00
|
|
|
SDK_PATH = USDK/
|
2017-06-28 04:09:45 +00:00
|
|
|
#GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/6.2017-q1-update/bin/# + or set in PATH
|
2018-04-20 07:53:32 +00:00
|
|
|
#----------------------------------
|
|
|
|
# Set JTAG/SWD
|
|
|
|
#----------------------------------
|
2018-03-04 11:05:52 +00:00
|
|
|
#FLASHER_TYPE = Jlink
|
2018-04-20 07:53:32 +00:00
|
|
|
#FLASHER_TYPE = stlink-v2
|
2018-03-04 11:05:52 +00:00
|
|
|
FLASHER_TYPE = cmsis-dap
|
2017-07-29 19:11:18 +00:00
|
|
|
FLASHER_SPEED = 3500
|
2018-04-20 07:53:32 +00:00
|
|
|
#----------------------------------
|
|
|
|
# Tools Path
|
|
|
|
#----------------------------------
|
|
|
|
ifneq ($(shell uname), Linux)
|
|
|
|
PYTHON ?= C:/Python27/python
|
|
|
|
OPENOCD ?= d:/MCU/OpenOCD/bin/openocd.exe
|
|
|
|
JLINK_PATH ?= D:/MCU/SEGGER/JLink_V630g/
|
|
|
|
else
|
|
|
|
PYTHON ?= python
|
|
|
|
OPENOCD ?= /mnt/d/MCU/OpenOCD/bin/openocd.exe
|
|
|
|
JLINK_PATH ?= /mnt/d/MCU/SEGGER/JLink_V630g/
|
|
|
|
endif
|