Files
sweekar-esp32-gyroscope/main/02_physical/boards/config.h
T

26 lines
887 B
C

#ifndef BOARD_CONFIG_H
#define BOARD_CONFIG_H
#include "sdkconfig.h"
// 根据menuconfig的配置选择不同版本的config.h文件
#ifdef CONFIG_BOARD_VERSION_V1_1_11
#include "boards/board_v1_1_11/config.h"
#elif defined(CONFIG_BOARD_VERSION_V1_1_12)
#include "boards/board_v1_1_12/config.h"
#elif defined(CONFIG_BOARD_VERSION_V1_1_13)
#include "boards/board_v1_1_13/config.h"
#elif defined(CONFIG_BOARD_VERSION_V1_1_14)
#include "boards/board_v1_1_14/config.h"
#elif defined(CONFIG_BOARD_VERSION_V1_1_16)
#include "boards/board_v1_1_16/config.h"
#elif defined(CONFIG_BOARD_VERSION_V1_1_17)
#include "boards/board_v1_1_17/config.h"
#elif defined(CONFIG_BOARD_VERSION_V1_1_18)
#include "boards/board_v1_1_18/config.h"
#else
// 默认使用v1.1.11版本,避免编译错误
#include "boards/board_v1_1_13/config.h"
#endif
#endif // BOARD_CONFIG_H