New SD card support

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 531
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

New SD card support

#1 Post by mackowiakp » 10 Dec 2019, 05:10

As I can see in release mega-20191208, there is an entry in file platformio_esp82xx_envs.ini:

Code: Select all

; TEST: 4096k version + FEATURE_ADC_VCC + FEATURE_MDNS + FEATURE_SD ----------
[env:test_ESP8266_4M1M_VCC_MDNS_SD]
extends                   = esp8266_4M1M
platform                  = ${testing.platform}
build_flags               = ${testing.build_flags}
                            ${esp8266_4M1M.build_flags}
                            -DFEATURE_ADC_VCC=true
                            -DFEATURE_MDNS
                            -DFEATURE_SD
lib_ignore                = ESP32_ping, ESP32WebServer, IRremoteESP8266, HeatpumpIR
Does it mean that setting DFEATURE_ADC_VCC to "false" will cause compilation of FW without VCC support but with SD support?.
My question is because I use ADC on other application.
And what about DFEATURE_MDNS ? The same?

TD-er
Core team member
Posts: 8728
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New SD card support

#2 Post by TD-er » 10 Dec 2019, 14:26

Yep, remove those and you have them disabled.
You can also just add the "FEATURE_SD" in the custom python script, or define it in your own Custom.h file.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests