Hi guys,
i have a M0 pro (i don't know why but you can't find arduino Zero for sell in Brazil, i'm just finding M0 or M0 pro) and after realize about some differences between Zero and M0, i finally fix all i/o configurations on my board.
Now i'm intend to manage tasks.
i tried to run the multiBlink example on the M0 pro and after some warnings, it compiles and uploaded to the board. It only works over programming port USB at M0 pro. Warnings:
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s: Assembler messages:
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s:29: Warning: this instruction will write back the base register
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s:29: Warning: this instruction will write back the base register
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s:48: Warning: this instruction will write back the base register
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s:48: Warning: this instruction will write back the base register
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s:48: Warning: this instruction will write back the base register
C:\Users\saulo\AppData\Local\Temp\ccheMCrx.s:48: Warning: this instruction will write back the base register
The example is running, since one of LEDs blinks as expected, but i'm not able to connect to the board over serial using Native USB port.
i can only program with scheduler library over programming USB port and the USB native port only works without schedule library.
Even Windows have some problems to identify the COMport from Native USB port when the board is running something with schedule library.
I really don't know how to procede about it, i started to design my own task manager class but a true multi-task will be perfect!
Any clue will be much appreciated!
The source code is the same from multiblink example, any changes at all.