Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DODO�
arduino-esp32
提交
9e6e3249
A
arduino-esp32
项目概览
DODO�
/
arduino-esp32
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
arduino-esp32
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9e6e3249
编写于
1月 19, 2017
作者:
M
me-no-dev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update windows toolchain and platform.txt
上级
be787167
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
12 addition
and
60 deletion
+12
-60
cores/esp32/main.cpp
cores/esp32/main.cpp
+0
-37
libraries/WiFi/examples/WiFiIPv6/WiFiIPv6.ino
libraries/WiFi/examples/WiFiIPv6/WiFiIPv6.ino
+3
-3
package/package_esp32_index.template.json
package/package_esp32_index.template.json
+4
-4
platform.txt
platform.txt
+5
-16
未找到文件。
cores/esp32/main.cpp
浏览文件 @
9e6e3249
...
@@ -19,40 +19,3 @@ extern "C" void app_main()
...
@@ -19,40 +19,3 @@ extern "C" void app_main()
}
}
#endif
#endif
/*
** Block below to be removed with next toolchain
*/
void
*
operator
new
(
size_t
size
)
{
return
malloc
(
size
);
}
void
*
operator
new
[](
size_t
size
)
{
return
malloc
(
size
);
}
void
operator
delete
(
void
*
ptr
)
{
free
(
ptr
);
}
void
operator
delete
[](
void
*
ptr
)
{
free
(
ptr
);
}
extern
"C"
void
__cxa_pure_virtual
(
void
)
__attribute__
((
__noreturn__
));
extern
"C"
void
__cxa_deleted_virtual
(
void
)
__attribute__
((
__noreturn__
));
void
__cxa_pure_virtual
(
void
)
{
abort
();
}
void
__cxa_deleted_virtual
(
void
)
{
abort
();
}
libraries/WiFi/examples/WiFiIPv6/WiFiIPv6.ino
浏览文件 @
9e6e3249
#include "WiFi.h"
#include "WiFi.h"
#define STA_SSID "
nbis-test
"
#define STA_SSID "
**********
"
#define STA_PASS "
1234567890
"
#define STA_PASS "
**********
"
#define AP_SSID "esp32"
#define AP_SSID "esp32
-v6
"
static
volatile
bool
wifi_connected
=
false
;
static
volatile
bool
wifi_connected
=
false
;
...
...
package/package_esp32_index.template.json
浏览文件 @
9e6e3249
...
@@ -45,10 +45,10 @@
...
@@ -45,10 +45,10 @@
"systems"
:
[
"systems"
:
[
{
{
"host"
:
"i686-mingw32"
,
"host"
:
"i686-mingw32"
,
"url"
:
"https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-
59
.zip"
,
"url"
:
"https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-
61-gab8375a-5.2.0-2
.zip"
,
"archiveFileName"
:
"xtensa-esp32-elf-win32-1.22.0-
59
.zip"
,
"archiveFileName"
:
"xtensa-esp32-elf-win32-1.22.0-
61-gab8375a-5.2.0-2
.zip"
,
"checksum"
:
"SHA-256:
10476b9c11a7a90f40883413ddfb409f505b20692e316c4e597c4c175b4be09c
"
,
"checksum"
:
"SHA-256:
c00dbdab8e8acc273d4aa319a74f7bb1d9496c843159823201d685359174168f
"
,
"size"
:
"
153527527
"
"size"
:
"
76346909
"
},
},
{
{
"host"
:
"x86_64-apple-darwin"
,
"host"
:
"x86_64-apple-darwin"
,
...
...
platform.txt
浏览文件 @
9e6e3249
name=ESP32 Arduino
name=ESP32 Arduino
version=0.0.1
version=0.0.1
runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf
runtime.tools.xtensa-esp32-elf-gcc.path={runtime.platform.path}/tools/xtensa-esp32-elf
runtime.tools.esptool.path={runtime.platform.path}/tools/esptool.py
tools.esptool.cmd=python "{runtime.platform.path}/tools/esptool.py"
tools.esptool.cmd.windows=python.exe "{runtime.platform.path}/tools/esptool.py"
compiler.warning_flags=-w
compiler.warning_flags=-w
compiler.warning_flags.none=-w
compiler.warning_flags.none=-w
...
@@ -33,14 +34,8 @@ compiler.as.cmd=xtensa-esp32-elf-as
...
@@ -33,14 +34,8 @@ compiler.as.cmd=xtensa-esp32-elf-as
compiler.ar.cmd=xtensa-esp32-elf-ar
compiler.ar.cmd=xtensa-esp32-elf-ar
compiler.ar.flags=cru
compiler.ar.flags=cru
compiler.elf2hex.cmd=esptool.py
compiler.elf2hex.flags=
compiler.size.cmd=xtensa-esp32-elf-size
compiler.size.cmd=xtensa-esp32-elf-size
compiler.python.cmd=python
compiler.python.cmd.windows=python.exe
# This can be overriden in boards.txt
# This can be overriden in boards.txt
build.extra_flags=-DESP32
build.extra_flags=-DESP32
...
@@ -72,7 +67,7 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
...
@@ -72,7 +67,7 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
recipe.objcopy.eep.pattern=
recipe.objcopy.eep.pattern=
## Create hex
## Create hex
recipe.objcopy.hex.pattern=
"{compiler.python.cmd}" "{runtime.platform.path}/tools/esptool.py"
--chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf"
recipe.objcopy.hex.pattern=
{tools.esptool.cmd}
--chip esp32 elf2image --flash_mode "{build.flash_mode}" --flash_freq "{build.flash_freq}" --flash_size "{build.flash_size}" -o "{build.path}/{build.project_name}.bin" "{build.path}/{build.project_name}.elf"
## Save hex
## Save hex
recipe.output.tmp_file={build.project_name}.bin
recipe.output.tmp_file={build.project_name}.bin
...
@@ -85,13 +80,7 @@ recipe.size.regex.data=^(?:\.dram0\.data|\.dram0\.bss)\s+([0-9]+).*
...
@@ -85,13 +80,7 @@ recipe.size.regex.data=^(?:\.dram0\.data|\.dram0\.bss)\s+([0-9]+).*
# ------------------------------
# ------------------------------
tools.esptool.cmd=python
tools.esptool.cmd.windows=python.exe
tools.esptool.path={runtime.platform.path}/tools/esptool.py
tools.esptool.network_cmd=python
tools.esptool.network_cmd.windows=python.exe
tools.esptool.upload.protocol=esp32
tools.esptool.upload.protocol=esp32
tools.esptool.upload.params.verbose=
tools.esptool.upload.params.verbose=
tools.esptool.upload.params.quiet=
tools.esptool.upload.params.quiet=
tools.esptool.upload.pattern=
"{cmd}" "{path}"
--chip esp32 --port "{serial.port}" --baud {upload.speed} write_flash -z --flash_freq {build.flash_freq} --flash_mode {build.flash_mode} --flash_size {build.flash_size} 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader.bin" 0x8000 "{runtime.platform.path}/tools/sdk/bin/partitions_singleapp.bin" 0x10000 "{build.path}/{build.project_name}.bin"
tools.esptool.upload.pattern=
{cmd}
--chip esp32 --port "{serial.port}" --baud {upload.speed} write_flash -z --flash_freq {build.flash_freq} --flash_mode {build.flash_mode} --flash_size {build.flash_size} 0x1000 "{runtime.platform.path}/tools/sdk/bin/bootloader.bin" 0x8000 "{runtime.platform.path}/tools/sdk/bin/partitions_singleapp.bin" 0x10000 "{build.path}/{build.project_name}.bin"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录