From 11ccc7496e5dcf63e345511d0f9f3705b79d0f24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Thu, 2 Nov 2017 14:59:12 +0100 Subject: [PATCH] added driver directories and bsp --- .gitignore | 1 + .idea/workspace.xml | 46 +- .../BSP/Components/sx1272/Release_Notes.html | 208 + Drivers/BSP/Components/sx1272/sx1272.c | 1703 +++++++++ Drivers/BSP/Components/sx1272/sx1272.h | 523 +++ .../BSP/Components/sx1272/sx1272Regs-Fsk.h | 1134 ++++++ .../BSP/Components/sx1272/sx1272Regs-LoRa.h | 545 +++ Drivers/BSP/sx1272mb2das/Release_Notes.html | 269 ++ Drivers/BSP/sx1272mb2das/sx1272mb2das.c | 262 ++ Drivers/BSP/sx1272mb2das/sx1272mb2das.h | 98 + .../Lora/Conf/Commissioning_template.h | 147 + .../Lora/Conf/Inc/hw_gpio_template.h | 154 + .../Lora/Conf/Inc/hw_rtc_template.h | 181 + .../Lora/Conf/Inc/hw_spi_template.h | 128 + .../Third_Party/Lora/Conf/Inc/hw_template.h | 87 + .../Lora/Conf/Src/hw_gpio_template.c | 192 + .../Lora/Conf/Src/hw_rtc_template.c | 632 ++++ .../Lora/Conf/Src/hw_spi_template.c | 224 ++ Middlewares/Third_Party/Lora/Core/lora.c | 773 ++++ Middlewares/Third_Party/Lora/Core/lora.h | 251 ++ .../Third_Party/Lora/Core/lora_mac_version.h | 88 + Middlewares/Third_Party/Lora/Crypto/aes.c | 936 +++++ Middlewares/Third_Party/Lora/Crypto/aes.h | 160 + Middlewares/Third_Party/Lora/Crypto/cmac.c | 153 + Middlewares/Third_Party/Lora/Crypto/cmac.h | 63 + Middlewares/Third_Party/Lora/LICENSE.txt | 25 + Middlewares/Third_Party/Lora/Mac/LoRaMac.c | 3353 +++++++++++++++++ Middlewares/Third_Party/Lora/Mac/LoRaMac.h | 1961 ++++++++++ .../Third_Party/Lora/Mac/LoRaMacCrypto.c | 202 + .../Third_Party/Lora/Mac/LoRaMacCrypto.h | 111 + .../Third_Party/Lora/Mac/LoRaMacTest.h | 81 + .../Third_Party/Lora/Mac/region/Region.c | 1037 +++++ .../Third_Party/Lora/Mac/region/Region.h | 1492 ++++++++ .../Third_Party/Lora/Mac/region/RegionAS923.c | 1101 ++++++ .../Third_Party/Lora/Mac/region/RegionAS923.h | 503 +++ .../Third_Party/Lora/Mac/region/RegionAU915.c | 863 +++++ .../Third_Party/Lora/Mac/region/RegionAU915.h | 455 +++ .../Third_Party/Lora/Mac/region/RegionCN470.c | 814 ++++ .../Third_Party/Lora/Mac/region/RegionCN470.h | 441 +++ .../Third_Party/Lora/Mac/region/RegionCN779.c | 1051 ++++++ .../Third_Party/Lora/Mac/region/RegionCN779.h | 465 +++ .../Lora/Mac/region/RegionCommon.c | 362 ++ .../Lora/Mac/region/RegionCommon.h | 367 ++ .../Third_Party/Lora/Mac/region/RegionEU433.c | 1051 ++++++ .../Third_Party/Lora/Mac/region/RegionEU433.h | 466 +++ .../Third_Party/Lora/Mac/region/RegionEU868.c | 1082 ++++++ .../Third_Party/Lora/Mac/region/RegionEU868.h | 487 +++ .../Third_Party/Lora/Mac/region/RegionIN865.c | 1051 ++++++ .../Third_Party/Lora/Mac/region/RegionIN865.h | 468 +++ .../Third_Party/Lora/Mac/region/RegionKR920.c | 1052 ++++++ .../Third_Party/Lora/Mac/region/RegionKR920.h | 478 +++ .../Lora/Mac/region/RegionUS915-Hybrid.c | 964 +++++ .../Lora/Mac/region/RegionUS915-Hybrid.h | 448 +++ .../Third_Party/Lora/Mac/region/RegionUS915.c | 871 +++++ .../Third_Party/Lora/Mac/region/RegionUS915.h | 448 +++ Middlewares/Third_Party/Lora/Mac/timer.h | 86 + Middlewares/Third_Party/Lora/Phy/radio.h | 350 ++ .../Third_Party/Lora/Utilities/delay.c | 77 + .../Third_Party/Lora/Utilities/delay.h | 29 + .../Third_Party/Lora/Utilities/low_power.c | 149 + .../Third_Party/Lora/Utilities/low_power.h | 98 + .../Third_Party/Lora/Utilities/timeServer.c | 406 ++ .../Third_Party/Lora/Utilities/timeServer.h | 164 + .../Third_Party/Lora/Utilities/utilities.c | 85 + .../Third_Party/Lora/Utilities/utilities.h | 175 + Middlewares/Third_Party/Lora/readme.md | 750 ++++ Middlewares/Third_Party/Lora/st_readme.txt | 182 + 67 files changed, 35047 insertions(+), 12 deletions(-) create mode 100755 Drivers/BSP/Components/sx1272/Release_Notes.html create mode 100755 Drivers/BSP/Components/sx1272/sx1272.c create mode 100755 Drivers/BSP/Components/sx1272/sx1272.h create mode 100755 Drivers/BSP/Components/sx1272/sx1272Regs-Fsk.h create mode 100755 Drivers/BSP/Components/sx1272/sx1272Regs-LoRa.h create mode 100755 Drivers/BSP/sx1272mb2das/Release_Notes.html create mode 100755 Drivers/BSP/sx1272mb2das/sx1272mb2das.c create mode 100755 Drivers/BSP/sx1272mb2das/sx1272mb2das.h create mode 100755 Middlewares/Third_Party/Lora/Conf/Commissioning_template.h create mode 100755 Middlewares/Third_Party/Lora/Conf/Inc/hw_gpio_template.h create mode 100755 Middlewares/Third_Party/Lora/Conf/Inc/hw_rtc_template.h create mode 100755 Middlewares/Third_Party/Lora/Conf/Inc/hw_spi_template.h create mode 100755 Middlewares/Third_Party/Lora/Conf/Inc/hw_template.h create mode 100755 Middlewares/Third_Party/Lora/Conf/Src/hw_gpio_template.c create mode 100755 Middlewares/Third_Party/Lora/Conf/Src/hw_rtc_template.c create mode 100755 Middlewares/Third_Party/Lora/Conf/Src/hw_spi_template.c create mode 100755 Middlewares/Third_Party/Lora/Core/lora.c create mode 100755 Middlewares/Third_Party/Lora/Core/lora.h create mode 100755 Middlewares/Third_Party/Lora/Core/lora_mac_version.h create mode 100755 Middlewares/Third_Party/Lora/Crypto/aes.c create mode 100755 Middlewares/Third_Party/Lora/Crypto/aes.h create mode 100755 Middlewares/Third_Party/Lora/Crypto/cmac.c create mode 100755 Middlewares/Third_Party/Lora/Crypto/cmac.h create mode 100755 Middlewares/Third_Party/Lora/LICENSE.txt create mode 100755 Middlewares/Third_Party/Lora/Mac/LoRaMac.c create mode 100755 Middlewares/Third_Party/Lora/Mac/LoRaMac.h create mode 100755 Middlewares/Third_Party/Lora/Mac/LoRaMacCrypto.c create mode 100755 Middlewares/Third_Party/Lora/Mac/LoRaMacCrypto.h create mode 100755 Middlewares/Third_Party/Lora/Mac/LoRaMacTest.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/Region.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/Region.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionAS923.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionAS923.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionAU915.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionAU915.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionCN470.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionCN470.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionCN779.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionCN779.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionCommon.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionCommon.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionEU433.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionEU433.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionEU868.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionEU868.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionIN865.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionIN865.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionKR920.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionKR920.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionUS915-Hybrid.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionUS915-Hybrid.h create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionUS915.c create mode 100755 Middlewares/Third_Party/Lora/Mac/region/RegionUS915.h create mode 100755 Middlewares/Third_Party/Lora/Mac/timer.h create mode 100755 Middlewares/Third_Party/Lora/Phy/radio.h create mode 100755 Middlewares/Third_Party/Lora/Utilities/delay.c create mode 100755 Middlewares/Third_Party/Lora/Utilities/delay.h create mode 100755 Middlewares/Third_Party/Lora/Utilities/low_power.c create mode 100755 Middlewares/Third_Party/Lora/Utilities/low_power.h create mode 100755 Middlewares/Third_Party/Lora/Utilities/timeServer.c create mode 100755 Middlewares/Third_Party/Lora/Utilities/timeServer.h create mode 100755 Middlewares/Third_Party/Lora/Utilities/utilities.c create mode 100755 Middlewares/Third_Party/Lora/Utilities/utilities.h create mode 100755 Middlewares/Third_Party/Lora/readme.md create mode 100755 Middlewares/Third_Party/Lora/st_readme.txt diff --git a/.gitignore b/.gitignore index b60b97b..1653e4b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ cmake-* *.o *.elf *.a +.idea/ diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 39afa15..447824c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -11,7 +11,9 @@ - + + + - + @@ -32,8 +34,21 @@ + + + + + + + + + + + + + @@ -76,6 +92,11 @@ + + + + +