[bsp][mm32] 修复编译问题 (#7780)
Co-authored-by: Supper Thomas <78900636@qq.com>
This commit is contained in:
parent
af01d1fd1c
commit
9c14c518db
|
@ -11,7 +11,7 @@
|
|||
#ifndef BOARD_H__
|
||||
#define BOARD_H__
|
||||
#include <rtthread.h>
|
||||
#include <hal_device.h>
|
||||
#include <HAL_device.h>
|
||||
|
||||
#define SRAM_SIZE 0x5000
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ 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')
|
||||
CPPDEFINES = ['USE_STDPERIPH_DRIVER']
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#include "HAL_device.h"
|
||||
#include "hal_device.h"
|
||||
/* defined the LED pin: PA15 */
|
||||
#define LED_PIN 38
|
||||
int main(void)
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* Date Author Notes
|
||||
* 2021-08-05 mazhiyuan first version
|
||||
*/
|
||||
#include <HAL_device.h>
|
||||
#include <hal_device.h>
|
||||
#include <rtdevice.h>
|
||||
#include "drv_uart.h"
|
||||
#include <hal_gpio.h>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef BOARD_H__
|
||||
#define BOARD_H__
|
||||
#include <rtthread.h>
|
||||
#include <hal_device.h>
|
||||
#include <HAL_device.h>
|
||||
|
||||
#define SRAM_SIZE 0x2000
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#ifndef BOARD_H__
|
||||
#define BOARD_H__
|
||||
#include <rtthread.h>
|
||||
#include <hal_device.h>
|
||||
#include <HAL_device.h>
|
||||
|
||||
#define SRAM_SIZE 0x5000
|
||||
|
||||
|
|
Loading…
Reference in New Issue