Skip to content
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

config: add LightBlue Bean board definition and docs #292

Merged
merged 4 commits into from
Sep 24, 2015

Conversation

mplewis
Copy link
Contributor

@mplewis mplewis commented Sep 22, 2015

This pull request adds support for compiling Arduino sketches for the LightBlue Bean.

Not yet ready to merge. I still need to add Bean libraries to this pull request, but I'm not sure how.

I have gotten sketches for Bean to compile locally by adding the following files to ~/.platformio. This pull request already takes care of the board definition file punchthrough.json, but I'm not sure what to do about cores/bean or variants/bean.

@ivankravets, can you help me figure out where I can place the following files?

~/.platformio
├── boards
│   └── punchthrough.json
└── packages
    └── framework-arduinoavr
        ├── cores
        │   └── bean
        │       ├── Arduino.h
        │       ├── Bean.cpp
        │       ├── Bean.h
        │       ├── BeanSerialTransport.cpp
        │       ├── BeanSerialTransport.h
        │       ├── CDC.cpp
        │       ├── Client.h
        │       ├── HID.cpp
        │       ├── HardwareSerial.cpp
        │       ├── HardwareSerial.h
        │       ├── IPAddress.cpp
        │       ├── IPAddress.h
        │       ├── Platform.h
        │       ├── Print.cpp
        │       ├── Print.h
        │       ├── Printable.h
        │       ├── Server.h
        │       ├── Stream.cpp
        │       ├── Stream.h
        │       ├── Tone.cpp
        │       ├── USBAPI.h
        │       ├── USBCore.cpp
        │       ├── USBCore.h
        │       ├── USBDesc.h
        │       ├── Udp.h
        │       ├── WCharacter.h
        │       ├── WInterrupts.c
        │       ├── WMath.cpp
        │       ├── WString.cpp
        │       ├── WString.h
        │       ├── applicationMessageHeaders
        │       │   ├── AppMessageTypes.h
        │       │   └── AppMessages.h
        │       ├── avr-libc
        │       │   ├── malloc.c
        │       │   ├── realloc.c
        │       │   ├── sectionname.h
        │       │   └── stdlib_private.h
        │       ├── binary.h
        │       ├── main.cpp
        │       ├── new.cpp
        │       ├── new.h
        │       ├── wiring.c
        │       ├── wiring_analog.c
        │       ├── wiring_digital.c
        │       ├── wiring_private.h
        │       ├── wiring_pulse.c
        │       └── wiring_shift.c
        └── variants
            └── bean
                └── pins_arduino.h

@ivankravets
Copy link
Member

Thanks a lot for the request 👍

  1. Please remove "doc" files from pull-request and just leave platformio/boards/punchthrough.json. Docs will be generated automatically.
  2. Please archive mentioned files and give me a link to archive. We will put these files to framework-arduinoavr package.

@mplewis
Copy link
Contributor Author

mplewis commented Sep 23, 2015

OK, I've removed the changes to the doc files.

The Bean libraries for PlatformIO are available here: lightblue-bean-platformio.zip.

Please let me know if you need anything else. Thanks!

@ivankravets
Copy link
Member

@valeros could I ask you to repack and reupload framework-arduinoavr with these files? Thanks!

@ivankravets ivankravets added this to the 2.3.3 milestone Sep 24, 2015
ivankravets added a commit that referenced this pull request Sep 24, 2015
config: add LightBlue Bean board definition and docs
@ivankravets ivankravets merged commit 5201626 into platformio:develop Sep 24, 2015
@mplewis mplewis deleted the add-lightblue-boards branch September 24, 2015 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants