Closed HofeBY closed 6 months ago
C2 needs the setting NO_USE_SML_CANBUS
since there is no CAN BUS support from the MCU.
The Audio libs needs to be added to the lib ignore section for the C2.
With this setup scripting does work to compile with the C2.
@gemu2015 Please have a look to fix the warning
/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:2741:40: warning: ignoring attribute 'section (".iram1.27")' because it conflicts with previous 'section (".iram1.5")' [-Wattributes]
2741 | void IRAM_ATTR SML_CounterIsr(void *arg) {
| ^
/tasmota/tasmota.ino:5094:16: note: previous declaration here
C2 needs the setting
NO_USE_SML_CANBUS
since there is no CAN BUS support from the MCU. The Audio libs needs to be added to the lib ignore section for the C2. With this setup scripting does work to compile with the C2.
OK. Updating files from #21407 to my active source
I also add
to file user_config_override.h
Files tasmota32c2(.factory).bin are now being compiled but still with warnings.
These warnings in CompilerLog now are here:
Building in release mode Compiling .pio\build\tasmota32c2\src\tasmota.ino.cpp.o Compiling .pio\build\tasmota32c2\lib78f\WiFiHelper\WiFiHelper_ESP32.cpp.o D:/Tasmota/tasmota/tasmota_xsns_sensor/xsns_53_sml.ino:2741:40: warning: ignoring attribute 'section (".iram1.27")' because it conflicts with previous 'section (".iram1.5")' [-Wattributes] 2741 | void IRAM_ATTR SML_CounterIsr(void *arg) { | ^ D:/Tasmota/tasmota/tasmota.ino:5094:16: note: previous declaration here Compiling .pio\build\tasmota32c2\lib664\default\be_modtab.c.o Archiving .pio\build\tasmota32c2\lib78f\libWiFiHelper.a
...
Creating esp32c2 image... Merged 2 ELF sections Successfully created esp32c2 image. esp32_create_combined_bin([".pio\build\tasmota32c2\firmware.bin"], [".pio\build\tasmota32c2\firmware.elf"]) Read partitions from partitions/esp32_partition_app2880k_fs320k.csv //# Name, Type, SubType, Offset, Size, Flags nvs data nvs 0x9000 0x5000 otadata data ota 0xe000 0x2000 safeboot app factory 0x10000 0xD0000 app0 app ota_0 0xE0000 0x2D0000 spiffs data spiffs 0x3B0000 0x50000 Creating filesystem with content: No files added -> will NOT create littlefs.bin and NOT overwrite fs partition! safeboot binary already in place. Offset | File
0xe0000 | D:\Tasmota.pio\build\tasmota32c2/firmware.bin
esptool.py v4.7.2
SHA digest in image updated
Wrote 0x2d4ca0 bytes to file D:\Tasmota.pio\build\tasmota32c2/firmware.factory.bin, ready to flash to offset 0x0
bin_map_copy([".pio\build\tasmota32c2\firmware.bin"], [".pio\build\tasmota32c2\firmware.elf"])
map_gzip([".pio\build\tasmota32c2\firmware.bin"], [".pio\build\tasmota32c2\firmware.elf"])
firm_metrics([".pio\build\tasmota32c2\firmware.bin"], [".pio\build\tasmota32c2\firmware.elf"])
C:\Users\Station.platformio\penv\Scripts\python.exe -m tasmota_metrics "D:\Tasmota\firmware.map"
Traceback (most recent call last):
File " |
---|
tasmota32c2 SUCCESS 00:02:18.190 == 1 succeeded in 00:02:18.190 ==
@gemu2015 warning just fixed.
Thx at Support Team.
Compiler warnings are fixed.
PROBLEM DESCRIPTION
Compiling for tasmota32 & tasmota32c3 & tasmota32c6 & tasmota32s3:
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
Fresh installed Visual Studio Code V1.89.1 on Windows 10 Tasmota dev 14.0.0.1 Compiling for several types of ESP written above CompilerLog
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)