Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/AzureRtos #177

Merged
merged 3 commits into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "Software/lib/FreeRTOS-Kernel"]
path = Software/lib/FreeRTOS-Kernel
url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git
[submodule "Software/lib/threadx"]
path = Software/lib/threadx
url = https://github.com/azure-rtos/threadx
3 changes: 2 additions & 1 deletion Software/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ set (APP_LIST
"basic_freertos"
"freefall_lorawan"
"freertos_lorawan"
"secure_element_lorawan")
"secure_element_lorawan"
"basic_azurertos")
#-------------------
# MCU Setup
#-------------------
Expand Down
2 changes: 1 addition & 1 deletion Software/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The software provides a boilerplate of applications and libraries that can be us

- [target](./target/README.md) folder contains STM32WL low level target files
- [lib](./lib/README.md) folder contains SW libraries used by the various applications
- [app](./app/README.md) folder contains SW applicattions
- [app](./app/README.md) folder contains SW applications

## Documentation

Expand Down
6 changes: 5 additions & 1 deletion Software/app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The device enters stop mode in between transmissions to reduce power consumption

[basic_bootloader](./basic_bootloader) contains a bootloader that allows for application/internal bootloader jumps.

[basic_freertos](./basic_freertos) contains a basic FreeRTOS low power application that creates two threads and passes messages via a queue triggering a blinking LED with each passed message.
[basic_freertos](./basic_freertos) contains a basic FreeRTOS low power application that creates two threads that pass a message via a queue triggering a blinking LED with each passed message.

[freefall_lorawan](./freefall_lorawan) contains a simple application to join via OTAA and waits to send a message until the device is free-falling. A downlink on port 1 will cause the buzzer to beep, which can be turned off with a button press.

Expand All @@ -20,6 +20,8 @@ The device enters stop mode in between transmissions to reduce power consumption
[secure_element_lorawan](./secure_element_lorawan) contains a LoRaWAN application where a class A device joins via OTAA (LoRaWAN v1.0.2) using a HW secure element (ATECC608A-TNGLORA) and sends dummy payloads triggered by a time interval.
This app doesn't require LoRaWAN keys/EUI configurations. Follow this [tutorial](https://www.thethingsindustries.com/docs/devices/claim-atecc608a/) to claim your device, and your device will join via OTAA automatically.

[basic_azurertos](./basic_azurertos) contains a simple AzureRTOS (ThreadX) application. It includes examples of two threads that pass a message via a queue triggering a blinking LED with each passed message.

## Applications configuration

Each application contains a configuration folder that facilitates minor adjustments to the application behavior.
Expand All @@ -42,3 +44,5 @@ To quickly get started, navigate to your application `app_conf.h`, and adjust th
[freertos_lorawan app configurations](./basic_freertos/conf/app_conf.h)

[secure_element_lorawan app configurations](./secure_element_lorawan/conf/app_conf.h)

[basic_azurertos app configurations](./basic_azurertos/conf/app_conf.h)
396 changes: 396 additions & 0 deletions Software/app/basic_azurertos/.cproject

Large diffs are not rendered by default.

Loading