Kaynağa Gözat

Add missing partition file and update GH actions to run nanofoc build

Scott Bezek 2 yıl önce
ebeveyn
işleme
d64cc55432
2 değiştirilmiş dosya ile 19 ekleme ve 1 silme
  1. 8 1
      .github/workflows/pio.yml
  2. 11 0
      firmware/partitions-4MB-spiffs.csv

+ 8 - 1
.github/workflows/pio.yml

@@ -40,4 +40,11 @@ jobs:
       if: always() && steps.pio_install.outcome == 'success'
       run: |
         pio run \
-          -e view \
+          -e view
+
+    - name: Build Firmware (nanofoc)
+      # Run regardless of other build step failures, as long as setup steps completed
+      if: always() && steps.pio_install.outcome == 'success'
+      run: |
+        pio run \
+          -e nanofoc

+ 11 - 0
firmware/partitions-4MB-spiffs.csv

@@ -0,0 +1,11 @@
+# ESP-IDF Partition Table
+# Name,   Type, SubType, Offset,  Size, Flags
+# bootloader.bin,,          0x1000, 32K
+# partition table,          0x8000, 4K
+
+nvs,      data, nvs,      0x9000,  20K,
+otadata,  data, ota,      0xe000,  8K,
+ota_0,    0,    ota_0,   0x10000,  1408K,
+ota_1,    0,    ota_1,  0x170000,  1408K,
+uf2,      app,  factory,0x2d0000,  256K,
+spiffs,   data, spiffs, 0x310000,  960K,