https://github.com/lupyuen/lorawan_test
LoRaWAN Test App for Apache NuttX OS
https://github.com/lupyuen/lorawan_test
bl602 bl604 lorawan nuttx pinecone pinedio riscv32
Last synced: over 1 year ago
JSON representation
LoRaWAN Test App for Apache NuttX OS
- Host: GitHub
- URL: https://github.com/lupyuen/lorawan_test
- Owner: lupyuen
- License: other
- Created: 2021-12-28T02:57:24.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T10:56:36.000Z (about 4 years ago)
- Last Synced: 2025-01-14T12:53:43.058Z (over 1 year ago)
- Topics: bl602, bl604, lorawan, nuttx, pinecone, pinedio, riscv32
- Language: C
- Homepage: https://lupyuen.github.io/articles/sx1262
- Size: 47.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoRaWAN Test App for Apache NuttX OS
Read the articles...
- ["LoRa SX1262 on Apache NuttX OS"](https://lupyuen.github.io/articles/sx1262)
- ["LoRaWAN on Apache NuttX OS"](https://lupyuen.github.io/articles/lorawan3)
- ["SPI on Apache NuttX OS"](https://lupyuen.github.io/articles/spi2)
This repo depends on...
- [lupyuen/LoRaMac-node-nuttx](https://github.com/lupyuen/LoRaMac-node-nuttx)
# Install App
To add this repo to your NuttX project...
```bash
cd nuttx/apps/examples
git submodule add https://github.com/lupyuen/lorawan_test
```
Then update the NuttX Build Config...
```bash
## TODO: Change this to the path of our "incubator-nuttx" folder
cd nuttx/nuttx
## Preserve the Build Config
cp .config ../config
## Erase the Build Config and Kconfig files
make distclean
## For BL602: Configure the build for BL602
./tools/configure.sh bl602evb:nsh
## For ESP32: Configure the build for ESP32.
## TODO: Change "esp32-devkitc" to our ESP32 board.
./tools/configure.sh esp32-devkitc:nsh
## Restore the Build Config
cp ../config .config
## Edit the Build Config
make menuconfig
```
In menuconfig, enable the LoRaWAN Test App under "Application Configuration" → "Examples".
Based on...
- [LoRaMac/fuota-test-01](https://github.com/lupyuen/LoRaMac-node-nuttx/blob/master/src/apps/LoRaMac/fuota-test-01/B-L072Z-LRWAN1)
- [LoRaMac/periodic-uplink-lpp](https://github.com/lupyuen/LoRaMac-node-nuttx/blob/master/src/apps/LoRaMac/periodic-uplink-lpp/B-L072Z-LRWAN1)