added rtos to greeting for easy testing
correct all keil flash setting
This commit is contained in:
@@ -115,6 +115,13 @@ int main(void)
|
||||
//--------------------------------------------------------------------+
|
||||
void print_greeting(void)
|
||||
{
|
||||
char const * const rtos_name[] =
|
||||
{
|
||||
[TUSB_OS_NONE] = "None",
|
||||
[TUSB_OS_FREERTOS] = "FreeRTOS",
|
||||
[TUSB_OS_CMSIS_RTX] = "CMSIS-RTX"
|
||||
};
|
||||
|
||||
printf("\n\
|
||||
--------------------------------------------------------------------\n\
|
||||
- Device Demo (a tinyusb example)\n\
|
||||
@@ -123,7 +130,8 @@ void print_greeting(void)
|
||||
--------------------------------------------------------------------\n\n"
|
||||
);
|
||||
|
||||
puts("This demo supports the following classes for DEVICE");
|
||||
puts("This DEVICE demo is configured to support:");
|
||||
printf(" - RTOS = %s\n", rtos_name[TUSB_CFG_OS]);
|
||||
if (TUSB_CFG_DEVICE_HID_MOUSE ) puts(" - HID Mouse");
|
||||
if (TUSB_CFG_DEVICE_HID_KEYBOARD ) puts(" - HID Keyboard");
|
||||
if (TUSB_CFG_DEVICE_MSC ) puts(" - Mass Storage");
|
||||
|
||||
Reference in New Issue
Block a user