Skip to content

Add octal flash mode support to --flash_mode (ESPTOOL-499) #768

Description

@HiGeek131

Is your feature request related to a problem?

你们官方板子 ESP32-S3-DevKitC-1-N32R8V的Flash是八线32MB,但elf2image功能并没有8线flash选项。我就感到很匪夷所思啊,你官方店都在买这个板子,你跟我讲软件不支持,那我花一百多买个板子搞什么的啊?客服也是一问三不知,还不屌人。

Describe the solution you'd like

--flash_mode 需要八线模式

Describe alternatives you've considered

我搁pio上根本没法用N32R8V这个板子,本来寻思估计就是flash大小和模式问题,我改改不就好了,但是打开PIO的设置发现没有八线模式。我就寻思手动用esptool elf2image去构建。但是发现选项只有双线的和泗县的。

Additional context

root@a304deb09e54:~/esp# esptool.py elf2image --help
usage: esptool elf2image [-h] [--output OUTPUT] [--version {1,2,3}] [--min-rev {0, ... 255}] [--secure-pad] [--secure-pad-v2] [--elf-sha256-offset ELF_SHA256_OFFSET]
[--dont-append-digest] [--use_segments] [--flash-mmu-page-size {64KB,32KB,16KB}] [--flash_freq {80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
[--flash_mode {qio,qout,dio,dout}] [--flash_size {256KB,512KB,1MB,2MB,2MB-c1,4MB,4MB-c1,8MB,16MB,32MB,64MB,128MB}]
[--spi-connection SPI_CONNECTION]
input

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions