-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR updates the embedded toolchains to more recent versions, setting the new default installed version for Esp32 to IDF 5.2. The library testing github actions script has been updated to include missing esp32c2 architecture and test against IDF 4.4 and 5.2. **Esp32 IDF SDK** The installation scripts now install IDF version 5.2 by default (see issue #2784 regarding docker build failure because of Y2038 warning with IDF < 5). Deprecation warnings printed for IDF 4.3 and 4.4 after final link step. See #2732 for discussion regarding old versions. Windows CI tests for IDF 4.3, 5.0 removed. **Extend library tests to include missing esp32 variants** CI testing when developing libraries is much more efficient than running the main Sming CI tests. Looks like these haven't been updated for a while so have added the `esp32s3` and `esp32c2` variants and testing against IDF 5.2 for all esp32 variants. Previously was only 4.4 (old default). **Esp8266 Toolchain** The installer has been updated to use the latest toolchain (Feb 23), gcc 10.3. **RP2040 Toolchain** The installer has been updated to use the latest toolchain (Oct 23), gcc 13.2.
- Loading branch information
Showing
16 changed files
with
184 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
REM Esp8266 install.cmd | ||
|
||
call :install "%ESP_HOME%" x86_64-w64-mingw32.xtensa-lx106-elf-e6a192b.201211.zip | ||
goto :EOF | ||
set EQT_REPO=https://github.com/earlephilhower/esp-quick-toolchain/releases/download/3.2.0-gcc10.3 | ||
set EQT_TOOLCHAIN=x86_64-w64-mingw32.xtensa-lx106-elf-c791b74.230224.zip | ||
|
||
:install | ||
mkdir %1 | ||
curl -Lo %DOWNLOADS%/%2 %SMINGTOOLS%/%2 | ||
7z -o%1 x %DOWNLOADS%/%2 | ||
mkdir %ESP_HOME% | ||
curl -Lo %DOWNLOADS%/%EQT_TOOLCHAIN% %EQT_REPO%/%EQT_TOOLCHAIN% | ||
7z -o%ESP_HOME% x %DOWNLOADS%/%EQT_TOOLCHAIN% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* | ||
libc_replacements.c - replaces libc functions with functions | ||
from Espressif SDK | ||
Copyright (c) 2015 Ivan Grokhotkov. All rights reserved. | ||
This file is part of the esp8266 core for Arduino environment. | ||
This library is free software; you can redistribute it and/or | ||
modify it under the terms of the GNU Lesser General Public | ||
License as published by the Free Software Foundation; either | ||
version 2.1 of the License, or (at your option) any later version. | ||
This library is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
Lesser General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public | ||
License along with this library; if not, write to the Free Software | ||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
Modified 03 April 2015 by Markus Sattler | ||
*/ | ||
|
||
#include <stdio.h> | ||
#include <sys/stat.h> | ||
#include <unistd.h> | ||
#include <sys/reent.h> | ||
#include <esp_attr.h> | ||
#include <m_printf.h> | ||
|
||
int _open_r(struct _reent* unused, const char* ptr, int mode) | ||
{ | ||
(void)unused; | ||
(void)ptr; | ||
(void)mode; | ||
return 0; | ||
} | ||
|
||
int _close_r(struct _reent* unused, int file) | ||
{ | ||
(void)unused; | ||
(void)file; | ||
return 0; | ||
} | ||
|
||
int _fstat_r(struct _reent* unused, int file, struct stat* st) | ||
{ | ||
(void)unused; | ||
(void)file; | ||
st->st_mode = S_IFCHR; | ||
return 0; | ||
} | ||
|
||
int _lseek_r(struct _reent* unused, int file, int ptr, int dir) | ||
{ | ||
(void)unused; | ||
(void)file; | ||
(void)ptr; | ||
(void)dir; | ||
return 0; | ||
} | ||
|
||
int _read_r(struct _reent* unused, int file, char* ptr, int len) | ||
{ | ||
(void)unused; | ||
(void)file; | ||
(void)ptr; | ||
(void)len; | ||
return 0; | ||
} | ||
|
||
int _write_r(struct _reent* r, int file, char* ptr, int len) | ||
{ | ||
(void)r; | ||
if(file == STDOUT_FILENO) { | ||
return m_nputs(ptr, len); | ||
} | ||
return 0; | ||
} | ||
|
||
int _isatty_r(struct _reent* r, int fd) | ||
{ | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters