Replies: 5 comments 6 replies
-
Reading the docs about build customization does tell that you cannot add features to the preconfigured build environments like It is even directly addressing what you are trying to do:
|
Beta Was this translation helpful? Give feedback.
-
I am now making progress,.. I have a compiled environment,.. with a 'display.ini' file which is tweaked for my SSD1305 display,.. as copied from the GitHub repository..
Unfortunately I have not had success in applying text or graphics to my display. |
Beta Was this translation helpful? Give feedback.
-
Ah,.. 'display.ini' in boot messages,.. I don't see anything.. Yes option A3 is set..
|
Beta Was this translation helpful? Give feedback.
-
Boot time messages with working setup.
Of course, you need the correct build setup to have the universal driver included. As a minimum:
Here's the pertinent section from the precompiled display builds. Tasmota/tasmota/include/tasmota_configurations.h Lines 356 to 381 in e8ca960 |
Beta Was this translation helpful? Give feedback.
-
Ah yes I am currently using two #12602
I was initially only using the USE_UNIVERSAL_DISPLAY,.. And still the display is blank... BTW I am using the 'given SSD1306 descriptors' |
Beta Was this translation helpful? Give feedback.
-
I am trying to compile tasmota-display env,.. with some additional temperature sensor drivers.
The h/w is a simple Nodemcu type board ESP8266 based with a pre-loaded/installed SD1306 display
I am running PlatformIO,.. on a win10 m/c. I am working with source 14.4.1
I have tried using the per-compiled tasmota-display,.. but when I try i2cscan,.. this says there are no I2c devices,.. which is untrue,.. as I have compiled and uploaded the arduino test .ino file for the SD1306,.. which works fine.
I have edited platformio_override.ini as follows:-
; Build variant 2MB = 1MB firmware, 1MB filesystem (most Shelly devices) ;board = esp8266_2M1M ; Build variant 4MB = 1MB firmware, 1MB OTA, 2MB filesystem (WEMOS D1 Mini, NodeMCU, Sonoff POW) board = esp8266_4M2M ;board_build.f_cpu = 160000000L ;board_build.f_flash = 40000000L
In order to capture the board config for a 4meg config so 'Option A3' can be used to ID the display.
and also edit the build environments to build two bin files
; *** Build/upload environment default_envs = ; *** Uncomment the line(s) below to select version(s) tasmota ; tasmota-debug ; tasmota-minimal ; tasmota-lite ; tasmota-knx ; tasmota-sensors tasmota-display ; tasmota-zbbridge
and edited user_config_override.h at the EOF as follows;-
`
#ifndef USE_VEML7700
#define USE_VEML7700 // [I2cDriver50] Enable VEML7700 Ambient Light sensor (I2C addresses 0x10) (+4k5 code)
#endif
#ifndef USE_BMP
#define USE_BMP // [I2cDriver10] Enable BMP085/BMP180/BMP280/BME280 sensors (I2C addresses 0x76 and 0x77) (+4k4 code)
#endif
#ifndef USE_LM75AD
#define USE_LM75AD // [I2cDriver20] Enable LM75AD sensor (I2C addresses 0x48 - 0x4F) (+0k5 code)
#endif
#endif // USER_CONFIG_OVERRIDE_H`
The error messages are as folows:-
`Compiling .pio\build\tasmota-display\lib64c\ESP8266WebServer\detail\mimetable.cpp.o
Archiving .pio\build\tasmota-display\lib64c\libESP8266WebServer.a
Compiling .pio\build\tasmota-display\libd5b\Wire\Wire.cpp.o
F:/Documents/Dev-Projects/PlatormIO/Projects/Tasmota-14.4.1/tasmota/tasmota_xdrv_driver/xdrv_50_filesystem.ino:1692:26: fatal error: ESPFtpServer.h: No such file or
directory
https://registry.platformio.org/search?q=header:ESPFtpServer.h
char t[20+UFS_FILENAME_SIZE] = "/ufsu?download=";
^
compilation terminated.
*** [.pio\build\tasmota-display\src\tasmota.ino.cpp.o] Error 1
=================================================================== [FAILED] Took 146.92 seconds ===================================================================
Environment Status Duration
tasmota SUCCESS 00:13:38.097
tasmota-display FAILED 00:02:26.919
=============================================================== 1 failed, 1 succeeded in 00:16:05.016 ===============================================================
I do not understand why it would complain about the ESPFtpServer.h header file as I can confirm the files are present,.. also a I have no spaces in my file PATH.. which is "F:\Documents\Dev-Projects\PlatormIO\Projects\Tasmota-14.4.1"
Is anyone able to offer any suggestions as to why compilation fails.
Many tx
Beta Was this translation helpful? Give feedback.
All reactions