According to the RTD-documentation, the P51-plugin (AM2320) should be included in the normal build. Look here:
Just like in a slightly older 4M normal-image. Is it a bug in the docs or in the build-config ?
I would like to use a 2MB image on a SWA1 wifi-switch (Flash Chip ID: Vendor: 0xE Device: 0x4015).
But the only 2MB images are shelly1 or wroom02. Is it a problem to use the wroom02_2M256 on this device ?
But in the tested image 'ESP_Easy_mega_20210802_normal_WROOM02_2M256.bin' I can't found it.AM2320 in normal build ?
Moderators: grovkillen, Stuntteam, TD-er
Re: AM2320 in normal build ?
Bug in the docs, so it seems....
See: https://github.com/letscontrolit/ESPEas ... 1042-L1058
It is in the "testing" builds.
See: https://github.com/letscontrolit/ESPEas ... 1042-L1058
It is in the "testing" builds.
Re: AM2320 in normal build ?
and the 2nd point: What's the best way to get a custom 2MB image with the P51-plugin ? There is no 2MB custom-env, so my/a custom.h will not be usable, or ?
Re: AM2320 in normal build ?
You can change the platformio_esp82xx_envs.ini to add this:
I will also add it to the mega branch.
Code: Select all
[env:custom_ESP8266_2M256]
extends = espWroom2M256
platform = ${regular_platform.platform}
platform_packages = ${regular_platform.platform_packages}
build_flags = ${regular_platform.build_flags}
${espWroom2M256.build_flags}
-DPLUGIN_BUILD_CUSTOM
lib_ignore = ${esp8266_custom_common.lib_ignore}
extra_scripts = ${esp8266_custom_common.extra_scripts}
Re: AM2320 in normal build ?
Just added it to the current code base in the 'mega' branch
Re: AM2320 in normal build ?
Thanks for your help.
Re: AM2320 in normal build ?
Created PR to correct it: https://github.com/letscontrolit/ESPEas ... -716637849
Who is online
Users browsing this forum: No registered users and 25 guests