Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

Clarification on compatibility with other "platforms" #108

Closed maeishoj closed 9 years ago

maeishoj commented 10 years ago

Hello and thanks first of all for your this great tool!

I just wanted to mention that it seems to be working with waspmote too (www.libelium.com).

Just select the waspmote app when setting the "arduino" app from the menu and it will configure ok.

I havent tried building on it, only use serial monitor etc, and works fine.

IT's GREAT!!

Is there any risk if I try to build and upload to my waspmote?Meaning that will it just fail to compile or could it cause "problems" and burn my board?

I mean, it's basically an arduino board (just a special kind). even the waspmote IDE still says "arduino" on top of the menu bar..

maeishoj commented 10 years ago

Anyone here can provide some insight? I just tried verify the code (building it) but I get errors:

Compiling Copy... Creating /Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp.o... "/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega1281 -DF_CPU=14745600L -DARDUINO=105 "-I/Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy" "-I/Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/tools/avr/avr/include" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/aes" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/hash" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/rsa" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/sd_utilities" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/aes" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/hash" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/rsa" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/hardware/waspmote/cores/waspmote-api/sd_utilities" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/libraries/Frame" "-I/Applications/waspmote-pro-ide-v04-macosx/waspmote-ide-v04-macos/Waspmote.app/Contents/Resources/Java/libraries/GPRS_Pro" "/Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp" -o "/Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp.o" /Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp: In function 'void loop()': /Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp:43: error: 'sample' was not declared in this scope /Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp:53: error: 'RTC' was not declared in this scope /Users/manuelmaestrini/Documents/Waspmote/v1.2/Copy/Copy.ino.cpp:54: error: 'PWR' was not declared in this scope ...... ...... ...... ...... etc [Stino - Error 1] It is basically an Arduino board which uses the ATmega1281microcontroller. (http://www.libelium.com/products/waspmote/hardware/) Can someone please help me ? Is there any risk uploading to my board if we get this to build?

Robot-Will commented 9 years ago

Hi @maeishoj, waspmote is supported now. Thanks.