Преглед изворни кода

Update espressif32 to v5.2.0

jomjol пре 3 година
родитељ
комит
641609e187

+ 1 - 1
Changelog.md

@@ -8,7 +8,7 @@
 
 ### Changed
 
--   n.a.
+-   Updated built environment to `espressif32@v5.2.0`
 
 ### Fixed
 

+ 2 - 1
code/components/jomjol_controlGPIO/SmartLeds.h

@@ -269,7 +269,8 @@ private:
     std::unique_ptr< Rgb[] > _secondBuffer;
     Rgb *_buffer;
 
-    xSemaphoreHandle _finishedFlag;
+    SemaphoreHandle_t _finishedFlag;
+//    xSemaphoreHandle _finishedFlag;
 
     int _pixelPosition;
     int _componentPosition;

+ 2 - 1
code/dependencies.lock

@@ -1,2 +1,3 @@
-manifest_hash: 45994dbfed009907994c31f6d279c5861a1eacbf219ce8b58e74e39b3393816a
+manifest_hash: 4e37bb0f9273c4de05f38688720fe32aa6e5b892452694a4f7a2ca1659f02cf6
+target: esp32
 version: 1.0.0

+ 2 - 0
code/main/main.cpp

@@ -118,6 +118,8 @@ bool Init_NVS_SDCard()
 
 void task_NoSDBlink(void *pvParameter)
 {
+//    esp_rom_gpio_pad_select_gpio(BLINK_GPIO);
+
     gpio_pad_select_gpio(BLINK_GPIO);
     gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);  
 

+ 2 - 4
code/platformio.ini

@@ -13,14 +13,12 @@
 src_dir = main
 
 [env:esp32cam]
-platform = espressif32@4.4.0
-;platform = espressif32@5.1.0
-;platform = espressif32
+;platform = espressif32@4.4.0
+platform = espressif32@5.2.0
 board = esp32cam
 ;board = m5stack-core-esp32
 framework = espidf
 
-;board_build.partitions = partitions_singleapp.csv
 board_build.partitions = partitions.csv
 
 lib_deps =