https://github.com/lupyuen/sx1262_test
LoRa Test App for Semtech SX1262 and Apache NuttX OS
https://github.com/lupyuen/sx1262_test
bl602 bl604 lora nuttx pinecone pinedio riscv32 sx1262
Last synced: 11 days ago
JSON representation
LoRa Test App for Semtech SX1262 and Apache NuttX OS
- Host: GitHub
- URL: https://github.com/lupyuen/sx1262_test
- Owner: lupyuen
- License: apache-2.0
- Created: 2021-12-28T02:57:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-26T03:10:49.000Z (about 3 years ago)
- Last Synced: 2025-02-20T07:08:15.719Z (3 months ago)
- Topics: bl602, bl604, lora, nuttx, pinecone, pinedio, riscv32, sx1262
- Language: C
- Homepage: https://lupyuen.github.io/articles/sx1262
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LoRa Test App for Semtech SX1262 and 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/lora-sx1262 (lorawan branch)](https://github.com/lupyuen/lora-sx1262/tree/lorawan)
# Install App
To add this repo to your NuttX project...
```bash
cd nuttx/apps/examples
git submodule add https://github.com/lupyuen/sx1262_test
```Next update the Makefiles and Kconfig...
- ["Update Makefiles and Kconfig"](https://lupyuen.github.io/articles/sx1262#update-makefiles-and-kconfig)
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 SX1262 Test App under "Application Configuration" → "Examples".