mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-04 14:16:44 +02:00
fix(mosq): Support build on older IDF branches
and added build jobs to CI
This commit is contained in:
2
.github/workflows/mosq__build.yml
vendored
2
.github/workflows/mosq__build.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
name: Mosquitto build
|
name: Mosquitto build
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
idf_ver: ["latest", "release-v5.3"]
|
idf_ver: ["latest", "release-v5.5", "release-v5.4", "release-v5.3", "release-v5.2", "release-v5.1"]
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container: espressif/idf:${{ matrix.idf_ver }}
|
container: espressif/idf:${{ matrix.idf_ver }}
|
||||||
env:
|
env:
|
||||||
|
@ -1,5 +1,13 @@
|
|||||||
menu "Mosquitto"
|
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
|
config MOSQ_ENABLE_SYS
|
||||||
bool "Enable $SYS topics"
|
bool "Enable $SYS topics"
|
||||||
default n
|
default n
|
||||||
|
@ -3,6 +3,8 @@
|
|||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||||
*/
|
*/
|
||||||
|
#include "freertos/FreeRTOS.h"
|
||||||
|
#include "freertos/event_groups.h"
|
||||||
#include "nvs_flash.h"
|
#include "nvs_flash.h"
|
||||||
#include "esp_event.h"
|
#include "esp_event.h"
|
||||||
#include "esp_netif.h"
|
#include "esp_netif.h"
|
||||||
|
Reference in New Issue
Block a user