diff options
| author | Supper Thomas <[email protected]> | 2025-02-16 22:02:42 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-16 22:02:42 +0800 |
| commit | 5b3320624da5149fc21c2d3e1f321d855e3d0dfe (patch) | |
| tree | 6132995c8750c420b5d3d94686c8e21a4915ba0b /bsp | |
| parent | c40b79037ce8bb09ba95411ebee1b22631cf9027 (diff) | |
[src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST … (#9993)
* [src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST and RT_USING_KTIME
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/stm32/stm32h750-artpi/rtconfig.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32/stm32h750-artpi/rtconfig.py b/bsp/stm32/stm32h750-artpi/rtconfig.py index fa67b76941..81c7b3bca0 100644 --- a/bsp/stm32/stm32h750-artpi/rtconfig.py +++ b/bsp/stm32/stm32h750-artpi/rtconfig.py @@ -19,13 +19,13 @@ if CROSS_TOOL == 'gcc': PLATFORM = 'gcc' EXEC_PATH = r'/opt/gcc-arm-none-eabi/bin/' elif CROSS_TOOL == 'keil': - PLATFORM = 'armcc' + PLATFORM = 'armclang' #KEIL AC6 EXEC_PATH = r'C:/Keil_v5' elif CROSS_TOOL == 'iar': PLATFORM = 'iccarm' EXEC_PATH = r'C:/Program Files (x86)/IAR Systems/Embedded Workbench 8.3' -if os.getenv('RTT_EXEC_PATH'): +if os.getenv('RTT_EXEC_PATH') and (CROSS_TOOL == 'gcc'): EXEC_PATH = os.getenv('RTT_EXEC_PATH') BUILD = 'debug' |
