设为首页 加入收藏

TOP

物联网开发平台PlatformIO手册(上)(五)
2023-09-09 10:25:35 】 浏览:115
Tags:平台 PlatformIO 手册
hain-atmelavr @ ~1.70300.0 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: toolchain-atmelavr@1.70300.191015 has been installed! Tool Manager: Installing platformio/framework-arduino-avr @ ~5.1.0 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: framework-arduino-avr@5.1.0 has been installed! Resolving nodemcuv2 dependencies... Platform Manager: Installing espressif8266 Downloading [####################################] 100% Unpacking [####################################] 100% Platform Manager: espressif8266@4.2.1 has been installed! Tool Manager: Installing platformio/toolchain-xtensa @ ~2.100300.220621 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: toolchain-xtensa@2.100300.220621 has been installed! Tool Manager: Installing platformio/framework-arduinoespressif8266 @ ~3.30102.0 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: framework-arduinoespressif8266@3.30102.0 has been installed! Tool Manager: Installing platformio/tool-esptool @ <2 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: tool-esptool@1.413.0 has been installed! Tool Manager: Installing platformio/tool-esptoolpy @ ~1.30000.0 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: tool-esptoolpy@1.30000.201119 has been installed! Resolving teensy31 dependencies... Platform Manager: Installing teensy Downloading [####################################] 100% Unpacking [####################################] 100% Platform Manager: teensy@4.18.0 has been installed! Tool Manager: Installing platformio/toolchain-gccarmnoneeabi-teensy @ ~1.110301.0 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: toolchain-gccarmnoneeabi-teensy@1.110301.0 has been installed! Tool Manager: Installing platformio/framework-arduinoteensy @ ~1.158.0 Downloading [####################################] 100% Unpacking [####################################] 100% Tool Manager: framework-arduinoteensy@1.158.0 has been installed! Project has been successfully initialized! $ ls -R .: include lib platformio.ini src test ./include: README ./lib: README ./src: ./test: README

恭喜!您刚刚创建了第一个基于PlatformIO的项目,其结构如下:

  • "platformio.ini"(项目配置文件)
  • src 目录,用于放置源代码(.h、.c、.cpp、.S、*.ino 等)。
  • lib 目录可用于存放项目专用(私有)库。更多详情请参见 lib/README 文件。
  • 支持 VCS 和持续集成的其他文件。

如果需要在现有项目中添加新电路板,请再次使用pio project init。

刚刚生成的 latformio.ini的结果:

; PlatformIO Project Configuration File
;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:uno]
platform = atmelavr
board = uno
首页 上一页 2 3 4 5 下一页 尾页 5/5/5
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇电机控制和Linux驱动开发哪个方向.. 下一篇物联网开发平台PlatformIO手册(中..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目