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 !
Problem building from source
-
- Posts: 10
- Joined: Saturday 29. September 2018, 11:23
Re: Problem building from source
Hey @hmpws, did you manage to build using eclipse?
I'd personally prefer to have a simple Makefile as I'm not perfectly happy about the idea of having to install eclipse.
I'd personally prefer to have a simple Makefile as I'm not perfectly happy about the idea of having to install eclipse.