开源改变世界!!

切换到 platformIO #22

推推 grbl 1年前 (2023-02-12) 200次浏览
打开
Sebclem 打开了这个问题 2020 年 9 月 16 日 · 1条评论
打开

切换到 platformIO#22

Sebclem 打开了这个问题 2020 年 9 月 16 日 · 1条评论

评论

切换到 platformIO #22

我认为从 ArduinoIDE 转移到 PlatforIO 是个好主意。

依赖管理要好得多,我认为用户使用 PlatformIO 构建和刷新卡会更容易。

它还原生支持 esp32。

切换到 platformIO #22

平台说明:

使用这些子目录创建顶级目录:
include/
lib/
.pio/
src/
test/

将 grbl_controller_esp32 源码树的内容放在 src/ 子目录下。
使用以下内容在顶级目录中创建一个“platformio.ini”文件:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_extra_dirs = ~/Documents/Arduino/libraries
lib_deps =
 SdFat
src_filter =
    +<*.h> +<*.s> +<*.S> +<*.cpp> +<*.c> +<*.ino> +<src/>
    -<.git/> -<data/> -<test/> -<tests/> -<Fonts/> -<Extensions/>
upload_speed = 921600
monitor_speed = 115200
monitor_flags =
	--filter=esp32_exception_decoder

免费注册 在 GitHub 上加入此对话。已有帐户? 登录评论
标签
还没有
项目

还没有

发展

没有分支机构或拉取请求

2名参加者
切换到 platformIO #22切换到 platformIO #22

喜欢 (0)