Hello, I am using Atmel's SAM series controller for our project. I have a requirement to enable USB interface between PC and SAM controller.
I decided to use Atmel's ASF USB stack and its works fine with project build in Atmel studio and in KEIL IDE (tampered ASF) as well.
I also got to use RTOS to complete all my requirements. I have RTX license available and decided to use RTX in Atmel studio.
Reason to use RTX in Atmel studio: 1) Integrated ASF in KEIL is sort of custom version. Few code portion of ASF is excluded when while integrating in Keil because system startup code of keil does system init hence need not to include ASF's system init. 2) When I get updated ASF from Atmel, I once again need to customize inorder for point 1 reason.
Hence I decided to use RTX in Atmel studio and use the ASF as it is.
Once I started using the RTX in Atmel studio, I have got few errors. preciously 118 erros.
Majority of the errors are due to 1) expected '=', ',', ';', 'asm' or '__attribute__' before '{' token D:\Atmel\RTOS\RTXinAtmelStudio\RTXinAtmelStudio\RTOS\RTX_lib.c 391 38 RTXinAtmelStudio 2) expected declaration specifiers before '__swi' D:\Atmel\RTOS\RTXinAtmelStudio\RTXinAtmelStudio\RTOS\RTL.h 192 34 RTXinAtmelStudio 3) storage class specified for parameter '_init_box' D:\Atmel\RTOS\RTXinAtmelStudio\RTXinAtmelStudio\RTOS\RTL.h 196 18 RTXinAtmelStudio
How to overcome these errors?
Have any one tried of using RTX in Atmel studio?
Thanks, Muruga