diff --git a/RTL00_SDKV35a/paths.mk b/RTL00_SDKV35a/paths.mk index 49d2cbe..f4015f3 100644 --- a/RTL00_SDKV35a/paths.mk +++ b/RTL00_SDKV35a/paths.mk @@ -2,7 +2,7 @@ # User defined (in userset.mk) #--------------------------- SDK_PATH ?= ../RTL00MP3/RTL00_SDKV35a/ -#GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/5.2_2015q4/bin/# + or set in PATH +#GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/6.2017-q1-update/bin/# + or set in PATH #OPENOCD_PATH = d:/MCU/OpenOCD/bin/# + or set in PATH TOOLS_PATH ?= $(SDK_PATH)component/soc/realtek/8195a/misc/iar_utility/common/tools/ FLASHER_TYPE ?= Jlink diff --git a/RTL00_SDKV35a/sdkset.mk b/RTL00_SDKV35a/sdkset.mk index 2d44038..6f9cda5 100644 --- a/RTL00_SDKV35a/sdkset.mk +++ b/RTL00_SDKV35a/sdkset.mk @@ -27,7 +27,7 @@ LFLAGS = -mcpu=cortex-m3 -mthumb -g -Os -nostartfiles --specs=nano.specs else LFLAGS = -mcpu=cortex-m3 -mthumb -g -Os -nostartfiles -nostdlib endif -LFLAGS += -Wl,--gc-sections -Wl,--cref -Wl,--entry=Reset_Handler -Wl,--no-enum-size-warning -Wl,--no-wchar-size-warning -Wl,-nostdlib +LFLAGS += -Wl,--gc-sections -Wl,--cref -Wl,--entry=Reset_Handler -Wl,--no-enum-size-warning -Wl,--no-wchar-size-warning -Wl,-nostdlib -Wl,--no-check-sections # LIBS # ------------------------------------------------------------------- diff --git a/userset.mk b/userset.mk index aba51fe..1cecc52 100644 --- a/userset.mk +++ b/userset.mk @@ -3,6 +3,7 @@ #============================================= #SDK_PATH ?= ../RTL00_WEB/USDK/ SDK_PATH ?= RTL00_SDKV35a/ +#GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/6.2017-q1-update/bin/# + or set in PATH #GCC_PATH = d:/MCU/GNU_Tools_ARM_Embedded/5.2_2015q4/bin/# + or set in PATH #OPENOCD_PATH = d:/MCU/OpenOCD/bin/# + or set in PATH TOOLS_PATH ?= $(SDK_PATH)component/soc/realtek/8195a/misc/iar_utility/common/tools/