Forum lockedPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: HOW TO INCLUDE NEW API VERSIONS TO YOUR WASPMOTE IDE
PostPosted: Thu Sep 29, 2011 2:59 pm 

Joined: Mon Sep 28, 2009 1:06 pm
Posts: 7440
HOW TO INCLUDE NEW API VERSIONS TO YOUR WASPMOTE IDE

1.Copy your own API version or the last updated release to the following directory:

/.../waspmote-ide-v.01-linux/hardware/cores

2.Open the following file: /.../waspmote-ide-v.01-linux/hardware/boards.txt and add a new board. You must copy the same block you see for the actual API version and change 'wasp01' for 'wasp02'. You should change the name you want for your new API version by changing 'wasp02.name'. Finally, you must change the path to your new API version by changing 'wasp02.build.core'. The following example explains how to update from API v.019 to v.020:

boards.txt wrote:
##############################################################

wasp01.name=wasp_v19

wasp01.upload.protocol=stk500
wasp01.upload.maximum_size=126976
wasp01.upload.speed=38400

wasp01.bootloader.low_fuses=0xdf
wasp01.bootloader.high_fuses=0x90
wasp01.bootloader.extended_fuses=0xfd
wasp01.bootloader.path=wasp_v8.1
wasp01.bootloader.file=ATmegaBOOT_v0003.hex
wasp01.bootloader.unlock_bits=0x3F
wasp01.bootloader.lock_bits=0x0F

wasp01.build.mcu=atmega1281
wasp01.build.f_cpu=8000000L
wasp01.build.core=waspmote-api-v.019

##############################################################

wasp02.name=wasp_v20

wasp02.upload.protocol=stk500
wasp02.upload.maximum_size=126976
wasp02.upload.speed=38400

wasp02.bootloader.low_fuses=0xdf
wasp02.bootloader.high_fuses=0x90
wasp02.bootloader.extended_fuses=0xfd
wasp02.bootloader.path=wasp_v8.1
wasp02.bootloader.file=ATmegaBOOT_v0003.hex
wasp02.bootloader.unlock_bits=0x3F
wasp02.bootloader.lock_bits=0x0F

wasp02.build.mcu=atmega1281
wasp02.build.f_cpu=8000000L
wasp02.build.core=waspmote-api-v.020

##############################################################


3.When 'boards.txt' is saved with the new configuration, you must open a new Waspmote IDE window in order to see these changes. Now you can choose between different API versions by selecting it in your IDE window: Tools → Board → wasp_v20


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum lockedPost a reply Page 1 of 1   [ 1 post ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Libelium theme based on 610nm Style by Daniel St. Jules of http://www.gamexe.net


© Libelium Comunicaciones Distribuidas S.L. | Terms of use