Closed suculent closed 2 years ago
New error:
In file included from /root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/HardwareSerial.cpp:30:
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h: In instantiation of 'static constexpr esp8266::polledTimeout::TimePolicy::TimeUnit<TimeSourceType, second_th>::timeType esp8266::polledTimeout::TimePolicy::TimeUnit<TimeSourceType, second_th>::computeRangeCompensation() [with TimeSourceType = esp8266::polledTimeout::TimePolicy::TimeSourceCycles; long long unsigned int second_th = 1000; esp8266::polledTimeout::TimePolicy::TimeUnit<TimeSourceType, second_th>::timeType = unsigned int]':
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:122:78: required from 'constexpr const timeType esp8266::polledTimeout::TimePolicy::TimeUnit<esp8266::polledTimeout::TimePolicy::TimeSourceCycles, 1000>::rangeCompensate'
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:123:75: required from 'constexpr const timeType esp8266::polledTimeout::TimePolicy::TimeUnit<esp8266::polledTimeout::TimePolicy::TimeSourceCycles, 1000>::user2UnitMultiplierMax'
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:127:99: required from 'constexpr const timeType esp8266::polledTimeout::TimePolicy::TimeUnit<esp8266::polledTimeout::TimePolicy::TimeSourceCycles, 1000>::timeMax'
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:228:25: required from 'static constexpr esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeType esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeMax() [with bool PeriodicT = false; YieldPolicyT = esp8266::polledTimeout::YieldPolicy::DoNothing; TimePolicyT = esp8266::polledTimeout::TimePolicy::TimeUnit<esp8266::polledTimeout::TimePolicy::TimeSourceCycles, 1000>; esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeType = unsigned int]'
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:188:70: required from 'void esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::reset(esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeType) [with bool PeriodicT = false; YieldPolicyT = esp8266::polledTimeout::YieldPolicy::DoNothing; TimePolicyT = esp8266::polledTimeout::TimePolicy::TimeUnit<esp8266::polledTimeout::TimePolicy::TimeSourceCycles, 1000>; esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeType = unsigned int]'
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:154:10: required from 'esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeoutTemplate(esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeType) [with bool PeriodicT = false; YieldPolicyT = esp8266::polledTimeout::YieldPolicy::DoNothing; TimePolicyT = esp8266::polledTimeout::TimePolicy::TimeUnit<esp8266::polledTimeout::TimePolicy::TimeSourceCycles, 1000>; esp8266::polledTimeout::timeoutTemplate<PeriodicT, YieldPolicyT, TimePolicyT>::timeType = unsigned int]'
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/HardwareSerial.cpp:140:64: required from here
/root/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/PolledTimeout.h:111:75: error: '(1.0e+3 / 0.0)' is not a constant expression
111 | constexpr double number_of_secondTh_in_one_tick = (1.0 * second_th) / ticksPerSecond;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
exit status 1
No lint results found.
THiNX BUILD FAILED: 1
There's currently problem with fetching libraries on the run (container had no DNS). Otherwise locally the path is ready.
This is caused by Arduino Core since 2.7.4. Builder is currently pinned to 2.6.3, until this gets solved. Examples build well on 3.0.2 locally, so those can be considered prepared.
Without any meaningful error. Builds MUST be tested separately, not as a part of the main repo.