mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-15 14:46:00 +08:00
update travis for test
This commit is contained in:
parent
70a9001638
commit
f4275908d6
@ -18,11 +18,11 @@ install:
|
|||||||
- pip install -U platformio
|
- pip install -U platformio
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- TARGET=esp32 PLATFORM=arduino BT=yes AUTHENTICATION=yes FILESYSTEM=FAT
|
# - TARGET=esp32 PLATFORM=arduino BT=yes AUTHENTICATION=yes FILESYSTEM=FAT
|
||||||
- TARGET=esp32 PLATFORM=arduino BT=yes AUTHENTICATION=no FILESYSTEM=SPIFFS
|
# - TARGET=esp32 PLATFORM=arduino BT=yes AUTHENTICATION=no FILESYSTEM=SPIFFS
|
||||||
- TARGET=esp8266 PLATFORM=arduino BT=no AUTHENTICATION=yes FILESYSTEM=LITTLEFS
|
# - TARGET=esp8266 PLATFORM=arduino BT=no AUTHENTICATION=yes FILESYSTEM=LITTLEFS
|
||||||
- TARGET=esp8266 PLATFORM=arduino BT=no AUTHENTICATION=no FILESYSTEM=LITTLEFS
|
- TARGET=esp8266 PLATFORM=arduino BT=no AUTHENTICATION=no FILESYSTEM=LITTLEFS
|
||||||
- TARGET=all PLATFORM=PIO BT=yes AUTHENTICATION=yes
|
# - TARGET=all PLATFORM=PIO BT=yes AUTHENTICATION=yes
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- platformio update
|
- platformio update
|
||||||
|
@ -31,12 +31,12 @@ function build_sketch()
|
|||||||
if [[ "$target" == "esp32" ]];
|
if [[ "$target" == "esp32" ]];
|
||||||
then
|
then
|
||||||
echo "setup for esp32"
|
echo "setup for esp32"
|
||||||
arduino --board esp32:esp32:esp32:PartitionScheme=min_spiffs,FlashFreq=80,PSRAM=disabled,CPUFreq=240,FlashMode=qio,FlashSize=4M,DebugLevel=none --pref compiler.warning_level=all --save-prefs
|
arduino --board esp32:esp32:esp32:PartitionScheme=min_spiffs,FlashFreq=80,PSRAM=disabled,CPUFreq=240,FlashMode=qio,FlashSize=4M,DebugLevel=none --save-prefs
|
||||||
else
|
else
|
||||||
echo "setup for esp8266"
|
echo "setup for esp8266"
|
||||||
sed -i "s/#define DISPLAY_DEVICE/\/\/#define DISPLAY_DEVICE/g" $TRAVIS_BUILD_DIR/esp3d/configuration.h
|
sed -i "s/#define DISPLAY_DEVICE/\/\/#define DISPLAY_DEVICE/g" $TRAVIS_BUILD_DIR/esp3d/configuration.h
|
||||||
sed -i "s/#define ETH_FEATURE/\/\/#define ETH_FEATURE/g" $TRAVIS_BUILD_DIR/esp3d/configuration.h
|
sed -i "s/#define ETH_FEATURE/\/\/#define ETH_FEATURE/g" $TRAVIS_BUILD_DIR/esp3d/configuration.h
|
||||||
arduino --board esp8266com:esp8266:generic:eesz=4M3M,xtal=160,FlashMode=dio,FlashFreq=40,sdk=nonosdk221,ip=lm2f,dbg=Disabled,vt=flash,exception=disabled,ssl=basic, waveform=pwm --save-prefs
|
arduino --board esp8266com:esp8266:generic:eesz=4M3M,xtal=160,FlashMode=dio,FlashFreq=40,sdk=nonosdk221,ip=lm2f,dbg=Disabled,vt=flash,exception=disabled,ssl=basic,waveform=pwm --save-prefs
|
||||||
fi
|
fi
|
||||||
if [[ "$fs" == "SPIFFS" ]];
|
if [[ "$fs" == "SPIFFS" ]];
|
||||||
then
|
then
|
||||||
|
@ -119,9 +119,8 @@
|
|||||||
|
|
||||||
//PIN_RESET_FEATURE : allow to reset settings by setting low a pin
|
//PIN_RESET_FEATURE : allow to reset settings by setting low a pin
|
||||||
//#define PIN_RESET_FEATURE
|
//#define PIN_RESET_FEATURE
|
||||||
#if defined (PIN_RESET_FEATURE)
|
//#define ESP3D_RESET_PIN 0
|
||||||
#define ESP3D_RESET_PIN 2
|
|
||||||
#endif //PIN_RESET_FEATURE
|
|
||||||
|
|
||||||
//SD_DEVICE: to access SD Card files directly instead of access by serial using printer Board FW
|
//SD_DEVICE: to access SD Card files directly instead of access by serial using printer Board FW
|
||||||
//ESP_SD_NATIVE 1 //esp32 / esp8266
|
//ESP_SD_NATIVE 1 //esp32 / esp8266
|
||||||
@ -132,15 +131,16 @@
|
|||||||
//SDIO mode
|
//SDIO mode
|
||||||
#define SD_ONE_BIT_MODE true
|
#define SD_ONE_BIT_MODE true
|
||||||
|
|
||||||
//SD Device Connection type (default is direct)
|
//SD Device Connection type (default is ESP_NO_SD if not defined)
|
||||||
|
//ESP_NO_SD
|
||||||
//ESP_DIRECT_SD
|
//ESP_DIRECT_SD
|
||||||
//ESP_SHARED_SD
|
//ESP_SHARED_SD
|
||||||
#define SD_DEVICE_CONNECTION ESP_DIRECT_SD
|
#define SD_DEVICE_CONNECTION ESP_DIRECT_SD
|
||||||
|
|
||||||
//pin if reader has insert detection feature
|
//pin if reader has insert detection feature
|
||||||
//let -1 or comment if none
|
//let -1 or comment if none
|
||||||
#define ESP_SD_DETECT_PIN -1
|
//#define ESP_SD_DETECT_PIN -1
|
||||||
//value expected for ESP_SD_DETECT_PIN
|
//value expected for ESP_SD_DETECT_PIN (0 or 1)
|
||||||
#define ESP_SD_DETECT_VALUE 1
|
#define ESP_SD_DETECT_VALUE 1
|
||||||
|
|
||||||
//FILESYSTEM_FEATURE: to host some files on flash
|
//FILESYSTEM_FEATURE: to host some files on flash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user