Hello,
I am writing a userspace application to send out a packet on uClinux on Nios2, it needs to be run at regular intervals (from about 1 to 64 times a second - to be set by user) but the timing does not need to be accurate (otherwise I would use a hardware counter to generate interrupts).
Can I some how create a software interrupt/timer overflow or something along those lines to start my application every second? Or some way I can use a shell script to start it?
I have read up about
Kernel Timers but I would prefer to not have to write another driver.
I could just wrap the program in a while loop with a delay but this seems very crude. This is an embedded system so there is a need to conserve resources.
Thanks,
Austin.