4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 11:33:32 +08:00

[update] bsp/stm32/stm32h747-st-discovery/board/SConscript

This commit is contained in:
SummerGift 2020-02-26 10:26:33 +08:00
parent abde5170dd
commit c225b0f745
3 changed files with 3 additions and 5 deletions

View File

@ -217,9 +217,7 @@ typedef enum
#define SMPS /*!< Switched mode power supply feature */
#if !defined(__CC_ARM) || defined(__CLANG_ARM) || defined(__ICCARM__)
#define CORE_CM7
#endif
/**
* @brief Configuration of the Cortex-M4/ Cortex-M7 Processor and Core Peripherals

View File

@ -23,7 +23,7 @@ elif rtconfig.CROSS_TOOL == 'iar':
# STM32H743xx || STM32H750xx || STM32F753xx
# You can select chips from the list above
CPPDEFINES = ['STM32H747xx']
CPPDEFINES = ['STM32H747xx', 'CORE_CM7']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
Return('group')

View File

@ -336,7 +336,7 @@
<v6Rtti>0</v6Rtti>
<VariousControls>
<MiscControls></MiscControls>
<Define>STM32H747xx, USE_HAL_DRIVER</Define>
<Define>STM32H747xx, CORE_CM7, USE_HAL_DRIVER</Define>
<Undefine></Undefine>
<IncludePath>.;..\..\..\include;board;board\CubeMX_Config\CM7\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m7;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common;..\libraries\STM32H7xx_HAL\STM32H7xx_HAL_Driver\Inc;..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Include;..\libraries\STM32H7xx_HAL\CMSIS\Include</IncludePath>
</VariousControls>