Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,191 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.vscode | ||
.DS_Store | ||
build | ||
make | ||
make | ||
bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
|
||
#ifndef __BOARD_DEF_H | ||
#define __BOARD_DEF_H | ||
|
||
// #define UBOX_GPS_MODULE //Turning on will open the M8/M6 GPS module | ||
// #define ACSIP_S7XG_MODULE //Turning on will open the S7XG GPS/LORA module | ||
// #define ENABLE_BLE //Turning on will open the BLE module | ||
|
||
#define TFT_MISO 4 | ||
#define TFT_MOSI 19 | ||
#define TFT_SCLK 18 | ||
#define TFT_CS 5 | ||
#define TFT_DC 27 | ||
#define TFT_RST -1 | ||
#define TFT_BL 12 | ||
|
||
#define SD_CS 13 | ||
#define SD_MISO 2 | ||
#define SD_MOSI 15 | ||
#define SD_SCLK 14 | ||
|
||
#define I2C_SDA 23 | ||
#define I2C_SCL 32 | ||
|
||
#define SEN_SDA 21 | ||
#define SEN_SCL 22 | ||
|
||
#define UART_TX 33 | ||
#define UART_RX 34 | ||
|
||
#if defined(UBOX_GPS_MODULE) | ||
#define UART_BANUD_RATE 9600 | ||
#else | ||
#define UART_BANUD_RATE 115200 | ||
#endif | ||
|
||
#define USER_BUTTON 36 | ||
|
||
#define TP_INT 38 | ||
#define RTC_INT 37 | ||
#define AXP202_INT 35 | ||
#define BMA423_INT1 39 | ||
#define BMA423_INT2 0 | ||
|
||
#endif | ||
|
||
#ifndef __BOARD_DEF_H | ||
#define __BOARD_DEF_H | ||
|
||
//#define UBOX_GPS_MODULE //Turning on will open the M8/M6 GPS module | ||
#define ACSIP_S7XG_MODULE //Turning on will open the S7XG GPS/LORA module | ||
#define ENABLE_BLE //Turning on will open the BLE module | ||
|
||
#define TFT_MISO -1 | ||
#define TFT_MOSI 19 | ||
#define TFT_SCLK 18 | ||
#define TFT_CS 5 | ||
#define TFT_DC 27 | ||
#define TFT_RST -1 | ||
#define TFT_BL 12 | ||
|
||
#define SD_CS 13 | ||
#define SD_MISO 2 | ||
#define SD_MOSI 15 | ||
#define SD_SCLK 14 | ||
|
||
#define I2C_SDA 23 | ||
#define I2C_SCL 32 | ||
|
||
#define SEN_SDA 21 | ||
#define SEN_SCL 22 | ||
|
||
#define UART_TX 33 | ||
#define UART_RX 34 | ||
|
||
#if defined(UBOX_GPS_MODULE) | ||
#define UART_BANUD_RATE 9600 | ||
#else | ||
#define UART_BANUD_RATE 115200 | ||
#endif | ||
|
||
#define USER_BUTTON 36 | ||
|
||
#define TP_INT 38 | ||
#define RTC_INT 37 | ||
#define AXP202_INT 35 | ||
#define BMA423_INT1 39 | ||
#define BMA423_INT2 0 | ||
|
||
#endif |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters