mirror of
				https://github.com/manuelbl/ttn-esp32.git
				synced 2025-10-31 18:50:33 +01:00 
			
		
		
		
	Compatibility with ESP-IDF v4.x
This commit is contained in:
		| @ -12,3 +12,6 @@ set(COMPONENT_REQUIRES | |||||||
| ) | ) | ||||||
|  |  | ||||||
| register_component() | register_component() | ||||||
|  |  | ||||||
|  | target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-expansion-to-defined) | ||||||
|  |  | ||||||
|  | |||||||
| @ -11,6 +11,7 @@ | |||||||
|  *******************************************************************************/ |  *******************************************************************************/ | ||||||
|  |  | ||||||
| #include "freertos/FreeRTOS.h" | #include "freertos/FreeRTOS.h" | ||||||
|  | #include "driver/gpio.h" | ||||||
| #include "esp_event.h" | #include "esp_event.h" | ||||||
| #include "nvs_flash.h" | #include "nvs_flash.h" | ||||||
|  |  | ||||||
|  | |||||||
| @ -11,6 +11,7 @@ | |||||||
|  *******************************************************************************/ |  *******************************************************************************/ | ||||||
|  |  | ||||||
| #include "freertos/FreeRTOS.h" | #include "freertos/FreeRTOS.h" | ||||||
|  | #include "driver/gpio.h" | ||||||
| #include "esp_event.h" | #include "esp_event.h" | ||||||
| #include "nvs_flash.h" | #include "nvs_flash.h" | ||||||
|  |  | ||||||
|  | |||||||
| @ -11,6 +11,7 @@ | |||||||
|  *******************************************************************************/ |  *******************************************************************************/ | ||||||
|  |  | ||||||
| #include "freertos/FreeRTOS.h" | #include "freertos/FreeRTOS.h" | ||||||
|  | #include "driver/gpio.h" | ||||||
| #include "esp_event.h" | #include "esp_event.h" | ||||||
| #include "nvs_flash.h" | #include "nvs_flash.h" | ||||||
|  |  | ||||||
|  | |||||||
| @ -12,6 +12,7 @@ | |||||||
|  |  | ||||||
| #include "freertos/FreeRTOS.h" | #include "freertos/FreeRTOS.h" | ||||||
| #include "esp_event.h" | #include "esp_event.h" | ||||||
|  | #include "driver/gpio.h" | ||||||
| #include "nvs_flash.h" | #include "nvs_flash.h" | ||||||
|  |  | ||||||
| #include "TheThingsNetwork.h" | #include "TheThingsNetwork.h" | ||||||
|  | |||||||
| @ -17,6 +17,8 @@ | |||||||
| #include <freertos/FreeRTOS.h> | #include <freertos/FreeRTOS.h> | ||||||
| #include <freertos/queue.h> | #include <freertos/queue.h> | ||||||
| #include <freertos/task.h> | #include <freertos/task.h> | ||||||
|  | #include <freertos/semphr.h> | ||||||
|  | #include <driver/gpio.h> | ||||||
| #include <driver/spi_master.h> | #include <driver/spi_master.h> | ||||||
| #include <esp_timer.h> | #include <esp_timer.h> | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user