Skip to content

Commit 77c4e9a

Browse files
committed
sconscript add drv_common.h hook
1 parent 7aeb032 commit 77c4e9a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/nano/SConscript

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ group = DefineGroup('', [], depend=[''], CPPPATH=[])
3030
file_path = "board.h"
3131
include_str = """
3232
#include <stm32l4xx.h>
33+
#include <drv_common.h>
3334
"""
3435
modify_board_h_file(os.path.join(cwd, file_path), include_str)
3536
os.remove(os.path.join(cwd,"SConscript"))

drivers/rtt/SConscript

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ group = DefineGroup('', [], depend=[''], CPPPATH=[])
3030
file_path = "board.h"
3131
include_str = """
3232
#include <stm32l4xx.h>
33+
#include <drv_common.h>
3334
"""
3435
modify_board_h_file(os.path.join(cwd, file_path), include_str)
3536
os.remove(os.path.join(cwd,"SConscript"))

0 commit comments

Comments
 (0)