f32c / arduino

FPGArduino source
http://www.nxlab.fer.hr/fpgarduino
68 stars 44 forks source link

Timer interrupt example doesn't compile #25

Closed paradajz closed 8 years ago

paradajz commented 8 years ago

IDE: Arduino IDE 1.6.9 OS: Windows 10 x64

Description: Selecting "mips_timer" example under "f32c/interrupts" cannot compile because of following reason:

"VARIANT_MCK' was not declared in this scope

emard commented 8 years ago

Replace VARIANT_MCK with F_CPU for quick fix until I relase to nxlab new stuff, probably next week

But now I see that this interrupt is not working as it should. It runs for some time and stops.

Problem is more deep than it seems, there's bug/feature? in f32c core that MUL instruction is not allowed to be executed in interrupt context.

emard commented 8 years ago

Hopefully fixed, raise new issue in case of further problems