-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow test framework to use cores/esp8266/Arduino.h directly #7377
Conversation
Fixes #5530 as well, if the abs and round changes are ok (I haven't checked in detail) |
TODO: rename it to something else... it is an internal header
from OP:
This is history. Files and dependencies have changed from that time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While testing tests/device/test_sw_arduino_math_overrides
, I had to add #include <cerrno>
in tests/host/common/{litlefs,spiffs}_mock.cpp
. Maybe because my host gcc version is 10.
Thanks for this work, it is always good to remove complexity and duplicate code !
In
instead of the (canonical)
Could this be fixed/streamlined in the course of this PR as well? |
will update, seeing this too (was jumping between gcc-9 and gcc-10 machines...)
🤷 bearssl(helpers|client) needs to change |
It seems gcc-8 is bundled with ubuntu-latest that we use in CI. Maybe that could be useful
|
@mcspr do you intend to fix these conflicts ? |
Done. |
Me, I need to re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for taking so long!
@mcspr we now have a merge conflict in Arduino that I can't fix via the Web GUI. Can you please do a manual merge and re-push so we can pull this into master? |
Sure, will do (as sooon as I have more than 5min at the PC...) |
Merge error is indeed:
After inspection, |
Thanks for clarifying. But, any reason why not just use {get,set}env instead? |
Not a single tiny one 😊 edit1: (after your PR is merged) |
* master: (37 commits) BREAKING: Change return EEPROM.end() to bool (esp8266#7630) BREAKING: Change return type of channel() (esp8266#7656) BREAKING: Change return type of RSSI() (esp8266#7657) Add Copyright notice to Schedule.h (esp8266#7653) MDNS MultiInterface (esp8266#7636) BREAKING: Add Wrong Password wifi status case (esp8266#7652) New flash writing method with offset/memory/size alignment handling (esp8266#7514) Fix error when debug enabled but no port chosen (esp8266#7648) LEAmDNSv2: change a macro name to be independant from LEAmDNS1 (esp8266#7640) Allow test framework to use cores/esp8266/Arduino.h directly (esp8266#7377) Update OTA HTTP Server Header Information (esp8266#7633) Add missing sntp_init/sntp_stop (esp8266#7628) Use direct member initialization instead of ctr initialisation (esp8266#7558) Prevent rewriting Updater_Signing.h if content unchanged (esp8266#7627) Add WiFi Multi to readme.rst Remove stray axtls refs, deprecated compat funcs (esp8266#7626) Pull deprecated axtls link (esp8266#7624) Redesign ESP8266WiFiMulti.[cpp|h] Update README.md (esp8266#7623) Eliminate code duplication by template for printNumber(...)/printFloat(...). ...
resolve #7359 , @d-a-v
Some minor stuff
This does not cause any issues since mock does not set DEBUG_ESP_OOM, but it is unclear why it is outside of guards and whether it should be some place else ('core_esp8266_... .h'?)