Problem building from source
Posted: Tuesday 10. August 2021, 03:02
I am helping a researcher build a custom application on the OSTC4. I pulled the code from Mercurial repo and tried to build it following instructions in Detailed CPU1-Discovery Project. It failed to compile in System Workbench with many errors. Please see the screen shot linked https://imgur.com/a/eI8unIY. I have recreated the project and double checked that I have followed the instructions a couple of times.
The first error is: 'FLASH_LATENCY_8' undeclared (first use in this function) from base.c. I see that it is defined in the HAL drivers.
How can I solve this? Any help would be greatly appreciated.
Edit: I have solved the problem by using the reference project files as a start. The wiki instructions must be missing something !
The first error is: 'FLASH_LATENCY_8' undeclared (first use in this function) from base.c. I see that it is defined in the HAL drivers.
How can I solve this? Any help would be greatly appreciated.
Edit: I have solved the problem by using the reference project files as a start. The wiki instructions must be missing something !