ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Aery​32

by aery32 ALL

Create new projects. Program the board. Use code completion.

Details

Installs

  • Total 2K
  • Win 2K
  • Mac 303
  • Linux 276
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2

Readme

Source
raw.​githubusercontent.​com

Aery32 Sublime Text plug-in

A convenient way to start new projects. Shortcut keys for program uploading (board flashing). Also supports code completion.

Works on Sublime Text 2 and 3.

Installation

Prerequisites

  • Make sure that you have installed AVR32 Toolchain. The plug-in assumes that the toolchain is set in PATH.

Installation via Package Control (recommended)

First make sure that you have a Package Control plug-in installed (version 2.0.0 or later). After then …

  • Press CTRL+SHIFT+P, type install and press enter.
  • Select Aery32 from the list and press enter.
  • Done.

Manual installation

Download and unzip, or git clone, the plug-in into Packages/Aery32 folder. To access Packages folder open ST2/3 and select Preferences - Browse packages… Note that Aery32 plug-in can't be installed in the Sublime Text 3 way to the Installed Packages folder.

Usage

Press CTRL+SHIFT+P to bring the command palette into view. Next type aery32 and select a command which to run:

  • Create new project: Prompts the directory where to create a new project. After then downloads the Aery32 Framework in to that directory and sets up the aery32.sublime-project file. When done you can open the project file located under the directory where ever you created the project. To do that select Project - Open projects…, browse to the project folder and double click aery32.sublime-project file.
  • Set up SublimeClang: Sets up the SublimeClang settings for the currently opened project. You may like to run this command if you had not created the project with the “create new project” command, or if the current SublimeClang settings set in the project file do not work, e.g in case when the path to the AVR32 toolchain has been changed.
  • Fix Hudson problem: Painless way to fix the so call Hudson problem. This problem rises from the fact that Atmel failed to strip the .o and .a files when building the AVR libraries with the Hudson CI tool. Note that in Windows you most likely need to start Sublime Text in administrator mode to have access to change the installed AVR library files. Similarly in Linux or Mac OS X you may need root access.

Shortcut keys

  • CTRL+B builds the project
  • CTRL+SHIFT+B uploads the program to the board (flashes the board)
  • ALT+D ALT+D goes to the definition of whatever is under the current cursor position
  • ALT+D ALT+I goes to the implementation of whatever is under the current cursor position
  • ALT+D ALT+B come back to where ever you were before hitting goto the definition or implementation

Settings

You can edit settings from Preferences - Package Settings - Aery32:

  • mpart: MCU part name. Change this to uc3a1128 if you are using Rev. 0 boards.
  • download_url: URL where Aery32 Framework is downloaded from.
  • strip: Post processing… list of files and directories, which you want to remove from the created project. Commonly the files, which are included in the Aery32 Framework but which you don't care to include in your project.

Plug-in Dependencies

Aery32 plug-in is dependent of two Sublime Text plug-ins, which are SublimeClang and Nettuts+ Fetch. The dependent plug-in will be installed automatically by the Aery32 plug-in if needed. If you decide to pre-install one or both of these plug-ins, Aery32 plug-in will notice this and will not overwrite or modify your installation.

License

This Aery32 Sublime Text plug-in is licensed under the new BSD license:

Copyright © 2012-2013, Muiku Oy All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of Muiku Oy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

SublimeClang is licensed under the zlib:

Copyright © 2011-2012 Fredrik Ehnbom

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

  3. This notice may not be removed or altered from any source distribution.

Nettuts+ Fetch license is unkown: