rurban / qemu-stm32

Experimental QEMU mirror for more Cortex-M and atmel boards, rebased onto upstream. Please see http://wiki.qemu.org/Contribute/SubmitAPatch for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website.
http://www.qemu.org
Other
4 stars 2 forks source link

system_clock_scale’ undeclared, for --enable-debug --target-list=arm-softmmu #1

Open Ebiroll opened 9 months ago

Ebiroll commented 9 months ago
../../../hw/timer/armv7m_systick.c: In function ‘systick_set_period_from_clock’: ../../../hw/timer/armv7m_systick.c:41:12: error: ‘system_clock_scale’ undeclared (first use in this function) 41 if(system_clock_scale == 0){

I fixed it by adding int system_clock_scale; Also this void fn. returning a value. static int systick_set_period_from_clock(SysTickState *s)

mtk2656_soc.h:64:5: error: unknown type name ‘qemu_or_irq’

error: too few arguments to function ‘armv7m_load_kernel’

Maybe some header file needs a push?

mjalili96 commented 8 months ago

same issue