Getting Started with Necto Studio

Pages
Contributors: santaimpersonator
Favorited Favorite 0

Projects - Start and Build

Starting a Project

Similar to a sketch in the Arduino IDE, a project is used to organize the code and hardware configuration in Necto Studio. Users can start a new project, open an existing project, open a recently saved project, and use a project from a library example through the home page.

Below, are the options for starting a project (Click on the images to enlarge):

  • New Project
    1. Click on the New Project button
      home page
    2. Give the project a name and select a directory to save it on the Name page; then click on the Next button
      name and directory
    3. Select the project type from the Type page; then click on the Next button
      type
    4. Select an SDK from the Template page; then click on the Next button
      template
    5. Select a hardware configuration from the Setup page; then click the Finish button
      setup
      • Alternatively, use the Manage setups to create or modify a hardware configuration from the My Setups page
  • Open Project
    1. Click on the Open Project button
    2. Find and open the project file
  • Examples
    1. Click on the Examples button
    2. Select the example project from one of the available library examples
    3. Select a hardware configuration from the Choose setup page and then click the Choose button
      • Alternatively, use the Manage setups to create or modify a hardware configuration from the My Setups page

Modifying the Hardware Setup

Just as in the Arduino IDE, users can change the hardware configuration. From the project page, users can modify the project's hardware configuration by clicking on highlighted the Active setup.

change setup
Click on the highlighted Active setup to change the hardware configuration for the project. (Click to enlarge)

Build - Compiling a *.hex File

In order to compile a *.hex file to program a MCU, users will need to build the project. Users just need to click on the Build button, but it would be best to run meMake to optimize the project build (Click the images to enlarge):

  1. meMake is a simplified build system designed to get the most out of your CPU designed by parallelizing jobs to decrease the compile and linking times. Run meMake to optimize your project build
    Run meMake
  2. To compile the project code, users only need to click the Build button. Once the build is complete, the compiled *.hex file can be found in the directory (it might be located in a hidden folder) listed under the General Output tab
    build output

NOTE: Users who select a Generic board in their hardware setup, may run into a compilation error. This error is because the pins for the Generic board are undefined, by default. Users will need to declare the pins utilized by their code for the build to compile.

generic board error
The compile error for a generic board with undeclared pins. (Click to enlarge)