Browse Source

Add config files to default flash config

master
jrhoffa 3 years ago
parent
commit
6efddbbc87
4 changed files with 3 additions and 0 deletions
  1. +2
    -0
      CMakeLists.txt
  2. +1
    -0
      files/blinky.json
  3. +0
    -0
      files/colors.json
  4. +0
    -0
      files/presets.json

+ 2
- 0
CMakeLists.txt View File

@@ -6,3 +6,5 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(blinky)

target_add_binary_data(blinky.elf "main/broker.pem" TEXT)

spiffs_create_partition_image(storage files FLASH_IN_PROJECT)

+ 1
- 0
files/blinky.json View File

@@ -0,0 +1 @@
{"length":50, "state": "ON", "effect": "rainbow"}

main/colors.json → files/colors.json View File


main/presets.json → files/presets.json View File


Loading…
Cancel
Save