Hello,
I am trying to remove CircleOS calls from the PrimerVirtualCOM 1.1 source and trying to make it standalone application. Following changes are applied.
- Application.c is renamed as main.c
- enum MENU_code Application_Ini ( void ) is renamed as void init(void), return line is deleted, CIRCLEOS_RAM_BASE is set to 0x0.
- enum MENU_code Application_Handler ( void ) is renamed as void main (void), return line is deleted , the above init(); function is called at the beginig, for continious operation everything is put in for(; loop, except init();.
- CircleOs related functions like DRAW_DisplayString, UTIL_uint2str is not used, these are just for LCD display purposes.
New code is compiled successfully but when I plug it to computer, windows 7 says Unknown device , basicly I didn't make any usb related change. Is CircleOS making changes to USB registers?
Thanks,