Right now we don't have any documentation for adding support for an additional board. However one change to look at is
https://github.com/dartino/sdk/commit/3614c33abaf8074589af07cf249e0b07e2225431, which adds support for the STM32F411RE Nucleo board.
The meat of the change is board.c and stm32f411re_nucleo.dart. borad.c It has the public function InitializeBoard which is called by the Dartino FreeRTOS embedding during startup. The board specific package in stm32f411re_nucleo.dart exposes the board to Dart code. This relies on the STM32 code already present for the STM32F746G Discovery board.
Besides that there are configuration files and linker script in the platforms/ directory and build scripts for building with the GYP/Ninja build-system we use.
You don't necessarily need to build the board library using the build system in the repository. If you have a downloaded Dartino SDK you can create a new directory under platforms with the board library and the libdartino.a and libfreertos_dartino.a (compiled for the processor).
Hope this helps.
Regards,
Søren
---
Søren Gjesse
Software Engineer, Google Denmark