Platform: Simplify ARMCLANG - IAR compatibility

ARMCLANG defines a number of special symbols, not normally defined
by IAR (or GCC). The IAR linker has no facility to define these
symbols in the linker script, like the Gnu linker. These symbols used
to be defined on the command line to the compiler through CMake, but it
was causing issues where bash was needed to execute the commands and it
was impossible to define these symbols in the IDE. Defining them in
region.h instead solves this.

Signed-off-by: TTornblom <thomas.tornblom@iar.com>
Change-Id: Iaffe21ac530df3316b1bf71aad392262f9cf8017
diff --git a/CommonConfig.cmake b/CommonConfig.cmake
index cb5df6c..34e91c1 100644
--- a/CommonConfig.cmake
+++ b/CommonConfig.cmake
@@ -156,7 +156,7 @@
 	set (COMMON_COMPILE_FLAGS -e --dlib_config=full --vla --silent -DNO_TYPEOF --diag_suppress Pe546,Pe940,Pa082,Pa084)
 	##Shared compiler and linker settings.
 	function(config_setting_shared_compiler_flags tgt)
-		embedded_set_target_compile_flags(TARGET ${tgt} LANGUAGE C APPEND FLAGS ${COMMON_COMPILE_FLAGS} "-DImage$$= " "-DLoad$$LR$$= " "-D$$ZI$$Base=$$Base" "-D$$ZI$$Limit=$$Limit" "-D$$RO$$Base=$$Base" "-D$$RO$$Limit=$$Limit" "-D$$RW$$Base=$$Base" "-D$$RW$$Limit=$$Limit" "-D_DATA$$RW$$Base=_DATA$$Base" "-D_DATA$$RW$$Limit=_DATA$$Limit" "-D_DATA$$ZI$$Base=_DATA$$Base" "-D_DATA$$ZI$$Limit=_DATA$$Limit" "-D_STACK$$ZI$$Base=_STACK$$Base" "-D_STACK$$ZI$$Limit=_STACK$$Limit" )
+		embedded_set_target_compile_flags(TARGET ${tgt} LANGUAGE C APPEND FLAGS ${COMMON_COMPILE_FLAGS} )
 	endfunction()
 
 	##Shared linker settings.