

In the /openocd/scripts/target directory there are. Either delete the _initialize_hardware.c file or remove the offending initialization stuff from the CubeMX generated main.c file. Since that file is not one of the deleted files the compiler will throw a lot of errorrs due to multiple definitions. However, the CubeMX generated main.c file contains much of the hardware initialization that's already in the _initialize_hardware.c file. Following, the instructions in the book (page 132) that has you delete 5 files and then replace them with CubeMX generated files. Liviu Ionescu includes a file _initialize_hardware.c which runs at startup and does a lot of the required hardware initialization.

In fact, the current GNU ARM Eclipse release does have the templates. The latest edition of the book I have indicated that Liviu Ionescu had not implemented project templates for the STM32f7xx families. Either the compiler is found or it's not, how does it just sort of work? An incorrect path to the compiler is not something I would have guessed caused the problems outlined above. If the compiler needs to know the path down to the /bin level how does it funtion at all without this information? Attempts to compile a project should just fail completely, not partially compile.

**************************************************************************** Making this change, appending /bin, for both the compiler and the build paths fixed it! On the toolbar select, Window/Preferences/MCU then select and set, in turn, the following settings with /bin at the end: Global ARM Toolchains Paths Global Build Tools Path Global OpenOCD Path I don't know how I would have figured this out on my own. ******************* On page 103 the toolchain path should end in “/gcc-arm/bin” right now it ends just with “/gcc-arm” couldn’t figure out why my project wasn’t compiling for about a week. Confusingly, sometimes a program would actually compile successfully. This despite the fact that all the relevant. Primarily indicating that numerous variables, macros, or functions could not be resolved. Almost every attempt at a compile resulted in a slew of errors. here's a post I made about them on the book's website/forum.: Thank you, thank you, thank you! I've been pulling my hair out for a week now trying to get a Nucleo-F767ZI up and running on a Windows 7 machine.
