generated from TDD-Templates/cmake_cpputest_template
Added some common micro-controller sections. Also added a define for number of retries for functions.
This commit is contained in:
parent
076cc73941
commit
ac4666a633
|
@ -1,9 +1,14 @@
|
||||||
#ifndef BOARD_CONFIG_H
|
#ifndef BOARD_CONFIG_H
|
||||||
#define BOARD_CONFIG_H
|
#define BOARD_CONFIG_H
|
||||||
|
|
||||||
|
|
||||||
|
#define RETRIES 3
|
||||||
|
|
||||||
//Un-comment a line below for the target board/uC.
|
//Un-comment a line below for the target board/uC.
|
||||||
#define FEATHER_RFM95
|
#define FEATHER_RFM95
|
||||||
//#define FEATHER_RFM96
|
//#define FEATHER_RFM96
|
||||||
|
//#define UNO
|
||||||
|
//#define MEAGA2560
|
||||||
|
|
||||||
//Only applied if defined
|
//Only applied if defined
|
||||||
#ifdef FEATHER_RFM95
|
#ifdef FEATHER_RFM95
|
||||||
|
@ -35,7 +40,14 @@
|
||||||
#define RF9X_MIN_DB 5
|
#define RF9X_MIN_DB 5
|
||||||
#define RF9X_TIMEOUT 250
|
#define RF9X_TIMEOUT 250
|
||||||
#define RF9X_BUF_SZ 32
|
#define RF9X_BUF_SZ 32
|
||||||
#endif //FEATHER_RFM9X
|
#endif //FEATHER_RFM95
|
||||||
|
|
||||||
|
#ifdef UNO
|
||||||
|
|
||||||
|
#endif //UNO
|
||||||
|
|
||||||
|
#ifdef MEGA2560
|
||||||
|
|
||||||
|
#endif //MEGA2560
|
||||||
|
|
||||||
#endif //BOARD_CONFIG_H
|
#endif //BOARD_CONFIG_H
|
||||||
|
|
Loading…
Reference in New Issue