New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add board type/support for Adafruit 32u4 based Feather boards #403

Closed
chrisbalmer opened this Issue Dec 24, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@chrisbalmer

chrisbalmer commented Dec 24, 2015

I tried using the flora8 board settings for an Adafruit Feather BLE board as they have the same MCU (32u4, 8Mhz, 32K flash, 2K ram, 3.3v). However during the upload, the serial port disappears briefly and platformio reports that the port doesn't exist.

Build Attempt

$ platformio run --target upload
[Wed Dec 23 23:15:48 2015] Processing flora8 (platform: atmelavr, upload_port: /dev/cu.usbmodem1411, board: flora8, framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
BeforeUpload(["upload"], [".pioenvs/flora8/firmware.hex"])
"/Users/user/.platformio/packages/tool-avrdude/avrdude" -v -p atmega32u4 -C "/Users/user/.platformio/packages/tool-avrdude/avrdude.conf" -c avr109 -b 57600 -P /dev/cu.usbmodem1411 -D -U flash:w:.pioenvs/flora8/firmware.hex:i

avrdude: Version 6.0.1, compiled on Dec 16 2013 at 17:26:24
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/Users/user/.platformio/packages/tool-avrdude/avrdude.conf"
EUser configuration file is "/Users/user/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port                    : /dev/cu.usbmodem1411
Using Programmer              : avr109
Overriding Baud Rate          : 57600
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1411": No such file or directory
avrdude: butterfly_recv(): programmer is not responding
scons: *** [upload] Error 1
====================================================================================== [ ERROR ] Took 6.91 seconds ======================================================================================
$

During Build Serial Port Disappears

$ ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem1411
$ ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port
$ ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem1411
$

If I init the project as a "sparkfun_promicro8" board (same MCU according to the boards list), it will upload successfully.

OS: OS X El Capitan

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 24, 2015

Please install http://docs.platformio.org/en/latest/installation.html#d-development-version and test it. Don't forget to platformio update.

@ivankravets ivankravets added this to the 2.6.4 milestone Dec 24, 2015

@ivankravets ivankravets self-assigned this Dec 24, 2015

@chrisbalmer

This comment has been minimized.

chrisbalmer commented Dec 25, 2015

Works perfectly now! Thanks!

ivankravets added a commit that referenced this issue Dec 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment