ShyLock
Junior Member level 1
![Junior Member level 1](/styles/images/ranks/clevel1.gif)
Hello! I have a problem using the MicroBlaze processor in Altium Designer. I'm trying to display a bitmap file at the built-in touchscreen LCD. When I try to compile it, it gives me this error "cmb E272: ["C:\PROGRAM FILES (X86)\ALTIUM DESIGNER SUMMER 09\Library\Software Platform\platform\fpga\processors\pal\src\pal_init.c" 10/5] undeclared identifier "__clocks_per_sec""
I already did some research and Altium wiki said "MicroBlaze C library now contains the global __clocks_per_sec which is used by parts of the SoftwarePlatform." The problem is I don't know how to use the "__clocks_per_sec". I have configured the linker option on the embedded project option.
Figure 1. Openbus Architecture
![openbus.PNG openbus.PNG](https://www.edaboard.com/data/attachments/24/24336-6eaa7fcfe05c59085b87b5fd9fe42aec.jpg)
Figure 2. Software Platform
![swplatform.PNG swplatform.PNG](https://www.edaboard.com/data/attachments/24/24337-dfea301891979c38e817eb0933717145.jpg)
Figure 3. main.C
![maincode.PNG maincode.PNG](https://www.edaboard.com/data/attachments/24/24338-9927c3f310fd319a66e4d4163538f401.jpg)
Hoping for a response! Thank you! =)
I already did some research and Altium wiki said "MicroBlaze C library now contains the global __clocks_per_sec which is used by parts of the SoftwarePlatform." The problem is I don't know how to use the "__clocks_per_sec". I have configured the linker option on the embedded project option.
Figure 1. Openbus Architecture
![openbus.PNG openbus.PNG](https://www.edaboard.com/data/attachments/24/24336-6eaa7fcfe05c59085b87b5fd9fe42aec.jpg)
Figure 2. Software Platform
![swplatform.PNG swplatform.PNG](https://www.edaboard.com/data/attachments/24/24337-dfea301891979c38e817eb0933717145.jpg)
Figure 3. main.C
![maincode.PNG maincode.PNG](https://www.edaboard.com/data/attachments/24/24338-9927c3f310fd319a66e4d4163538f401.jpg)
Hoping for a response! Thank you! =)