Add checkbox to USBSlave properties screen
Posted: Mon Apr 13, 2009 9:46 pm
Hi,
In the USBSlaves SlaveProperty TAB one has to specify a Slave Service Macro Name, even when no slave service is being used. If no macro name is supplied the code generated for FCD_USBSlave0_Start_Slave_Service is invalid. Without a macro name there are a lot of FCM_(...params...) calls in the generated code. When a macro is supplied (dummy_macro) those are FCM_dummy_macro(...parms...) calls.
Adding a checkbox to the tab (with the appropriate #ifdef in the C code) could solve this minor inconvenience.
Best regards,
Jac
In the USBSlaves SlaveProperty TAB one has to specify a Slave Service Macro Name, even when no slave service is being used. If no macro name is supplied the code generated for FCD_USBSlave0_Start_Slave_Service is invalid. Without a macro name there are a lot of FCM_(...params...) calls in the generated code. When a macro is supplied (dummy_macro) those are FCM_dummy_macro(...parms...) calls.
Adding a checkbox to the tab (with the appropriate #ifdef in the C code) could solve this minor inconvenience.
Best regards,
Jac