Skip to content

Commit 8ea33c2

Browse files
authored
Merge pull request #18 from RT-Thread/master
pr
2 parents e19873d + 6420c27 commit 8ea33c2

File tree

61 files changed

+4070
-565
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+4070
-565
lines changed

bsp/at32/Libraries/AT32_Std_Driver/AT32F4xx_StdPeriph_Driver/inc/at32f4xx_ertc.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
#ifndef __AT32F4xx_ERTC_H
1212
#define __AT32F4xx_ERTC_H
1313

14+
#ifdef __cplusplus
15+
extern "C" {
16+
#endif
1417

1518
/* Includes ------------------------------------------------------------------*/
1619
#include "at32f4xx.h"

bsp/at32/Libraries/rt_drivers/SConscript

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,15 @@ if GetDepend('BSP_USING_SRAM'):
4343
if GetDepend('BSP_USING_RTC'):
4444
src += ['drv_rtc.c']
4545

46+
if GetDepend('BSP_USING_ON_CHIP_FLASH'):
47+
src += ['drv_flash.c']
48+
4649
if GetDepend(['BSP_USING_WDT']):
4750
src += ['drv_wdt.c']
4851

52+
if GetDepend(['BSP_USING_CAN']):
53+
src += ['drv_can.c']
54+
4955
if GetDepend(['BSP_USING_SDIO']):
5056
src += ['drv_sdio.c']
5157

0 commit comments

Comments
 (0)