Build 1.0.0 preview 2 for Nucleo F411

Hello GHI team,
I would like to build TinyCLR for NUCLEO-F411RE and I got errors :frowning:

  1. Download GitHub repozitory
  2. Download GCC version gcc-arm-none-eabi-7-2018-q2-update
  3. Download CMSIS 5.4.0
  4. Download TinyCLR Core libraries

Execute command:
build.bat NUCLEO-F411RE build release quiet …path…\gcc-arm-none-eabi-7-2018-q2-update

And I have 4 compile errors and some linker “problems”:

STM32F4_I2C.cpp:25:46: error: ‘STM32F4_I2C_PINS’ was not declared in this scope
static const STM32F4_Gpio_Pin i2cPins[][2] = STM32F4_I2C_PINS;
^~~~~~~~~~~~~~~~

STM32F4_SPI.cpp:33:46: error: ‘STM32F4_SPI_PINS’ was not declared in this scope
static const STM32F4_Gpio_Pin spiPins[][3] = STM32F4_SPI_PINS;
^~~~~~~~~~~~~~~~

STM32F4_UART.cpp:75:47: error: ‘STM32F4_UART_PINS’ was not declared in this scope
static const STM32F4_Gpio_Pin uartPins[][4] = STM32F4_UART_PINS;
^~~~~~~~~~~~~~~~~

STM32F4_UsbDevice.cpp:245:52: error: ‘STM32F4_USB_PINS’ was not declared in this scope
static const STM32F4_Gpio_Pin usbDevicePins[][4] = STM32F4_USB_PINS;
^~~~~~~~~~~~~~~~
I undestand these errors, but I don’t know, how repair them …

Thanks for help
Petr

Be sure to checkout master branch from the github… not dev. Some board are not yet aligned to dev branch

2 Likes

The NUCLEO-F411RE is not a board officially supported by us, it’s a community contribution, so we don’t update it like we do our board definitions. In this case, we’ve made some changes to how the Device.h file is structured a few weeks ago, so it needs to be updated for community boards like this. Using the current G80 file as a reference to update the nucleo is a good starting point.

1 Like