From e1657f13a0b63ea1afd2d326844d4f3d30f4e514 Mon Sep 17 00:00:00 2001 From: maclobdell Date: Fri, 14 Oct 2016 15:18:47 -0500 Subject: [PATCH] add macros for NCS36510 IAR IDE building --- targets/TARGET_ONSEMI/TARGET_NCS36510/swversion.c | 6 +++--- targets/targets.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/targets/TARGET_ONSEMI/TARGET_NCS36510/swversion.c b/targets/TARGET_ONSEMI/TARGET_NCS36510/swversion.c index f16cdac18d..4a83942697 100644 --- a/targets/TARGET_ONSEMI/TARGET_NCS36510/swversion.c +++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/swversion.c @@ -7,11 +7,11 @@ * $Rev: 2199 $ * $Date: 2013-08-07 12:17:27 +0200 (Wed, 07 Aug 2013) $ ****************************************************************************** - * Copyright 2016 Semiconductor Components Industries LLC (d/b/a “ON Semiconductor”). + * Copyright 2016 Semiconductor Components Industries LLC (d/b/a "ON Semiconductor"). * All rights reserved. This software and/or documentation is licensed by ON Semiconductor * under limited terms and conditions. The terms and conditions pertaining to the software * and/or documentation are available at http://www.onsemi.com/site/pdf/ONSEMI_T&C.pdf - * (“ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software”) and + * ("ON Semiconductor Standard Terms and Conditions of Sale, Section 8 Software") and * if applicable the software license agreement. Do not use this software and/or * documentation unless you have carefully read and you agree to the limited terms and * conditions. By using this software and/or documentation, you agree to the limited @@ -37,7 +37,7 @@ * * *************************************************************************************************/ -#ifdef IAR +#ifdef __ICCARM__ /** Define a fib table constant region, to be located at fixed offset in the binary * such that flash loader knows where to find it and gets the build dependent data * it needs for programming the new fib. diff --git a/targets/targets.json b/targets/targets.json index 2b8a2a6265..c27753be14 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -2093,7 +2093,7 @@ "core": "Cortex-M3", "extra_labels": ["ONSEMI"], "post_binary_hook": {"function": "NCS36510TargetCode.ncs36510_addfib"}, - "macros": ["REVD", "CM3", "CPU_NCS36510", "TARGET_NCS36510"], + "macros": ["REVD", "CM3", "CPU_NCS36510", "TARGET_NCS36510", "LOAD_ADDRESS=0x3000"], "supported_toolchains": ["GCC_ARM", "ARM", "IAR"], "device_has": ["ANALOGIN", "SERIAL", "I2C", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SLEEP", "SPI", "LOWPOWERTIMER"], "device_name": "NCS36510",