forked from SmingHub/Sming
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/idf-5.2-default' into dev/timezone-changes
* feature/idf-5.2-default: Extend esp32 library tests to include missing variants plus IDF 4.4, 5.2 Fix uf2conf regex warning Add tips to vscode documentation Use arm toolchain and gdb multiarch from repo for rp2040 Update installed toolchain for Esp8266 to latest (Feb 23) Install Esp32 IDF version 5.2 by default. Fix delayed sending of websocket messages (SmingHub#2782)
- Loading branch information
Showing
17 changed files
with
205 additions
and
41 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
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
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
Oops, something went wrong.