mirror of
				https://github.com/espressif/esp-protocols.git
				synced 2025-11-04 00:21:37 +01:00 
			
		
		
		
	fix(mosq): Support build on older IDF branches
and added build jobs to CI
This commit is contained in:
		@@ -1,5 +1,13 @@
 | 
			
		||||
menu "Mosquitto"
 | 
			
		||||
 | 
			
		||||
    config MOSQ_IS_ENABLED
 | 
			
		||||
        # Invisible option that is enabled if MOSQ is added to the IDF components.
 | 
			
		||||
        # This is used to "select" CONFIG_ESP_TLS_SERVER option (needed for TLS connection)
 | 
			
		||||
        # (these are optionally used in mosq)
 | 
			
		||||
        bool
 | 
			
		||||
        default "y"
 | 
			
		||||
        select ESP_TLS_SERVER
 | 
			
		||||
 | 
			
		||||
    config MOSQ_ENABLE_SYS
 | 
			
		||||
        bool "Enable $SYS topics"
 | 
			
		||||
        default n
 | 
			
		||||
 
 | 
			
		||||
@@ -3,6 +3,8 @@
 | 
			
		||||
 *
 | 
			
		||||
 * SPDX-License-Identifier: Unlicense OR CC0-1.0
 | 
			
		||||
 */
 | 
			
		||||
#include "freertos/FreeRTOS.h"
 | 
			
		||||
#include "freertos/event_groups.h"
 | 
			
		||||
#include "nvs_flash.h"
 | 
			
		||||
#include "esp_event.h"
 | 
			
		||||
#include "esp_netif.h"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user