Updating the build environment

From OpenMBD
Revision as of 15:20, 28 February 2019 by Hugo (talk | contribs) (Created page with "The compiler must know which source files are part of the project. As the ws2812b source files are new, they must be added to the template makefile.<br> The template makefile...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The compiler must know which source files are part of the project. As the ws2812b source files are new, they must be added to the template makefile.
The template makefile is located here: .\blockset\rtw\STM32\Olimexino_STM32_gcc.tmf

  • Open the template makefile with any text editor
  • Add the ws2812b.c source file on line 282.

ADD_SRCS = model.c ws2812b.c

  • Save and close the file.