Reorganize directories
This commit is contained in:
parent
10decb6886
commit
0f97ce4e0f
|
@ -1,2 +1,2 @@
|
|||
COMPONENT_ADD_INCLUDEDIRS := include
|
||||
COMPONENT_SRCDIRS := src
|
||||
COMPONENT_SRCDIRS := src src/aes src/hal src/lmic
|
||||
|
|
|
@ -22,11 +22,11 @@
|
|||
|
||||
// Copy the below hex string from the "Device EUI" field
|
||||
// on your device's overview page in the TTN console.
|
||||
const char *devEui = "????????????????";
|
||||
const char *devEui = "48AC328FF03E9294";
|
||||
|
||||
// Copy the below two lines from bottom of the same page
|
||||
const char *appEui = "????????????????";
|
||||
const char *appKey = "????????????????????????????????";
|
||||
const char *appEui = "70B3D57ED000C6CD";
|
||||
const char *appKey = "C1ADB6821EF7E906BC51D981DF07CCC4";
|
||||
|
||||
// Pins and other resources
|
||||
#define TTN_SPI_HOST HSPI_HOST
|
||||
|
@ -36,7 +36,7 @@ const char *appKey = "????????????????????????????????";
|
|||
#define TTN_PIN_SPI_MISO 19
|
||||
#define TTN_PIN_NSS 18
|
||||
#define TTN_PIN_RXTX TTN_NOT_CONNECTED
|
||||
#define TTN_PIN_RST 14
|
||||
#define TTN_PIN_RST TTN_NOT_CONNECTED
|
||||
#define TTN_PIN_DIO0 26
|
||||
#define TTN_PIN_DIO1 33
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@
|
|||
#include "esp_event.h"
|
||||
#include "esp_log.h"
|
||||
#include "TheThingsNetwork.h"
|
||||
#include "config.h"
|
||||
#include "hal.h"
|
||||
#include "hal_esp32.h"
|
||||
#include "lmic.h"
|
||||
#include "lmic/config.h"
|
||||
#include "lmic/hal.h"
|
||||
#include "hal/hal_esp32.h"
|
||||
#include "lmic/lmic.h"
|
||||
#include "provisioning.h"
|
||||
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "oslmic.h"
|
||||
#include "../lmic/oslmic.h"
|
||||
|
||||
#define AES_MICSUB 0x30 // internal use only
|
||||
|
|
@ -10,8 +10,8 @@
|
|||
* Hardware abstraction layer to run LMIC on a ESP32 using ESP-iDF.
|
||||
*******************************************************************************/
|
||||
|
||||
#include "lmic.h"
|
||||
#include "hal_esp32.h"
|
||||
#include "../lmic/lmic.h"
|
||||
#include "../hal/hal_esp32.h"
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
|
||||
#include "lmic.h"
|
||||
#include "hal_esp32.h"
|
||||
#include "../hal/hal_esp32.h"
|
||||
#include <stdbool.h>
|
||||
|
||||
// RUNTIME STATE
|
|
@ -17,8 +17,8 @@
|
|||
#include "esp_system.h"
|
||||
#include "nvs_flash.h"
|
||||
#include "provisioning.h"
|
||||
#include "lmic.h"
|
||||
#include "hal_esp32.h"
|
||||
#include "lmic/lmic.h"
|
||||
#include "hal/hal_esp32.h"
|
||||
|
||||
#define UART_NUM CONFIG_TTN_PROVISION_UART_NUM
|
||||
#define MAX_LINE_LENGTH 128
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#ifndef _provision_task_h_
|
||||
#define _provision_task_h_
|
||||
|
||||
#include "oslmic.h"
|
||||
#include "lmic/oslmic.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue