Skip to content

SD Card Value Logger Enable #2700

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Droscovi opened this issue Oct 31, 2019 · 31 comments · Fixed by #2798
Closed

SD Card Value Logger Enable #2700

Droscovi opened this issue Oct 31, 2019 · 31 comments · Fixed by #2798
Labels
Category: Build Related to building/IDE/releases Type: Bug Considered a bug

Comments

@Droscovi
Copy link

How do I enable this in ESPEasy-mega-20191028? I have an SD connected up to NodeMCU SPI but the "SD Card Value Logger" is not available (not even visible). Any help would be greatly appreciated.

Originally posted by @Droscovi in #429 (comment)

@TD-er
Copy link
Member

TD-er commented Oct 31, 2019

You have to enable it in the code by defining FEATURE_SD
But the feature has been left disabled for a long time and now it won't compile if you enable it.
This was also mentioned on the forum a few times, so I am working on repairing it, but I had to change/update a lot more code than anticipated, so not finished yet.

I hope to have it able to compile again in a few days.

@TD-er TD-er added Category: Build Related to building/IDE/releases Type: Bug Considered a bug labels Oct 31, 2019
@Droscovi
Copy link
Author

You have to enable it in the code by defining FEATURE_SD
But the feature has been left disabled for a long time and now it won't compile if you enable it.
This was also mentioned on the forum a few times, so I am working on repairing it, but I had to change/update a lot more code than anticipated, so not finished yet.

I hope to have it able to compile again in a few days.

Thanks for the response.

I had found some of the SD card lines in the code (and tried some of the earlier file changes) and tried to compile a few times without any success.

Looking forward to testing out the fix! I'm working on a NodeMCU/SDS011 mass deployment to solve some air quality issues where wifi is not completely stable. ESP Easy and NodeMCU fits my needs in every other aspect.

@Misiu
Copy link

Misiu commented Nov 13, 2019

@TD-er any updates on the SD Card Value logger?
@Droscovi what errors do you get?

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

@Misiu I have already changed a lot of code to make it compile again, but there are still parts left which make it not compile.

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

I can now compile it, with SD card support, but it will not be useful.
Almost all RAM is used when FEATURE_SD is enabled.

I opened an issue about it: esp8266/Arduino#6767

@uzi18
Copy link
Contributor

uzi18 commented Nov 13, 2019

what happeneds if you just enable includes for sd card libraries without use it in runtime?

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

what happeneds if you just enable includes for sd card libraries without use it in runtime?

Exactly the same as when I enable FEATURE_SD

DATA:    [========= ]  94.2% (used 77156 bytes from 81920 bytes)

Good idea by the way.

@uzi18
Copy link
Contributor

uzi18 commented Nov 13, 2019

so something is in includes that break build, you can try to move these includes on the top test one more time,
enabled warnings during build may reveal something

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

On the top where?

@uzi18
Copy link
Contributor

uzi18 commented Nov 13, 2019

of all includes

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

So place it in ESPEasy.ino file at the top?

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

With only the include of SD.h at the top of ESPEasy.ino, the result is the same (slightly worse even):

DATA:    [==========]  95.4% (used 78148 bytes from 81920 bytes)

@uzi18
Copy link
Contributor

uzi18 commented Nov 13, 2019

and any compiler warnings?

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

Nope

@uzi18
Copy link
Contributor

uzi18 commented Nov 13, 2019

hope it is not one more time pio build issue. @clumsy-stefan maybe you can try this on arduino ide?

@TD-er
Copy link
Member

TD-er commented Nov 13, 2019

I will create a commit for the changes needed to actually compile it.

@clumsy-stefan
Copy link
Contributor

Can try the commits tomorrow.

TD-er added a commit to TD-er/ESPEasy that referenced this issue Nov 13, 2019
@uzi18
Copy link
Contributor

uzi18 commented Nov 14, 2019

@clumsy-stefan is it possible for you to paste here first and last 10 lines (they are very long) of build log from arduino ide?
(first you need to enable verbose build in preferences)
thanks

@clumsy-stefan
Copy link
Contributor

tried to compile with commit ff3cac9 but it fails to compile with:

/Users/stefan/git/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: address 0x3fffccd8 of /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_319071/ESPEasy.ino.elf section `.bss' is not within region `dram0_0_seg'

/Users/stefan/git/esp8266/tools/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld: address 0x3fffccd8 of /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_319071/ESPEasy.ino.elf section `.bss' is not within region `dram0_0_seg'
collect2: error: ld returned 1 exit status

Did not further analy/test yet though...

@TD-er
Copy link
Member

TD-er commented Nov 14, 2019

The same build error, so that's good :)

@clumsy-stefan
Copy link
Contributor

The same build error, so that's good :)

Thats's why I love IT... It's fails, so it's good.... That's why nobody else understands what we do.. Binary logic rocks 😃

@TD-er
Copy link
Member

TD-er commented Nov 14, 2019

Yep, there are only 10 kinds of people ;)

@uzi18
Copy link
Contributor

uzi18 commented Nov 14, 2019

@clumsy-stefan and what about build log?

@clumsy-stefan
Copy link
Contributor

except the lines what it's compiling what I posted above is the only interesting part... more details only when sucessfully compiled..

@uzi18
Copy link
Contributor

uzi18 commented Nov 14, 2019

so please disable Feature_sd to have successfull build log

@clumsy-stefan
Copy link
Contributor

hmm.. what information are you looking for? There is nothing in there except which files it compiles (~50-100 lines) and where it fails (which it doesn't if succesfully compiled).

/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/lwip2/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_191024=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DUSE_CUSTOM_H -DPUYA_SUPPORT=0 -DCONFIG_FREERTOS_ASSERT_DISABLE -DCONFIG_LWIP_ESP_GRATUITOUS_ARP -DCONFIG_LWIP_GARP_TMR_INTERVAL=30 -DCORE_POST_2_5_0 -DCORE_POST_2_6_0 -DNDEBUG -DICACHE_FLASH -DWEBSERVER_RULES_DEBUG=0 -DVTABLES_IN_FLASH -mtarget-align -Werror=unused-variable -DBUILD_4M -DESP8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/cores/esp8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/variants/d1_mini -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WiFi/src -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WebServer/src -I/Applications/Arduino.app/Contents/Java/libraries/I2Cdevlib /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/sketch/ESPEasy.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/lwip2/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_191024=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DUSE_CUSTOM_H -DPUYA_SUPPORT=0 -DCONFIG_FREERTOS_ASSERT_DISABLE -DCONFIG_LWIP_ESP_GRATUITOUS_ARP -DCONFIG_LWIP_GARP_TMR_INTERVAL=30 -DCORE_POST_2_5_0 -DCORE_POST_2_6_0 -DNDEBUG -DICACHE_FLASH -DWEBSERVER_RULES_DEBUG=0 -DVTABLES_IN_FLASH -mtarget-align -Werror=unused-variable -DBUILD_4M -DESP8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/cores/esp8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/variants/d1_mini -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WiFi/src -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WebServer/src -I/Applications/Arduino.app/Contents/Java/libraries/I2Cdevlib -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/Wire /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/sketch/ESPEasy.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/lwip2/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_191024=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DUSE_CUSTOM_H -DPUYA_SUPPORT=0 -DCONFIG_FREERTOS_ASSERT_DISABLE -DCONFIG_LWIP_ESP_GRATUITOUS_ARP -DCONFIG_LWIP_GARP_TMR_INTERVAL=30 -DCORE_POST_2_5_0 -DCORE_POST_2_6_0 -DNDEBUG -DICACHE_FLASH -DWEBSERVER_RULES_DEBUG=0 -DVTABLES_IN_FLASH -mtarget-align -Werror=unused-variable -DBUILD_4M -DESP8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/cores/esp8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/variants/d1_mini -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WiFi/src -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WebServer/src -I/Applications/Arduino.app/Contents/Java/libraries/I2Cdevlib -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/Wire -I/Applications/Arduino.app/Contents/Java/libraries/ESPEasySerial /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/sketch/ESPEasy.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/lwip2/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_191024=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DUSE_CUSTOM_H -DPUYA_SUPPORT=0 -DCONFIG_FREERTOS_ASSERT_DISABLE -DCONFIG_LWIP_ESP_GRATUITOUS_ARP -DCONFIG_LWIP_GARP_TMR_INTERVAL=30 -DCORE_POST_2_5_0 -DCORE_POST_2_6_0 -DNDEBUG -DICACHE_FLASH -DWEBSERVER_RULES_DEBUG=0 -DVTABLES_IN_FLASH -mtarget-align -Werror=unused-variable -DBUILD_4M -DESP8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/cores/esp8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/variants/d1_mini -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WiFi/src -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WebServer/src -I/Applications/Arduino.app/Contents/Java/libraries/I2Cdevlib -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/Wire -I/Applications/Arduino.app/Contents/Java/libraries/ESPEasySerial -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/DNSServer/src /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/sketch/ESPEasy.ino.cpp -o /dev/null
/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/lwip2/include -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include -I/var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_191024=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10810 -DARDUINO_ESP8266_GENERIC -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_GENERIC\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DUSE_CUSTOM_H -DPUYA_SUPPORT=0 -DCONFIG_FREERTOS_ASSERT_DISABLE -DCONFIG_LWIP_ESP_GRATUITOUS_ARP -DCONFIG_LWIP_GARP_TMR_INTERVAL=30 -DCORE_POST_2_5_0 -DCORE_POST_2_6_0 -DNDEBUG -DICACHE_FLASH -DWEBSERVER_RULES_DEBUG=0 -DVTABLES_IN_FLASH -mtarget-align -Werror=unused-variable -DBUILD_4M -DESP8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/cores/esp8266 -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/variants/d1_mini -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WiFi/src -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/ESP8266WebServer/src -I/Applications/Arduino.app/Contents/Java/libraries/I2Cdevlib -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/Wire -I/Applications/Arduino.app/Contents/Java/libraries/ESPEasySerial -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/DNSServer/src -I/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/libraries/Servo/src /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/sketch/ESPEasy.ino.cpp -o /dev/null

[...]

Executable segment sizes:
IROM   : 802204          - code in flash         (default or ICACHE_FLASH_ATTR) 
IRAM   : 31233   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...) 
DATA   : 1816  )         - initialized variables (global, static) in RAM/HEAP 
RODATA : 5764  ) / 81920 - constants             (global, static) in RAM/HEAP 
BSS    : 38648 )         - zeroed variables      (global, static) in RAM/HEAP 
/Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-size -A /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_279546/ESPEasy.ino.elf
Sketch uses 841017 bytes (80%) of program storage space. Maximum is 1044464 bytes.
Global variables use 46228 bytes (56%) of dynamic memory, leaving 35692 bytes for local variables. Maximum is 81920 bytes.

@uzi18
Copy link
Contributor

uzi18 commented Nov 14, 2019

need specialy first lines like these with -dump-prefs and -compile

@clumsy-stefan
Copy link
Contributor

There you go:

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/stefan/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/stefan/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/stefan/git/libraries -fqbn=esp8266.com:esp8266:smy_4M:xtal=80,ResetMethod=ck,CrystalFreq=26,FlashFreq=80,FlashMode=dio,eesz=4M1M,vt=flash,exception=disabled,led=2,ip=lm2f,lvl=None____,wipe=none,baud=115200 -ide-version=10810 -build-path /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_604396 -warnings=none -build-cache /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_cache_293311 -prefs=build.warn_data_percentage=75 -verbose /Users/stefan/git/ESPEasy/ESPEasy/ESPEasy.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/stefan/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/stefan/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/stefan/git/libraries -fqbn=esp8266.com:esp8266:smy_4M:xtal=80,ResetMethod=ck,CrystalFreq=26,FlashFreq=80,FlashMode=dio,eesz=4M1M,vt=flash,exception=disabled,led=2,ip=lm2f,lvl=None____,wipe=none,baud=115200 -ide-version=10810 -build-path /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_build_604396 -warnings=none -build-cache /var/folders/yc/vn31kmqj2n3crsnwwtnpkfsc0000gm/T/arduino_cache_293311 -prefs=build.warn_data_percentage=75 -verbose /Users/stefan/git/ESPEasy/ESPEasy/ESPEasy.ino
Using board 'smy_4M' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266
Using core 'esp8266' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/esp8266.com/esp8266

But that's different for the various boards I use...

@uzi18
Copy link
Contributor

uzi18 commented Nov 14, 2019

@clumsy-stefan thanks i will try to build with arduino-builder :)

@TD-er
Copy link
Member

TD-er commented Dec 4, 2019

I just tested it and the custom build does allow me to build a version with the FEATURE_SD defined.
I don't have a board that has an SD card, but it does seem to work.
All SD-card related items are visible and the unit does not crash when I try to view the files :)
I will add a "test_SD" build, so we will build the source more often and people may actually use the code :)

TD-er added a commit to TD-er/ESPEasy that referenced this issue Dec 4, 2019
…it#2700 )

Fixes: letscontrolit#2700 

This does make sure we build more often with `FEATURE_SD` and `FEATURE_MDNS` enabled.
@TD-er
Copy link
Member

TD-er commented Dec 5, 2019

Last night I made a ESPEasy_mega-20191130-17-PR_2798.zip test build.
There is a test_ESP8266_4M1M_VCC_MDNS_SD build in there.

TD-er added a commit that referenced this issue Dec 7, 2019
[FEATURE_SD] Add build in Platformio.ini with SD enabled (#2700 )
amicol added a commit to amicol/ESPEasy that referenced this issue Sep 23, 2020
Release mega-20191208

Changes in mega-20191208 (since mega-20191130):

Gijs Noorlander (17):
      [WiFi] Use last known BSSID & channel from RTC + MQTT fixes
      [PIO] Update to core 2.6.2
      [WiFi] Improve ESP32 WiFi connect + fix mDNS updates
      [PIO] Fix build failure due to incorrect flags.
      [PIO] Don't use Python 3 specific since Travis still uses Python 2.7
      [WiFi] Call WiFi disconnect in setup() (letscontrolit#2757)
      [Rules] Parse template for all command calls
      [Rules] Execute some events asynchronous
      [Commands] Proper error logs when processing commands.
      [Commands] Add flag to be a bit more tolerant in last argument parsing
      [Events] Run events from rules immediately + add AsyncEvent command
      [FEATURE_SD] Add build in Platformio.ini with SD enabled (letscontrolit#2700 )
      [Rules] Add some checks for rules consistency before saving
      [Rules] Add check for correct received POST data when saving rules
      [JSON] Fix issues with generated JSON
      [JSON] Fix non valid timing stats json when no plugins defined (letscontrolit#2767)
      [JSON] Extend timing stats JSON end point with controller and misc stats

TD-er (1):
      automatically updated release notes for mega-20191208

stefan (1):
      Fix Arduino IDE include path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Build Related to building/IDE/releases Type: Bug Considered a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants