mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-16 10:02:05 +00:00
WIP - bringup on PPR
This commit is contained in:
parent
4b5cfaf9ba
commit
4db176867b
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = tbeam ; Note: the github actions CI test build can't yet build NRF52 targets
|
default_envs = ppr ; Note: the github actions CI test build can't yet build NRF52 targets
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
; common is not currently used
|
; common is not currently used
|
||||||
@ -154,8 +154,6 @@ debug_init_break =
|
|||||||
[env:nrf52dk]
|
[env:nrf52dk]
|
||||||
extends = nrf52_base
|
extends = nrf52_base
|
||||||
board = nrf52840_dk_modified
|
board = nrf52840_dk_modified
|
||||||
lib_deps =
|
|
||||||
UC1701 ; for temp testing
|
|
||||||
|
|
||||||
; The PPR board
|
; The PPR board
|
||||||
[env:ppr]
|
[env:ppr]
|
||||||
|
@ -151,7 +151,8 @@ void setup()
|
|||||||
#else
|
#else
|
||||||
Wire.begin();
|
Wire.begin();
|
||||||
#endif
|
#endif
|
||||||
scanI2Cdevice();
|
// i2c still busted on new board
|
||||||
|
// scanI2Cdevice();
|
||||||
|
|
||||||
// Buttons & LED
|
// Buttons & LED
|
||||||
#ifdef BUTTON_PIN
|
#ifdef BUTTON_PIN
|
||||||
@ -180,6 +181,9 @@ void setup()
|
|||||||
nrf52Setup();
|
nrf52Setup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern void testLCD();
|
||||||
|
// testLCD();
|
||||||
|
|
||||||
// Initialize the screen first so we can show the logo while we start up everything else.
|
// Initialize the screen first so we can show the logo while we start up everything else.
|
||||||
if (ssd1306_found)
|
if (ssd1306_found)
|
||||||
screen.setup();
|
screen.setup();
|
||||||
@ -233,7 +237,7 @@ void setup()
|
|||||||
new SimRadio();
|
new SimRadio();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!rIf->init())
|
if (!rIf || !rIf->init())
|
||||||
recordCriticalError(ErrNoRadio);
|
recordCriticalError(ErrNoRadio);
|
||||||
else
|
else
|
||||||
router.addInterface(rIf);
|
router.addInterface(rIf);
|
||||||
|
Loading…
Reference in New Issue
Block a user