【问题标题】:How run avr-gcc Arduino on Android如何在 Android 上运行 avr-gcc Arduino
【发布时间】:2013-07-25 18:00:38
【问题描述】:

是否可以在Android中使用包含Arduino1.0.5的AVR-GCC编译器?

我正在尝试在 Android 上运行 Arduino 1.0.5 中包含的 AVR-GCC,但这不起作用!我使用 Arduino 1.0.5 for Linux,希望这个编译器能在 Android 上运行,因为它是 Linux 的发行版。

我安装了 andavr andavr 但这在 Android 设备中有大约 280 MB 的大尺寸,而 Arduino 1.0.5 的 AVR-GCC 大约是 30 MB,所以,我如何运行 Arduino 1.0.5 编译器安卓?

【问题讨论】:

  • 你可以试试ArduinoDroid
  • 是的,这是另一种选择,但他们的 SDK 不编译 WiFi 库。

标签: android compiler-construction android-ndk arduino avr-gcc


【解决方案1】:

您可以使用 arm 工具链(codesourcery?)交叉编译适用于 android 的 avr 工具链 我从来没有尝试过,但我真的很想。 此外,还有一种通过 bt 编程 arduino 的方法(使用 hc-05 模块,google it),所以如果你为 android 交叉编译 avrdude,你可以从你的 android 完全编程 arduino。 我一定会这样做的... :)

【讨论】:

    猜你喜欢
    • 2015-12-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-11-22
    • 1970-01-01
    • 1970-01-01
    • 2021-04-05
    相关资源
    最近更新 更多