# cuwire
cli tool for microcontroller firmware
====================
cuwire is a command line toolkit for working with microcontroller firmware.
Currently cuwire supports Arduino AVR/SAM and other hardware, compatible with
Arduino 3rd party hardware specification.
It allows you to:
* Build a firmware from source
* Upload the firmware to a device
* Perform serial communication with a device (aka serial monitor)
* Sister project, brackets-cuwire, is intended to give you a complete replacement for Arduino IDE.
## Features
* Simple. No build scripts are necessary.
* Out-of-source builds. Directories with source files are not cluttered with intermediate object files.
* Support for `.ino` and `.pde` sketches as well as raw `.c` and `.cpp`.
* Support for Arduino Software version 1.5.
* Automatic dependency tracking. Referred libraries are automatically included in the build process. Changes in `.h` files lead to recompilation of sources which include them.
* Pretty colorful output.
* Support for all boards that are supported by Arduino IDE.
* (WIP) Fast. Discovered tool paths and other stuff is cached across runs. If nothing has changed, nothing is build.
* Flexible. Support for config file to setup machine-specific info like used Arduino model, Arduino distribution path, etc just once.
## Installation
Please install using npm
`npm install -g cuwire`
## Usage
``` sh
cuwire compile -b <board name>
cuwire upload -b <board name> -p
cuwire ports
cuwire boards
cuwire console
cuwire --help
```
## Similar tools
* [inotool](https://github.com/amperka/ino)
* [leo](https://github.com/AdamMagaluk/leo)
## Hardware supported
This project based on [Arduino IDE 3rd party hardware specification](https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification).
Compilation and upload is tested without issues on:
* Atmel AVR: Arduino Uno, Arduino Mega 2560, Arduino Pro mini clone with USB-UART adapter;
* Atmel ARM: Arduino Due
* Nordic ARM: Rfduino ([HOWTO](https://github.com/apla/cuwire/wiki/PlatformsRFduino))
more platform information on a [wiki page](https://github.com/apla/cuwire/wiki/PlatformsRFduino)
## Issues
If you meet any problems, you can leave messages at [Issues](https://github.com/apla/cuwire/issues).
## License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions
of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
## About The Author
[apla.me](http://apla.me)
## Website
GitHub (http://github.com/apla/)
没有合适的资源?快使用搜索试试~ 我知道了~
用于微控制器固件 的 cli 工具_JavaScript_代码_相关文件_下载
共42个文件
js:11个
txt:8个
cpp:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 192 浏览量
2022-07-07
23:51:04
上传
评论
收藏 76KB ZIP 举报
温馨提示
用于微控制器固件的 cli 工具 cuwire 是一个用于处理微控制器固件的命令行工具包。 目前cuwire支持Arduino AVR/SAM等硬件,兼容Arduino 3rd party硬件规范。 它允许您: 从源代码构建固件 将固件上传到设备 与设备(又名串行监视器)执行串行通信 姐妹项目,brackets-cuwire,旨在为您提供 Arduino IDE 的完全替代品。 特征 简单的。不需要构建脚本。 外源构建。带有源文件的目录不会被中间目标文件弄得杂乱无章。 支持.ino和.pde草图以及原始.c和.cpp. 支持 Arduino 软件版本 1.5。 自动依赖跟踪。引用的库会自动包含在构建过程中。文件的更改.h会导致重新编译包含它们的源。 非常丰富多彩的输出。 支持 Arduino IDE 支持的所有板。 (WIP) 快。发现的刀具路径和其他东西在运行中被缓存。如果什么都没有改变,那么什么都没有构建。 灵活的。支持配置文件以设置机器特定信息,例如使用的 Arduino 模型、Arduino 分发路径等。 安装 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
cuwire-master.zip (42个子文件)
cuwire-
serial.js 5KB
package.json 434B
hardware
intel
x86
platform.txt 6KB
edison
platform.txt 6KB
energia
cc3200
platform.txt 5KB
boards.txt 391B
msp430
platform.txt 4KB
boards.txt 3KB
lm4f
platform.txt 5KB
boards.txt 2KB
color.js 957B
flows.js 3KB
cli-options.json 3KB
compiler.js 32KB
platform.js 3KB
uploader.js 5KB
samples
B
B.ino 45B
C
C.ino 67B
ArduinoVoltage
ArduinoVoltage.ino 4KB
A
A.ino 958B
PlatformInfo
temperature.cpp 2KB
led.h 36B
led.cpp 4KB
platform.h 1KB
FlexiTimer2.h 948B
temperature.h 0B
voltage.h 92B
PlatformInfo.ino 2KB
serial.cpp 236B
voltage.cpp 7KB
AnyPWM.h 149B
AnyPWM.cpp 1KB
FlexiTimer2.cpp 12KB
classes
key-value.js 2KB
main.js 24KB
.gitignore 618B
flows.json 695B
README.md 3KB
common.js 15KB
.gitattributes 23B
data.js 34KB
cli.js 19KB
共 42 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功