Skip to content

Commit

Permalink
disable logs and info how to flash
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelkaridemia committed Sep 5, 2024
1 parent 1a65fd1 commit ee99b39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Current version has hardcoded support for auto off in 120sec after engine is off
TODO:
- Add support for Auto off time (hardcoded 120sec)

In relases you will find image ready to flush on ESP32-S3. To flush it you can use command:

esptool.py -p /dev/tty.usbmodem1201 -b 460800 --chip esp32s3 write_flash --flash_mode dio 0x0 wican-rejsa-v3-20240906.bin

Original page content below.

=================================================================================
Expand Down
2 changes: 1 addition & 1 deletion main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,6 @@ void app_main(void)
// pdTRUE, /* BIT_0 should be cleared before returning. */
// pdFALSE, /* Don't wait for both bits, either bit will do. */
// portMAX_DELAY);/* Wait forever. */
esp_log_level_set("*", ESP_LOG_MAX);
esp_log_level_set("*", ESP_LOG_NONE);
}

5 changes: 5 additions & 0 deletions prepare_image.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

cd build

esptool.py --chip esp32 merge_bin -o wican-rejsa-v3-20240906.bin --flash_mode dio --flash_freq 80m --flash_size 4MB 0x0 bootloader/bootloader.bin 0x10000 wican-fw_v330_hv300.bin 0x8000 partition_table/partition-table.bin 0xd000 ota_data_initial.bin

0 comments on commit ee99b39

Please sign in to comment.