1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

fix device tests (#6861)

* help in makefile

* fix some device tests, http_server is pending

* fix webserver test, one test is disabled due to general python2->3 failure

* remove debug strings

* minimize diff

* set reset method back to the default one on generic board

* fix vcc range check from datasheet
vcc is read as 2.9V here, datasheet says 2.5-3.6, old low limit was 3v

* tell python to decode string
This commit is contained in:
david gauchard
2019-12-03 23:26:54 +01:00
committed by GitHub
parent 2309a1c9cb
commit ee24cffc5a
8 changed files with 56 additions and 32 deletions

View File

@ -30,7 +30,7 @@ TEST_CASE("ADC_MODE override works", "[core]")
auto vcc = ESP.getVcc();
Serial.printf("VCC: %d\r\n", vcc);
Serial.printf("A0: %d\r\n", analogRead(A0));
CHECK(vcc > 3000 && vcc < 3600);
CHECK(vcc > 2500 && vcc < 3600);
}
TEST_CASE("RF_PRE_INIT override works", "[core]")