This config option helps decide whether flash is Quad or Octal, but please note some limitations:

此配置选项有助于确定flash是四倍还是八倍,但请注意一些限制:

1. If the flash chip is an Octal one, even if one of "QIO", "QOUT", "DIO", "DOUT" options is selected in `ESPTOOLPY_FLASHMODE`, our code will automatically change the mode to "OPI" and the sample mode will be STR.

1.如果闪存芯片是八进制芯片,即使在`ESPTOOLPY_FLASHMODE`中选择了“QIO”、“QOUT”、“DIO”、“DOUT”选项之一,我们的代码也会自动将模式更改为“OPI”,采样模式将为STR。

 

2. If the flash chip is a Quad one, even if "OPI" is selected in `ESPTOOLPY_FLASHMODE`, our code will automatically change the mode to "DIO".

2.如果闪存芯片是四核芯片,即使在`ESPTOOLPY_FLASHMODE`中选择了“OPI”,我们的代码也会自动将模式更改为“DIO”。

 

3. This option is mainly to improve the out-of-box experience of developers. It doesn't guarantee the feature-complete. Some code still rely on `ESPTOOLPY_OCT_FLASH`. Please do not rely on this option when you are pretty sure that you are using Octal flash. In this case, please enable `ESPTOOLPY_OCT_FLASH` option, then you can choose `DTR` sample mode in `ESPTOOLPY_FLASH_SAMPLE_MODE`. Otherwise, only `STR` mode is available.

3.此选项主要是为了提高开发人员的开箱即用体验。它不能保证功能完整。一些代码仍然依赖于“ESPTOOLPY_OCT_FLASH”。当您非常确定您正在使用Octal flash时,请不要依赖此选项。在这种情况下,请启用“ESPTOOLPY_OCT_FLASH”选项,然后您可以在“ESPTOOL PY_FLASH_AMPLE_mode”中选择“DTR”采样模式。否则,只有“STR”模式可用。

 

4. Enabling this feature reduces available internal RAM size (around 900 bytes). If your IRAM space is insufficient and you're aware of your flash type, disable this option and select corresponding flash type options.

4.启用此功能会减少可用的内部RAM大小(约900字节)。如果您的IRAM空间不足,并且您知道您的闪存类型,请禁用此选项并选择相应的闪存类型选项。

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。