Skip to content

Commit

Permalink
fix bsp/mm32f327x to be able to use scons to complie
Browse files Browse the repository at this point in the history
  • Loading branch information
bettermultiply committed Oct 14, 2023
1 parent 2a1c55c commit 1074e18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bsp/mm32f327x/Libraries/MM32F327x/HAL_Lib/Inc/hal_eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
// Files includes
#include "types.h"
#include "mm32_device.h"
#include "HAL_eth_conf.h"
#include "hal_eth_conf.h"
////////////////////////////////////////////////////////////////////////////////
/// @addtogroup MM32_Hardware_Abstract_Layer
/// @{
Expand Down
2 changes: 1 addition & 1 deletion bsp/mm32f327x/Libraries/MM32F327x/HAL_Lib/Inc/hal_syscfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// Files includes
#include "types.h"
#include "mm32_device.h"
#include "hal_EXTI.H"
#include "hal_exti.h"
////////////////////////////////////////////////////////////////////////////////
/// @addtogroup MM32_Hardware_Abstract_Layer
/// @{
Expand Down
4 changes: 2 additions & 2 deletions bsp/mm32f327x/Libraries/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ from building import *
import rtconfig
cwd = GetCurrentDir()
src = ['MM32F327x/Source/system_mm32f327x.c']
CPPPATH = [cwd + '/CMSIS/KEIL_CORE', cwd + '/MM32F327x/Include', cwd + '/MM32F327x/Source', cwd + '/MM32F327x/HAL_Lib/Inc']
CPPPATH = [cwd + '/CMSIS/KEIL_Core', cwd + '/MM32F327x/Include', cwd + '/MM32F327x/Source', cwd + '/MM32F327x/HAL_Lib/Inc']

src += Glob('MM32F327x/HAL_lib/src/*.c')
src += Glob('MM32F327x/HAL_Lib/Src/*.c')
CPPDEFINES = ['USE_STDPERIPH_DRIVER']

if rtconfig.PLATFORM in ['armcc', 'armclang']:
Expand Down

0 comments on commit 1074e18

Please sign in to comment.