-
-
Notifications
You must be signed in to change notification settings - Fork 283
Add flashpack to IDE #269
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 flashpack to IDE #269
Conversation
A couple tasks left:
|
First attempt at arduino101-factory_ble-flashpack.tar.bz2. |
Nice. will verify after kanban. |
Tested programmer on Windows. I had to add a Windows-specific instruction in platform.txt: |
You verify this by using a BLE Central corelibs . we need to be testing the Central Examples. Scanning should scan for available BLE devices |
Will test with Brian's fixes on windows and Ubuntu |
tools.arduino101load.erase.pattern= | ||
tools.arduino101load.bootloader.params.verbose= | ||
tools.arduino101load.bootloader.params.quiet= | ||
tools.arduino101load.bootloader.pattern=/bin/bash {runtime.tools.flashpack.path}/flash_dfu.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to make a version of this which works for both Linux, OSX, and Windows. Currently only works in Linux and OSX.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you look at how we did it in Edison you should see how we used a different method for each OS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a fix for Windows. The other OSes should support bash.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Can you guys please test it?
@@ -28,6 +28,9 @@ arduino_101.build.variant_system_lib=arc32drv_arduino101 | |||
arduino_101.build.vid=0x8087 | |||
arduino_101.build.pid=0x0AB6 | |||
|
|||
arduino_101.bootloader.tool=arduino101load | |||
arduino_101.bootloader.file="" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes the IDE to give a warning when uploading a sketch:
Bootloader file specified but missing: /home/babaltz/.arduino15/packages/Intel-Test/hardware/arc32/0.0.49/bootloaders/""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I saw that too. Since that file isn't used, perhaps we can point that to the actual image.bin
to suppress the error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing that line seems to resolve the warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alright, let's go with that
I think we have a working solution. I'll publish a new json in 10 min. |
c7b1fc5
to
60f193c
Compare
http://mkfs.ndg.intel.com/precommit/json/package_0.0.50_index.json Works on OSX. Please verify on Linux and Windows. |
Verified on Linux 64 and Linux 32. |
Needs to be paired with a json which installs flashpack.