new Plugin not avaliable

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mod25
New user
Posts: 8
Joined: 02 Jun 2017, 11:53

new Plugin not avaliable

#1 Post by mod25 » 30 Apr 2020, 19:11

hi,

i tried to add _P103_BLEMijia.ino to actual source.
build and upload was succeful (test_ESP32_4M316K) but device is not avalible.

what am i doing wrong.
this is the plugin https://github.com/enesbcs/ESPEasyRetro ... EMijia.ino .

thx
mod25

User avatar
Ath
Normal user
Posts: 4333
Joined: 10 Jun 2018, 12:06
Location: NL

Re: new Plugin not avaliable

#2 Post by Ath » 30 Apr 2020, 19:59

Have you added

Code: Select all

#define USES_P103
in your configuration somewhere?
/Ton (PayPal.me)

mod25
New user
Posts: 8
Joined: 02 Jun 2017, 11:53

Re: new Plugin not avaliable

#3 Post by mod25 » 30 Apr 2020, 20:22

Ath wrote: 30 Apr 2020, 19:59 Have you added

Code: Select all

#define USES_P103
in your configuration somewhere?
missed it. didn't know that. i have read https://www.letscontrolit.com/wiki/inde ... platformio
which config or where should it be added?!
thx

User avatar
Ath
Normal user
Posts: 4333
Joined: 10 Jun 2018, 12:06
Location: NL

Re: new Plugin not avaliable

#4 Post by Ath » 30 Apr 2020, 21:22

I think it should be added in define_plugin_sets.h, in the section that starts with #ifdef PLUGIN_SET_TESTING, but that's assuming that you have chosen a testing build in your platformio.ini (I'm using this one: default_envs = test_beta_ESP8266_4M1M for ESP8266 and test_ESP32_4M316k for ESP32)
It is already defined in the experimental set, so you could select a build environment for experimental, but I assume that might be quite big, or not have other plugins you require.
/Ton (PayPal.me)

mod25
New user
Posts: 8
Joined: 02 Jun 2017, 11:53

Re: new Plugin not avaliable

#5 Post by mod25 » 30 Apr 2020, 21:44

Ath wrote: 30 Apr 2020, 21:22 I think it should be added in define_plugin_sets.h, in the section that starts with #ifdef PLUGIN_SET_TESTING, but that's assuming that you have chosen a testing build in your platformio.ini (I'm using this one: default_envs = test_beta_ESP8266_4M1M for ESP8266 and test_ESP32_4M316k for ESP32)
It is already defined in the experimental set, so you could select a build environment for experimental, but I assume that might be quite big, or not have other plugins you require.
added in PLUGIN_SET_TESTING thx for the hint.

next error is now program size 2371498 bytes is to big... need to deselect other plugins...

thx

User avatar
Ath
Normal user
Posts: 4333
Joined: 10 Jun 2018, 12:06
Location: NL

Re: new Plugin not avaliable

#6 Post by Ath » 01 May 2020, 13:09

To disable other plugins, just add // in front of the #define USES_... lines for plugins you don't need.
/Ton (PayPal.me)

mod25
New user
Posts: 8
Joined: 02 Jun 2017, 11:53

Re: new Plugin not avaliable

#7 Post by mod25 » 01 May 2020, 18:47

thought so but after deactivated all testing plugins there where no changes also if i cleanded and rebuild firmware.
do not know what i'm doing wrong.

User avatar
Ath
Normal user
Posts: 4333
Joined: 10 Jun 2018, 12:06
Location: NL

Re: new Plugin not avaliable

#8 Post by Ath » 01 May 2020, 20:08

What value have you set for default_envs in your platformio.ini?

NB: I'm assuming you use VSCode with PlatformIO as a build environment, as you didn't mention anything about that... I'm not using, nor interested in, Arduino IDE ;)
/Ton (PayPal.me)

mod25
New user
Posts: 8
Joined: 02 Jun 2017, 11:53

Re: new Plugin not avaliable

#9 Post by mod25 » 01 May 2020, 21:50

I'm using atom with platformio.

right now i'm using actual source with platformio.ini from github with some changes... playing right now with partiotions so that i have add a new csv with following values:
esp32_partition_no_OTA.csv
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x200000,
spiffs, data, spiffs, 0x210000,0x1F0000,

platformio_esp32_envs.ini
[esp32_common]
extends = common
platform = ${core_esp32_1_11_2.platform}
lib_ignore = AS_BH1750, ESP8266WiFi, ESP8266Ping, ESP8266WebServer, ESP8266HTTPUpdateServer, ESP8266mDNS, IRremoteESP8266, ESPEasy_ESP8266Ping, ESP32_ping, HeatpumpIR
lib_deps = https://github.com/TD-er/ESPEasySerial.git#v2.0.1, Adafruit ILI9341, Adafruit GFX Library
board_build.f_flash = 80000000L
board_build.flash_mode = dout
board_upload.maximum_size = 1900544
board_build.partitions = esp32_partition_no_OTA.csv

i 'm little bit afraid of partitions maybe it is just warning with the setting board_upload.maximum_size and there's enough space.
i think adding BLE with WIFI is to big but want to test it on ESPEasy.

thank you for your patience
mod25

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests