6 years, 9 months ago.

toolchain.h has been replaced by mbed_toolchain.h

I'm getting the following error but have no idea where you would find this to fix it.

Warning: #warning directive: toolchain.h has been replaced by mbed_toolchain.h, please update to mbed_toolchain.h [since mbed-os-5.3] in "extras/mbed_86740a56073b/platform/toolchain.h", Line: 23, Col: 3

Can you share more information about how to reproduce (program, board, etc)?

posted by Sam Grove 01 Jul 2017

I'm using the DISCO-F769NI and the code is below It is a modification of DISCO-F769NI_TOUCHSCREEN_demo for that board, commenting out the the include rtos.h eliminated the error, and it was not in the original demo pretty much a newbie here... I really don't know how to link to my whole program

  1. include "mbed.h"
  2. include "stm32f769i_discovery.h"
  3. include "stm32f769i_discovery_ts.h"
  4. include "stm32f769i_discovery_lcd.h"

/* #include "rtos.h" */

posted by Paul Gregg 01 Jul 2017

I did figure out how to publish this and it is here https://developer.mbed.org/users/yawstick/code/DISCO-F769NI_TOUCHSCREEN_demo_custom_1/

posted by Paul Gregg 01 Jul 2017
Be the first to answer this question.