25 lines
985 B
C
25 lines
985 B
C
#ifndef BOARD_SELECTION_H
|
|
#define BOARD_SELECTION_H
|
|
|
|
#include "sdkconfig.h"
|
|
|
|
// 根据menuconfig的配置选择不同的board版本
|
|
#ifdef CONFIG_BOARD_VERSION_V1_1_11
|
|
#include "02_physical/boards/board_v1_1_11/board_sweekar.h"
|
|
#elif defined(CONFIG_BOARD_VERSION_V1_1_12)
|
|
#include "02_physical/boards/board_v1_1_12/board_sweekar.h"
|
|
#elif defined(CONFIG_BOARD_VERSION_V1_1_13)
|
|
#include "02_physical/boards/board_v1_1_13/board_sweekar.h"
|
|
#elif defined(CONFIG_BOARD_VERSION_V1_1_14)
|
|
#include "02_physical/boards/board_v1_1_14/board_sweekar.h"
|
|
#elif defined(CONFIG_BOARD_VERSION_V1_1_16)
|
|
#include "02_physical/boards/board_v1_1_16/board_sweekar.h"
|
|
#elif defined(CONFIG_BOARD_VERSION_V1_1_17)
|
|
#include "02_physical/boards/board_v1_1_17/board_sweekar.h"
|
|
#elif defined(CONFIG_BOARD_VERSION_V1_1_18)
|
|
#include "02_physical/boards/board_v1_1_18/board_sweekar.h"
|
|
#else
|
|
#include "02_physical/boards/board_v1_1_11/board_sweekar.h"
|
|
#endif
|
|
|
|
#endif // BOARD_SELECTION_H
|