2022-01-07 10:29:58 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-04-11 05:58:48 +00:00
|
|
|
set -e
|
@BigCorvus board now kinda boots
###RTT Client: -----------------------------------------------
###RTT Client: Connecting to J-Link RTT Server via localhost:19021 ...
###RTT Client: Connected.
SEGGER J-Link V6.70c - Real time terminal output
SEGGER J-Link ARM V9.6, SN=69663845
Process: JLinkGDBServerCLExe
Emitting reboot packet for serial shell
I2C device found at address 0x55
done
Meshtastic swver=unset, hwver=unset
Reset reason: 0x0
FIXME, call randomSeed
ERROR: No UBLOX GPS found
Hoping that NEMA might work
RadioConfig reset!
Initial packet id 1481765933, numPacketId 4294967295
No saved preferences found
NODENUM=0xB18C3A4E, dbsize=1
Starting meshradio init...
Set radio: name=Default, config=3, ch=6, power=17
SX1262 init result 0
sending owner !df5db18c3a4e/Unknown 3a4e/?4E
Update DB node 0xB18C3A4E, rx_time=0
old user !df5db18c3a4e/Unknown 3a4e/?4E
updating changed=0 user !df5db18c3a4e/Unknown 3a4e/?4E
Adding packet record (id=0x5851F430 Fr0x4E To0xFF, WantAck0, HopLim3 Payload:User)
enqueuing for send (id=0x5851F430 Fr0x4E To0xFF, WantAck0, HopLim3 encrypted)
txGood=0,rxGood=0,rxBad=0
Starting low level send (id=0x5851F430 Fr0x4E To0xFF, WantAck0, HopLim3 encrypted)
assert failed src/mesh/SX1262Interface.cpp: 102, virtual void SX1262Interface::setStandby(), test=err == ERR_NONE
2020-08-17 18:28:32 +00:00
|
|
|
|
2021-06-27 16:58:36 +00:00
|
|
|
echo "building for t-echo"
|
|
|
|
pio run --environment t-echo
|
|
|
|
|
|
|
|
echo "Converting to uf2 for NRF52 Adafruit bootloader - double tap on the reset button to force bootloader entry"
|
2021-04-27 02:21:54 +00:00
|
|
|
bin/uf2conv.py .pio/build/t-echo/firmware.hex -f 0xADA52840
|
2021-04-11 05:58:48 +00:00
|
|
|
cp flash.uf2 /media/kevinh/FTH*BOOT/
|