This commit is contained in:
Alexander 2024-01-06 03:00:04 -05:00
parent 78c08718ee
commit 2d5e4f803b
29 changed files with 44435 additions and 41521 deletions

View File

@ -3,5 +3,7 @@
"idf.adapterTargetName": "esp32s2",
"idf.openOcdConfigs": [
"board/esp32s2-bridge.cfg"
]
],
"idf.portWin": "COM4",
"idf.flashType": "UART"
}

View File

@ -1 +1 @@
c69a316974ed7314f028cf78145ab9a2 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/multi_device.bin
2b78a25ea2b718ae5a61a575303e87a0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/multi_device.bin

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,14 @@
# =============================================================================
# =============================================================================
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for compiling C files.
@ -32,14 +40,6 @@ rule CXX_EXECUTABLE_LINKER__multi_device.2eelf_
restat = $RESTAT
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for compiling ASM files.

View File

@ -1,74 +1,78 @@
# ninja log v5
6571 7562 7262264373611092 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s2/bootloader_esp32s2.c.obj ad6462c1b86deb69
11686 12461 7262264424056146 esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj 1dd0071d8ce6fae
7 499 7262264303259308 project_elf_src_esp32s2.c 44cc5e3a25be632d
949 1728 7262264314289797 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/rmt_periph.c.obj 870ffe9df0930809
500 1020 7262264309203413 CMakeFiles/bootloader.elf.dir/project_elf_src_esp32s2.c.obj 775a8623002b3e8
7 499 7262264303259308 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/bootloader/project_elf_src_esp32s2.c 44cc5e3a25be632d
362 981 7262264309143567 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/uart_periph.c.obj f2f07785474b7ee6
3364 4110 7262264340210442 esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj 29bb1dacd8ab85ee
71 639 7262264305214065 esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/eri.c.obj a985c64fc3c091c
3626 4606 7262264344060156 esp-idf/hal/CMakeFiles/__idf_hal.dir/cache_hal.c.obj 482d1f4352076643
5509 6398 7262264362929667 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj 5eae25b6e6f87525
188 716 7262264305952096 esp-idf/xtensa/CMakeFiles/__idf_xtensa.dir/xt_trax.c.obj c133f93c0c546a29
220 770 7262264306769949 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/gpio_periph.c.obj 7782f7f04f6fad0a
2322 2986 7262264329319576 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/touch_sensor_periph.c.obj 7b50bf5e4a2e83b3
270 940 7262264308704729 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/interrupts.c.obj f927999164a6cb95
362 981 7262264309143567 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/uart_periph.c.obj f2f07785474b7ee6
500 1020 7262264309203413 CMakeFiles/bootloader.elf.dir/project_elf_src_esp32s2.c.obj 775a8623002b3e8
6399 6976 7262264368704227 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj c52bdd207846b32c
641 1185 7262264311148196 esp-idf/soc/CMakeFiles/__idf_soc.dir/dport_access_common.c.obj 21e9f5d3d3297630
5649 6632 7262264364684969 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj 83086e205ed37d40
4854 5648 7262264355908467 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32s2.c.obj 171618a66962a293
824 1450 7262264313192724 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/pcnt_periph.c.obj fc05af629c58485f
5332 6273 7262264361593374 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj d262189a67f41325
8883 9636 7262264395582324 esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj 8b1f3412bfed75c2
2672 3330 7262264331892696 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/dac_periph.c.obj 8e62ddb6e7f95e84
718 1704 7262264313392194 esp-idf/soc/CMakeFiles/__idf_soc.dir/lldesc.c.obj 4cb1638d321c55de
949 1728 7262264314289797 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/rmt_periph.c.obj 870ffe9df0930809
3924 4765 7262264346742964 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj 7beb1808a5c3a174
4111 4931 7262264347929801 esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj be6a1f238404a28c
982 1770 7262264315426741 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/adc_periph.c.obj 2d337a32ded47a4c
18184 19720 7262264496372688 esp-idf/esp_app_format/libesp_app_format.a 1e943df7ea4f4825
1021 1821 7262264315686051 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/spi_periph.c.obj f23777d7495cc2bd
4607 5331 7262264352567381 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj c5f97779a9fbce8
5549 6570 7262264364954245 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj 2221c8a52c6488ca
1228 1873 7262264317401456 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/ledc_periph.c.obj d5670cba491d5e8c
5967 7330 7262264371177602 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj cd8658d7099d7c56
1729 2162 7262264320752509 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/sdm_periph.c.obj 49c46391a89834cc
1705 2226 7262264321131500 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/timer_periph.c.obj 8b5b457c88e0cf93
1662 2279 7262264321709935 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/dedic_gpio_periph.c.obj fdfb2dcabe6b9257
6977 7926 7262264377770045 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj 5e617d4bd98405e7
6633 7428 7262264371815916 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj 4eb5d3a65759149c
1771 2321 7262264322138792 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/temperature_sensor_periph.c.obj 84dcd9e08fb3826c
1874 2408 7262264322966579 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/i2c_periph.c.obj d853cb131f8f41d9
1822 2473 7262264323505226 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/i2s_periph.c.obj b66d3b5907349982
8619 9458 7262264394076344 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s2/esp_efuse_rtc_table.c.obj 151541566b2bb51e
2176 2671 7262264325908697 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/lcd_periph.c.obj f16d180a731a22a9
2227 2747 7262264326925975 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/usb_periph.c.obj 4139d62dfaaacbf7
2280 2842 7262264327584217 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/rtc_io_periph.c.obj 97488fbeb1d93e11
2425 2954 7262264328820932 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/twai_periph.c.obj 52e4aab21e2ee58f
2322 2986 7262264329319576 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/touch_sensor_periph.c.obj 7b50bf5e4a2e83b3
2539 3105 7262264329967857 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/usb_otg_periph.c.obj e66941f6c7dd7e3
2672 3330 7262264331892696 esp-idf/soc/CMakeFiles/__idf_soc.dir/esp32s2/dac_periph.c.obj 8e62ddb6e7f95e84
4801 5508 7262264353684403 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj a50fd2463eb1935d
2843 3613 7262264335064214 esp-idf/hal/CMakeFiles/__idf_hal.dir/efuse_hal.c.obj 80c7d626490de7c2
3106 3891 7262264338006357 esp-idf/hal/CMakeFiles/__idf_hal.dir/esp32s2/efuse_hal.c.obj 9dcf7ce57d5e44f6
4646 5547 7262264353893876 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj b06a8f13bf8a7437
2987 3923 7262264338205817 esp-idf/hal/CMakeFiles/__idf_hal.dir/mmu_hal.c.obj 4abcaf48e97fb1d
2955 3974 7262264338834141 esp-idf/hal/CMakeFiles/__idf_hal.dir/wdt_hal_iram.c.obj 6dfe71d7627c504f
3364 4110 7262264340210442 esp-idf/hal/CMakeFiles/__idf_hal.dir/mpu_hal.c.obj 29bb1dacd8ab85ee
15 170 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 609232c377c67fc
2748 4388 7262264342713754 esp-idf/micro-ecc/CMakeFiles/__idf_micro-ecc.dir/uECC_verify_antifault.c.obj b50b75cb701669ae
3626 4606 7262264344060156 esp-idf/hal/CMakeFiles/__idf_hal.dir/cache_hal.c.obj 482d1f4352076643
10228 10991 7262264409215840 esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj fef85abb08f1aea9
3893 4645 7262264344728360 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_init.c.obj 823712fdb0a37a2d
3924 4765 7262264346742964 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common_loader.c.obj 7beb1808a5c3a174
7928 8881 7262264387523869 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj 11f462d243513869
3976 4852 7262264347231656 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_common.c.obj 3f1d007ac9f108c8
4111 4931 7262264347929801 esp-idf/spi_flash/CMakeFiles/__idf_spi_flash.dir/spi_flash_wrap.c.obj be6a1f238404a28c
4560 5275 7262264352038805 esp-idf/esp_app_format/CMakeFiles/__idf_esp_app_format.dir/esp_app_desc.c.obj e72fe48d2356fad8
4607 5331 7262264352567381 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_mem.c.obj c5f97779a9fbce8
4801 5508 7262264353684403 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_efuse.c.obj a50fd2463eb1935d
4646 5547 7262264353893876 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random.c.obj b06a8f13bf8a7437
4854 5648 7262264355908467 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_random_esp32s2.c.obj 171618a66962a293
4932 5965 7262264358691008 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash_config_esp32s2.c.obj c15e32722a0fa294
5276 6095 7262264359947636 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj bd3c9ca847124fd7
5332 6273 7262264361593374 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_encrypt.c.obj d262189a67f41325
5509 6398 7262264362929667 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_panic.c.obj 5eae25b6e6f87525
5549 6570 7262264364954245 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/bootloader_flash.c.obj 2221c8a52c6488ca
5649 6632 7262264364684969 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/bootloader_flash/src/flash_qio_mode.c.obj 83086e205ed37d40
6096 6701 7262264365442936 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s2/bootloader_soc.c.obj ea703b3b5fe890ef
6399 6976 7262264368704227 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console_loader.c.obj c52bdd207846b32c
6345 7154 7262264370898344 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s2/bootloader_sha.c.obj 6d493517ed75a49c
5967 7330 7262264371177602 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_utility.c.obj cd8658d7099d7c56
6702 7370 7262264372065330 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj 93d17d78e0f55d0d
6633 7428 7262264371815916 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_clock_loader.c.obj 4eb5d3a65759149c
6571 7562 7262264373611092 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s2/bootloader_esp32s2.c.obj ad6462c1b86deb69
6977 7926 7262264377770045 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_init.c.obj 5e617d4bd98405e7
7332 8053 7262264379824459 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj e3c26931f8e80b81
7372 8215 7262264381240697 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_api.c.obj 4f0c4092fbba100d
5276 6095 7262264359947636 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/secure_boot.c.obj bd3c9ca847124fd7
6096 6701 7262264365442936 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s2/bootloader_soc.c.obj ea703b3b5fe890ef
6702 7370 7262264372065330 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/flash_partitions.c.obj 93d17d78e0f55d0d
6345 7154 7262264370898344 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp32s2/bootloader_sha.c.obj 6d493517ed75a49c
7332 8053 7262264379824459 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/bootloader_console.c.obj e3c26931f8e80b81
7563 8412 7262264382557156 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s2/esp_efuse_utility.c.obj c57f35d4e93ace0
7277 8618 7262264382966055 esp-idf/bootloader_support/CMakeFiles/__idf_bootloader_support.dir/src/esp_image_format.c.obj 34096b8dbe8a5444
7429 8664 7262264383065795 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_fields.c.obj e15358811f168098
7928 8881 7262264387523869 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/esp_efuse_utility.c.obj 11f462d243513869
8054 9029 7262264389199383 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/src/efuse_controller/keys/with_key_purposes/esp_efuse_api_key.c.obj 3086d93b89d76adc
8216 9070 7262264389229312 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s2/esp_efuse_table.c.obj 763bc0ec113db374
8539 9313 7262264391892193 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s2/esp_efuse_fields.c.obj a86c76418d32de27
8665 9427 7262264393537787 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s2/esp_efuse_rtc_calib.c.obj 488ffefd9a7af2da
8619 9458 7262264394076344 esp-idf/efuse/CMakeFiles/__idf_efuse.dir/esp32s2/esp_efuse_rtc_table.c.obj 151541566b2bb51e
8883 9636 7262264395582324 esp-idf/esp_system/CMakeFiles/__idf_esp_system.dir/esp_err.c.obj 8b1f3412bfed75c2
9031 9681 7262264395612228 esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/cpu.c.obj ca8ec43a4bd147e
9071 9731 7262264395861552 esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/esp_memory_utils.c.obj 946cfaf48f9cd90
9428 10048 7262264399272428 esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s2/cpu_region_protect.c.obj 689db04c32838c69
@ -78,7 +82,6 @@
9637 10513 7262264403740498 esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s2/rtc_time.c.obj c40ed8c7f2a2026b
9682 10617 7262264404298988 esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s2/rtc_init.c.obj 4781a4be8803d286
10172 10925 7262264408447888 esp-idf/esp_hw_support/CMakeFiles/__idf_esp_hw_support.dir/port/esp32s2/rtc_sleep.c.obj 5f7567b263a7533a
10228 10991 7262264409215840 esp-idf/esp_common/CMakeFiles/__idf_esp_common.dir/src/esp_err_to_name.c.obj fef85abb08f1aea9
10330 11055 7262264409834176 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_crc.c.obj 21806f2ef2180138
10446 11187 7262264410133381 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_longjmp.S.obj 5cff63b05a03a507
10515 11244 7262264411719135 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_regi2c_esp32s2.c.obj 7a1013d92631745a
@ -87,10 +90,11 @@
10992 11723 7262264416057536 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_sys.c.obj f4acb73cdc4e2a20
11188 11826 7262264417154594 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_cache_esp32s2_esp32s3.c.obj a5244c80f32408dd
11057 11907 7262264417772951 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_efuse.c.obj 2d774f6638d7636f
26475 27945 7262264578104015 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/bootloader/.bin_timestamp 983275e51272998c
11245 12024 7262264418700457 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/esp32s2/usb_descriptors.c.obj 984d44b48dd5b667
11375 12193 7262264420136686 esp-idf/esp_rom/CMakeFiles/__idf_esp_rom.dir/patches/esp_rom_systimer.c.obj 63600b7941f60e6d
11686 12461 7262264424056146 esp-idf/log/CMakeFiles/__idf_log.dir/log_buffers.c.obj 1dd0071d8ce6fae
11724 12501 7262264424584726 esp-idf/log/CMakeFiles/__idf_log.dir/log_noos.c.obj 987eab02b0f0b787
16182 16808 7262264466452709 esp-idf/efuse/libefuse.a 59c892d9db3b1ae4
11827 12572 7262264425133244 esp-idf/log/CMakeFiles/__idf_log.dir/log.c.obj 6038fe23fe0e5a1f
11908 12659 7262264426060770 esp-idf/main/CMakeFiles/__idf_main.dir/bootloader_start.c.obj a6c8c2d8330b028c
12573 13358 7262264432623219 esp-idf/log/liblog.a 9be8495bb7600fb1
@ -98,9 +102,7 @@
13984 14863 7262264447044627 esp-idf/esp_common/libesp_common.a 90185aee3d15368b
14864 15443 7262264452948830 esp-idf/esp_hw_support/libesp_hw_support.a 8bac03c7479c9843
15444 16168 7262264460797836 esp-idf/esp_system/libesp_system.a d151a1e655fc100e
16182 16808 7262264466452709 esp-idf/efuse/libefuse.a 59c892d9db3b1ae4
16808 18183 7262264478580258 esp-idf/bootloader_support/libbootloader_support.a 6af4ed7bfeab033b
18184 19720 7262264496372688 esp-idf/esp_app_format/libesp_app_format.a 1e943df7ea4f4825
19753 20653 7262264504770204 esp-idf/spi_flash/libspi_flash.a 41073b2a0e4849eb
20653 21583 7262264513865858 esp-idf/hal/libhal.a 6947bf921fe3e32e
21584 22812 7262264527170265 esp-idf/micro-ecc/libmicro-ecc.a c93d9f0233c8a6b8
@ -109,6 +111,7 @@
24717 25505 7262264554227881 esp-idf/main/libmain.a c975663371da994b
25506 26475 7262264563493092 bootloader.elf ef9aa6f9f2b57ae8
26475 27945 7262264578104015 .bin_timestamp 983275e51272998c
26475 27945 7262264578104015 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/bootloader/.bin_timestamp 983275e51272998c
27946 28357 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 609232c377c67fc
27946 28357 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 609232c377c67fc
15 170 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 609232c377c67fc
10 24068 7262308020716069 build.ninja 9edffea401ae5988
14 290 0 esp-idf/esptool_py/CMakeFiles/bootloader_check_size 609232c377c67fc
14 290 0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/bootloader/esp-idf/esptool_py/CMakeFiles/bootloader_check_size 609232c377c67fc

File diff suppressed because one or more lines are too long

View File

@ -69,7 +69,12 @@ build gen_project_binary: phony CMakeFiles/gen_project_binary .bin_timestamp mul
#############################################
# Utility command for app
build app: phony CMakeFiles/app esp-idf/esptool_py/app_check_size gen_project_binary
build CMakeFiles/app.util: CUSTOM_COMMAND CMakeFiles/app esp-idf/esptool_py/app_check_size gen_project_binary
COMMAND = cmd.exe /C "cd /D C:\Users\alex\github\ESP-Nodes\ESP32-Rainmaker-Multidevice\multi_device\build && c:\Users\alex\.espressif\tools\python_env\idf5.1_py3.11_env\Scripts\python.exe C:/Users/alex/.espressif/tools/esp-rainmaker/components/esp-insights/components/esp_insights/scripts/get_projbuild_gitconfig.py C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device multi_device 1.0 C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build/project_build_config.json C:/Users/alex/esp/esp-idf xtensa-esp32s2-elf- && C:\Users\alex\.espressif\tools\tools\cmake\3.24.0\bin\cmake.exe -D BUILD_DIR=C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device/build -D PROJECT_DIR=C:/Users/alex/github/ESP-Nodes/ESP32-Rainmaker-Multidevice/multi_device -D PROJECT_NAME=multi_device -D PROJECT_VER=1.0 -D ARCHIVE_DIR=multi_device-v1.0 -D PROJ_CONFIG_FILE=project_build_config.json -D PARTITION_CSV_FILE=partitions.csv -P C:/Users/alex/.espressif/tools/esp-rainmaker/components/esp-insights/components/esp_insights/scripts/gen_tar_dir.cmake && C:\Users\alex\.espressif\tools\tools\cmake\3.24.0\bin\cmake.exe -E echo "===================== Generating insights firmware package build/multi_device-v1.0.zip ======================" && C:\Users\alex\.espressif\tools\tools\cmake\3.24.0\bin\cmake.exe -E tar cfv multi_device-v1.0.zip multi_device-v1.0 --format=zip && C:\Users\alex\.espressif\tools\tools\cmake\3.24.0\bin\cmake.exe -E remove_directory multi_device-v1.0 && C:\Users\alex\.espressif\tools\tools\cmake\3.24.0\bin\cmake.exe -E remove project_build_config.json"
DESC = Running utility command for app
restat = 1
build app: phony CMakeFiles/app.util
#############################################

File diff suppressed because one or more lines are too long

View File

@ -765,6 +765,7 @@
#define CONFIG_DIAG_ENABLE_VARIABLES 1
#define CONFIG_DIAG_VARIABLES_MAX_COUNT 20
#define CONFIG_DIAG_ENABLE_NETWORK_VARIABLES 1
#define CONFIG_ESP_INSIGHTS_ENABLED 1
#define CONFIG_ESP_INSIGHTS_TRANSPORT_HTTPS 1
#define CONFIG_ESP_INSIGHTS_TRANSPORT_HTTPS_HOST "https://client.insights.espressif.com"
#define CONFIG_ESP_INSIGHTS_CLOUD_POST_MIN_INTERVAL_SEC 60

View File

@ -19,6 +19,7 @@
"APP_COMPILE_TIME_DATE": true,
"APP_EXCLUDE_PROJECT_NAME_VAR": false,
"APP_EXCLUDE_PROJECT_VER_VAR": false,
"APP_INSIGHTS_ENABLE_LOG_TYPE_ALL": false,
"APP_NO_BLOBS": false,
"APP_PROJECT_VER_FROM_CONFIG": false,
"APP_REPRODUCIBLE_BUILD": false,
@ -197,7 +198,8 @@
"ESP_HTTP_CLIENT_ENABLE_HTTPS": true,
"ESP_INSIGHTS_CLOUD_POST_MAX_INTERVAL_SEC": 240,
"ESP_INSIGHTS_CLOUD_POST_MIN_INTERVAL_SEC": 60,
"ESP_INSIGHTS_ENABLED": false,
"ESP_INSIGHTS_DEBUG_ENABLED": false,
"ESP_INSIGHTS_ENABLED": true,
"ESP_INSIGHTS_TRANSPORT_HTTPS": true,
"ESP_INSIGHTS_TRANSPORT_HTTPS_HOST": "https://client.insights.espressif.com",
"ESP_INSIGHTS_TRANSPORT_MQTT": false,

View File

@ -0,0 +1,5 @@
Server running, waiting for requests on stdin...
Loading config from c:\Users\alex\github\ESP-Nodes\ESP32-Rainmaker-Multidevice\multi_device\sdkconfig...
Saving config to c:\Users\alex\github\ESP-Nodes\ESP32-Rainmaker-Multidevice\multi_device\sdkconfig...
Loading config from c:\Users\alex\github\ESP-Nodes\ESP32-Rainmaker-Multidevice\multi_device\sdkconfig...
Saving config to c:\Users\alex\github\ESP-Nodes\ESP32-Rainmaker-Multidevice\multi_device\sdkconfig...

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -14,7 +14,15 @@
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
Compiled with ESP-IDF v.5.1.2; ESP-Rainmaker 21-Nov-2022
NOTES:
Compiled with ESP-IDF v.5.1.2; ESP-Rainmaker 21-Nov-2022
Specify chip ESP32S2 in a file settings.json
Ensure that SDK Configuration has setting set CONFIG_IDF_TARGET="esp32s2"
Ensure that log output is set to a Serial console (UART) => Channel for console output: UART0
Rainmaker default MQTT port 443 (i.e. unencrypted), protocol 3.1.1
ESP Insights enabled
*/
#include <string.h>
@ -36,20 +44,27 @@
static const char *TAG = "app_main";
// A group of devices that a part of this node
esp_rmaker_device_t *switch_device;
esp_rmaker_device_t *light_device;
esp_rmaker_device_t *fan_device;
esp_rmaker_device_t *temp_sensor_device;
// Additional devices
esp_rmaker_device_t *switch_1;
esp_rmaker_device_t *switch_2;
esp_rmaker_device_t *temp_sensor;
/* Callback to handle commands received from the RainMaker cloud */
static esp_err_t write_cb(const esp_rmaker_device_t *device, const esp_rmaker_param_t *param,
const esp_rmaker_param_val_t val, void *priv_data, esp_rmaker_write_ctx_t *ctx)
{
if (ctx) {
// Write status update to the serial terminal.
ESP_LOGI(TAG, "Received write request via : %s", esp_rmaker_device_cb_src_to_str(ctx->src));
}
const char *device_name = esp_rmaker_device_get_name(device);
const char *param_name = esp_rmaker_param_get_name(param);
// Compare parameter name that made call back against initiated devices
if (strcmp(param_name, ESP_RMAKER_DEF_POWER_NAME) == 0) {
ESP_LOGI(TAG, "Received value = %s for %s - %s",
val.val.b? "true" : "false", device_name, param_name);
@ -74,11 +89,14 @@ void app_main()
{
/* Initialize Application specific hardware drivers and
* set initial state.
*/
*/
app_driver_init();
app_driver_set_state(DEFAULT_SWITCH_POWER);
/* Initialize NVS. */
/*
Non-volatile storage (NVS) library is designed to store key-value pairs in flash.
*/
esp_err_t err = nvs_flash_init();
if (err == ESP_ERR_NVS_NO_FREE_PAGES || err == ESP_ERR_NVS_NEW_VERSION_FOUND) {
ESP_ERROR_CHECK(nvs_flash_erase());
@ -96,7 +114,7 @@ void app_main()
esp_rmaker_config_t rainmaker_cfg = {
.enable_time_sync = false,
};
esp_rmaker_node_t *node = esp_rmaker_node_init(&rainmaker_cfg, "ESP RainMaker Multi Device", "Multi Device");
esp_rmaker_node_t *node = esp_rmaker_node_init(&rainmaker_cfg, "ESP32S2 RainMaker MultiDevice", "ESP32S2 Multi Device");
if (!node) {
ESP_LOGE(TAG, "Could not initialise node. Aborting!!!");
vTaskDelay(5000/portTICK_PERIOD_MS);
@ -108,6 +126,11 @@ void app_main()
esp_rmaker_device_add_cb(switch_device, write_cb, NULL);
esp_rmaker_node_add_device(node, switch_device);
/* Create a custom Switch device for switch_1 and add the relevant parameters to it */
switch_1 = esp_rmaker_switch_device_create("Switch #1", NULL, DEFAULT_SWITCH_POWER);
esp_rmaker_device_add_cb(switch_1, write_cb, NULL);
esp_rmaker_node_add_device(node, switch_1);
/* Create a Light device and add the relevant parameters to it */
light_device = esp_rmaker_lightbulb_device_create("Light", NULL, DEFAULT_LIGHT_POWER);
esp_rmaker_device_add_cb(light_device, write_cb, NULL);

View File

@ -19,6 +19,9 @@
#define REPORTING_PERIOD 60 /* Seconds */
extern esp_rmaker_device_t *switch_device;
extern esp_rmaker_device_t *switch_1;
extern esp_rmaker_device_t *switch_2;
extern esp_rmaker_device_t *temp_sensor;
extern esp_rmaker_device_t *light__device;
extern esp_rmaker_device_t *fan_device;
extern esp_rmaker_device_t *temp_sensor_device;

View File

@ -1774,7 +1774,8 @@ CONFIG_DIAG_ENABLE_NETWORK_VARIABLES=y
#
# ESP Insights
#
# CONFIG_ESP_INSIGHTS_ENABLED is not set
CONFIG_ESP_INSIGHTS_ENABLED=y
# CONFIG_ESP_INSIGHTS_DEBUG_ENABLED is not set
# CONFIG_ESP_INSIGHTS_TRANSPORT_MQTT is not set
CONFIG_ESP_INSIGHTS_TRANSPORT_HTTPS=y
CONFIG_ESP_INSIGHTS_TRANSPORT_HTTPS_HOST="https://client.insights.espressif.com"
@ -1815,6 +1816,12 @@ CONFIG_ESP_RMAKER_MAX_COMMANDS=10
# CONFIG_JSMN_STATIC is not set
# end of jsmn
#
# App Insights
#
# CONFIG_APP_INSIGHTS_ENABLE_LOG_TYPE_ALL is not set
# end of App Insights
#
# GPIO Button
#