---
title: 'Embedded Software Development: Tools and Environment Setup'
description: What embedded software development involves, the write-build-flash-debug workflow, a comparison of IDEs and tools, and how to set up your first environment.
source_url: https://dev.blues.io/blog/blues-university-setting-up-development-environment-embedded/
canonical_url: https://dev.blues.io/blog/blues-university-setting-up-development-environment-embedded/
markdown_url: https://dev.blues.io/blog/blues-university-setting-up-development-environment-embedded.md
---

# Embedded Software Development: Tools and Environment Setup

![Embedded Software Development: Tools and Environment Setup banner](https://dev.blues.io/images/blog/posts/blues-university-setting-up-development-environment-embedded/banner.jpg?v=d99e2f98)

October 16, 2024

## What embedded software development involves, the write-build-flash-debug workflow, a comparison of IDEs and tools, and how to set up your first environment.

- [Blues University](https://dev.blues.io/blog/tag/blues-university/)
- [Arduino](https://dev.blues.io/blog/tag/arduino/)
- [Firmware](https://dev.blues.io/blog/tag/firmware/)
- [Beginner](https://dev.blues.io/blog/tag/beginner/)

[![Blues University](https://dev.blues.io/images/blog/authors/blues-university.png?v=53d6aef5)](https://dev.blues.io/blog/author/blues-university/)

[Blues UniversityIoT and Embedded Development Content](https://dev.blues.io/blog/author/blues-university/)

> [Blues University](https://dev.blues.io/blog/tag/blues-university/) is an ongoing series of articles geared towards beginner- and intermediate-level developers who are looking to expand their knowledge of embedded development and the IoT.

Embedded software development means writing the firmware that runs on the microcontroller inside a device, whether that's a thermostat, a pump controller, or an asset tracker. When that firmware misbehaves, there's no screen to show you an error, so you rely on tools to see what it's doing.

This guide covers what the work involves, the tools for each step, and how to set up a first environment with VS Code and PlatformIO. It then goes further into debugging, testing, version control and CI, the choice between bare metal and an RTOS, and where AI coding assistants fit.

## What Embedded Software Development Involves {#what-embedded-software-development-involves}

Several things set embedded work apart from building apps for a laptop or a server:

- You write code on one computer and run it on another. You edit and compile on your computer (the host), then load the result onto the microcontroller (the target). Your compiler is a cross-compiler: it produces machine code for the target's processor, often an Arm Cortex-M core, instead of for your computer.
- Memory is small and fixed. Microcontrollers have kilobytes to a few megabytes of flash and RAM. Swan, for example, has 2 MB of flash and 640 KB of RAM, and there's usually no operating system managing them for you.
- Your code drives the hardware directly. Firmware reads sensors and controls peripherals over GPIO pins and serial interfaces (UART, I2C, and SPI), usually with the help of a framework like Arduino or the chip vendor's hardware abstraction layer (HAL).
- Simple firmware runs on bare metal, and complex firmware uses an RTOS. A basic program is a single loop that runs forever. A device that juggles several tasks with timing deadlines usually runs a real-time operating system (RTOS), such as FreeRTOS or Zephyr, to schedule them (see [Bare Metal vs. an RTOS](#bare-metal-vs-an-rtos)).
- C and C++ dominate. Most firmware is written in C or C++ (see [Why Beginning Embedded Developers Shouldn't be Afraid of C](https://dev.blues.io/blog/blues-university-why-c-embedded-development.md)). On larger microcontrollers you can also write Python with MicroPython or [CircuitPython](https://dev.blues.io/feather-mcus/swan/using-circuitpython-with-swan.md), and embedded Rust is a growing option.
- Power is a design constraint. A battery-powered device spends most of its life asleep, so firmware manages power as carefully as memory. See [Power Management and Energy Efficiency in Embedded Systems](https://dev.blues.io/blog/blues-university-power-management-energy-efficiency.md).

## The Embedded Development Workflow {#the-embedded-development-workflow}

Whatever tools you choose, embedded development follows the same loop: write, build, flash, debug, and repeat.

1. **Write.** You write firmware in an IDE or code editor, usually in C or C++, on top of a framework (Arduino, ESP-IDF, Zephyr, or a vendor HAL like ST's STM32Cube) that handles low-level setup, including clocks and pin configuration.
2. **Build.** The toolchain compiles your code and its libraries, then links them into a single firmware image (an `.elf`, `.bin`, or `.hex` file) laid out for the target's memory. For Arm microcontrollers this is usually the GCC toolchain (`arm-none-eabi-gcc`), and your IDE runs it when you click **Build**.
3. **Flash.** You copy that image into the microcontroller's flash memory. Many boards accept firmware over USB through a built-in bootloader; others need a debug probe that connects over SWD or JTAG. Swan supports both: [over USB in DFU mode, or with an STLINK-V3MINI](https://dev.blues.io/quickstart/swan-quickstart.md#flashing-firmware).
4. **Debug.** You check what the firmware does on real hardware. The quickest tool is [serial logging](https://dev.blues.io/blog/blues-university-using-serial-logs-effectively.md): printing messages over UART to a serial monitor. When the logs don't explain a problem, a debug probe or a logic analyzer takes over (see [Debugging Beyond the Serial Monitor](#debugging-beyond-the-serial-monitor)).

Code that doesn't touch hardware can be [unit tested on your computer](#testing-firmware) before you flash anything, and a CI pipeline can build every change on a clean machine. After devices ship, you can keep updating their firmware remotely with [Notecard Outboard Firmware Update](https://dev.blues.io/notehub/host-firmware-updates/notecard-outboard-firmware-update.md).

## Components Overview {#components-overview}

A development setup has three parts you choose up front: the hardware you program, the software you write it with, and the interfaces it talks over. Debugging tools get [their own section](#debugging-beyond-the-serial-monitor) below.

### Hardware {#hardware}

The core of the hardware is the microcontroller. Popular families include Nordic's nRF52, known for Bluetooth LE; Espressif's ESP32, with built-in WiFi; and ST's STM32, a broad range of Arm Cortex-M parts.

A development board puts that microcontroller on a board with power regulation, a USB connection, and pins you can reach. Examples include the STM32-based [Blues Swan](https://shop.blues.com/collections/swan/products/swan?utm_source=dev-blues\&utm_medium=web\&utm_campaign=store-link), the Arduino UNO, and Adafruit's Feather boards. The board makes the chip easy to wire up, and a framework like Arduino hides much of the chip-specific setup, but the firmware you write is what makes the project do anything.

The [Raspberry Pi](https://www.raspberrypi.com/) is a different class of device: a single-board computer (SBC) that runs Linux, with a far more powerful processor and more connectivity than a microcontroller. Both show up in embedded systems, but an SBC suits work like video, a full network stack, or a local database, while a microcontroller suits a dedicated, low-power job.

### Software {#software}

Your IDE or editor is where you write, build, and flash firmware. VS Code with PlatformIO and the Arduino IDE are common starting points, and chip vendors offer their own, like STM32CubeIDE. Each includes the compilers, linkers, and upload tools for the boards it supports, so you rarely need to install a toolchain by hand at first.

Libraries matter as much as the IDE. The board support package and drivers for your microcontroller and sensors save you from writing register-level code yourself, so check what's available for a chip before you commit to it.

### Communications {#communications}

Firmware talks to sensors and other chips over a few standard interfaces. The right one depends on data rate, distance, power, and what the other device supports:

- UART is the simplest: two data lines and no shared clock. It's also how most boards send logs to your computer.
- SPI is a fast, full-duplex bus with one controller and one or more peripherals, each selected by its own chip-select line.
- I2C connects many devices over two shared wires, and each device has its own address.
- CAN, common in vehicles and industrial equipment, uses a differential pair that resists electrical noise and has error detection built in.

A USB-to-serial converter, often built into the development board, bridges a UART to your computer.

> Learn more about these interfaces in another Blues University article, [Understanding Sensor Interfaces - UART, I2C, SPI and CAN](https://dev.blues.io/blog/blues-university-understanding-sensor-interfaces-uart-i2c-spi-can.md).
>
> For a wider look at how embedded development and the IoT fit together, see [An Introduction to Embedded Development and the Internet of Things](https://dev.blues.io/blog/blues-university-intro-embedded-development-iot.md).

Wireless modules take a device beyond the bench. Bluetooth LE and WiFi cover short range, and cellular, satellite, and LoRaWAN cover long range. Blues Notecard provides developer-friendly access to [Cellular](https://blues.com/notecard-cellular/), [Satellite](https://blues.com/starnote/), [LoRaWAN](https://blues.com/notecard-lora/), and [WiFi](https://blues.com/products/notecard/).

## Embedded Development Tools Compared {#embedded-development-tools-compared}

The IDE or framework you choose decides how you build, flash, and debug your firmware.

| Tool | Good for | Hardware | Flashing and debugging | Cost |
| - | - | - | - | - |
| [Arduino IDE](https://www.arduino.cc/en/software) | Beginners and quick prototypes | Arduino boards, plus many others (including ESP32 and STM32 boards like Swan) through board packages | One-click upload and a serial monitor; a built-in debugger on supported boards | Free, open source |
| [PlatformIO](https://platformio.org/) (VS Code extension) | One tool across many boards and frameworks | Arm, AVR, ESP32, RISC-V, and more, with Arduino, ESP-IDF, STM32Cube, and Zephyr frameworks | Upload, plus debugging with common probes including ST-LINK, J-Link, and CMSIS-DAP | Free, open source |
| [STM32CubeIDE](https://www.st.com/en/development-tools/stm32cubeide.html) | STM32 projects using ST's HAL, with graphical pin and clock configuration | STM32 microcontrollers | GDB debugging with ST-LINK or J-Link probes | Free |
| [STM32Cube for VS Code](https://www.st.com/content/st_com/en/stm32-mcu-developer-zone/software-development-tools/stm32cubevscode.html) | STM32 projects in VS Code | STM32 microcontrollers | CMake builds; debugging with ST-LINK or J-Link probes | Free |
| [ESP-IDF](https://docs.espressif.com/projects/esp-idf/) | Production firmware for Espressif chips | ESP32 family | `idf.py` builds, flashes, and monitors; JTAG debugging with OpenOCD and GDB | Free, open source |
| [Zephyr](https://zephyrproject.org/) | RTOS-based firmware that runs on chips from many vendors | Many architectures, including Arm, RISC-V, and Xtensa | `west` builds, flashes, and debugs | Free, open source |
| [Keil MDK](https://www.keil.arm.com/) | Commercial Arm projects built with Arm's own compiler | Arm Cortex-M microcontrollers | µVision debugger | Free for non-commercial use; paid license for commercial projects |

Blues has step-by-step guides for several of these with Blues hardware: the [Arduino IDE](https://dev.blues.io/quickstart/swan-quickstart.md), [PlatformIO](https://dev.blues.io/feather-mcus/swan/using-platformio-with-swan.md), and [STM32Cube for VS Code](https://dev.blues.io/feather-mcus/swan/using-stm32cube-vs-code-extension-with-swan.md) with Swan, plus Notecard firmware libraries for [ESP-IDF](https://dev.blues.io/tools-and-sdks/firmware-libraries/esp-idf-library.md) and [Zephyr](https://dev.blues.io/tools-and-sdks/firmware-libraries/zephyr-library.md).

## Debugging Beyond the Serial Monitor {#debugging-beyond-the-serial-monitor}

Serial logs answer most questions, so they're the first tool to reach for. When the answer isn't in the logs, because the firmware crashes before it prints or the bug lives in timing or on the wires, you need tools that look inside the chip or at its signals.

### Reading Serial Logs Well {#reading-serial-logs-well}

A few habits make logs far more useful. Give each line a timestamp and a level (info, warning, or error), so you can see what happened in what order. Log state changes rather than every pass through the loop, so the line you need isn't buried. And don't print from an interrupt handler, where a slow UART write can break the very timing you're trying to observe. [Using Serial Logs Effectively](https://dev.blues.io/blog/blues-university-using-serial-logs-effectively.md) covers baud rates, formatting, and log viewers in detail.

### Debug Probes: SWD and JTAG {#debug-probes-swd-and-jtag}

A debug probe connects your computer to the microcontroller's debug port, so you can pause the running firmware, set breakpoints, step through it line by line, and read variables and registers. On Arm Cortex-M chips that port is usually SWD (Serial Wire Debug), which needs two signal wires plus ground. JTAG is the older, wider interface that many chips also support. A probe also flashes firmware, without needing a bootloader on the chip.

A probe is most valuable when firmware crashes. When a Cortex-M chip hits a fault, the debugger shows the call stack and fault registers, which point at the line that caused it, even when the crash happens before the first log line.

| Probe | Made by | Works with | Notes |
| - | - | - | - |
| ST-LINK (current version STLINK-V3) | STMicroelectronics | STM32 microcontrollers | Built into ST's Nucleo and Discovery boards, and sold separately (the STLINK-V3MINI works with Swan) |
| J-Link | SEGGER | Most Arm Cortex-M chips, plus RISC-V and other architectures | Broad IDE support and fast flashing; a lower-cost EDU version is for non-commercial use |
| CMSIS-DAP probes | Built on an open Arm standard, by many makers, including the Raspberry Pi Debug Probe and DAPLink boards | Arm Cortex-M chips | Inexpensive and supported by open-source tools like OpenOCD and pyOCD |

On your computer, a GDB server such as OpenOCD, pyOCD, or the probe maker's own talks to the probe, and your IDE's debugger talks to the GDB server. Most of the IDEs in the table above set this up for you once you pick a probe. Some chips don't need a separate probe at all: newer ESP32 chips such as the ESP32-C3 and ESP32-S3 debug over their own USB port.

For a full walkthrough with an ST-LINK, see [Debugging Embedded Applications on STM32](https://dev.blues.io/blog/blues-university-debugging-embedded-stm32.md).

### Logic Analyzers and Oscilloscopes {#logic-analyzers-and-oscilloscopes}

A logic analyzer records digital signals on several pins at once and decodes them, so you can see the exact bytes on an I2C or SPI bus and whether a sensor answered at all. Low-cost USB analyzers work with the open-source [sigrok](https://sigrok.org/) project's PulseView software, and Saleae's analyzers are a popular commercial choice.

An oscilloscope shows the analog shape of a signal: slow edges, noise, ringing, or a supply voltage that sags when a radio transmits. For a battery-powered device, a power profiler that logs current over time shows where the energy goes and whether the device really sleeps when you think it does.

## Testing Firmware {#testing-firmware}

Firmware is harder to test than a web app because so much of it depends on hardware. Most of it can still be tested, in two layers.

### Host-Side Unit Tests {#host-side-unit-tests}

Logic that doesn't touch registers, like parsers, state machines, protocol encoders, and math, can compile and run on your computer with an ordinary C or C++ test framework such as Unity, Catch2, or GoogleTest. Where that code calls into hardware, you substitute a fake that records the calls and returns the values the test needs. These tests run in seconds, so you can run them on every change. PlatformIO's `pio test` command runs tests written with frameworks such as Unity or GoogleTest, either on your computer or on the board itself.

Unit testing gets much easier when hardware access sits behind a thin layer of functions (`read_temperature()` rather than register reads scattered through your code). That same layer also makes the firmware easier to port to a new chip. [How We Unit Test Embedded C Code at Blues](https://dev.blues.io/blog/embedded-c-unit-testing.md) shows the approach on a real library: Catch2 tests, fff fakes, gcov coverage, and Valgrind memory checks, all running in CI.

### Hardware-in-the-Loop Testing {#hardware-in-the-loop-testing}

Some bugs only show up on the real chip: timing, interrupts, peripherals, and power. Hardware-in-the-loop (HIL) testing runs your firmware on a real board connected to a test computer, which flashes each build, drives the board's inputs, and checks its outputs, often by reading the serial log. A HIL rig can be as simple as one board on a USB hub next to a CI runner.

HIL tests are slower and need hardware, so save them for behavior that unit tests can't reach. Emulators such as [Renode](https://renode.io/) and QEMU sit in between, running unmodified firmware for supported chips without the board.

## Version Control and CI for Firmware {#version-control-and-ci-for-firmware}

Firmware belongs in version control like any other code, along with everything needed to reproduce a build: the build configuration (`platformio.ini`, `CMakeLists.txt`, or Zephyr's `west.yml`) and pinned versions of libraries, board packages, and toolchains. Leave build output out of the repository. Tag each release, and compile the version number into the firmware so a device can report what it's running.

Continuous integration (CI) builds the firmware on a clean machine for every push, which catches the problems that come from an unpinned library or a change that only exists on one developer's computer. GitHub Actions can run any of the toolchains above, whether that's `arduino-cli compile`, PlatformIO's `pio run`, Zephyr's `west build`, or a vendor toolchain in a Docker container. [PlatformIO's documentation](https://docs.platformio.org/en/latest/integration/ci/github-actions.html) gives this workflow as a starting point:

```plaintext
name: PlatformIO CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v7
      - uses: actions/cache@v4
        with:
          path: |
            ~/.cache/pip
            ~/.platformio/.cache
          key: ${{ runner.os }}-pio
      - uses: actions/setup-python@v7
        with:
          python-version: "3.14"
      - name: Install PlatformIO Core
        run: pip install --upgrade platformio

      - name: Build PlatformIO Project
        run: pio run
```

From there, add steps that run your host-side unit tests and save the compiled firmware as a build artifact. The same pipeline can then ship firmware to devices in the field. If your devices use Blues Notecard, the [Notehub ODFU GitHub Action](https://dev.blues.io/blog/github-action-notehub-odfu.md) stages a CI build as an over-the-air update for each device's host microcontroller.

## Bare Metal vs. an RTOS {#bare-metal-vs-an-rtos}

A bare-metal program is one loop that runs forever, plus interrupt handlers for events that can't wait. An Arduino sketch's `setup()` and `loop()` follow this pattern. It's the smallest and simplest structure, and for a device that reads a sensor, sends the reading, and goes back to sleep, it's usually all you need.

The loop starts to strain when a device juggles several jobs with their own timing, like a radio, a display, a sensor sampled at a fixed rate, and a file system. A real-time operating system (RTOS) splits that work into tasks, and its scheduler always runs the most urgent task that's ready. Queues, semaphores, and timers let the tasks coordinate.

| | Bare metal | RTOS |
| - | - | - |
| Structure | One loop plus interrupt handlers | Independent tasks that a scheduler switches between |
| Memory | Smallest footprint | A kernel plus a separate stack for every task |
| Timing | Easy to reason about while the loop stays short | Priorities keep urgent work on time as the firmware grows |
| Typical bugs | A slow function delays everything after it | Race conditions, deadlocks, and priority inversion |
| Good for | Devices that read, send, and sleep | Devices that run a radio, user interface, storage, and sensors at once |
| Examples | Most Arduino sketches, vendor HAL projects | FreeRTOS, Zephyr, Eclipse ThreadX |

FreeRTOS is a small kernel with ports for most microcontrollers. The Arduino core for ESP32 is built on it and runs your sketch's `loop()` as a FreeRTOS task. Zephyr is a fuller platform, with drivers, networking, and its own build system, at the cost of a steeper learning curve. [Get Started With Zephyr the Easy Way](https://dev.blues.io/blog/zephyr-the-easy-way.md) shows a quick path in.

## AI Coding Assistants in the Embedded Workflow {#ai-coding-assistants-in-the-embedded-workflow}

AI coding assistants such as Claude Code, Cursor, and GitHub Copilot can read your project, write code, and run your build tools. In embedded work they help most with the tedious parts: drafting a driver from a datasheet's register table, explaining unfamiliar vendor code, writing host-side unit tests, setting up a CI workflow, and decoding a crash log.

They also make mistakes that are specific to embedded code. An assistant can invent a register name, a pin mapping, or a library function that looks right and doesn't exist, and nothing catches it until the firmware misbehaves on the device. Give the assistant the relevant datasheet sections and your board's pin map, have it build after every change, and treat the hardware as the final test.

An assistant works from its training data unless you connect it to current sources. The [Model Context Protocol](https://modelcontextprotocol.io/) (MCP) lets it query a vendor's documentation and tools directly, so its answers match the versions you're using. [Blues Expert MCP](https://dev.blues.io/tools-and-sdks/generative-ai-tools/blues-expert-mcp.md), for example, gives an assistant current Notecard API documentation and validates the Notecard requests it writes.

AI Tip

Coding assistants do their best work with a concrete task and a way to check the result. In a PlatformIO project, try a prompt like this one:

Prompt

Read platformio.ini and the code in src/. Explain how this project builds and uploads, then add a GitHub Actions workflow that installs PlatformIO and runs `pio run` on every push. Run `pio run` locally before you finish, and fix any errors it reports.

## Selecting the Right Components {#selecting-the-right-components}

Four criteria decide most component choices:

- Project requirements
- Budget and availability
- Community support
- Your own proficiency

Start with the requirements. A simple sensor and a robot need very different amounts of computing power, memory, and interfaces, so list what the project needs before you compare parts.

Budget and availability come next. The most capable microcontroller or a commercial IDE is rarely necessary, since affordable parts and free tools cover most projects. Check that the parts you pick are in stock and likely to stay that way.

Community support counts for more than it seems. Forums, tutorials, and example code get you unstuck faster than any datasheet, especially when you're new.

Finally, weigh what you already know. An unfamiliar IDE or microcontroller can add weeks to a project. If you already use VS Code, for example, adding PlatformIO to work with a Swan board is a small step.

## Setting Up the Development Environment: Step-by-Step Walkthrough {#setting-up-the-development-environment-step-by-step-walkthrough}

In this section, you'll set up the hardware, install the software, and get your board talking to your computer.

### Step 1: Hardware Setup {#step-1-hardware-setup}

Before you start coding, get to know your hardware. This walkthrough uses a [Swan board from Blues](https://shop.blues.com/collections/swan/products/swan?utm_source=dev-blues\&utm_medium=web\&utm_campaign=store-link), but most development boards work much the same way.

Take the board out of the box and look it over. You'll see rows of pins, the main microcontroller, a USB connector, and probably some built-in LEDs. Find the power pins, digital I/O, and analog inputs.

![The Blues Swan board with the following components indicated: external power supply, power LED, analog inputs, digital I/O, microcontroller, reset button, and USB plug.](https://dev.blues.io/images/blog/posts/blues-university-setting-up-development-environment-embedded/swan.png?v=1b2ca6ce)

Connect the board's USB port to your computer with a USB cable. The power LED should light up to show that the board is getting power.

### Step 2: Software Installation {#step-2-software-installation}

Install [VS Code](https://code.visualstudio.com/), then open its Extensions view, search for **PlatformIO IDE**, and install it. Once the installation finishes, PlatformIO appears in VS Code's sidebar.

![PlatformIO successfully integrated into VS Code.](https://dev.blues.io/images/blog/posts/blues-university-setting-up-development-environment-embedded/vscode.png?v=69f09e3a)

Depending on your operating system, you may need to install a USB driver for your board. For example, Windows users may need [specific drivers](https://docs.arduino.cc/tutorials/generic/DriverInstallation) before the computer can talk to some boards. Follow the instructions for your OS.

Next, create a project. In PlatformIO, open the **Projects** tab and create a new project, then select your board. The framework defaults to **Arduino**. The screenshot below uses an Arduino Uno; for Swan, choose **Blues Swan R5**.

![The Project Wizard for creating a new PlatformIO project. The Wizard has a form with the fields Name, Board, and Framework, followed by a Location checkbox for using the default location. Here, the name is newAUProject, board is Arduino Uno, and Framework is Arduino. The location checkbox is selected. In the bottom-right corner of the form are two buttons: Cancel and Finish.](https://dev.blues.io/images/blog/posts/blues-university-setting-up-development-environment-embedded/platformio.png?v=50cce0cd)

PlatformIO downloads the toolchain and framework for your board when you create the project, so there's nothing else to install.

### Step 3: Establishing Communication {#step-3-establishing-communication}

UART is the usual way for a microcontroller to send logs to your computer, so it's worth setting up before you write any real code.

Open the `platformio.ini` file in your project directory and set the baud rate, the speed of the serial connection, to match the rate your firmware passes to `Serial.begin()`. If your sketch calls `Serial.begin(9600)`, add the line `monitor_speed = 9600`. A faster rate such as `115200` is also common; what matters is that the two values match.

![A screenshot of the platformio.ini file open within VS Code, highlighting the bar where you set the baud rate.](https://dev.blues.io/images/blog/posts/blues-university-setting-up-development-environment-embedded/terminal.png?v=7ed499a3)

### Step 4: Viewing Logs in the Serial Monitor {#step-4-viewing-logs-in-the-serial-monitor}

Last, open the serial monitor so you can see what the board prints. In VS Code, open PlatformIO's **Serial Monitor** from the bottom toolbar. Check that the port matches your board and the baud rate matches the value from the previous step. Once it's connected, the monitor shows the logs and data your microcontroller sends.

![Screenshot of VS Code displaying the logs and data sent from the microcontroller.](https://dev.blues.io/images/blog/posts/blues-university-setting-up-development-environment-embedded/serial-monitor.png?v=938c11a5)

> Blues also provides more in-depth tutorials for [getting started with the Swan](https://dev.blues.io/quickstart/swan-quickstart.md) and extending Swan to [build a Machine Learning application with Edge AI](https://dev.blues.io/example-apps/samples/building-edge-ai-applications/blues-swan.md).

## Next Steps {#next-steps}

The setup above is enough to write, flash, and watch your first firmware. From there, add tools as the project needs them: a debug probe the first time the logs don't explain a bug, host-side unit tests once the logic grows, and CI once someone else starts changing the code.

To keep building your skills, follow [Blues University](https://dev.blues.io/blog/tag/blues-university/) for more articles on embedded development and the IoT. If you're ready to add connectivity to a project, the [Blues Starter Kit for Cell+WiFi](https://shop.blues.com/products/blues-starter-kits-cell-wifi?utm_source=dev-blues\&utm_medium=web\&utm_campaign=store-link) is a good place to start, and our community on [Discourse](https://discuss.blues.com/) can help along the way. 💙
