On 29/8/19 10:27 pm, Andy James wrote:
> I have noticed that if I build the examples-v2/hello/ within an RTEMS bsp 
> build
> it works fine, but if I build it standalone worth its own makefile (from
> Makefile.leaf)
> 
> It doesn’t give any output. However if  I substitute printk instead it does
> work. Is this perhaps an issue with interrupts? Does printf work on the Zynq

Maybe your clock setting need to match your hardware. In a file in your
application add something like below with your hardware settings ...

uint32_t a9mpcore_clock_periphclk(void)
{
  return XPAR_CPU_CORTEXA9_0_CPU_CLK_FREQ_HZ / 2;
}

uint32_t zynq_clock_cpu_1x(void)
{
  return 100000000U;
}

Chris
_______________________________________________
users mailing list
users@rtems.org
http://lists.rtems.org/mailman/listinfo/users

Reply via email to