.. _longan_nano: Sipeed Longan Nano ################## Overview ******** The Sipeed Longan Nano and Longan Nano Lite is an simple and tiny development board with an GigaDevice GD32VF103 SoC that based on N200 RISC-V IP core by Nuclei system technology. More information can be found on: - `Sipeed Longan website `_ - `GD32VF103 datasheet `_ - `GD32VF103 user manual `_ - `Nuclei website `_ - `Nuclei Bumblebee core documents `_ - `Nuclei ISA Spec `_ Programming and debugging ************************* Building ======== Applications for the ``logan_nano`` board configuration can be built as usual (see :ref:`build_an_application`) using the corresponding board name: .. zephyr-app-commands:: :board: logan_nano :goals: build Flashing ======== In order to upload the application to the device, you'll need OpenOCD with GD32V support. Download the tarball for your OS from the `SiPEED longan nano download site `_ and extract it. The Zephyr SDK uses a bundled version of OpenOCD by default. You can overwrite that behavior by adding the ``-DOPENOCD=`` parameter when building: .. zephyr-app-commands:: :board: longan_nano :goals: build :gen-args: -DOPENOCD= When using a custom toolchain it should be enough to have the downloaded version of the binary in your ``PATH``. Now you can flash the application as usual (see :ref:`build_an_application` and :ref:`application_run` for more details): .. code-block:: console west flash Debugging ========= Refer to the detailed overview about :ref:`application_debugging`.