Skip to content

Commit

Permalink
Update head file & fix dependency issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Love4yzp committed Feb 28, 2024
1 parent 7be9ac6 commit 901b436
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/LoRaWAN/adapter/systime.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <stdio.h>
#include "systime.h"
#include "esp_log.h"
#include <sys/time.h>

#define END_OF_FEBRUARY_LEAP 60 //31+29
#define END_OF_JULY_LEAP 213 //31+29+...
Expand Down
2 changes: 1 addition & 1 deletion components/LoRaWAN/adapter/systime.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C"
#endif

#include <stdint.h>
#include "time.h"
#include <time.h>
#include "timer.h"

/*!
Expand Down
1 change: 1 addition & 0 deletions components/LoRaWAN/common/NvmDataMgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#include "NvmDataMgmt.h"
#include "nvs_flash.h"
#include "esp_log.h"
#include <string.h>
/*!
* Enables/Disables the context storage management storage.
* Must be enabled for LoRaWAN 1.0.4 or later.
Expand Down
3 changes: 2 additions & 1 deletion examples/console/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ cmake_minimum_required(VERSION 3.5)

add_compile_options(-Wno-format)


set(EXTRA_COMPONENT_DIRS ../../components
$ENV{IDF_PATH}/examples/system/console/advanced/components
$ENV{IDF_PATH}/examples/common_components/iperf)

set(EXCLUDE_COMPONENTS LoRaWAN)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

project(console)
2 changes: 2 additions & 0 deletions examples/esp32_rp2040_comm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ../../components)

set(EXCLUDE_COMPONENTS LoRaWAN)

add_compile_options(-fdiagnostics-color=always -w)

project(esp32_rp2040_comm)
2 changes: 2 additions & 0 deletions examples/indicator_basis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ../../components)

set(EXCLUDE_COMPONENTS LoRaWAN)

add_compile_options(-fdiagnostics-color=always -w)

project(indicator_basis)
2 changes: 2 additions & 0 deletions examples/indicator_ha/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ../../components)

set(EXCLUDE_COMPONENTS LoRaWAN)

add_compile_options(-fdiagnostics-color=always -w)

project(indicator_ha)
2 changes: 2 additions & 0 deletions examples/indicator_lora/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ../../components)

set(EXCLUDE_COMPONENTS LoRaWAN)

add_compile_options(-fdiagnostics-color=always -w)

project(lora_demo)

0 comments on commit 901b436

Please sign in to comment.