Skip to content

Board Support Package (BSP) Overview

This document provides a detailed overview of the mikroSDK v2.0 Board Support Package (BSP) header files available in NECTO Studio.

These BSP headers offer essential APIs for interfacing with Development Boards, MCU Cards, and Shields, allowing developers to easily initialize and control hardware components.

This guide is designed to assist NECTO Studio users in understanding the available BSP headers and their usage, streamlining the embedded development process.

Benefits for NECTO Studio Users

  • Pre-configured Hardware Initialization: BSP headers provide predefined APIs that simplify board, MCU card, and shield configuration, eliminating the need for manual hardware setup.
  • Standardized API: A consistent function naming and structure allows seamless migration between different hardware platforms.
  • Simplified Hardware Control: These headers abstract away low-level hardware details, enabling developers to focus on application logic rather than hardware-specific implementations.
  • Enhanced Development Efficiency: Using BSP headers allows developers to prototype and develop embedded applications rapidly, increasing productivity.

  • Header Files

    Below is the list of available headers for Board Support Package, along with a brief description of their functionalities:

    • board.h: Provides preprocessor directives and functions for board-specific pin mapping and initialization.

    • mcu_card.h: Maps connections between the microcontroller and the MCU card, simplifying hardware configuration for specific MCU cards.

    • shield.h: Provides support for initializing and managing various shield components, including mikroBUS™ slots, buttons, and LEDs.

    • generic_pointer.h: A utility header that abstracts pointer-based access to hardware resources, offering a standardized way to handle pointer manipulation across different platforms.

      Key Features:

      • Provides utilities for managing pointers
      • Offers an abstraction layer for pointer manipulation in various BSP contexts
      • Enhances code portability between different hardware platforms
  • How to Use These BSP Headers

    To integrate these BSP headers into your NECTO Studio project, include the relevant header files in your code and enable the Board library in NECTO's Library Manager.

    These headers provide preprocessor directives and functions to control and initialize development boards, MCU cards, and shields, reducing the time and effort required for hardware setup. For instance, including the board.h header allows access to board-specific pin mappings and initialization.

    By utilizing BSP headers, developers can focus on high-level application development rather than low-level hardware management, ensuring rapid prototyping and robust embedded system development.