summaryrefslogtreecommitdiff
path: root/bsp/stm32l072/rtconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/stm32l072/rtconfig.py')
-rw-r--r--bsp/stm32l072/rtconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32l072/rtconfig.py b/bsp/stm32l072/rtconfig.py
index ca72477a93..96a398fc92 100644
--- a/bsp/stm32l072/rtconfig.py
+++ b/bsp/stm32l072/rtconfig.py
@@ -108,7 +108,7 @@ elif PLATFORM == 'iar':
CFLAGS += ' --cpu=Cortex-M0'
CFLAGS += ' -e'
CFLAGS += ' --fpu=None'
- CFLAGS += ' --dlib_config "' + IAR_PATH + '/arm/INC/c/DLib_Config_Normal.h"'
+ CFLAGS += ' --dlib_config "' + EXEC_PATH + '/arm/INC/c/DLib_Config_Normal.h"'
CFLAGS += ' -Ol'
CFLAGS += ' --use_c++_inline'
@@ -124,5 +124,5 @@ elif PLATFORM == 'iar':
LFLAGS += ' --redirect _Scanf=_ScanfSmall'
LFLAGS += ' --entry __iar_program_start'
- EXEC_PATH = IAR_PATH + '/arm/bin/'
+ EXEC_PATH = EXEC_PATH + '/arm/bin/'
POST_ACTION = ''