Open lorneb opened 9 years ago
This is a bug, list must be populated or dialog with runtime selection must pop up. Thank you!
But:
actually, brackets-cuwire supports only Arduino IDE 1.5.8+. This is due various reasons:
To make brackets-cuwire work for you, you can download and install Arduino 1.5.8 and put it into separate location. Then, click on a gear
icon and paste Arduino 1.5.8 folder location into appropriate input. Click OK
.
Hi,
I have the same problem, I can't populate the boards drop down and also can't compile the text. Running Windows 7 (64bit), installed Arduino 1.5.8 and add the the location into the cuwire setting. I tried to reinstall everything as well but no change.
thanks
@matjes- , I've fixed obvious things and will release update in few days. can you copy yours console messages to me?
Those messages is available via Debug > Show Developer Tools
menu, then Console
tab. Thank you!
Thanks, looking forward to it.
Here are the error messages in the console:
[NodeDomain] Error loading domain "clang": Unable to load one of the modules: C:/Users/matjes/AppData/Roaming/Brackets/extensions/user/brackets-cuwire/completion/../node/clang-domain.js, reason: Cannot find module 'libclang'/utils/NodeDomain.js:148 (anonymous function) main.js:556 Uncaught TypeError: Cannot read property '0' of undefined NodeDebugUtils.js:117 [node-log 10:01:36 PM] bad config for: recipe.size.regex.data ^(?:.data|.bss|.noinit)\s+([0-9]+). NodeDebugUtils.js:117 [node-log 10:01:36 PM] bad config for: recipe.size.regex.eeprom ^(?:.eeprom)\s+([0-9]+). main.js:104 [brackets-cuwire-node] Available ports: Array[0]
I'm also getting the "clang" error message:
[NodeDomain] Error loading domain "clang": Unable to load one of the modules: C:/Users/JArnold/AppData/Roaming/Brackets/extensions/user/brackets-cuwire/completion/../node/clang-domain.js, reason: Cannot find module 'libclang'
@mochachocha1981 clang
issue is different. I tried to publish brackets plugin as soon as possible and added clang loading by mistake. clang
is planned for next big release
@matjes- @lorneb just released update. please let me know if update fixed issue for you
Hi, it still doesn't work:
NodeSocketTransport - start /C:/Users/matjes/AppData/Roaming/Brackets/extensions/user/brackets-cuwire/main.js:108 [brackets-cuwire-node] Available ports: Array[1] extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 6:29:26 PM] bad config for: recipe.size.regex.data ^(?:.data|.bss|.noinit)\s+([0-9]+). extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 6:29:26 PM] bad config for: recipe.size.regex.eeprom ^(?:.eeprom)\s+([0-9]+). /C:/Users/matjes/AppData/Roaming/Brackets/extensions/user/brackets-cuwire/main.js:787 Object
I just uploaded debug plugin version to check what's going on
Please uninstall old version, download test release, then install via Extension Manager, button "drag .zip here or install via url" at panel footer.
https://github.com/apla/brackets-cuwire/releases/tag/v%2F0.5.3-test1
Thank you!
Here are the console messages:
debug ioWait++ 1 version C:\Program Files\Arduino
debug ioWait++ 1 hardware C:\Program Files\Arduino
debug ioWait++ 1 libraries C:\Program Files\Arduino
debug ioWait++ 2 version %HOME%\Documents\Arduino
debug ioWait++ 2 hardware %HOME%\Documents\Arduino
debug ioWait++ 2 libraries %HOME%\Documents\Arduino
debug ioWait-- 1 version %HOME%\Documents\Arduino
debug ioWait-- 1 libraries %HOME%\Documents\Arduino
debug C:\Program Files\Arduino version: 1.5.8 modern: true
debug ioWait-- 0 version C:\Program Files\Arduino
debug ioWait++ 2 libraries C:\Program Files\Arduino\hardware\arduino\sam\libraries
debug ioWait++ 3 libraries C:\Program Files\Arduino\hardware\arduino\avr\libraries
debug ioWait-- 2 libraries C:\Program Files\Arduino
debug ioWait-- 1 hardware C:\Program Files\Arduino
debug ioWait-- 1 libraries C:\Program Files\Arduino\hardware\arduino\sam\libraries
debug ioWait-- 0 libraries C:\Program Files\Arduino\hardware\arduino\avr\libraries
debug ioWait++ 1 version C:\Program Files\Arduino
debug ioWait++ 2 hardware C:\Program Files\Arduino
debug ioWait++ 1 libraries C:\Program Files\Arduino
debug ioWait++ 2 version %HOME%\Documents\Arduino
debug ioWait++ 3 hardware %HOME%\Documents\Arduino
debug ioWait++ 2 libraries %HOME%\Documents\Arduino
debug ioWait-- 1 version %HOME%\Documents\Arduino
debug C:\Program Files\Arduino version: 1.5.8 modern: true
debug ioWait-- 0 version C:\Program Files\Arduino
debug ioWait-- 1 libraries %HOME%\Documents\Arduino
debug ioWait++ 2 libraries C:\Program Files\Arduino\hardware\arduino\sam\libraries
debug ioWait++ 3 libraries C:\Program Files\Arduino\hardware\arduino\avr\libraries
debug ioWait-- 2 libraries C:\Program Files\Arduino
debug ioWait-- 2 hardware C:\Program Files\Arduino
debug ioWait-- 1 libraries C:\Program Files\Arduino\hardware\arduino\sam\libraries
debug ioWait-- 0 libraries C:\Program Files\Arduino\hardware\arduino\avr\libraries
Sorry for the comment edit, now it contains only relevant info.
Seems cuwire chokes at %HOME%\Documents\Arduino\hardware
folder. I'll try to repeat bug on my test machine.
Hi, that makes sense. Under windows the hardware folder in your "home" directory is empty by default. You can add new hardware there like "Sparkfun" controller. I copied the content of the hardware folder from the main installation into the "home" location and it populates the dropdown. I tried to compile the "blink" example from Arduino but a "failed" pops up. Not sure what this is about. Btw. is the "Programmer" dropdown also supposed to be populated with something by default? There not even a "loading..." shows up.
[node-log 12:53:13 PM] bad config for: recipe.size.regex.data ^(?:.data|.bss|.noinit)\s+([0-9]+). extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] bad config for: recipe.size.regex.eeprom ^(?:.eeprom)\s+([0-9]+). extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] debug ioWait-- 0 hardware C:\Users\matjes\Documents\Arduino extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] debug ioWait-- 3 libraries C:\Program Files\Arduino\hardware\arduino\sam\libraries extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] debug ioWait-- 2 libraries C:\Users\matjes\Documents\Arduino\hardware\arduino\sam\libraries extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] debug ioWait-- 1 libraries C:\Program Files\Arduino\hardware\arduino\avr\libraries extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] debug ioWait-- 0 libraries C:\Users\matjes\Documents\Arduino\hardware\arduino\avr\libraries extensions/default/DebugCommands/NodeDebugUtils.js:117 [node-log 12:53:13 PM] debug folders information { 'C:\Program Files\Arduino': { platform: { 'arduino:sam': true, 'arduino:avr': true }, boards: { 'arduino:sam': true, 'arduino:avr': true }, programmers: { 'arduino:sam': true, 'arduino:avr': true }, runtime: '1.5.8', modern: true }, 'C:\Users\matjes\Documents\Arduino': { platform: { 'arduino:sam': true, 'arduino:avr': true }, boards: { 'arduino:sam': true, 'arduino:avr': true }, programmers: { 'arduino:sam': true, 'arduino:avr': true } } }
Just released new version, 0.5.3. Please update plugin using Brackets Extension Dialog. CLI is also updated to version 0.5.9.
Please check if issue persists.
I think I am having a similar problem. I am using cuwire 0.5.3 and Arduino 1.6.2.
When I click the drop down for the board, I get a blank list as shown below.
Edit: So after having some problems with other plugins which use Arduino, it seems that the new board file storage has altered how these programs work. Hopefully an update will be pushed to address this.
Using a mac running OS X 10.10.5, and bracket version is v1.4, still got stuck on loading boards. Looking forward to see your work with a fixed plugin.
Using a Mac, Have Arduino IDE 1.0.6 which i believe is the last one, and Brackets says it's up to date. I Installed extension via extension manager option, the boards drop down just say loading... and thats it. Port drop down does show list of ports.
anything else I can try? Thanks