rak4631: kinda runs

This commit is contained in:
Kevin Hester 2021-04-11 13:58:48 +08:00
parent bfdc05154b
commit f7d199a3be
4 changed files with 26 additions and 22 deletions

View File

@ -26,8 +26,8 @@ jobs:
run: platformio run -e tbeam run: platformio run -e tbeam
- name: Build for heltec - name: Build for heltec
run: platformio run -e heltec run: platformio run -e heltec
- name: Build for lora-relay-v1 - name: Build for wisblock RAK4631
run: platformio run -e lora-relay-v1 run: platformio run -e rak4631
- name: Build for native - name: Build for native
run: platformio run -e native run: platformio run -e native
- name: Integration test - name: Integration test

View File

@ -1,4 +1,5 @@
set -e
echo "Converting to uf2 for NRF52 Adafruit bootloader" echo "Converting to uf2 for NRF52 Adafruit bootloader"
bin/uf2conv.py .pio/build/lora-relay-v2/firmware.hex -f 0xADA52840 bin/uf2conv.py .pio/build/rak4631/firmware.hex -f 0xADA52840
# cp flash.uf2 /media/kevinh/FTH*BOOT/ cp flash.uf2 /media/kevinh/FTH*BOOT/

View File

@ -24,9 +24,9 @@ https://docs.rakwireless.com/Product-Categories/Accessories/RAKBox-B2/Overview/#
* DONE solder header * DONE solder header
* DONE attach antenna * DONE attach antenna
* get building (LORA disabled) * get building (LORA disabled)
* FIX LEDs * DONE FIX LEDs
* FIX BUTTONs * DONE FIX BUTTONs
* FIX I2C assignment * DONE FIX I2C assignment
* FIX LORA SPI * FIX LORA SPI
* FIX GPS GPIO assignment * FIX GPS GPIO assignment
* Disable Bluetooth * Disable Bluetooth

View File

@ -34,8 +34,7 @@
#include "WVariant.h" #include "WVariant.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C" {
{
#endif // __cplusplus #endif // __cplusplus
// Number of pins defined in PinDescription array // Number of pins defined in PinDescription array
@ -137,6 +136,10 @@ extern "C"
#define EXTERNAL_FLASH_DEVICES IS25LP080D #define EXTERNAL_FLASH_DEVICES IS25LP080D
#define EXTERNAL_FLASH_USE_QSPI #define EXTERNAL_FLASH_USE_QSPI
// Meshtastic specific flags
#define USE_SIM_RADIO
#define USE_SEGGER
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif