pru: Compile the irq_poll() function with -O2 optimization
Compile the PRU binary with -Os optimization, but request that the timer dispatch code be compiled with -O2 optimization. This improves the performance of timers slightly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -86,7 +86,7 @@ represent total number of steps per second on the micro-controller.
|
||||
| 20Mhz AVR | 189K | 125K |
|
||||
| 16Mhz AVR | 151K | 100K |
|
||||
| Arduino Due (ARM) | 382K | 337K |
|
||||
| Beaglebone PRU | 680K | 680K |
|
||||
| Beaglebone PRU | 689K | 689K |
|
||||
|
||||
On AVR platforms, the highest achievable step rate is with just one
|
||||
stepper stepping. On the Due, the highest step rate is with two
|
||||
|
||||
Reference in New Issue
Block a user