path to double run

This commit is contained in:
marc 2025-11-16 11:40:01 +01:00
parent 430f1c90fd
commit ef55ef2519
6 changed files with 25 additions and 26 deletions

View File

@ -8,7 +8,7 @@ make_font(24)
idf_component_register(SRC_DIRS . fonts
INCLUDE_DIRS "include"
REQUIRES meteofrance eventsManager lvgl)
REQUIRES meteofrance eventsManager lvgl esp32_p4_function_ev_board)
if(${IDF_TARGET} STREQUAL "esp32p4")

View File

@ -5,6 +5,7 @@
#include "meteofrance.h"
#include "cJSON.h"
#include "eventsManager.h"
#include "bsp/esp-bsp.h"
#define upEvent "monter"
@ -40,13 +41,6 @@ static lv_subject_t wifiStatus;
LV_IMAGE_DECLARE(wifi_ok);
LV_IMAGE_DECLARE(wifi_ko);
int bsp_display_lock(int arg){
return 1;
}
void bsp_display_unlock(){
}
static void wifiStatus_obs_cb(lv_observer_t * observer, lv_subject_t * subject)
{
ESP_LOGV(TAG, "On passe dans le callback de chgt de statut; %li", lv_subject_get_int(subject));

View File

@ -0,0 +1,6 @@
int bsp_display_lock(int arg){
return 1;
}
void bsp_display_unlock(){
}

View File

@ -11,8 +11,6 @@
#include "meteofrance.h"
#include "FreeRTOS.h"
#include "task.h"
#include "esp_system.h"
#include "esp_log.h"

View File

@ -3,7 +3,7 @@ set(EXTRA_COMPONENT_DIRS ../components)
set(comps heap nvs_flash meteofrance esp_netif image_downloader fatfs protocol_examples_common mqtt domotic_display )
if(${IDF_TARGET} STREQUAL "esp32p4")
list(APPEND comps sdmmc vfs littlefs wifi_logger app_update esp_https_ota espcoredump esp_http_server esp_wifi)
list(APPEND comps bsp_extra esp32_p4_function_ev_board sdmmc vfs littlefs wifi_logger app_update esp_https_ota espcoredump esp_http_server esp_wifi )
endif()
idf_component_register(SRC_DIRS .
INCLUDE_DIRS "."

View File

@ -1,18 +1,18 @@
dependencies:
espressif/bh1750: "^1.0.3"
espressif/bh1750: ^1.0.3
espressif/esp_wifi_remote:
rules:
- if: target in ["esp32p4"]
version: "0.14.4"
version: 0.14.4
suda-morris/am2302_rmt:
version: "^1.0.0"
version: ^1.0.0
rules:
- if: target in ["esp32p4"]
joltwallet/littlefs:
rules:
- if: target in ["esp32p4"]
version: "^1.14.8"
version: ^1.14.8
esp_lcd_touch_gt911:
rules:
- if: target in ["esp32p4"]
@ -21,8 +21,9 @@ dependencies:
- if: target in ["esp32p4"]
version: 2.6.0
idf:
version: '5.5.*'
version: 5.5.*
lvgl/lvgl:
version: 9.4.0
#espressif/esp32_p4_function_ev_board:
# version: "4.1.*"
espressif/esp32_p4_function_ev_board: '*'