-
Notifications
You must be signed in to change notification settings - Fork 963
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* DOES NOT WORK * trunk * DOES NOT WORK * trunk * DOES NOT WORK * trunk * WIP: LR11x0 non functional interface code. Please don't expect a working firmware out of this! I don't know what i am doing! :-) * trunk fmt * use canon toolchain * update and fix radiolib dependency * Switch Radiolib back to GIT checkout * enable tcxo and fix startReceive * progress * Correct midjudgement on scope of build defines. * - enable peripheral power rail during startup init - fix portduino builds * add tracker pinout variant * update to radiolib 6.6.0 API (aka: godmode is not for mere mortals) * tracker is not so 'extra' any more --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
- Loading branch information
1 parent
7cbfe7a
commit b43c7c0
Showing
18 changed files
with
917 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "nrf52840_s140_v6.ld" | ||
}, | ||
"core": "nRF5", | ||
"cpu": "cortex-m4", | ||
"extra_flags": "-DARDUINO_WIO_WM1110 -DNRF52840_XXAA", | ||
"f_cpu": "64000000L", | ||
"hwids": [ | ||
["0x239A", "0x8029"], | ||
["0x239A", "0x0029"], | ||
["0x239A", "0x002A"], | ||
["0x239A", "0x802A"] | ||
], | ||
"usb_product": "WIO-BOOT", | ||
"mcu": "nrf52840", | ||
"variant": "Seeed_WIO_WM1110", | ||
"bsp": { | ||
"name": "adafruit" | ||
}, | ||
"softdevice": { | ||
"sd_flags": "-DS140", | ||
"sd_name": "s140", | ||
"sd_version": "6.1.1", | ||
"sd_fwid": "0x00B6" | ||
}, | ||
"bootloader": { | ||
"settings_addr": "0xFF000" | ||
} | ||
}, | ||
"connectivity": ["bluetooth"], | ||
"debug": { | ||
"jlink_device": "nRF52840_xxAA", | ||
"svd_path": "nrf52840.svd" | ||
}, | ||
"frameworks": ["arduino"], | ||
"name": "Seeed WIO WM1110", | ||
"upload": { | ||
"maximum_ram_size": 248832, | ||
"maximum_size": 815104, | ||
"speed": 115200, | ||
"protocol": "nrfutil", | ||
"protocols": [ | ||
"jlink", | ||
"nrfjprog", | ||
"nrfutil", | ||
"stlink", | ||
"cmsis-dap", | ||
"blackmagic" | ||
], | ||
"use_1200bps_touch": true, | ||
"require_upload_port": true, | ||
"wait_for_upload_port": true | ||
}, | ||
"url": "https://www.seeedstudio.com/Wio-WM1110-Dev-Kit-p-5677.html", | ||
"vendor": "Seeed Studio" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"build": { | ||
"arduino": { | ||
"ldscript": "nrf52840_s140_v6.ld" | ||
}, | ||
"core": "nRF5", | ||
"cpu": "cortex-m4", | ||
"extra_flags": "-DARDUINO_WIO_WM1110 -DNRF52840_XXAA", | ||
"f_cpu": "64000000L", | ||
"hwids": [ | ||
["0x239A", "0x8029"], | ||
["0x239A", "0x0029"], | ||
["0x239A", "0x002A"], | ||
["0x239A", "0x802A"] | ||
], | ||
"usb_product": "WIO-BOOT", | ||
"mcu": "nrf52840", | ||
"variant": "Seeed_WIO_WM1110", | ||
"bsp": { | ||
"name": "adafruit" | ||
}, | ||
"softdevice": { | ||
"sd_flags": "-DS140", | ||
"sd_name": "s140", | ||
"sd_version": "6.1.1", | ||
"sd_fwid": "0x00B6" | ||
}, | ||
"bootloader": { | ||
"settings_addr": "0xFF000" | ||
} | ||
}, | ||
"connectivity": ["bluetooth"], | ||
"debug": { | ||
"jlink_device": "nRF52840_xxAA", | ||
"svd_path": "nrf52840.svd" | ||
}, | ||
"frameworks": ["arduino"], | ||
"name": "Seeed WIO WM1110", | ||
"upload": { | ||
"maximum_ram_size": 248832, | ||
"maximum_size": 815104, | ||
"speed": 115200, | ||
"protocol": "nrfutil", | ||
"protocols": [ | ||
"jlink", | ||
"nrfjprog", | ||
"nrfutil", | ||
"stlink", | ||
"cmsis-dap", | ||
"blackmagic" | ||
], | ||
"use_1200bps_touch": true, | ||
"require_upload_port": true, | ||
"wait_for_upload_port": true | ||
}, | ||
"url": "https://www.seeedstudio.com/Wio-WM1110-Dev-Kit-p-5677.html", | ||
"vendor": "Seeed Studio" | ||
} |
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,5 +1,16 @@ | ||
#pragma once | ||
|
||
enum LoRaRadioType { NO_RADIO, STM32WLx_RADIO, SIM_RADIO, RF95_RADIO, SX1262_RADIO, SX1268_RADIO, LLCC68_RADIO, SX1280_RADIO }; | ||
enum LoRaRadioType { | ||
NO_RADIO, | ||
STM32WLx_RADIO, | ||
SIM_RADIO, | ||
RF95_RADIO, | ||
SX1262_RADIO, | ||
SX1268_RADIO, | ||
LLCC68_RADIO, | ||
SX1280_RADIO, | ||
LR1110_RADIO, | ||
LR1120_RADIO | ||
}; | ||
|
||
extern LoRaRadioType radioType; |
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
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "LR1110Interface.h" | ||
#include "configuration.h" | ||
#include "error.h" | ||
|
||
LR1110Interface::LR1110Interface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, | ||
RADIOLIB_PIN_TYPE busy) | ||
: LR11x0Interface(hal, cs, irq, rst, busy) | ||
{ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#pragma once | ||
|
||
#include "LR11x0Interface.h" | ||
|
||
/** | ||
* Our adapter for LR1110 radios | ||
*/ | ||
class LR1110Interface : public LR11x0Interface<LR1110> | ||
{ | ||
public: | ||
LR1110Interface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, | ||
RADIOLIB_PIN_TYPE busy); | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#include "LR1120Interface.h" | ||
#include "configuration.h" | ||
#include "error.h" | ||
|
||
LR1120Interface::LR1120Interface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, | ||
RADIOLIB_PIN_TYPE busy) | ||
: LR11x0Interface(hal, cs, irq, rst, busy) | ||
{ | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#pragma once | ||
|
||
#include "LR11x0Interface.h" | ||
|
||
/** | ||
* Our adapter for LR1120 wideband radios | ||
*/ | ||
class LR1120Interface : public LR11x0Interface<LR1120> | ||
{ | ||
public: | ||
LR1120Interface(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, | ||
RADIOLIB_PIN_TYPE busy); | ||
}; |
Oops, something went wrong.