I cannot compile tasmota-sensors with #define USE_DISPLAY

454 views
Skip to first unread message

Alessio Cavalieri

unread,
Sep 14, 2022, 5:54:33 PM9/14/22
to TasmotaUsers
Hello everybody,

I am trying to compile Tasmota version 12.1.1 from the git master branch.

I need sensors support in Sonoff RF bridge module and i want to add an SSD1306 OLED display.

I'm using tasmota-sensors version from platformio_override.ini

When i remove the comment on line //   #define USE_DISPLAY in my_user_config.h file the build fails, the most relevant error message is:

"[..] /tasmota/tasmota_xdrv_driver/xdrv_13_display.ino:24:22: fatal error: renderer.h: No such file or directory"





Any ideas?

Philip Knowles

unread,
Sep 15, 2022, 1:49:38 AM9/15/22
to Alessio Cavalieri, TasmotaUsers
If you read the instructions on compiling Tasmota, just above 'General customisation principles' it states

Do not try to add or remove features to a variant, only to tasmota or tasmota32




From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of Alessio Cavalieri <alessio.cava...@gmail.com>
Sent: Wednesday, September 14, 2022 10:54:33 PM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: I cannot compile tasmota-sensors with #define USE_DISPLAY
 
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/fe30ab87-a3ae-4448-a626-211598aa3fa9n%40googlegroups.com.

Philip Knowles

unread,
Sep 15, 2022, 4:18:29 AM9/15/22
to Alessio Cavalieri, TasmotaUsers

By the way using TasmoCompiler is an easier way to do that

 

You can add additional things using #ifdef too

 

Sent from Mail for Windows

 

From: Alessio Cavalieri
Sent: 14 September 2022 22:54
To: TasmotaUsers
Subject: I cannot compile tasmota-sensors with #define USE_DISPLAY

 

Hello everybody,

--

Alessio Cavalieri

unread,
Sep 15, 2022, 10:46:16 AM9/15/22
to TasmotaUsers
Tankyou i'm using Atom, i try with TasmoCompiler
Reply all
Reply to author
Forward
0 new messages