Add USB detection to RAK4631 based boards. (#2956)

* Add support for the rak10701 board, no touch

* Moved tftblack fillin and changed teh src flags

* Added rak10701 to platformio.ini

* Add USB detection to RAK4631 units.

* Eliminate spurious symbol in comment field.

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
HookdomPonix
2023-11-22 09:30:55 -07:00
committed by GitHub
parent 4712b1ca65
commit cbb8eb65ba
5 changed files with 37 additions and 5 deletions

View File

@@ -209,6 +209,9 @@ static const uint8_t SCK = PIN_SPI_SCK;
// RAK12002 RTC Module
#define RV3028_RTC (uint8_t)0b1010010
// Testing USB detection
#define NRF_APM
// Battery
// The battery sense is hooked to pin A0 (5)
#define BATTERY_PIN PIN_A0
@@ -241,4 +244,4 @@ static const uint8_t SCK = PIN_SPI_SCK;
* Arduino objects - C++ only
*----------------------------------------------------------------------------*/
#endif
#endif