summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:06:16 +0200
committerGitHub <[email protected]>2026-06-08 10:06:16 +0200
commit359977dd98d797fa3c93d0dda71cdbb29820fdc1 (patch)
treec3ce4d8ad3ff243269f9081cc61d6d89613476c0
parent6dc0cf233d5b7ee6e1a7434581964975f8d8d37b (diff)
parentd0d46fd2418f3c1f9a29aeb8b3e3af53cb773dbf (diff)
Merge pull request #268 from eclipse-threadx/devv6.5.1.202602_rel
Merging changes for the v.6.5.1.202602 release
-rw-r--r--common/core/inc/ux_api.h11
-rw-r--r--common/core/inc/ux_hcd_sim_host.h3
-rw-r--r--common/core/src/ux_device_stack_control_request_process.c17
-rw-r--r--common/usbx_device_classes/inc/ux_device_class_hid.h5
-rw-r--r--common/usbx_device_classes/src/ux_device_class_hid_control_request.c16
-rw-r--r--common/usbx_device_classes/src/ux_device_class_hid_initialize.c2
-rw-r--r--common/usbx_host_classes/CMakeLists.txt2
-rw-r--r--common/usbx_host_classes/inc/ux_host_class_cdc_acm.h11
-rw-r--r--common/usbx_host_classes/inc/ux_host_class_gser.h13
-rw-r--r--common/usbx_host_classes/inc/ux_host_class_hid.h19
-rw-r--r--common/usbx_host_classes/inc/ux_host_class_prolific.h13
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_client_search.c30
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_deactivate.c13
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_entry.c8
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_idle_get.c2
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_idle_set.c49
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_keyboard_activate.c6
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_keyboard_deactivate.c3
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_keyboard_entry.c5
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_mouse_activate.c6
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_mouse_deactivate.c3
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_mouse_entry.c5
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_protocol_get.c208
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_protocol_set.c182
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_remote_control_activate.c3
-rw-r--r--common/usbx_host_classes/src/ux_host_class_hid_remote_control_deactivate.c3
-rw-r--r--common/usbx_host_classes/src/ux_host_class_prolific_activate.c4
-rw-r--r--common/usbx_pictbridge/inc/ux_pictbridge.h3
-rw-r--r--ports/arm9/gnu/inc/ux_port.h2
-rw-r--r--ports/arm9/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_a15/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_a5/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_a5/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_a5x/ac6/inc/ux_port.h2
-rw-r--r--ports/cortex_a7/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_a7/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_a8/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_a8/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_a9/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_a9/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_m0/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_m0/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_m3/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_m3/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_m33/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_m33/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_m4/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_m4/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_m7/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_m7/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_r4/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_r4/iar/inc/ux_port.h2
-rw-r--r--ports/cortex_r5/gnu/inc/ux_port.h2
-rw-r--r--ports/cortex_r5/iar/inc/ux_port.h2
-rw-r--r--ports/generic/inc/ux_port.h2
-rw-r--r--ports/linux/gnu/inc/ux_port.h2
-rw-r--r--ports/rxv1/gnu/inc/ux_port.h2
-rw-r--r--ports/rxv2/gnu/inc/ux_port.h2
-rw-r--r--ports/rxv3/gnu/inc/ux_port.h2
-rw-r--r--samples/demo_usbx.c11
-rwxr-xr-xscripts/build.sh11
-rwxr-xr-xscripts/install.sh11
-rwxr-xr-xscripts/prepare_release.sh172
-rwxr-xr-xscripts/test.sh11
-rw-r--r--test/cmake/usbx/regression/CMakeLists.txt1
-rw-r--r--test/regression/usbx_audio10_device_basic_test.c11
-rw-r--r--test/regression/usbx_audio10_device_feedback_test.c11
-rw-r--r--test/regression/usbx_audio10_iad_device_basic_test.c11
-rw-r--r--test/regression/usbx_audio10_iad_device_control_test.c11
-rw-r--r--test/regression/usbx_audio10_iad_device_interrupt_test.c11
-rw-r--r--test/regression/usbx_audio10_iad_host_basic_test.c11
-rw-r--r--test/regression/usbx_audio20_device_basic_test.c11
-rw-r--r--test/regression/usbx_audio20_device_controls_test.c11
-rw-r--r--test/regression/usbx_audio20_device_feedback_test.c11
-rw-r--r--test/regression/usbx_audio20_host_basic_test.c11
-rw-r--r--test/regression/usbx_bus_powered_hub_conn_to_self_and_bus_powered_hub_test.c11
-rw-r--r--test/regression/usbx_cdc_acm_basic_memory_test.c11
-rw-r--r--test/regression/usbx_cdc_acm_basic_test.c11
-rw-r--r--test/regression/usbx_cdc_acm_configure_test.c11
-rw-r--r--test/regression/usbx_cdc_acm_device_dtr_rts_reset_on_disconnect_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_alternate_setting_change_to_zero_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_basic_ipv6_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_basic_memory_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_basic_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_control_interface_no_interrupt_endpoint_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_data_iface_non_bulko_and_non_bulki_endpt_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_data_interface_no_bulk_in_endpoint_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_data_interface_no_bulk_out_endpoint_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_data_interface_setting_select_fails_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_default_data_interface_setting_with_endpoints_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_disconnect_and_reconnect_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulk_in_semaphore_create_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_deactivate_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_link_down_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulk_in_transfer_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulk_out_semaphore_create_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulk_out_transfer_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulki_arm_err_dueto_link_dn_thread_wait_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_bulko_transfer_arming_during_link_dn_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_first_interrupt_transfer_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_int_notification_semaphore_create_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_non_ip_packet_received_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_packet_pool_create_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_thread_create_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_thread_link_down_before_transfer_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_thread_packet_allocate_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_host_thread_packet_append_fail_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_interface_before_control_interface_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_invalid_alt_setting_after_zero_endpt_data_iface_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_link_down_while_ongoing_transfers_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_mac_address_invalid_length_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_mac_address_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_no_control_interface_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_no_functional_descriptor_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_non_data_iface_after_zero_endpt_data_iface_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_nx_packet_chain_test.c11
-rw-r--r--test/regression/usbx_cdc_ecm_one_data_interface_with_no_endpoints_test.c11
-rw-r--r--test/regression/usbx_class_device_enumeration_test.c11
-rw-r--r--test/regression/usbx_class_hid_basic_memory_test.c11
-rw-r--r--test/regression/usbx_class_hid_basic_test.c11
-rw-r--r--test/regression/usbx_class_hid_keyboard_basic_test.c11
-rw-r--r--test/regression/usbx_class_hid_mouse_basic_test.c11
-rw-r--r--test/regression/usbx_class_hid_remote_control_basic_test.c11
-rw-r--r--test/regression/usbx_class_interface_enumeration_test.c11
-rw-r--r--test/regression/usbx_class_multi_interface_enumeration_test.c11
-rw-r--r--test/regression/usbx_class_printer_basic_tests.c11
-rw-r--r--test/regression/usbx_class_printer_device_standalone_basic_tests.c11
-rw-r--r--test/regression/usbx_control_transfer_stall_test.c11
-rw-r--r--test/regression/usbx_device_class_ccid_basic_tests.c11
-rw-r--r--test/regression/usbx_device_class_ccid_busy_abort_tests.c11
-rw-r--r--test/regression/usbx_device_dfu_basic_test.c11
-rw-r--r--test/regression/usbx_dpump_basic_test.c11
-rw-r--r--test/regression/usbx_hid_interrupt_endpoint_get_report_test.c11
-rw-r--r--test/regression/usbx_hid_keyboard_basic_test.c11
-rw-r--r--test/regression/usbx_hid_keyboard_extraction_test.c11
-rw-r--r--test/regression/usbx_hid_keyboard_extraction_test2.c11
-rw-r--r--test/regression/usbx_hid_keyboard_key_get_test.c11
-rw-r--r--test/regression/usbx_hid_keyboard_key_test.c11
-rw-r--r--test/regression/usbx_hid_keyboard_key_with_report_id_test.c11
-rw-r--r--test/regression/usbx_hid_mouse_basic_test.c11
-rw-r--r--test/regression/usbx_hid_mouse_extraction_test.c11
-rw-r--r--test/regression/usbx_hid_mouse_extraction_test2.c11
-rw-r--r--test/regression/usbx_hid_remote_control_extraction_test.c11
-rw-r--r--test/regression/usbx_hid_remote_control_extraction_test2.c11
-rw-r--r--test/regression/usbx_hid_remote_control_tests.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_collection_overflow_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_compress_and_decompress_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_compress_array_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_compress_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_decompress_array_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_decompress_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_delimiter_nested_close_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_delimiter_nested_open_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_delimiter_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_delimiter_unknown_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_end_collection_error_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_andisplay_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_delimit_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_digit_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_display_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_joystk_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_keybrd_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_monitor_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_mouse_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_pwr_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_remote_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_example_tele_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_extended_usages_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_get_zero_length_item_data_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_global_item_persist_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_global_item_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_incoherent_usage_min_max_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_invalid_item_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_invalid_length_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_item_size_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_max_usages_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_multiple_collections_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_multiple_fields_and_reports_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_multiple_fields_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_multiple_reports_feature_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_multiple_reports_input_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_multiple_reports_output_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_pop_underflow_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_previous_report_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_push_overflow_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_push_pop_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_report_count_overflow_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_report_size_overflow_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_single_usage_multiple_data_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_unknown_global_tag_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_unknown_local_tag_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_usages_min_max_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_usages_overflow_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_usages_overflow_via_max_test.c11
-rw-r--r--test/regression/usbx_hid_report_descriptor_usages_single_test.c11
-rw-r--r--test/regression/usbx_hid_report_multiple_reports_ids_test.c11
-rw-r--r--test/regression/usbx_hid_transfer_request_completed_decompressed_test.c11
-rw-r--r--test/regression/usbx_hid_transfer_request_completed_raw_test.c11
-rw-r--r--test/regression/usbx_hid_transfer_request_completed_test.c11
-rw-r--r--test/regression/usbx_host_class_hub_port_change_connection_process_coverage_test.c11
-rw-r--r--test/regression/usbx_host_class_storage_entry_coverage_test.c11
-rw-r--r--test/regression/usbx_host_class_storage_max_lun_get_coverage_test.c11
-rw-r--r--test/regression/usbx_host_stack_class_unregister_coverage_test.c11
-rw-r--r--test/regression/usbx_host_stack_new_endpoint_create_coverage_test.c11
-rw-r--r--test/regression/usbx_hub_basic_memory_test.c11
-rw-r--r--test/regression/usbx_hub_basic_test.c11
-rw-r--r--test/regression/usbx_hub_full_speed_hub_device_test.c11
-rw-r--r--test/regression/usbx_hub_full_speed_hub_test.c11
-rw-r--r--test/regression/usbx_hub_get_hub_status_fails_during_hub_device_enum_test.c11
-rw-r--r--test/regression/usbx_hub_get_hub_status_fails_during_port_reset_test.c11
-rw-r--r--test/regression/usbx_hub_get_port_status_fails_during_hub_device_enum_test.c11
-rw-r--r--test/regression/usbx_hub_get_status_fails_during_configuration_test.c11
-rw-r--r--test/regression/usbx_hub_hub_device_connect_test.c11
-rw-r--r--test/regression/usbx_hub_hub_device_disconnect_test.c11
-rw-r--r--test/regression/usbx_hub_hub_device_enumeration_keeps_failing_test.c11
-rw-r--r--test/regression/usbx_hub_hub_status_get_invalid_length_test.c11
-rw-r--r--test/regression/usbx_hub_interrupt_out_endpoint_test.c11
-rw-r--r--test/regression/usbx_hub_invalid_device_protocol_test.c11
-rw-r--r--test/regression/usbx_hub_invalid_hub_descriptor_length_test.c11
-rw-r--r--test/regression/usbx_hub_low_speed_hub_device_test.c11
-rw-r--r--test/regression/usbx_hub_multiple_tt_test.c11
-rw-r--r--test/regression/usbx_hub_multiple_tt_too_many_hub_ports_test.c11
-rw-r--r--test/regression/usbx_hub_no_endpoints_test.c11
-rw-r--r--test/regression/usbx_hub_no_power_switching_test.c11
-rw-r--r--test/regression/usbx_hub_non_interrupt_in_endpoint_test.c11
-rw-r--r--test/regression/usbx_hub_port_change_enable_test.c11
-rw-r--r--test/regression/usbx_hub_port_change_over_current_test.c11
-rw-r--r--test/regression/usbx_hub_port_change_reset_test.c11
-rw-r--r--test/regression/usbx_hub_port_change_suspend_test.c11
-rw-r--r--test/regression/usbx_hub_port_never_reset_test.c11
-rw-r--r--test/regression/usbx_hub_port_reset_fails_during_hub_device_enum_test.c11
-rw-r--r--test/regression/usbx_hub_quick_hub_device_disconnection_test.c11
-rw-r--r--test/regression/usbx_hub_quick_hub_device_reconnection_test.c11
-rw-r--r--test/regression/usbx_hub_request_to_hub_itself_test.c11
-rw-r--r--test/regression/usbx_hub_single_tt_too_many_hub_ports_test.c11
-rw-r--r--test/regression/usbx_msrc_66679_test.c11
-rw-r--r--test/regression/usbx_msrc_69702_dfu_dnload_test.c11
-rw-r--r--test/regression/usbx_msrc_71934_dfu_upload_test.c11
-rw-r--r--test/regression/usbx_msrc_72227_host_pima_read_test.c11
-rw-r--r--test/regression/usbx_msrc_72427_ecm_host_mac_test.c11
-rw-r--r--test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c11
-rw-r--r--test/regression/usbx_msrc_72526_pictbridge_dps_host_start_test.c11
-rw-r--r--test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c11
-rw-r--r--test/regression/usbx_msrc_73386_host_storage_media_open_buffer_test.c11
-rw-r--r--test/regression/usbx_msrc_73492_host_vc_header_parse.c11
-rw-r--r--test/regression/usbx_msrc_73716_cdc_ecm_mac_get_desc_check.c11
-rw-r--r--test/regression/usbx_msrc_80947_device_cdc_ecm_rx_length_less_than_14.c11
-rw-r--r--test/regression/usbx_msrc_80991_device_rndis_rx_length_less_than_14_test.c11
-rw-r--r--test/regression/usbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c11
-rw-r--r--test/regression/usbx_msrc_81108_pictbridge_object_parse_test.c11
-rw-r--r--test/regression/usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c11
-rw-r--r--test/regression/usbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c11
-rw-r--r--test/regression/usbx_msrc_81142_host_storage_endpoints_get_tests.c11
-rw-r--r--test/regression/usbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c11
-rw-r--r--test/regression/usbx_msrc_81184_host_audio_desc_validate_test.c11
-rw-r--r--test/regression/usbx_msrc_81206_81225_ecm_multiple_data_reject_test.c11
-rw-r--r--test/regression/usbx_msrc_81230_host_asix_inst_free_tests.c11
-rw-r--r--test/regression/usbx_msrc_81231_host_prolific_inst_free_tests.c11
-rw-r--r--test/regression/usbx_msrc_81232_host_gser_inst_free_tests.c11
-rw-r--r--test/regression/usbx_msrc_81233_host_swar_inst_free_tests.c11
-rw-r--r--test/regression/usbx_msrc_81251_host_hid_report_add_fail_mem_test.c11
-rw-r--r--test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c11
-rw-r--r--test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c11
-rw-r--r--test/regression/usbx_msrc_81325_host_hid_remote_control_free_callback_test.c11
-rw-r--r--test/regression/usbx_msrc_81326_host_hid_keyboard_free_callback_test.c11
-rw-r--r--test/regression/usbx_msrc_81327_host_hid_mouse_free_callback_test.c11
-rw-r--r--test/regression/usbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c11
-rw-r--r--test/regression/usbx_msrc_81428_81429_host_audio_ac_search_test.c11
-rw-r--r--test/regression/usbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c11
-rw-r--r--test/regression/usbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c11
-rw-r--r--test/regression/usbx_msrc_81573_standalone_host_hub_allocated_enum_free_test.c11
-rw-r--r--test/regression/usbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c11
-rw-r--r--test/regression/usbx_msrc_81575_standalone_host_cdc_acm_allocated_enum_free_test.c11
-rw-r--r--test/regression/usbx_msrc_81691_standalone_host_stack_enum_double_free_test.c11
-rw-r--r--test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c11
-rw-r--r--test/regression/usbx_pictbridge_basic_test.c11
-rw-r--r--test/regression/usbx_pima_basic_test.c11
-rw-r--r--test/regression/usbx_rndis_basic_test.c11
-rw-r--r--test/regression/usbx_standalone_cdc_acm_basic_memory_test.c11
-rw-r--r--test/regression/usbx_standalone_cdc_acm_basic_test.c11
-rw-r--r--test/regression/usbx_standalone_device_cdc_acm_basic_memory_test.c11
-rw-r--r--test/regression/usbx_standalone_device_cdc_acm_basic_test.c11
-rw-r--r--test/regression/usbx_standalone_device_cdc_acm_transmission_test.c11
-rw-r--r--test/regression/usbx_standalone_device_storage_basic_test.c11
-rw-r--r--test/regression/usbx_standalone_device_storage_error_cv_test.c11
-rw-r--r--test/regression/usbx_standalone_device_storage_read_write_test.c11
-rw-r--r--test/regression/usbx_standalone_host_storage_basic_test.c11
-rw-r--r--test/regression/usbx_standalone_host_storage_insert_eject_test.c11
-rw-r--r--test/regression/usbx_standalone_host_storage_read_write_test.c11
-rw-r--r--test/regression/usbx_storage_basic_memory_test.c11
-rw-r--r--test/regression/usbx_storage_direct_calls_test.c11
-rw-r--r--test/regression/usbx_storage_multi_lun_test.c11
-rw-r--r--test/regression/usbx_storage_tests.c11
-rw-r--r--test/regression/usbx_test_USBX_141_keyboard_layout.c11
-rw-r--r--test/regression/usbx_test_USBX_142_DTR_callback.c11
-rw-r--r--test/regression/usbx_test_USBX_6_ux_version_id.c11
-rw-r--r--test/regression/usbx_test_common.h11
-rw-r--r--test/regression/usbx_test_common_hid.h11
-rw-r--r--test/regression/usbx_test_common_storage.h11
-rw-r--r--test/regression/usbx_ux_api_tracex_id_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_activate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_bulkout_thread_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_deactivate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_ioctl_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_timeout_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_transmission_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_acm_write_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_activate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_bulkin_thread_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_bulkout_thread_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_change_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_control_request_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_deactivate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_entry_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_initialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_interrupt_thread_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_cdc_ecm_uninitialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_activate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_activate_test2.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_activate_test3.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_basic_memory_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_control_request_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_deactivate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_descriptor_send_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_entry_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_event_get_AND_set_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_idle_rate_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_initialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_interrupt_thread_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_interrupt_thread_test2.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_read_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_receiver_memory_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_receiver_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_report_set_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_report_set_test2.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_report_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_set_protocol_callback_test.c476
-rw-r--r--test/regression/usbx_ux_device_class_hid_uninitialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_hid_wMaxPacketSize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_control_request_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_entry_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_format_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_initialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_inquiry_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_invalid_lun_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_media_start_stop_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_mode_select_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_mode_sense_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_prevent_allow_media_removal_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_read_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_request_sense_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_request_sense_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_start_stop_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_synchronize_cache_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_test_ready_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_thread_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_uninitialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_vendor_strings_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_verify_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_storage_write_test.c11
-rw-r--r--test/regression/usbx_ux_device_class_video_basic_tests.c11
-rw-r--r--test/regression/usbx_ux_device_stack_alternate_setting_get_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_alternate_setting_set_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_bos_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_class_control_request_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_class_register_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_class_unregister_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_clear_feature_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_configuration_set_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_control_request_process_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_control_request_process_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_descriptor_send_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_endpoint_stall_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_get_status_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_initialize_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_interface_delete_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_interface_set_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_interface_start_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_remote_wakeup_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_set_feature_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_standard_request_tests.c11
-rw-r--r--test/regression/usbx_ux_device_stack_transfer_request_test.c11
-rw-r--r--test/regression/usbx_ux_device_stack_vendor_request_test.c11
-rw-r--r--test/regression/usbx_ux_host_basic_memory_tests.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_capabilities_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_deactivate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_endpoints_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_read_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_transfer_request_completed_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_acm_write_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_ecm_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_ecm_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_ecm_interrupt_notification_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_ecm_mac_address_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_ecm_transmission_callback_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_cdc_ecm_write_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_client_register_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_client_register_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_client_search_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_configure_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_deactivate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_deactivate_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_deactivate_test3.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test3.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test4.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test5.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test6.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_descriptor_parse_test7.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_idle_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_idle_set_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_int_out_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_callback_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_callback_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_ioctl_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_thread_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_keyboard_thread_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_local_item_parse_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_logitech_pro_x_superlight_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_main_item_parse_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_main_item_parse_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_buttons_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_entry_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_entry_test3.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_positions_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_mouse_wheel_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_periodic_report_start_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_periodic_report_start_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_periodic_report_stop_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_activate_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_callback_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_entry_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_entry_test3.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_remote_control_usage_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_add_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_callback_register_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_descriptor_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_descriptor_get_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_descriptor_get_test3.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_descriptor_get_test4.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_get_test2.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_id_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_set_int_out_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_report_set_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hid_transfer_request_completed_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hub_descriptor_get_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hub_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hub_status_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_hub_transfer_request_completed_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_printer_basic_tests.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_configure_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_configure_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_device_initialize_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_device_support_check_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_driver_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_fats_exfat_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_fx_driver.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_max_lun_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_capacity_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_mount_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_open_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_protection_check_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_read_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_recovery_sense_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_media_write_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_request_sense_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_start_stop_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_thread_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_storage_transport_bo_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_video_basic_tests.c11
-rw-r--r--test/regression/usbx_ux_host_class_video_dwMaxPayloadTransferSize_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_video_format_frame_based_test.c11
-rw-r--r--test/regression/usbx_ux_host_class_video_format_h264_test.c11
-rw-r--r--test/regression/usbx_ux_host_device_basic_memory_tests.c11
-rw-r--r--test/regression/usbx_ux_host_device_basic_tests.c11
-rw-r--r--test/regression/usbx_ux_host_device_initialize_tests.c11
-rw-r--r--test/regression/usbx_ux_host_stack_bandwidth_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_device_scan_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_instance_destroy_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_instance_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_instance_verify_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_interface_scan_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_register_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_class_unregister_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_configuration_descriptor_parse_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_configuration_enumerate_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_configuration_instance_delete_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_configuration_interface_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_configuration_set_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_address_set_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_configuration_activate_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_configuration_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_configuration_reset_coverage_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_configuration_reset_select_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_descriptor_read_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_remove_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_device_string_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_endpoint_instance_create_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_endpoint_instance_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_endpoint_reset_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_enum_bMaxPacketSize0_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_enum_wMaxPacketSize_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_hcd_register_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_hcd_thread_entry_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_hcd_transfer_request_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_hcd_unregister_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_interface_endpoint_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_interface_setting_select_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_interfaces_scan_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_new_configuration_create_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_new_device_create_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_new_device_get_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_new_interface_create_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_rh_change_process_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_rh_device_insertion_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_transfer_request_abort_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_transfer_request_test.c11
-rw-r--r--test/regression/usbx_ux_host_stack_uninitialize_test.c11
-rw-r--r--test/regression/usbx_ux_test_cdc_ecm.h11
-rw-r--r--test/regression/usbx_ux_test_hub.h11
-rw-r--r--test/regression/usbx_ux_utility_basic_memory_management_test.c11
-rw-r--r--test/regression/usbx_ux_utility_descriptor_pack_test.c11
-rw-r--r--test/regression/usbx_ux_utility_descriptor_parse_test.c11
-rw-r--r--test/regression/usbx_ux_utility_descriptor_struct_test.c11
-rw-r--r--test/regression/usbx_ux_utility_event_flags_test.c11
-rw-r--r--test/regression/usbx_ux_utility_memory_safe_test.c11
-rw-r--r--test/regression/usbx_ux_utility_memory_test.c11
-rw-r--r--test/regression/usbx_ux_utility_mutex_test.c11
-rw-r--r--test/regression/usbx_ux_utility_pci_class_scan_test.c11
-rw-r--r--test/regression/usbx_ux_utility_pci_read_test.c11
-rw-r--r--test/regression/usbx_ux_utility_pci_write_test.c11
-rw-r--r--test/regression/usbx_ux_utility_physical_address_test.c11
-rw-r--r--test/regression/usbx_ux_utility_semaphore_test.c11
-rw-r--r--test/regression/usbx_ux_utility_string_length_check_test.c11
-rw-r--r--test/regression/usbx_ux_utility_thread_create_test.c11
-rw-r--r--test/regression/usbx_ux_utility_thread_identify_test.c11
-rw-r--r--test/regression/usbx_ux_utility_thread_schedule_other_test.c11
-rw-r--r--test/regression/usbx_ux_utility_thread_suspend_test.c11
-rw-r--r--test/regression/usbx_ux_utility_time_elapsed_test.c11
-rw-r--r--test/regression/usbx_ux_utility_timer_test.c11
-rw-r--r--test/regression/usbx_ux_utility_unicode_to_string_test.c11
-rw-r--r--test/regression/usbx_uxe_device_audio_test.c11
-rw-r--r--test/regression/usbx_uxe_device_ccid_test.c11
-rw-r--r--test/regression/usbx_uxe_device_cdc_acm_test.c11
-rw-r--r--test/regression/usbx_uxe_device_dfu_test.c11
-rw-r--r--test/regression/usbx_uxe_device_hid_test.c11
-rw-r--r--test/regression/usbx_uxe_device_pima_test.c11
-rw-r--r--test/regression/usbx_uxe_device_printer_test.c11
-rw-r--r--test/regression/usbx_uxe_device_stack_test.c11
-rw-r--r--test/regression/usbx_uxe_device_storage_test.c11
-rw-r--r--test/regression/usbx_uxe_device_video_test.c11
-rw-r--r--test/regression/usbx_uxe_host_audio_test.c11
-rw-r--r--test/regression/usbx_uxe_host_cdc_acm_test.c11
-rw-r--r--test/regression/usbx_uxe_host_gser_test.c11
-rw-r--r--test/regression/usbx_uxe_host_hid_test.c11
-rw-r--r--test/regression/usbx_uxe_host_pima_test.c11
-rw-r--r--test/regression/usbx_uxe_host_printer_test.c11
-rw-r--r--test/regression/usbx_uxe_host_prolific_test.c11
-rw-r--r--test/regression/usbx_uxe_host_stack_test.c11
-rw-r--r--test/regression/usbx_uxe_host_storage_test.c11
-rw-r--r--test/regression/usbx_uxe_host_swar_test.c11
-rw-r--r--test/regression/usbx_uxe_host_video_test.c11
-rw-r--r--test/regression/usbx_uxe_system_test.c11
-rw-r--r--test/regression/usbxtestcontrol.c13
-rw-r--r--test/regression/ux_device_class_dummy.c11
-rw-r--r--test/regression/ux_device_class_dummy.h12
-rw-r--r--test/regression/ux_device_class_dummy_hub.c11
-rw-r--r--test/regression/ux_device_class_dummy_hub.h11
-rw-r--r--test/regression/ux_device_class_dummy_printer.c11
-rw-r--r--test/regression/ux_device_class_dummy_printer.h11
-rw-r--r--test/regression/ux_host_class_dummy.c11
-rw-r--r--test/regression/ux_host_class_dummy.h11
-rw-r--r--test/regression/ux_test.c11
-rw-r--r--test/regression/ux_test.h12
-rw-r--r--test/regression/ux_test_actions.h11
-rw-r--r--test/regression/ux_test_dcd_sim_slave.c11
-rw-r--r--test/regression/ux_test_dcd_sim_slave.h11
-rw-r--r--test/regression/ux_test_hcd_sim_host.c11
-rw-r--r--test/regression/ux_test_hcd_sim_host.h11
-rw-r--r--test/regression/ux_test_jpeg_image.h11
-rw-r--r--test/regression/ux_test_race_condition_overrides.c11
-rw-r--r--test/regression/ux_test_standalone_references.c11
-rw-r--r--test/regression/ux_test_utility_sim.c11
-rw-r--r--test/regression/ux_test_utility_sim.h11
-rw-r--r--test/regression/ux_test_utility_sim_no_overriding.c11
605 files changed, 7250 insertions, 83 deletions
diff --git a/common/core/inc/ux_api.h b/common/core/inc/ux_api.h
index c6fa5aa..ed26f72 100644
--- a/common/core/inc/ux_api.h
+++ b/common/core/inc/ux_api.h
@@ -239,8 +239,8 @@ typedef signed char SCHAR;
#define AZURE_RTOS_USBX
#define USBX_MAJOR_VERSION 6
#define USBX_MINOR_VERSION 5
-#define USBX_PATCH_VERSION 0
-#define USBX_BUILD_VERSION 202601
+#define USBX_PATCH_VERSION 1
+#define USBX_BUILD_VERSION 202602
#define USBX_HOTFIX_VERSION ' '
/* Macros for concatenating tokens, where UX_CONCATn concatenates n tokens. */
@@ -2745,7 +2745,6 @@ typedef struct UX_HOST_CLASS_DPUMP_STRUCT
#define ux_device_stack_transfer_run _ux_device_stack_transfer_run
#define ux_hcd_ehci_initialize _ux_hcd_ehci_initialize
-#define ux_hcd_isp1161_initialize _ux_hcd_isp1161_initialize
#define ux_hcd_ohci_initialize _ux_hcd_ohci_initialize
#define ux_hcd_sim_host_initialize _ux_hcd_sim_host_initialize
#define ux_dcd_sim_slave_initialize _ux_dcd_sim_slave_initialize
@@ -2769,7 +2768,6 @@ UINT uxe_system_initialize(VOID *non_cached_memory_pool_start, ULONG non_cach
/* Define USBX Host API prototypes. */
UINT ux_hcd_ehci_initialize(UX_HCD *hcd);
-UINT ux_hcd_isp1161_initialize(UX_HCD *hcd);
UINT ux_hcd_ohci_initialize(UX_HCD *hcd);
UINT ux_hcd_sim_host_initialize(UX_HCD *hcd);
@@ -2805,13 +2803,9 @@ UINT ux_host_stack_transfer_run(UX_TRANSFER *transfer_request);
/* Define USBX Device API prototypes. */
-UINT ux_dcd_at91_initialize(ULONG dcd_io);
-UINT ux_dcd_isp1181_initialize(ULONG dcd_io, ULONG dcd_irq, ULONG dcd_vbus_address);
-UINT ux_dcd_ml6965_initialize(ULONG dcd_io, ULONG dcd_irq, ULONG dcd_vbus_address);
UINT ux_dcd_sim_slave_initialize(VOID);
UINT ux_device_class_storage_entry(UX_SLAVE_CLASS_COMMAND *command);
-VOID ux_device_class_storage_thread(ULONG);
UINT ux_device_stack_alternate_setting_get(ULONG interface_value);
UINT ux_device_stack_alternate_setting_set(ULONG interface_value, ULONG alternate_setting_value);
UINT ux_device_stack_class_register(UCHAR *class_name,
@@ -2839,7 +2833,6 @@ UINT ux_device_stack_interface_set(UCHAR * device_framework, ULONG device_fra
ULONG alternate_setting_value);
UINT ux_device_stack_interface_start(UX_SLAVE_INTERFACE *ux_interface);
UINT ux_device_stack_transfer_request(UX_SLAVE_TRANSFER *transfer_request, ULONG slave_length, ULONG host_length);
-UINT ux_device_stack_transfer_request_abort(UX_SLAVE_TRANSFER *transfer_request, ULONG completion_code);
UINT ux_device_stack_microsoft_extension_register(ULONG vendor_request,
UINT (*vendor_request_function)(ULONG, ULONG, ULONG, ULONG, UCHAR *, ULONG *));
diff --git a/common/core/inc/ux_hcd_sim_host.h b/common/core/inc/ux_hcd_sim_host.h
index d43cfed..4a40fe5 100644
--- a/common/core/inc/ux_hcd_sim_host.h
+++ b/common/core/inc/ux_hcd_sim_host.h
@@ -243,6 +243,8 @@ UINT _ux_hcd_sim_host_transfer_run(UX_HCD_SIM_HOST *hcd_sim_host, UX_TRANSFER
/* Define Device Simulator Class API prototypes. */
#define ux_hcd_sim_host_initialize _ux_hcd_sim_host_initialize
+#define ux_hcd_sim_host_uninitialize _ux_hcd_sim_host_uninitialize
+
/* Determine if a C++ compiler is being used. If so, complete the standard
C conditional started above. */
#ifdef __cplusplus
@@ -250,4 +252,3 @@ UINT _ux_hcd_sim_host_transfer_run(UX_HCD_SIM_HOST *hcd_sim_host, UX_TRANSFER
#endif
#endif
-
diff --git a/common/core/src/ux_device_stack_control_request_process.c b/common/core/src/ux_device_stack_control_request_process.c
index 013c345..eb15355 100644
--- a/common/core/src/ux_device_stack_control_request_process.c
+++ b/common/core/src/ux_device_stack_control_request_process.c
@@ -109,13 +109,22 @@ ULONG application_data_length;
request_index = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_SETUP_INDEX);
request_length = _ux_utility_short_get(transfer_request -> ux_slave_transfer_request_setup + UX_SETUP_LENGTH);
- /* Filter for GET_DESCRIPTOR/SET_DESCRIPTOR commands. If the descriptor to be returned is not a standard descriptor,
- treat the command as a CLASS command. */
- if ((request == UX_GET_DESCRIPTOR || request == UX_SET_DESCRIPTOR) && (((request_value >> 8) & UX_REQUEST_TYPE) != UX_REQUEST_TYPE_STANDARD))
+ /* Per USB HID 1.11 section 7.1.1, GET_DESCRIPTOR/SET_DESCRIPTOR for a
+ class-defined descriptor type (e.g. HID Report 0x22, Physical 0x23)
+ may arrive with bmRequestType set to STANDARD rather than CLASS.
+ Detect this via the high byte of wValue (bDescriptorType): USB-IF
+ allocates 0x21..0x2F to class-defined descriptors, so re-route any
+ such request to the class layer. Standard descriptors (< 0x21,
+ including BOS 0x0F) and vendor descriptors (>= 0x40) are left
+ unchanged. */
+ if ((request == UX_GET_DESCRIPTOR || request == UX_SET_DESCRIPTOR) &&
+ ((request_type & UX_REQUEST_TYPE) == UX_REQUEST_TYPE_STANDARD) &&
+ (((request_value >> 8) & 0xFFu) >= 0x21u) &&
+ (((request_value >> 8) & 0xFFu) <= 0x2Fu))
{
/* This request is to be handled by the class layer. */
- request_type &= (UINT)~UX_REQUEST_TYPE;
+ request_type &= (ULONG)~UX_REQUEST_TYPE;
request_type |= UX_REQUEST_TYPE_CLASS;
}
diff --git a/common/usbx_device_classes/inc/ux_device_class_hid.h b/common/usbx_device_classes/inc/ux_device_class_hid.h
index add018e..f5a48f4 100644
--- a/common/usbx_device_classes/inc/ux_device_class_hid.h
+++ b/common/usbx_device_classes/inc/ux_device_class_hid.h
@@ -215,6 +215,7 @@ typedef struct UX_SLAVE_CLASS_HID_STRUCT
UINT ux_device_class_hid_state;
UINT (*ux_device_class_hid_callback)(struct UX_SLAVE_CLASS_HID_STRUCT *hid, UX_SLAVE_CLASS_HID_EVENT *);
UINT (*ux_device_class_hid_get_callback)(struct UX_SLAVE_CLASS_HID_STRUCT *hid, UX_SLAVE_CLASS_HID_EVENT *);
+ VOID (*ux_device_class_hid_set_protocol_callback)(struct UX_SLAVE_CLASS_HID_STRUCT *hid, ULONG protocol);
VOID (*ux_slave_class_hid_instance_activate)(VOID *);
VOID (*ux_slave_class_hid_instance_deactivate)(VOID *);
UCHAR *ux_device_class_hid_report_address;
@@ -331,6 +332,10 @@ typedef struct UX_SLAVE_CLASS_HID_PARAMETER_STRUCT
ULONG ux_device_class_hid_parameter_report_length;
UINT (*ux_device_class_hid_parameter_callback)(struct UX_SLAVE_CLASS_HID_STRUCT *hid, UX_SLAVE_CLASS_HID_EVENT *);
UINT (*ux_device_class_hid_parameter_get_callback)(struct UX_SLAVE_CLASS_HID_STRUCT *hid, UX_SLAVE_CLASS_HID_EVENT *);
+
+ /* Optional callback invoked when protocol changes (boot/report). */
+ VOID (*ux_device_class_hid_parameter_set_protocol_callback)(struct UX_SLAVE_CLASS_HID_STRUCT *hid, ULONG protocol);
+
#if defined(UX_DEVICE_CLASS_HID_FLEXIBLE_EVENTS_QUEUE)
ULONG ux_device_class_hid_parameter_event_max_number;
ULONG ux_device_class_hid_parameter_event_max_length;
diff --git a/common/usbx_device_classes/src/ux_device_class_hid_control_request.c b/common/usbx_device_classes/src/ux_device_class_hid_control_request.c
index 5569ba1..ccc47e8 100644
--- a/common/usbx_device_classes/src/ux_device_class_hid_control_request.c
+++ b/common/usbx_device_classes/src/ux_device_class_hid_control_request.c
@@ -178,15 +178,28 @@ UX_SLAVE_CLASS_HID *hid;
case UX_DEVICE_CLASS_HID_COMMAND_GET_PROTOCOL:
- /* Send the protocol. */
+ /* Send the protocol to host. */
*transfer_request -> ux_slave_transfer_request_data_pointer = (UCHAR)hid -> ux_device_class_hid_protocol;
_ux_device_stack_transfer_request(transfer_request, 1, request_length);
break;
case UX_DEVICE_CLASS_HID_COMMAND_SET_PROTOCOL:
+ /* Check protocol must be 0 (Boot) or 1 (Report). */
+ if ((request_value != UX_DEVICE_CLASS_HID_PROTOCOL_BOOT) &&
+ (request_value != UX_DEVICE_CLASS_HID_PROTOCOL_REPORT))
+ {
+ /* Invalid value: not handled. */
+ return(UX_ERROR);
+ }
+
/* Accept the protocol. */
hid -> ux_device_class_hid_protocol = request_value;
+
+ /* If there is a callback defined by the application, send the protocol to it. */
+ if (hid -> ux_device_class_hid_set_protocol_callback != UX_NULL)
+ hid -> ux_device_class_hid_set_protocol_callback(hid, request_value);
+
break;
default:
@@ -198,4 +211,3 @@ UX_SLAVE_CLASS_HID *hid;
/* It's handled. */
return(UX_SUCCESS);
}
-
diff --git a/common/usbx_device_classes/src/ux_device_class_hid_initialize.c b/common/usbx_device_classes/src/ux_device_class_hid_initialize.c
index 94d7f01..5b6e4f0 100644
--- a/common/usbx_device_classes/src/ux_device_class_hid_initialize.c
+++ b/common/usbx_device_classes/src/ux_device_class_hid_initialize.c
@@ -9,6 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+
/**************************************************************************/
/**************************************************************************/
/** */
@@ -166,6 +167,7 @@ UCHAR *buffer;
/* Store the callback function. */
hid -> ux_device_class_hid_callback = hid_parameter -> ux_device_class_hid_parameter_callback;
hid -> ux_device_class_hid_get_callback = hid_parameter -> ux_device_class_hid_parameter_get_callback;
+ hid -> ux_device_class_hid_set_protocol_callback = hid_parameter -> ux_device_class_hid_parameter_set_protocol_callback;
#if defined(UX_DEVICE_CLASS_HID_FLEXIBLE_EVENTS_QUEUE)
diff --git a/common/usbx_host_classes/CMakeLists.txt b/common/usbx_host_classes/CMakeLists.txt
index 4742089..11083a2 100644
--- a/common/usbx_host_classes/CMakeLists.txt
+++ b/common/usbx_host_classes/CMakeLists.txt
@@ -93,6 +93,8 @@ target_sources(${PROJECT_NAME} PRIVATE
${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_idle_get.c
${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_idle_set.c
${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_idle_set_run.c
+ ${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_protocol_set.c
+ ${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_protocol_get.c
${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_instance_clean.c
${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_interrupt_endpoint_search.c
${CMAKE_CURRENT_LIST_DIR}/src/ux_host_class_hid_item_data_get.c
diff --git a/common/usbx_host_classes/inc/ux_host_class_cdc_acm.h b/common/usbx_host_classes/inc/ux_host_class_cdc_acm.h
index 24b8fb4..b8c392f 100644
--- a/common/usbx_host_classes/inc/ux_host_class_cdc_acm.h
+++ b/common/usbx_host_classes/inc/ux_host_class_cdc_acm.h
@@ -135,10 +135,21 @@ extern "C" {
/* Define CDC ACM default values. */
+#ifndef UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_RATE
#define UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_RATE 9600
+#endif
+
+#ifndef UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_STOP_BIT
#define UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_STOP_BIT 0
+#endif
+
+#ifndef UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_PARITY
#define UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_PARITY 0
+#endif
+
+#ifndef UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_DATA_BIT
#define UX_HOST_CLASS_CDC_ACM_LINE_CODING_DEFAULT_DATA_BIT 8
+#endif
/* Define CDC ACM line coding definitions. */
diff --git a/common/usbx_host_classes/inc/ux_host_class_gser.h b/common/usbx_host_classes/inc/ux_host_class_gser.h
index 9332dbf..8096ff4 100644
--- a/common/usbx_host_classes/inc/ux_host_class_gser.h
+++ b/common/usbx_host_classes/inc/ux_host_class_gser.h
@@ -115,8 +115,21 @@ extern "C" {
/* Define CDC ACM default values. */
+#ifndef UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_RATE
#define UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_RATE 9600
+#endif
+
+#ifndef UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_STOP_BIT
+#define UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_STOP_BIT 0
+#endif
+
+#ifndef UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_PARITY
+#define UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_PARITY 0
+#endif
+
+#ifndef UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_DATA_BIT
#define UX_HOST_CLASS_GSER_LINE_CODING_DEFAULT_DATA_BIT 8
+#endif
/* Define CDC ACM line coding definitions. */
diff --git a/common/usbx_host_classes/inc/ux_host_class_hid.h b/common/usbx_host_classes/inc/ux_host_class_hid.h
index b10f605..94cf261 100644
--- a/common/usbx_host_classes/inc/ux_host_class_hid.h
+++ b/common/usbx_host_classes/inc/ux_host_class_hid.h
@@ -15,7 +15,7 @@
/** */
/** USBX Component */
/** */
-/** HID Class */
+/** Host HID Class */
/** */
/**************************************************************************/
/**************************************************************************/
@@ -548,7 +548,7 @@ extern "C" {
#define UX_HOST_CLASS_HID_CONSUMER_ALTERNATE_AUDIO_DECREMENT 0x173
#define UX_HOST_CLASS_HID_CONSUMER_APPLICATION_LAUNCH_BUTTONS 0x174
#define UX_HOST_CLASS_HID_CONSUMER_AL_LAUNCH_BUTTON_CONFIGURATION 0x180
-#define UX_HOST_CLASS_HID_CONSUMER_AL_PROGRAMMABLE_BUTTON 0x181
+#define UX_HOST_CLASS_HID_CONSUMER_AL_PROGRAMMABLE_BUTTON 0x181
#define UX_HOST_CLASS_HID_CONSUMER_AL_CONSUMER_CONTROL_CONFIGURATION 0x182
#define UX_HOST_CLASS_HID_CONSUMER_AL_WORD_PROCESSOR 0x183
#define UX_HOST_CLASS_HID_CONSUMER_AL_TEXT_EDITOR 0x184
@@ -764,6 +764,10 @@ extern "C" {
#define UX_HOST_CLASS_HID_REPORT_TRANSFER_TIMEOUT 10000
#endif
+/* HID protocol values. */
+#define UX_HOST_CLASS_HID_PROTOCOL_BOOT 0x00
+#define UX_HOST_CLASS_HID_PROTOCOL_REPORT 0x01
+
/* Define HID Class descriptor. */
typedef struct UX_HID_DESCRIPTOR_STRUCT
@@ -1077,7 +1081,8 @@ VOID _ux_host_class_hid_transfer_request_completed(UX_TRANSFER *transfer_requ
UINT _ux_host_class_hid_tasks_run(UX_HOST_CLASS *hid_class);
UINT _ux_host_class_hid_idle_set_run(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id);
UINT _ux_host_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report);
-
+UINT _ux_host_class_hid_protocol_set(UX_HOST_CLASS_HID *hid, USHORT protocol);
+UINT _ux_host_class_hid_protocol_get(UX_HOST_CLASS_HID *hid, USHORT *protocol);
UINT _uxe_host_class_hid_client_register(UCHAR *hid_client_name,
UINT (*hid_client_handler)(struct UX_HOST_CLASS_HID_CLIENT_COMMAND_STRUCT *));
@@ -1095,7 +1100,8 @@ UINT _uxe_host_class_hid_report_set(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID
UINT _uxe_host_class_hid_idle_set_run(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id);
UINT _uxe_host_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS_HID_CLIENT_REPORT *client_report);
-
+UINT _uxe_host_class_hid_protocol_set(UX_HOST_CLASS_HID *hid, USHORT protocol);
+UINT _uxe_host_class_hid_protocol_get(UX_HOST_CLASS_HID *hid, USHORT *protocol);
/* Define HID Class API prototypes. */
@@ -1122,6 +1128,8 @@ UINT _uxe_host_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS
#define ux_host_class_hid_report_id_get _uxe_host_class_hid_report_id_get
#define ux_host_class_hid_report_get _uxe_host_class_hid_report_get
#define ux_host_class_hid_report_set _uxe_host_class_hid_report_set
+#define ux_host_class_hid_protocol_set _uxe_host_class_hid_protocol_set
+#define ux_host_class_hid_protocol_get _uxe_host_class_hid_protocol_get
#else
@@ -1137,6 +1145,8 @@ UINT _uxe_host_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS
#define ux_host_class_hid_report_id_get _ux_host_class_hid_report_id_get
#define ux_host_class_hid_report_get _ux_host_class_hid_report_get
#define ux_host_class_hid_report_set _ux_host_class_hid_report_set
+#define ux_host_class_hid_protocol_set _ux_host_class_hid_protocol_set
+#define ux_host_class_hid_protocol_get _ux_host_class_hid_protocol_get
#endif
@@ -1148,4 +1158,3 @@ UINT _uxe_host_class_hid_report_set_run(UX_HOST_CLASS_HID *hid, UX_HOST_CLASS
#endif
#endif
-
diff --git a/common/usbx_host_classes/inc/ux_host_class_prolific.h b/common/usbx_host_classes/inc/ux_host_class_prolific.h
index 94b516f..eb6c9cb 100644
--- a/common/usbx_host_classes/inc/ux_host_class_prolific.h
+++ b/common/usbx_host_classes/inc/ux_host_class_prolific.h
@@ -144,8 +144,21 @@ extern "C" {
/* Define PROLIFIC default values. */
+#ifndef UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_RATE
#define UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_RATE 19200
+#endif
+
+#ifndef UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_STOP_BIT
+#define UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_STOP_BIT 0
+#endif
+
+#ifndef UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_PARITY
+#define UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_PARITY 0
+#endif
+
+#ifndef UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_DATA_BIT
#define UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_DATA_BIT 8
+#endif
/* Define PROLIFIC line coding definitions. */
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_client_search.c b/common/usbx_host_classes/src/ux_host_class_hid_client_search.c
index bf68885..902cd55 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_client_search.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_client_search.c
@@ -56,6 +56,9 @@
/* CALLS */
/* */
/* (ux_host_class_hid_client_handler) HID client handler */
+/* _ux_utility_memory_allocate Allocate memory block */
+/* _ux_utility_memory_copy Copy memory block */
+/* _ux_utility_memory_free Release memory block */
/* */
/* CALLED BY */
/* */
@@ -66,6 +69,7 @@ UINT _ux_host_class_hid_client_search(UX_HOST_CLASS_HID *hid)
{
UX_HOST_CLASS_HID_CLIENT *hid_client;
+UX_HOST_CLASS_HID_CLIENT *hid_client_instance;
ULONG hid_client_index;
UINT status;
UX_HOST_CLASS_HID_CLIENT_COMMAND hid_client_command;
@@ -109,18 +113,36 @@ UX_HOST_CLASS_HID_CLIENT_COMMAND hid_client_command;
if (status == UX_SUCCESS)
{
+ /* Allocate a per-instance copy of the client struct so that each HID
+ device gets its own local_instance pointer. This prevents multiple
+ devices of the same type from sharing a single local_instance. */
+ hid_client_instance = (UX_HOST_CLASS_HID_CLIENT *)
+ _ux_utility_memory_allocate(UX_NO_ALIGN, UX_REGULAR_MEMORY,
+ sizeof(UX_HOST_CLASS_HID_CLIENT));
+ if (hid_client_instance == UX_NULL)
+ return(UX_MEMORY_INSUFFICIENT);
+
+ /* Copy the registered client entry and clear the local instance
+ to avoid carrying a stale pointer from a prior activation. */
+ _ux_utility_memory_copy(hid_client_instance, hid_client,
+ sizeof(UX_HOST_CLASS_HID_CLIENT));
+ hid_client_instance -> ux_host_class_hid_client_local_instance = UX_NULL;
+
/* Update the command to activate the client. */
hid_client_command.ux_host_class_hid_client_command_request = UX_HOST_CLASS_COMMAND_ACTIVATE;
- /* Memorize the client for this HID device. */
- hid -> ux_host_class_hid_client = hid_client;
+ /* Store the per-instance client on this HID device. */
+ hid -> ux_host_class_hid_client = hid_client_instance;
/* Call the HID client with an activate command. */
- status = hid_client -> ux_host_class_hid_client_handler(&hid_client_command);
+ status = hid_client_instance -> ux_host_class_hid_client_handler(&hid_client_command);
- /* Unmount the client if activation fail. */
+ /* Unmount the client if activation failed. */
if (status != UX_SUCCESS)
+ {
hid -> ux_host_class_hid_client = UX_NULL;
+ _ux_utility_memory_free(hid_client_instance);
+ }
/* Return completion status. */
return(status);
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_deactivate.c b/common/usbx_host_classes/src/ux_host_class_hid_deactivate.c
index eab333f..888cc12 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_deactivate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_deactivate.c
@@ -138,11 +138,22 @@ UINT status;
hid_client_command.ux_host_class_hid_client_command_instance = (VOID *) hid;
hid_client_command.ux_host_class_hid_client_command_container = (VOID *) hid -> ux_host_class_hid_class;
hid_client_command.ux_host_class_hid_client_command_request = UX_HOST_CLASS_COMMAND_DEACTIVATE;
-
+
/* Call the HID client with a deactivate command if there was a client registered. */
if (hid -> ux_host_class_hid_client != UX_NULL)
+ {
hid -> ux_host_class_hid_client -> ux_host_class_hid_client_handler(&hid_client_command);
+ /* Free the per-instance client copy allocated in _ux_host_class_hid_client_search.
+ Handlers for keyboard/mouse/remote_control null hid_client after freeing their own
+ combined allocation; simple clients leave hid_client pointing at the per-instance copy. */
+ if (hid -> ux_host_class_hid_client != UX_NULL)
+ {
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+ hid -> ux_host_class_hid_client = UX_NULL;
+ }
+ }
+
/* Clean all the HID memory fields. */
_ux_host_class_hid_instance_clean(hid);
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_entry.c b/common/usbx_host_classes/src/ux_host_class_hid_entry.c
index 0902432..d58b58e 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_entry.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_entry.c
@@ -456,7 +456,13 @@ UINT status;
/* Error. */
if (status < UX_STATE_NEXT)
{
- hid -> ux_host_class_hid_client = UX_NULL;
+
+ /* Free per-instance client copy if not already freed by the ACTIVATE_WAIT handler. */
+ if (hid -> ux_host_class_hid_client != UX_NULL)
+ {
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+ hid -> ux_host_class_hid_client = UX_NULL;
+ }
hid -> ux_host_class_hid_status = UX_DEVICE_ENUMERATION_FAILURE;
hid -> ux_host_class_hid_enum_state = UX_HOST_CLASS_HID_ENUM_ERROR;
return;
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_idle_get.c b/common/usbx_host_classes/src/ux_host_class_hid_idle_get.c
index e120884..e39f988 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_idle_get.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_idle_get.c
@@ -101,7 +101,7 @@ UINT status;
UX_RESTORE
return(UX_BUSY);
}
- hid -> ux_host_class_hid_flags &= ~UX_HOST_CLASS_HID_FLAG_LOCK;
+ hid -> ux_host_class_hid_flags |= UX_HOST_CLASS_HID_FLAG_LOCK;
UX_RESTORE
#else
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_idle_set.c b/common/usbx_host_classes/src/ux_host_class_hid_idle_set.c
index fe74deb..1611e91 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_idle_set.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_idle_set.c
@@ -69,14 +69,8 @@
UINT _ux_host_class_hid_idle_set(UX_HOST_CLASS_HID *hid, USHORT idle_time, USHORT report_id)
{
#if defined(UX_HOST_STANDALONE)
-UINT status;
- do
- {
- status = _ux_host_class_hid_idle_set_run(hid, idle_time, report_id);
- } while(status == UX_STATE_WAIT || status == UX_STATE_LOCK);
- return(hid -> ux_host_class_hid_status);
-#else
-
+UX_INTERRUPT_SAVE_AREA
+#endif
UX_ENDPOINT *control_endpoint;
UX_TRANSFER *transfer_request;
UINT status;
@@ -99,6 +93,16 @@ UINT status;
transfer_request = &control_endpoint -> ux_endpoint_transfer_request;
/* Protect thread reentry to this instance. */
+#if defined(UX_HOST_STANDALONE)
+ UX_DISABLE
+ if (hid -> ux_host_class_hid_flags & UX_HOST_CLASS_HID_FLAG_LOCK)
+ {
+ UX_RESTORE
+ return(UX_BUSY);
+ }
+ hid -> ux_host_class_hid_flags |= UX_HOST_CLASS_HID_FLAG_LOCK;
+ UX_RESTORE
+#else
status = _ux_host_semaphore_get(&hid -> ux_host_class_hid_semaphore, UX_WAIT_FOREVER);
if (status != UX_SUCCESS)
return(status);
@@ -106,17 +110,27 @@ UINT status;
/* Protect the control endpoint semaphore here. It will be unprotected in the
transfer request function. */
status = _ux_host_semaphore_get(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore, UX_WAIT_FOREVER);
-
- /* Check for status. */
if (status != UX_SUCCESS)
{
-
- /* Something went wrong. */
- /* Unprotect thread reentry to this instance. */
_ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
-
return(status);
}
+#endif
+
+#if defined(UX_HOST_STANDALONE)
+ /* Protect the control endpoint. It will be unprotected in the transfer request function. */
+ UX_DISABLE
+ if (hid -> ux_host_class_hid_device -> ux_device_flags & UX_DEVICE_FLAG_LOCK)
+ {
+ _ux_host_class_hid_unlock(hid);
+ UX_RESTORE
+ return(UX_BUSY);
+ }
+ hid -> ux_host_class_hid_device -> ux_device_flags |= UX_DEVICE_FLAG_LOCK;
+ transfer_request -> ux_transfer_request_flags |= UX_TRANSFER_FLAG_AUTO_DEVICE_UNLOCK;
+ UX_TRANSFER_STATE_RESET(transfer_request);
+ UX_RESTORE
+#endif
/* Create a transfer request for the SET_IDLE request. */
transfer_request -> ux_transfer_request_data_pointer = UX_NULL;
@@ -129,12 +143,17 @@ UINT status;
/* Send request to HCD layer. */
status = _ux_host_stack_transfer_request(transfer_request);
+#if defined(UX_HOST_STANDALONE)
+ if (!(transfer_request -> ux_transfer_request_flags & UX_TRANSFER_FLAG_AUTO_WAIT))
+ return(status);
+ _ux_host_class_hid_unlock(hid);
+#else
/* Unprotect thread reentry to this instance. */
_ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
+#endif
/* Return the function status. */
return(status);
-#endif
}
/**************************************************************************/
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_keyboard_activate.c b/common/usbx_host_classes/src/ux_host_class_hid_keyboard_activate.c
index af2d5c6..5deebcc 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_keyboard_activate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_keyboard_activate.c
@@ -347,6 +347,9 @@ UX_HOST_CLASS_HID_FIELD *field;
- _periodic_report_start() */
keyboard_instance -> ux_host_class_hid_keyboard_enum_state = UX_STATE_WAIT;
+ /* Free the per-instance client copy from client_search, as we now use our own embedded copy. */
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+
/* It's fine, replace client with our copy. */
hid -> ux_host_class_hid_client = hid_client;
return(status);
@@ -402,6 +405,9 @@ UX_HOST_CLASS_HID_FIELD *field;
if (status == UX_SUCCESS)
{
+ /* Free the per-instance client copy from client_search, as we now use our own embedded copy. */
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+
/* It's fine, replace client copy. */
hid -> ux_host_class_hid_client = hid_client;
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_keyboard_deactivate.c b/common/usbx_host_classes/src/ux_host_class_hid_keyboard_deactivate.c
index 942d988..88bfc57 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_keyboard_deactivate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_keyboard_deactivate.c
@@ -123,6 +123,9 @@ UINT status = UX_SUCCESS;
/* Now free the instance memory. */
_ux_utility_memory_free(hid_client -> ux_host_class_hid_client_local_instance);
+ /* Signal to _ux_host_class_hid_deactivate that the client memory has been freed. */
+ hid -> ux_host_class_hid_client = UX_NULL;
+
/* Return completion status. */
return(status);
}
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_keyboard_entry.c b/common/usbx_host_classes/src/ux_host_class_hid_keyboard_entry.c
index 4e4582e..3c863ae 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_keyboard_entry.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_keyboard_entry.c
@@ -226,9 +226,12 @@ UINT status;
if (keyboard -> ux_host_class_hid_keyboard_usage_array)
_ux_utility_memory_free(keyboard -> ux_host_class_hid_keyboard_usage_array);
- /* Free instance. */
+ /* Free instance (= combined allocation; hid_client is embedded inside it). */
_ux_utility_memory_free(keyboard);
+ /* Signal to entry.c that the per-instance client has been freed. */
+ hid -> ux_host_class_hid_client = UX_NULL;
+
return(UX_STATE_ERROR);
}
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_mouse_activate.c b/common/usbx_host_classes/src/ux_host_class_hid_mouse_activate.c
index ec49be5..723831c 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_mouse_activate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_mouse_activate.c
@@ -128,6 +128,9 @@ UINT status;
}
+ /* Free the per-instance client copy from client_search, as we now use our own embedded copy. */
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+
/* Use our copy of client. */
hid -> ux_host_class_hid_client = hid_client;
return(status);
@@ -182,6 +185,9 @@ UINT status;
if (status == UX_SUCCESS)
{
+ /* Free the per-instance client copy from client_search, as we now use our own embedded copy. */
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+
/* Use our copy of client. */
hid -> ux_host_class_hid_client = hid_client;
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_mouse_deactivate.c b/common/usbx_host_classes/src/ux_host_class_hid_mouse_deactivate.c
index cc2206c..760b41e 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_mouse_deactivate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_mouse_deactivate.c
@@ -96,6 +96,9 @@ UINT status;
/* Now free the instance memory. */
_ux_utility_memory_free(hid_client -> ux_host_class_hid_client_local_instance);
+ /* Signal to _ux_host_class_hid_deactivate that the client memory has been freed. */
+ hid -> ux_host_class_hid_client = UX_NULL;
+
/* Return completion status. */
return(status);
}
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_mouse_entry.c b/common/usbx_host_classes/src/ux_host_class_hid_mouse_entry.c
index 141651a..f412304 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_mouse_entry.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_mouse_entry.c
@@ -207,9 +207,12 @@ UX_HOST_CLASS_HID_REPORT_CALLBACK call_back;
/* Detach instance. */
hid_client -> ux_host_class_hid_client_local_instance = UX_NULL;
- /* Free instance. */
+ /* Free instance (= combined allocation; hid_client is embedded inside it). */
_ux_utility_memory_free(mouse);
+ /* Signal to entry.c that the per-instance client has been freed. */
+ hid -> ux_host_class_hid_client = UX_NULL;
+
return(UX_STATE_ERROR);
}
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_protocol_get.c b/common/usbx_host_classes/src/ux_host_class_hid_protocol_get.c
new file mode 100644
index 0000000..c5369fe
--- /dev/null
+++ b/common/usbx_host_classes/src/ux_host_class_hid_protocol_get.c
@@ -0,0 +1,208 @@
+/***************************************************************************
+ * Copyright (c) 2025-present Eclipse ThreadX Contributors
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the MIT License which is available at
+ * https://opensource.org/licenses/MIT.
+ *
+ * SPDX-License-Identifier: MIT
+ **************************************************************************/
+
+
+/**************************************************************************/
+/**************************************************************************/
+/** */
+/** USBX Component */
+/** */
+/** Host HID Class */
+/** */
+/**************************************************************************/
+/**************************************************************************/
+
+/* Include necessary system files. */
+
+#define UX_SOURCE_CODE
+
+#include "ux_api.h"
+#include "ux_host_class_hid.h"
+#include "ux_host_stack.h"
+
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _ux_host_class_hid_protocol_get PORTABLE C */
+/* */
+/* DESCRIPTION */
+/* */
+/* This function performs a GET_PROTOCOL to the HID device to read */
+/* current protocol (BOOT=0 or REPORT=1). */
+/* */
+/* INPUT */
+/* */
+/* hid Pointer to HID class */
+/* protocol Destination for protocol */
+/* */
+/* OUTPUT */
+/* */
+/* Completion Status */
+/* */
+/* CALLED BY */
+/* */
+/* Application */
+/* */
+/* RELEASE HISTORY */
+/* */
+/* DATE NAME DESCRIPTION */
+/* */
+/**************************************************************************/
+UINT _ux_host_class_hid_protocol_get(UX_HOST_CLASS_HID *hid, USHORT *protocol)
+{
+#if defined(UX_HOST_STANDALONE)
+UX_INTERRUPT_SAVE_AREA
+#endif
+UX_ENDPOINT *control_endpoint;
+UX_TRANSFER *transfer_request;
+UCHAR *protocol_byte;
+UINT status;
+
+ /* Ensure the instance is valid. */
+ if (_ux_host_stack_class_instance_verify(_ux_system_host_class_hid_name, (VOID *) hid) != UX_SUCCESS)
+ {
+
+ /* If trace is enabled, insert this event into the trace buffer. */
+ UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_HOST_CLASS_INSTANCE_UNKNOWN, hid, 0, 0, UX_TRACE_ERRORS, 0, 0)
+
+#if defined(UX_HOST_STANDALONE)
+ hid -> ux_host_class_hid_status = UX_HOST_CLASS_INSTANCE_UNKNOWN;
+#endif
+
+ return(UX_HOST_CLASS_INSTANCE_UNKNOWN);
+ }
+
+ /* Initialize output to a known value. */
+ *protocol = 0;
+
+ /* Get the default control endpoint transfer request pointer. */
+ control_endpoint = &hid -> ux_host_class_hid_device -> ux_device_control_endpoint;
+ transfer_request = &control_endpoint -> ux_endpoint_transfer_request;
+
+ /* Protect thread reentry to this instance. */
+#if defined(UX_HOST_STANDALONE)
+ UX_DISABLE
+ if (hid -> ux_host_class_hid_flags & UX_HOST_CLASS_HID_FLAG_LOCK)
+ {
+ UX_RESTORE
+ return(UX_BUSY);
+ }
+ hid -> ux_host_class_hid_flags |= UX_HOST_CLASS_HID_FLAG_LOCK;
+ UX_RESTORE
+#else
+ status = _ux_host_semaphore_get(&hid -> ux_host_class_hid_semaphore, UX_WAIT_FOREVER);
+ if (status != UX_SUCCESS)
+ return(status);
+#endif
+
+ /* Need to allocate a cache-safe buffer for the DMA transfer. */
+ protocol_byte = _ux_utility_memory_allocate(UX_SAFE_ALIGN, UX_CACHE_SAFE_MEMORY, 1);
+ if (protocol_byte == UX_NULL)
+ {
+
+ /* Unprotect thread reentry to this instance. */
+#if defined(UX_HOST_STANDALONE)
+ _ux_host_class_hid_unlock(hid);
+#else
+ _ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
+#endif
+ return(UX_MEMORY_INSUFFICIENT);
+ }
+
+ /* Protect the control endpoint. It will be unprotected in the transfer request function. */
+#if defined(UX_HOST_STANDALONE)
+ UX_DISABLE
+ if (hid -> ux_host_class_hid_device -> ux_device_flags & UX_DEVICE_FLAG_LOCK)
+ {
+ _ux_utility_memory_free(protocol_byte);
+ _ux_host_class_hid_unlock(hid);
+ UX_RESTORE
+ return(UX_BUSY);
+ }
+ hid -> ux_host_class_hid_device -> ux_device_flags |= UX_DEVICE_FLAG_LOCK;
+ transfer_request -> ux_transfer_request_flags |= UX_TRANSFER_FLAG_AUTO_DEVICE_UNLOCK;
+ UX_TRANSFER_STATE_RESET(transfer_request);
+ UX_RESTORE
+#else
+ status = _ux_host_semaphore_get(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore, UX_WAIT_FOREVER);
+ if (status != UX_SUCCESS)
+ {
+ _ux_utility_memory_free(protocol_byte);
+ _ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
+ return(status);
+ }
+#endif
+
+ /* Create a transfer request for the GET_PROTOCOL request. */
+ transfer_request -> ux_transfer_request_data_pointer = protocol_byte;
+ transfer_request -> ux_transfer_request_requested_length = 1;
+ transfer_request -> ux_transfer_request_function = UX_HOST_CLASS_HID_GET_PROTOCOL;
+ transfer_request -> ux_transfer_request_type = UX_REQUEST_IN | UX_REQUEST_TYPE_CLASS | UX_REQUEST_TARGET_INTERFACE;
+ transfer_request -> ux_transfer_request_value = 0;
+ transfer_request -> ux_transfer_request_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfaceNumber;
+
+ /* Send request to HCD layer. */
+ status = _ux_host_stack_transfer_request(transfer_request);
+
+#if defined(UX_HOST_STANDALONE)
+ if (!(transfer_request -> ux_transfer_request_flags & UX_TRANSFER_FLAG_AUTO_WAIT))
+ {
+ hid -> ux_host_class_hid_allocated = protocol_byte;
+ return(status);
+ }
+#endif
+
+ /* Check for correct transfer and for the entire protocol byte returned. */
+ if (status == UX_SUCCESS && transfer_request -> ux_transfer_request_actual_length == 1)
+ *protocol = (USHORT) *protocol_byte;
+
+ /* Free the allocated buffer. */
+ _ux_utility_memory_free(protocol_byte);
+
+ /* Unprotect thread reentry to this instance. */
+#if defined(UX_HOST_STANDALONE)
+ _ux_host_class_hid_unlock(hid);
+#else
+ _ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
+#endif
+
+ return(status);
+}
+
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _uxe_host_class_hid_protocol_get PORTABLE C */
+/* */
+/* DESCRIPTION */
+/* */
+/* This function checks errors in HID protocol get function call. */
+/* */
+/* INPUT */
+/* */
+/* hid Pointer to HID class */
+/* protocol Destination for protocol */
+/* */
+/* OUTPUT */
+/* */
+/* Status */
+/* */
+/**************************************************************************/
+UINT _uxe_host_class_hid_protocol_get(UX_HOST_CLASS_HID *hid, USHORT *protocol)
+{
+ /* Sanity check. */
+ if (hid == UX_NULL || protocol == UX_NULL)
+ return(UX_INVALID_PARAMETER);
+
+ /* Invoke protocol get function. */
+ return(_ux_host_class_hid_protocol_get(hid, protocol));
+}
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_protocol_set.c b/common/usbx_host_classes/src/ux_host_class_hid_protocol_set.c
new file mode 100644
index 0000000..bb46349
--- /dev/null
+++ b/common/usbx_host_classes/src/ux_host_class_hid_protocol_set.c
@@ -0,0 +1,182 @@
+/***************************************************************************
+ * Copyright (c) 2025-present Eclipse ThreadX Contributors
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the MIT License which is available at
+ * https://opensource.org/licenses/MIT.
+ *
+ * SPDX-License-Identifier: MIT
+ **************************************************************************/
+
+
+/**************************************************************************/
+/**************************************************************************/
+/** */
+/** USBX Component */
+/** */
+/** Host HID Class */
+/** */
+/**************************************************************************/
+/**************************************************************************/
+
+/* Include necessary system files. */
+
+#define UX_SOURCE_CODE
+
+#include "ux_api.h"
+#include "ux_host_class_hid.h"
+#include "ux_host_stack.h"
+
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _ux_host_class_hid_protocol_set PORTABLE C */
+/* */
+/* DESCRIPTION */
+/* */
+/* This function performs a SET_PROTOCOL to the HID device to switch */
+/* between BOOT (0) and REPORT (1) protocols. */
+/* */
+/* INPUT */
+/* */
+/* hid Pointer to HID class */
+/* protocol Protocol (BOOT/REPORT) */
+/* */
+/* OUTPUT */
+/* */
+/* Completion Status */
+/* */
+/* CALLED BY */
+/* */
+/* Application */
+/* */
+/* RELEASE HISTORY */
+/* */
+/* DATE NAME DESCRIPTION */
+/* */
+/**************************************************************************/
+UINT _ux_host_class_hid_protocol_set(UX_HOST_CLASS_HID *hid, USHORT protocol)
+{
+#if defined(UX_HOST_STANDALONE)
+UX_INTERRUPT_SAVE_AREA
+#endif
+UX_ENDPOINT *control_endpoint;
+UX_TRANSFER *transfer_request;
+UINT status;
+
+ /* Ensure the instance is valid. */
+ if (_ux_host_stack_class_instance_verify(_ux_system_host_class_hid_name, (VOID *) hid) != UX_SUCCESS)
+ {
+
+ /* If trace is enabled, insert this event into the trace buffer. */
+ UX_TRACE_IN_LINE_INSERT(UX_TRACE_ERROR, UX_HOST_CLASS_INSTANCE_UNKNOWN, hid, 0, 0, UX_TRACE_ERRORS, 0, 0)
+
+#if defined(UX_HOST_STANDALONE)
+ hid -> ux_host_class_hid_status = UX_HOST_CLASS_INSTANCE_UNKNOWN;
+#endif
+ return(UX_HOST_CLASS_INSTANCE_UNKNOWN);
+ }
+
+ /* Get the default control endpoint transfer request pointer. */
+ control_endpoint = &hid -> ux_host_class_hid_device -> ux_device_control_endpoint;
+ transfer_request = &control_endpoint -> ux_endpoint_transfer_request;
+
+ /* Protect thread reentry to this instance. */
+#if defined(UX_HOST_STANDALONE)
+ UX_DISABLE
+ if (hid -> ux_host_class_hid_flags & UX_HOST_CLASS_HID_FLAG_LOCK)
+ {
+ UX_RESTORE
+ return(UX_BUSY);
+ }
+ hid -> ux_host_class_hid_flags |= UX_HOST_CLASS_HID_FLAG_LOCK;
+ UX_RESTORE
+#else
+ status = _ux_host_semaphore_get(&hid -> ux_host_class_hid_semaphore, UX_WAIT_FOREVER);
+ if (status != UX_SUCCESS)
+ return(status);
+
+ /* Protect the control endpoint semaphore here. It will be unprotected in the
+ transfer request function. */
+ status = _ux_host_semaphore_get(&hid -> ux_host_class_hid_device -> ux_device_protection_semaphore, UX_WAIT_FOREVER);
+ if (status != UX_SUCCESS)
+ {
+ _ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
+ return(status);
+ }
+#endif
+
+#if defined(UX_HOST_STANDALONE)
+ /* Protect the control endpoint. It will be unprotected in the transfer request function. */
+ UX_DISABLE
+ if (hid -> ux_host_class_hid_device -> ux_device_flags & UX_DEVICE_FLAG_LOCK)
+ {
+ _ux_host_class_hid_unlock(hid);
+ UX_RESTORE
+ return(UX_BUSY);
+ }
+ hid -> ux_host_class_hid_device -> ux_device_flags |= UX_DEVICE_FLAG_LOCK;
+ transfer_request -> ux_transfer_request_flags |= UX_TRANSFER_FLAG_AUTO_DEVICE_UNLOCK;
+ UX_TRANSFER_STATE_RESET(transfer_request);
+ UX_RESTORE
+#endif
+
+ /* Create a transfer request for the SET_PROTOCOL request. */
+ transfer_request -> ux_transfer_request_data_pointer = UX_NULL;
+ transfer_request -> ux_transfer_request_requested_length = 0;
+ transfer_request -> ux_transfer_request_function = UX_HOST_CLASS_HID_SET_PROTOCOL;
+ transfer_request -> ux_transfer_request_type = UX_REQUEST_OUT | UX_REQUEST_TYPE_CLASS | UX_REQUEST_TARGET_INTERFACE;
+ transfer_request -> ux_transfer_request_value = (UINT)protocol;
+ transfer_request -> ux_transfer_request_index = hid -> ux_host_class_hid_interface -> ux_interface_descriptor.bInterfaceNumber;
+
+ /* Send request to HCD layer. */
+ status = _ux_host_stack_transfer_request(transfer_request);
+
+#if defined(UX_HOST_STANDALONE)
+ if (!(transfer_request -> ux_transfer_request_flags & UX_TRANSFER_FLAG_AUTO_WAIT))
+ return(status);
+ _ux_host_class_hid_unlock(hid);
+#else
+ /* Unprotect thread reentry to this instance. */
+ _ux_host_semaphore_put(&hid -> ux_host_class_hid_semaphore);
+#endif
+
+ /* Return the function status. */
+ return(status);
+}
+
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _uxe_host_class_hid_protocol_set PORTABLE C */
+/* */
+/* DESCRIPTION */
+/* */
+/* This function checks errors in HID protocol set function call. */
+/* */
+/* INPUT */
+/* */
+/* hid Pointer to HID class */
+/* protocol Protocol (BOOT/REPORT) */
+/* */
+/* OUTPUT */
+/* */
+/* Status */
+/* */
+/**************************************************************************/
+UINT _uxe_host_class_hid_protocol_set(UX_HOST_CLASS_HID *hid, USHORT protocol)
+{
+ /* Sanity check. */
+ if (hid == UX_NULL)
+ return(UX_INVALID_PARAMETER);
+
+ /* Validate protocol value: must be BOOT(0) or REPORT(1). */
+ if (protocol != UX_HOST_CLASS_HID_PROTOCOL_BOOT &&
+ protocol != UX_HOST_CLASS_HID_PROTOCOL_REPORT)
+ return(UX_INVALID_PARAMETER);
+
+ /* Invoke protocol set function. */
+ return(_ux_host_class_hid_protocol_set(hid, protocol));
+}
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_remote_control_activate.c b/common/usbx_host_classes/src/ux_host_class_hid_remote_control_activate.c
index c353fce..0c79d0e 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_remote_control_activate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_remote_control_activate.c
@@ -143,6 +143,9 @@ UINT status = UX_SUCCESS;
if (status == UX_SUCCESS)
{
+ /* Free the per-instance client copy from client_search, as we now use our own embedded copy. */
+ _ux_utility_memory_free(hid -> ux_host_class_hid_client);
+
/* Use out copy of client. */
hid -> ux_host_class_hid_client = hid_client;
diff --git a/common/usbx_host_classes/src/ux_host_class_hid_remote_control_deactivate.c b/common/usbx_host_classes/src/ux_host_class_hid_remote_control_deactivate.c
index 1db2e56..f9b4853 100644
--- a/common/usbx_host_classes/src/ux_host_class_hid_remote_control_deactivate.c
+++ b/common/usbx_host_classes/src/ux_host_class_hid_remote_control_deactivate.c
@@ -103,6 +103,9 @@ UINT status;
/* Now free the instance memory. */
_ux_utility_memory_free(hid_client -> ux_host_class_hid_client_local_instance);
+ /* Signal to _ux_host_class_hid_deactivate that the client memory has been freed. */
+ hid -> ux_host_class_hid_client = UX_NULL;
+
/* Return completion status. */
return(status);
}
diff --git a/common/usbx_host_classes/src/ux_host_class_prolific_activate.c b/common/usbx_host_classes/src/ux_host_class_prolific_activate.c
index e2afb35..862af1e 100644
--- a/common/usbx_host_classes/src/ux_host_class_prolific_activate.c
+++ b/common/usbx_host_classes/src/ux_host_class_prolific_activate.c
@@ -125,8 +125,8 @@ UINT status;
if (status == UX_SUCCESS)
{
line_coding.ux_host_class_prolific_line_coding_dter = UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_RATE;
- line_coding.ux_host_class_prolific_line_coding_stop_bit = UX_HOST_CLASS_PROLIFIC_LINE_CODING_STOP_BIT_0;
- line_coding.ux_host_class_prolific_line_coding_parity = UX_HOST_CLASS_PROLIFIC_LINE_CODING_PARITY_NONE;
+ line_coding.ux_host_class_prolific_line_coding_stop_bit = UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_STOP_BIT;
+ line_coding.ux_host_class_prolific_line_coding_parity = UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_PARITY;
line_coding.ux_host_class_prolific_line_coding_data_bits = UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_DATA_BIT;
status = _ux_host_class_prolific_ioctl(prolific, UX_HOST_CLASS_PROLIFIC_IOCTL_SET_LINE_CODING, (VOID *) &line_coding);
}
diff --git a/common/usbx_pictbridge/inc/ux_pictbridge.h b/common/usbx_pictbridge/inc/ux_pictbridge.h
index 188aa60..ef43b36 100644
--- a/common/usbx_pictbridge/inc/ux_pictbridge.h
+++ b/common/usbx_pictbridge/inc/ux_pictbridge.h
@@ -963,9 +963,6 @@ UINT _ux_pictbridge_object_tag_line_add(UCHAR *pima_object_buffer,
UCHAR **pima_object_buffer_updated,
ULONG *object_length_updated);
-UINT _ux_pictbridge_input_object_create(UX_PICTBRIDGE *pictbridge, ULONG input_function);
-
-
/* Define external strings and xml tag lines. */
extern UCHAR _ux_pictbridge_volume_description[];
diff --git a/ports/arm9/gnu/inc/ux_port.h b/ports/arm9/gnu/inc/ux_port.h
index 967ca0e..b81411e 100644
--- a/ports/arm9/gnu/inc/ux_port.h
+++ b/ports/arm9/gnu/inc/ux_port.h
@@ -244,7 +244,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/arm9/iar/inc/ux_port.h b/ports/arm9/iar/inc/ux_port.h
index 565e71b..8f4e390 100644
--- a/ports/arm9/iar/inc/ux_port.h
+++ b/ports/arm9/iar/inc/ux_port.h
@@ -251,7 +251,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a15/gnu/inc/ux_port.h b/ports/cortex_a15/gnu/inc/ux_port.h
index 0851253..62d8206 100644
--- a/ports/cortex_a15/gnu/inc/ux_port.h
+++ b/ports/cortex_a15/gnu/inc/ux_port.h
@@ -240,7 +240,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A15/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A15/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a5/gnu/inc/ux_port.h b/ports/cortex_a5/gnu/inc/ux_port.h
index 70ac9ab..efb2fae 100644
--- a/ports/cortex_a5/gnu/inc/ux_port.h
+++ b/ports/cortex_a5/gnu/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A5/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A5/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a5/iar/inc/ux_port.h b/ports/cortex_a5/iar/inc/ux_port.h
index c961300..dbc3192 100644
--- a/ports/cortex_a5/iar/inc/ux_port.h
+++ b/ports/cortex_a5/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A5/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A5/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a5x/ac6/inc/ux_port.h b/ports/cortex_a5x/ac6/inc/ux_port.h
index 0499cc1..ffd35f6 100644
--- a/ports/cortex_a5x/ac6/inc/ux_port.h
+++ b/ports/cortex_a5x/ac6/inc/ux_port.h
@@ -264,7 +264,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A5x/AC6 Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A5x/AC6 Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a7/gnu/inc/ux_port.h b/ports/cortex_a7/gnu/inc/ux_port.h
index 5d557e3..4a55163 100644
--- a/ports/cortex_a7/gnu/inc/ux_port.h
+++ b/ports/cortex_a7/gnu/inc/ux_port.h
@@ -251,7 +251,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A7/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A7/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a7/iar/inc/ux_port.h b/ports/cortex_a7/iar/inc/ux_port.h
index 6192f41..1f51308 100644
--- a/ports/cortex_a7/iar/inc/ux_port.h
+++ b/ports/cortex_a7/iar/inc/ux_port.h
@@ -251,7 +251,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A7/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A7/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a8/gnu/inc/ux_port.h b/ports/cortex_a8/gnu/inc/ux_port.h
index b331d13..77cc4dd 100644
--- a/ports/cortex_a8/gnu/inc/ux_port.h
+++ b/ports/cortex_a8/gnu/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A8/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A8/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a8/iar/inc/ux_port.h b/ports/cortex_a8/iar/inc/ux_port.h
index 0eae9a8..b4b2719 100644
--- a/ports/cortex_a8/iar/inc/ux_port.h
+++ b/ports/cortex_a8/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A8/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-A8/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a9/gnu/inc/ux_port.h b/ports/cortex_a9/gnu/inc/ux_port.h
index ba2b7f9..e58a859 100644
--- a/ports/cortex_a9/gnu/inc/ux_port.h
+++ b/ports/cortex_a9/gnu/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_a9/iar/inc/ux_port.h b/ports/cortex_a9/iar/inc/ux_port.h
index 32d8caa..9e0fe2f 100644
--- a/ports/cortex_a9/iar/inc/ux_port.h
+++ b/ports/cortex_a9/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX ARM9/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m0/gnu/inc/ux_port.h b/ports/cortex_m0/gnu/inc/ux_port.h
index b39c2e8..d7d6fad 100644
--- a/ports/cortex_m0/gnu/inc/ux_port.h
+++ b/ports/cortex_m0/gnu/inc/ux_port.h
@@ -243,7 +243,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M0/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M0/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m0/iar/inc/ux_port.h b/ports/cortex_m0/iar/inc/ux_port.h
index ce466cd..5a404a1 100644
--- a/ports/cortex_m0/iar/inc/ux_port.h
+++ b/ports/cortex_m0/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M0/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M0/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m3/gnu/inc/ux_port.h b/ports/cortex_m3/gnu/inc/ux_port.h
index 0361f98..61f33e2 100644
--- a/ports/cortex_m3/gnu/inc/ux_port.h
+++ b/ports/cortex_m3/gnu/inc/ux_port.h
@@ -243,7 +243,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M3/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M3/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m3/iar/inc/ux_port.h b/ports/cortex_m3/iar/inc/ux_port.h
index ae7ef19..66269b7 100644
--- a/ports/cortex_m3/iar/inc/ux_port.h
+++ b/ports/cortex_m3/iar/inc/ux_port.h
@@ -245,7 +245,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M3/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M3/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m33/gnu/inc/ux_port.h b/ports/cortex_m33/gnu/inc/ux_port.h
index 53ccf09..44fc730 100644
--- a/ports/cortex_m33/gnu/inc/ux_port.h
+++ b/ports/cortex_m33/gnu/inc/ux_port.h
@@ -243,7 +243,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M33/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M33/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m33/iar/inc/ux_port.h b/ports/cortex_m33/iar/inc/ux_port.h
index f5055d9..d6a9a1b 100644
--- a/ports/cortex_m33/iar/inc/ux_port.h
+++ b/ports/cortex_m33/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M33/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M33/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m4/gnu/inc/ux_port.h b/ports/cortex_m4/gnu/inc/ux_port.h
index 41b692a..812e2a7 100644
--- a/ports/cortex_m4/gnu/inc/ux_port.h
+++ b/ports/cortex_m4/gnu/inc/ux_port.h
@@ -243,7 +243,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M4/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M4/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m4/iar/inc/ux_port.h b/ports/cortex_m4/iar/inc/ux_port.h
index 0eb9db3..7b29625 100644
--- a/ports/cortex_m4/iar/inc/ux_port.h
+++ b/ports/cortex_m4/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M4/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M4/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m7/gnu/inc/ux_port.h b/ports/cortex_m7/gnu/inc/ux_port.h
index d5a08fc..907feaf 100644
--- a/ports/cortex_m7/gnu/inc/ux_port.h
+++ b/ports/cortex_m7/gnu/inc/ux_port.h
@@ -243,7 +243,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M7/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M7/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_m7/iar/inc/ux_port.h b/ports/cortex_m7/iar/inc/ux_port.h
index 5843ceb..426ea2c 100644
--- a/ports/cortex_m7/iar/inc/ux_port.h
+++ b/ports/cortex_m7/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M7/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-M7/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_r4/gnu/inc/ux_port.h b/ports/cortex_r4/gnu/inc/ux_port.h
index af7083c..5f6804a 100644
--- a/ports/cortex_r4/gnu/inc/ux_port.h
+++ b/ports/cortex_r4/gnu/inc/ux_port.h
@@ -244,7 +244,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R4/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R4/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_r4/iar/inc/ux_port.h b/ports/cortex_r4/iar/inc/ux_port.h
index 458b8fd..49c80af 100644
--- a/ports/cortex_r4/iar/inc/ux_port.h
+++ b/ports/cortex_r4/iar/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R4/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R4/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_r5/gnu/inc/ux_port.h b/ports/cortex_r5/gnu/inc/ux_port.h
index 6ac4c67..c812916 100644
--- a/ports/cortex_r5/gnu/inc/ux_port.h
+++ b/ports/cortex_r5/gnu/inc/ux_port.h
@@ -246,7 +246,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R5/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R5/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/cortex_r5/iar/inc/ux_port.h b/ports/cortex_r5/iar/inc/ux_port.h
index 2b71cf9..9cb3c8f 100644
--- a/ports/cortex_r5/iar/inc/ux_port.h
+++ b/ports/cortex_r5/iar/inc/ux_port.h
@@ -248,7 +248,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R5/IAR Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Cortex-R5/IAR Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/generic/inc/ux_port.h b/ports/generic/inc/ux_port.h
index cb271d2..b5fc503 100644
--- a/ports/generic/inc/ux_port.h
+++ b/ports/generic/inc/ux_port.h
@@ -247,7 +247,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Generic Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Generic Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/linux/gnu/inc/ux_port.h b/ports/linux/gnu/inc/ux_port.h
index 369b85b..8045a31 100644
--- a/ports/linux/gnu/inc/ux_port.h
+++ b/ports/linux/gnu/inc/ux_port.h
@@ -249,7 +249,7 @@ ULONG outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Linux/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX Linux/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/rxv1/gnu/inc/ux_port.h b/ports/rxv1/gnu/inc/ux_port.h
index a7de8c3..e6fb74e 100644
--- a/ports/rxv1/gnu/inc/ux_port.h
+++ b/ports/rxv1/gnu/inc/ux_port.h
@@ -239,7 +239,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX RXv1/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX RXv1/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/rxv2/gnu/inc/ux_port.h b/ports/rxv2/gnu/inc/ux_port.h
index 7b06938..4cfae99 100644
--- a/ports/rxv2/gnu/inc/ux_port.h
+++ b/ports/rxv2/gnu/inc/ux_port.h
@@ -239,7 +239,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX RXv2/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX RXv2/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/ports/rxv3/gnu/inc/ux_port.h b/ports/rxv3/gnu/inc/ux_port.h
index 9ec4884..fe8294e 100644
--- a/ports/rxv3/gnu/inc/ux_port.h
+++ b/ports/rxv3/gnu/inc/ux_port.h
@@ -239,7 +239,7 @@ VOID outpl(ULONG,ULONG);
#ifdef UX_SYSTEM_INIT
CHAR _ux_version_id[] =
- "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX RXv3/GNU Version 6.5.0.202601 *";
+ "(c) 2024 Microsoft Corp. (c) 2026-present Eclipse ThreadX contributors. * USBX RXv3/GNU Version 6.5.1.202602 *";
#else
extern CHAR _ux_version_id[];
#endif
diff --git a/samples/demo_usbx.c b/samples/demo_usbx.c
index 9e73af4..1b4ddaa 100644
--- a/samples/demo_usbx.c
+++ b/samples/demo_usbx.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is a small demo of the USBX */
#include "ux_api.h"
diff --git a/scripts/build.sh b/scripts/build.sh
index 7fdbcb1..3c73f76 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -1,2 +1,13 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
$(dirname `realpath $0`)/../test/cmake/usbx/run.sh build $@
diff --git a/scripts/install.sh b/scripts/install.sh
index fed9971..5ba1cde 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -1,4 +1,15 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
#
# Install necessary softwares for Ubuntu.
diff --git a/scripts/prepare_release.sh b/scripts/prepare_release.sh
new file mode 100755
index 0000000..5b0260b
--- /dev/null
+++ b/scripts/prepare_release.sh
@@ -0,0 +1,172 @@
+#!/usr/bin/env bash
+# prepare_release.sh
+# Prepares a USBX release by updating version constants and port version strings.
+#
+# Usage: prepare_release.sh <version>
+# Example: prepare_release.sh 6.5.1.202602
+# Hotfix: prepare_release.sh 6.5.1.202602a
+#
+# This script:
+# 1. Creates branch release-<version>-preparation from dev
+# 2. Updates version constants in common/core/inc/ux_api.h
+# (commit: "Updated version number constants")
+# 3. Updates port version strings in all ux_port.h files
+# (commit: "Updated port version strings")
+#
+# Copyright (C) 2026 Eclipse ThreadX contributors
+# SPDX-License-Identifier: MIT
+
+set -eu
+
+SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
+REPO_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)"
+
+API_HEADER="${REPO_ROOT}/common/core/inc/ux_api.h"
+PORT_HEADER_NAME="ux_port.h"
+PORT_DIRS="ports"
+
+# --------------------------------------------------------------------------
+# Argument validation
+# --------------------------------------------------------------------------
+if [ "$#" -ne 1 ]; then
+ printf "Usage: %s <version>\n" "$(basename "$0")" >&2
+ printf "Example: %s 6.5.1.202602\n" "$(basename "$0")" >&2
+ exit 1
+fi
+
+VERSION="$1"
+
+if ! printf "%s" "${VERSION}" | grep -qE '^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[a-z]?$'; then
+ printf "Error: Invalid version format '%s'.\n" "${VERSION}" >&2
+ printf "Expected: MAJOR.MINOR.PATCH.BUILD[hotfix_letter]\n" >&2
+ exit 1
+fi
+
+# --------------------------------------------------------------------------
+# Parse version components
+# --------------------------------------------------------------------------
+MAJOR=$(printf "%s" "${VERSION}" | cut -d. -f1)
+MINOR=$(printf "%s" "${VERSION}" | cut -d. -f2)
+PATCH=$(printf "%s" "${VERSION}" | cut -d. -f3)
+BUILD_AND_HOTFIX=$(printf "%s" "${VERSION}" | cut -d. -f4)
+BUILD=$(printf "%s" "${BUILD_AND_HOTFIX}" | sed -E 's/[a-z]+$//')
+HOTFIX=$(printf "%s" "${BUILD_AND_HOTFIX}" | sed -E 's/^[0-9]+//')
+
+if [ -z "${HOTFIX}" ]; then
+ HOTFIX_DEFINE="' '"
+else
+ HOTFIX_DEFINE="'${HOTFIX}'"
+fi
+
+# --------------------------------------------------------------------------
+# Read and display current version
+# --------------------------------------------------------------------------
+CURR_MAJOR=$(grep -E "^#define USBX_MAJOR_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_MINOR=$(grep -E "^#define USBX_MINOR_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_PATCH=$(grep -E "^#define USBX_PATCH_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_BUILD=$(grep -E "^#define USBX_BUILD_VERSION" "${API_HEADER}" | awk '{print $NF}')
+CURR_HOTFIX=$(grep -E "^#define USBX_HOTFIX_VERSION" "${API_HEADER}" | \
+ sed -E "s/.*'([^']*)'.*/\1/" | tr -d ' ')
+
+if [ -z "${CURR_HOTFIX}" ]; then
+ CURR_VER="${CURR_MAJOR}.${CURR_MINOR}.${CURR_PATCH}.${CURR_BUILD}"
+else
+ CURR_VER="${CURR_MAJOR}.${CURR_MINOR}.${CURR_PATCH}.${CURR_BUILD}${CURR_HOTFIX}"
+fi
+
+printf "\nUSBX release preparation\n"
+printf " Repository : %s\n" "${REPO_ROOT}"
+printf " Current version : %s\n" "${CURR_VER}"
+printf " Target version : %s\n\n" "${VERSION}"
+printf "Proceed with update? [y/N] "
+read -r CONFIRM
+case "${CONFIRM}" in
+ y|Y) ;;
+ *)
+ printf "Aborted.\n"
+ exit 0
+ ;;
+esac
+
+# --------------------------------------------------------------------------
+# Pre-flight checks
+# --------------------------------------------------------------------------
+if ! git -C "${REPO_ROOT}" diff --quiet HEAD 2>/dev/null; then
+ printf "Error: Working tree has uncommitted changes. Commit or stash first.\n" >&2
+ exit 1
+fi
+
+# --------------------------------------------------------------------------
+# Create feature branch from dev
+# --------------------------------------------------------------------------
+BRANCH_NAME="release-${VERSION}-preparation"
+printf "\nChecking out dev and pulling latest changes...\n"
+git -C "${REPO_ROOT}" checkout dev
+git -C "${REPO_ROOT}" pull origin dev
+printf "Creating branch '%s'...\n" "${BRANCH_NAME}"
+git -C "${REPO_ROOT}" checkout -b "${BRANCH_NAME}"
+
+# --------------------------------------------------------------------------
+# Update version constants
+# --------------------------------------------------------------------------
+printf "\nUpdating version constants in %s...\n" "${API_HEADER}"
+
+sed -i -E "s|(#define USBX_MAJOR_VERSION[[:space:]]+)[0-9]+|\1${MAJOR}|" "${API_HEADER}"
+sed -i -E "s|(#define USBX_MINOR_VERSION[[:space:]]+)[0-9]+|\1${MINOR}|" "${API_HEADER}"
+sed -i -E "s|(#define USBX_PATCH_VERSION[[:space:]]+)[0-9]+|\1${PATCH}|" "${API_HEADER}"
+sed -i -E "s|(#define USBX_BUILD_VERSION[[:space:]]+)[0-9]+|\1${BUILD}|" "${API_HEADER}"
+sed -i -E "s|(#define USBX_HOTFIX_VERSION[[:space:]]+)'[^']*'|\1${HOTFIX_DEFINE}|" "${API_HEADER}"
+
+git -C "${REPO_ROOT}" add "${API_HEADER}"
+git -C "${REPO_ROOT}" commit -F - <<'COMMIT_EOF'
+Updated version number constants
+
+Co-authored-by: Copilot <[email protected]>
+COMMIT_EOF
+
+printf "Committed version constant updates.\n"
+
+# --------------------------------------------------------------------------
+# Update port version strings
+# --------------------------------------------------------------------------
+printf "\nUpdating port version strings...\n"
+
+PORT_FILES=""
+for dir in ${PORT_DIRS}; do
+ if [ -d "${REPO_ROOT}/${dir}" ]; then
+ found=$(find "${REPO_ROOT}/${dir}" -name "${PORT_HEADER_NAME}" 2>/dev/null | sort)
+ if [ -n "${found}" ]; then
+ PORT_FILES="${PORT_FILES}${found}
+"
+ fi
+ fi
+done
+PORT_FILES=$(printf "%s" "${PORT_FILES}" | grep -v '^[[:space:]]*$' || true)
+
+if [ -z "${PORT_FILES}" ]; then
+ printf "Warning: No port header files found. Skipping port version string commit.\n"
+else
+ while IFS= read -r port_file; do
+ if [ -n "${port_file}" ] && grep -qE "Version [0-9]" "${port_file}" 2>/dev/null; then
+ sed -i -E "s/Version [0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[a-z]*/Version ${VERSION}/g" "${port_file}"
+ printf " Updated: %s\n" "${port_file#${REPO_ROOT}/}"
+ fi
+ done <<EOF
+${PORT_FILES}
+EOF
+
+ git -C "${REPO_ROOT}" add -u
+ if git -C "${REPO_ROOT}" diff --cached --quiet; then
+ printf "No port version string changes staged. Skipping commit.\n"
+ else
+ git -C "${REPO_ROOT}" commit -F - <<'COMMIT_EOF'
+Updated port version strings
+
+Co-authored-by: Copilot <[email protected]>
+COMMIT_EOF
+ printf "Committed port version string updates.\n"
+ fi
+fi
+
+printf "\nRelease preparation complete.\n"
+printf "Branch '%s' is ready for review.\n" "${BRANCH_NAME}"
diff --git a/scripts/test.sh b/scripts/test.sh
index 109b9e2..7a3720c 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -1,2 +1,13 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2024 Microsoft Corporation
+# Copyright (c) 2026 Eclipse ThreadX contributors
+#
+# This program and the accompanying materials are made available under the
+# terms of the MIT License which is available at
+# https://opensource.org/licenses/MIT.
+#
+# SPDX-License-Identifier: MIT
+##############################################################################
+
CTEST_PARALLEL_LEVEL=4 $(dirname `realpath $0`)/../test/cmake/usbx/run.sh test $@
diff --git a/test/cmake/usbx/regression/CMakeLists.txt b/test/cmake/usbx/regression/CMakeLists.txt
index 2992765..729559c 100644
--- a/test/cmake/usbx/regression/CMakeLists.txt
+++ b/test/cmake/usbx/regression/CMakeLists.txt
@@ -139,6 +139,7 @@ set(ux_class_hid_test_cases
${SOURCE_DIR}/usbx_ux_device_class_hid_activate_test2.c
${SOURCE_DIR}/usbx_ux_device_class_hid_activate_test3.c
${SOURCE_DIR}/usbx_ux_device_class_hid_control_request_test.c
+ ${SOURCE_DIR}/usbx_ux_device_class_hid_set_protocol_callback_test.c
${SOURCE_DIR}/usbx_ux_device_class_hid_initialize_test.c
${SOURCE_DIR}/usbx_ux_device_class_hid_interrupt_thread_test2.c
${SOURCE_DIR}/usbx_ux_device_class_hid_read_test.c
diff --git a/test/regression/usbx_audio10_device_basic_test.c b/test/regression/usbx_audio10_device_basic_test.c
index 5dfbe80..8c85192 100644
--- a/test/regression/usbx_audio10_device_basic_test.c
+++ b/test/regression/usbx_audio10_device_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio10_device_feedback_test.c b/test/regression/usbx_audio10_device_feedback_test.c
index cac9220..af227b1 100644
--- a/test/regression/usbx_audio10_device_feedback_test.c
+++ b/test/regression/usbx_audio10_device_feedback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio10_iad_device_basic_test.c b/test/regression/usbx_audio10_iad_device_basic_test.c
index e92fcf3..9d8430e 100644
--- a/test/regression/usbx_audio10_iad_device_basic_test.c
+++ b/test/regression/usbx_audio10_iad_device_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio10_iad_device_control_test.c b/test/regression/usbx_audio10_iad_device_control_test.c
index d92911d..0fe019d 100644
--- a/test/regression/usbx_audio10_iad_device_control_test.c
+++ b/test/regression/usbx_audio10_iad_device_control_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio10_iad_device_interrupt_test.c b/test/regression/usbx_audio10_iad_device_interrupt_test.c
index 70cbd2c..379da31 100644
--- a/test/regression/usbx_audio10_iad_device_interrupt_test.c
+++ b/test/regression/usbx_audio10_iad_device_interrupt_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio10_iad_host_basic_test.c b/test/regression/usbx_audio10_iad_host_basic_test.c
index 3bf41d8..dcb3521 100644
--- a/test/regression/usbx_audio10_iad_host_basic_test.c
+++ b/test/regression/usbx_audio10_iad_host_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio20_device_basic_test.c b/test/regression/usbx_audio20_device_basic_test.c
index 202a0da..93e518d 100644
--- a/test/regression/usbx_audio20_device_basic_test.c
+++ b/test/regression/usbx_audio20_device_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio20_device_controls_test.c b/test/regression/usbx_audio20_device_controls_test.c
index 4a61686..926cf09 100644
--- a/test/regression/usbx_audio20_device_controls_test.c
+++ b/test/regression/usbx_audio20_device_controls_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio20_device_feedback_test.c b/test/regression/usbx_audio20_device_feedback_test.c
index 37887f5..2b77812 100644
--- a/test/regression/usbx_audio20_device_feedback_test.c
+++ b/test/regression/usbx_audio20_device_feedback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_audio20_host_basic_test.c b/test/regression/usbx_audio20_host_basic_test.c
index 2ec492f..373dbc9 100644
--- a/test/regression/usbx_audio20_host_basic_test.c
+++ b/test/regression/usbx_audio20_host_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_bus_powered_hub_conn_to_self_and_bus_powered_hub_test.c b/test/regression/usbx_bus_powered_hub_conn_to_self_and_bus_powered_hub_test.c
index 740c578..5e220a9 100644
--- a/test/regression/usbx_bus_powered_hub_conn_to_self_and_bus_powered_hub_test.c
+++ b/test/regression/usbx_bus_powered_hub_conn_to_self_and_bus_powered_hub_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where a bus-powered hub is connected to a self-powered hub. */
#include "usbx_ux_test_hub.h"
diff --git a/test/regression/usbx_cdc_acm_basic_memory_test.c b/test/regression/usbx_cdc_acm_basic_memory_test.c
index bbcf48b..4ee781a 100644
--- a/test/regression/usbx_cdc_acm_basic_memory_test.c
+++ b/test/regression/usbx_cdc_acm_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_cdc_acm_basic_test.c b/test/regression/usbx_cdc_acm_basic_test.c
index 0b7cd2a..1b4cc94 100644
--- a/test/regression/usbx_cdc_acm_basic_test.c
+++ b/test/regression/usbx_cdc_acm_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_cdc_acm_configure_test.c b/test/regression/usbx_cdc_acm_configure_test.c
index d4c164d..87e3e91 100644
--- a/test/regression/usbx_cdc_acm_configure_test.c
+++ b/test/regression/usbx_cdc_acm_configure_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_cdc_acm_device_dtr_rts_reset_on_disconnect_test.c b/test/regression/usbx_cdc_acm_device_dtr_rts_reset_on_disconnect_test.c
index e31128e..524768b 100644
--- a/test/regression/usbx_cdc_acm_device_dtr_rts_reset_on_disconnect_test.c
+++ b/test/regression/usbx_cdc_acm_device_dtr_rts_reset_on_disconnect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_cdc_ecm_alternate_setting_change_to_zero_test.c b/test/regression/usbx_cdc_ecm_alternate_setting_change_to_zero_test.c
index ab34d56..46de58c 100644
--- a/test/regression/usbx_cdc_ecm_alternate_setting_change_to_zero_test.c
+++ b/test/regression/usbx_cdc_ecm_alternate_setting_change_to_zero_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the host sets the device's alternate setting to
zero. */
diff --git a/test/regression/usbx_cdc_ecm_basic_ipv6_test.c b/test/regression/usbx_cdc_ecm_basic_ipv6_test.c
index 9c7ea65..bf7d28d 100644
--- a/test/regression/usbx_cdc_ecm_basic_ipv6_test.c
+++ b/test/regression/usbx_cdc_ecm_basic_ipv6_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef USBX_UX_TEST_CDC_ECM_H
#define USBX_UX_TEST_CDC_ECM_H
diff --git a/test/regression/usbx_cdc_ecm_basic_memory_test.c b/test/regression/usbx_cdc_ecm_basic_memory_test.c
index 82719bb..3b08fa9 100644
--- a/test/regression/usbx_cdc_ecm_basic_memory_test.c
+++ b/test/regression/usbx_cdc_ecm_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_basic_test.c b/test/regression/usbx_cdc_ecm_basic_test.c
index 23030c8..2773aa2 100644
--- a/test/regression/usbx_cdc_ecm_basic_test.c
+++ b/test/regression/usbx_cdc_ecm_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_control_interface_no_interrupt_endpoint_test.c b/test/regression/usbx_cdc_ecm_control_interface_no_interrupt_endpoint_test.c
index 44a53ec..418a67d 100644
--- a/test/regression/usbx_cdc_ecm_control_interface_no_interrupt_endpoint_test.c
+++ b/test/regression/usbx_cdc_ecm_control_interface_no_interrupt_endpoint_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is no interrupt endpoint in the CDC-ECM control
interface. Host should not report an error since this endpoint is optional. */
diff --git a/test/regression/usbx_cdc_ecm_data_iface_non_bulko_and_non_bulki_endpt_test.c b/test/regression/usbx_cdc_ecm_data_iface_non_bulko_and_non_bulki_endpt_test.c
index d973c22..08d1e7b 100644
--- a/test/regression/usbx_cdc_ecm_data_iface_non_bulko_and_non_bulki_endpt_test.c
+++ b/test/regression/usbx_cdc_ecm_data_iface_non_bulko_and_non_bulki_endpt_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the following cases:
1. There is an out endpoint, but not bulk.
2. There is an in endpoint, but in bulk. */
diff --git a/test/regression/usbx_cdc_ecm_data_interface_no_bulk_in_endpoint_test.c b/test/regression/usbx_cdc_ecm_data_interface_no_bulk_in_endpoint_test.c
index 308f0d3..32d44a0 100644
--- a/test/regression/usbx_cdc_ecm_data_interface_no_bulk_in_endpoint_test.c
+++ b/test/regression/usbx_cdc_ecm_data_interface_no_bulk_in_endpoint_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is no bulk in endpoint in the CDC-ECM data
interface. Host should report an error.
diff --git a/test/regression/usbx_cdc_ecm_data_interface_no_bulk_out_endpoint_test.c b/test/regression/usbx_cdc_ecm_data_interface_no_bulk_out_endpoint_test.c
index e6a0662..6dd9ec6 100644
--- a/test/regression/usbx_cdc_ecm_data_interface_no_bulk_out_endpoint_test.c
+++ b/test/regression/usbx_cdc_ecm_data_interface_no_bulk_out_endpoint_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is no bulk out endpoint in the CDC-ECM data
interface. Host should report an error.
diff --git a/test/regression/usbx_cdc_ecm_data_interface_setting_select_fails_test.c b/test/regression/usbx_cdc_ecm_data_interface_setting_select_fails_test.c
index 7821bb2..2f8048f 100644
--- a/test/regression/usbx_cdc_ecm_data_interface_setting_select_fails_test.c
+++ b/test/regression/usbx_cdc_ecm_data_interface_setting_select_fails_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the setting the data interface with endpoints fails. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_default_data_interface_setting_with_endpoints_test.c b/test/regression/usbx_cdc_ecm_default_data_interface_setting_with_endpoints_test.c
index 7136976..d008888 100644
--- a/test/regression/usbx_cdc_ecm_default_data_interface_setting_with_endpoints_test.c
+++ b/test/regression/usbx_cdc_ecm_default_data_interface_setting_with_endpoints_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the default data interface has endpoints - note that
this is a violation of the specification since according to it, the default
data interface should have 0 endpoints, however, our host supports it since
diff --git a/test/regression/usbx_cdc_ecm_disconnect_and_reconnect_test.c b/test/regression/usbx_cdc_ecm_disconnect_and_reconnect_test.c
index 6ef3088..4a5fa79 100644
--- a/test/regression/usbx_cdc_ecm_disconnect_and_reconnect_test.c
+++ b/test/regression/usbx_cdc_ecm_disconnect_and_reconnect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures everything works after a disconnection and reconnection. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_bulk_in_semaphore_create_fail_test.c b/test/regression/usbx_cdc_ecm_host_bulk_in_semaphore_create_fail_test.c
index 1b32531..b50f362 100644
--- a/test/regression/usbx_cdc_ecm_host_bulk_in_semaphore_create_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulk_in_semaphore_create_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the bulk in semaphore at the class level creation
fails. */
diff --git a/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_deactivate_test.c b/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_deactivate_test.c
index 8e6bce3..6081a54 100644
--- a/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_deactivate_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_deactivate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is an ongoing transfer on the bulk in endpoint
during deactivation. The deactivate routine should wait for it to finish.
diff --git a/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_link_down_test.c b/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_link_down_test.c
index 223d709..73760a8 100644
--- a/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_link_down_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_arming_during_link_down_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is an ongoing transfer on the bulk in endpoint
during link down. The interrupt notification function should wait for it to finish.
diff --git a/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_fail_test.c b/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_fail_test.c
index ec99cf0..2ac480e 100644
--- a/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulk_in_transfer_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the bulk in transfer fails (in the cdc-ecm thread). */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_bulk_out_semaphore_create_fail_test.c b/test/regression/usbx_cdc_ecm_host_bulk_out_semaphore_create_fail_test.c
index 6d9d0b6..767d9dd 100644
--- a/test/regression/usbx_cdc_ecm_host_bulk_out_semaphore_create_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulk_out_semaphore_create_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the bulk out semaphore at the class level creation
fails. */
diff --git a/test/regression/usbx_cdc_ecm_host_bulk_out_transfer_fail_test.c b/test/regression/usbx_cdc_ecm_host_bulk_out_transfer_fail_test.c
index f66e547..ead6d95 100644
--- a/test/regression/usbx_cdc_ecm_host_bulk_out_transfer_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulk_out_transfer_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the bulk out transfer fails (in the cdc_ecm_write). */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_bulki_arm_err_dueto_link_dn_thread_wait_test.c b/test/regression/usbx_cdc_ecm_host_bulki_arm_err_dueto_link_dn_thread_wait_test.c
index 84b15c6..de97423 100644
--- a/test/regression/usbx_cdc_ecm_host_bulki_arm_err_dueto_link_dn_thread_wait_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulki_arm_err_dueto_link_dn_thread_wait_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the link is down and a thread is waiting for the
bulk in transfer check-and-arm to finish. */
diff --git a/test/regression/usbx_cdc_ecm_host_bulko_transfer_arming_during_link_dn_test.c b/test/regression/usbx_cdc_ecm_host_bulko_transfer_arming_during_link_dn_test.c
index 0ab4c06..577e2ce 100644
--- a/test/regression/usbx_cdc_ecm_host_bulko_transfer_arming_during_link_dn_test.c
+++ b/test/regression/usbx_cdc_ecm_host_bulko_transfer_arming_during_link_dn_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is an ongoing transfer on the bulk out endpoint
during link down. The interrupt notification function should wait for it to finish.
diff --git a/test/regression/usbx_cdc_ecm_host_first_interrupt_transfer_fail_test.c b/test/regression/usbx_cdc_ecm_host_first_interrupt_transfer_fail_test.c
index 9b35635..a61c361 100644
--- a/test/regression/usbx_cdc_ecm_host_first_interrupt_transfer_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_first_interrupt_transfer_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the CDC-ECM thread creation fails. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_int_notification_semaphore_create_fail_test.c b/test/regression/usbx_cdc_ecm_host_int_notification_semaphore_create_fail_test.c
index c2fc73c..36e7911 100644
--- a/test/regression/usbx_cdc_ecm_host_int_notification_semaphore_create_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_int_notification_semaphore_create_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the interrupt notification semaphore creation fails. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_non_ip_packet_received_test.c b/test/regression/usbx_cdc_ecm_host_non_ip_packet_received_test.c
index 9f665c9..599fa3a 100644
--- a/test/regression/usbx_cdc_ecm_host_non_ip_packet_received_test.c
+++ b/test/regression/usbx_cdc_ecm_host_non_ip_packet_received_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the host receives a non-IP packet. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_packet_pool_create_fail_test.c b/test/regression/usbx_cdc_ecm_host_packet_pool_create_fail_test.c
index c48c4b1..4e72127 100644
--- a/test/regression/usbx_cdc_ecm_host_packet_pool_create_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_packet_pool_create_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the CDC-ECM thread creation fails. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_thread_create_fail_test.c b/test/regression/usbx_cdc_ecm_host_thread_create_fail_test.c
index 39a268c..3cef580 100644
--- a/test/regression/usbx_cdc_ecm_host_thread_create_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_thread_create_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the CDC-ECM thread creation fails. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_thread_link_down_before_transfer_test.c b/test/regression/usbx_cdc_ecm_host_thread_link_down_before_transfer_test.c
index 64d47f7..2ac36c2 100644
--- a/test/regression/usbx_cdc_ecm_host_thread_link_down_before_transfer_test.c
+++ b/test/regression/usbx_cdc_ecm_host_thread_link_down_before_transfer_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where right before the transfer is armed, the link state
is down in the cdc-ecm thread. */
diff --git a/test/regression/usbx_cdc_ecm_host_thread_packet_allocate_fail_test.c b/test/regression/usbx_cdc_ecm_host_thread_packet_allocate_fail_test.c
index 55125c8..7725b55 100644
--- a/test/regression/usbx_cdc_ecm_host_thread_packet_allocate_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_thread_packet_allocate_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case the nx_packet_allocate fails in the cdc-ecm thread. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_host_thread_packet_append_fail_test.c b/test/regression/usbx_cdc_ecm_host_thread_packet_append_fail_test.c
index 06841ec..60cdb97 100644
--- a/test/regression/usbx_cdc_ecm_host_thread_packet_append_fail_test.c
+++ b/test/regression/usbx_cdc_ecm_host_thread_packet_append_fail_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case the nx_packet_allocate fails in the cdc-ecm thread. */
#define TEST_NX_PACKET_CHAIN
diff --git a/test/regression/usbx_cdc_ecm_interface_before_control_interface_test.c b/test/regression/usbx_cdc_ecm_interface_before_control_interface_test.c
index eb1c637..41f74f5 100644
--- a/test/regression/usbx_cdc_ecm_interface_before_control_interface_test.c
+++ b/test/regression/usbx_cdc_ecm_interface_before_control_interface_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test tests the case where there is an interface before the control interface. In this case, it's a storage class interface.
We do this because during activation, we need to link the the control interface into the class instance, so we need to find it. */
diff --git a/test/regression/usbx_cdc_ecm_invalid_alt_setting_after_zero_endpt_data_iface_test.c b/test/regression/usbx_cdc_ecm_invalid_alt_setting_after_zero_endpt_data_iface_test.c
index 3598df8..23108aa 100644
--- a/test/regression/usbx_cdc_ecm_invalid_alt_setting_after_zero_endpt_data_iface_test.c
+++ b/test/regression/usbx_cdc_ecm_invalid_alt_setting_after_zero_endpt_data_iface_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the default data interface has zero endpoints, and
the interface right after is also a data interface but contains an invalid
alternate setting value. Host should report error. */
diff --git a/test/regression/usbx_cdc_ecm_link_down_while_ongoing_transfers_test.c b/test/regression/usbx_cdc_ecm_link_down_while_ongoing_transfers_test.c
index 90f6da7..15967d4 100644
--- a/test/regression/usbx_cdc_ecm_link_down_while_ongoing_transfers_test.c
+++ b/test/regression/usbx_cdc_ecm_link_down_while_ongoing_transfers_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test the case where a LINK DOWN event is received while transfers are
ongoing. */
diff --git a/test/regression/usbx_cdc_ecm_mac_address_invalid_length_test.c b/test/regression/usbx_cdc_ecm_mac_address_invalid_length_test.c
index e92737b..d9add25 100644
--- a/test/regression/usbx_cdc_ecm_mac_address_invalid_length_test.c
+++ b/test/regression/usbx_cdc_ecm_mac_address_invalid_length_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the mac address string is too long. This is an
error. */
diff --git a/test/regression/usbx_cdc_ecm_mac_address_test.c b/test/regression/usbx_cdc_ecm_mac_address_test.c
index 6b38abd..8ad0bae 100644
--- a/test/regression/usbx_cdc_ecm_mac_address_test.c
+++ b/test/regression/usbx_cdc_ecm_mac_address_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests general cases in the mac address string like hexadecimal values. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_no_control_interface_test.c b/test/regression/usbx_cdc_ecm_no_control_interface_test.c
index 77df447..6a84929 100644
--- a/test/regression/usbx_cdc_ecm_no_control_interface_test.c
+++ b/test/regression/usbx_cdc_ecm_no_control_interface_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test tests the case where there is no control interface. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_cdc_ecm_no_functional_descriptor_test.c b/test/regression/usbx_cdc_ecm_no_functional_descriptor_test.c
index 4ef59bc..1b6d622 100644
--- a/test/regression/usbx_cdc_ecm_no_functional_descriptor_test.c
+++ b/test/regression/usbx_cdc_ecm_no_functional_descriptor_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there no functional descriptor. There should be a
functional descriptor, so this is an error. */
diff --git a/test/regression/usbx_cdc_ecm_non_data_iface_after_zero_endpt_data_iface_test.c b/test/regression/usbx_cdc_ecm_non_data_iface_after_zero_endpt_data_iface_test.c
index e84df6a..03c4130 100644
--- a/test/regression/usbx_cdc_ecm_non_data_iface_after_zero_endpt_data_iface_test.c
+++ b/test/regression/usbx_cdc_ecm_non_data_iface_after_zero_endpt_data_iface_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the default data interface has zero endpoints, and
the interface right after it is a non-data interface. Host should report error. */
diff --git a/test/regression/usbx_cdc_ecm_nx_packet_chain_test.c b/test/regression/usbx_cdc_ecm_nx_packet_chain_test.c
index b90c215..3be8aef 100644
--- a/test/regression/usbx_cdc_ecm_nx_packet_chain_test.c
+++ b/test/regression/usbx_cdc_ecm_nx_packet_chain_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#define TEST_NX_PACKET_CHAIN
diff --git a/test/regression/usbx_cdc_ecm_one_data_interface_with_no_endpoints_test.c b/test/regression/usbx_cdc_ecm_one_data_interface_with_no_endpoints_test.c
index f0e9f8e..c0eae07 100644
--- a/test/regression/usbx_cdc_ecm_one_data_interface_with_no_endpoints_test.c
+++ b/test/regression/usbx_cdc_ecm_one_data_interface_with_no_endpoints_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there is only one default data interface and it
has no endpoints. Host should report an error. */
diff --git a/test/regression/usbx_class_device_enumeration_test.c b/test/regression/usbx_class_device_enumeration_test.c
index 07d6488..d3dc5e8 100644
--- a/test/regression/usbx_class_device_enumeration_test.c
+++ b/test/regression/usbx_class_device_enumeration_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_class_hid_basic_memory_test.c b/test/regression/usbx_class_hid_basic_memory_test.c
index 6703dc4..eaed7b6 100644
--- a/test/regression/usbx_class_hid_basic_memory_test.c
+++ b/test/regression/usbx_class_hid_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_class_hid_basic_test.c b/test/regression/usbx_class_hid_basic_test.c
index 5b114ad..23180e2 100644
--- a/test/regression/usbx_class_hid_basic_test.c
+++ b/test/regression/usbx_class_hid_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests basic HID functionalities. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_class_hid_keyboard_basic_test.c b/test/regression/usbx_class_hid_keyboard_basic_test.c
index a1ae34b..de8b9f3 100644
--- a/test/regression/usbx_class_hid_keyboard_basic_test.c
+++ b/test/regression/usbx_class_hid_keyboard_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests basic HID functionalities. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_class_hid_mouse_basic_test.c b/test/regression/usbx_class_hid_mouse_basic_test.c
index 16d547a..7aea427 100644
--- a/test/regression/usbx_class_hid_mouse_basic_test.c
+++ b/test/regression/usbx_class_hid_mouse_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests basic HID functionalities. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_class_hid_remote_control_basic_test.c b/test/regression/usbx_class_hid_remote_control_basic_test.c
index 67f677f..5b2c993 100644
--- a/test/regression/usbx_class_hid_remote_control_basic_test.c
+++ b/test/regression/usbx_class_hid_remote_control_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests basic HID functionalities. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_class_interface_enumeration_test.c b/test/regression/usbx_class_interface_enumeration_test.c
index b435ce2..5e3dc43 100644
--- a/test/regression/usbx_class_interface_enumeration_test.c
+++ b/test/regression/usbx_class_interface_enumeration_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_class_multi_interface_enumeration_test.c b/test/regression/usbx_class_multi_interface_enumeration_test.c
index 06c4bae..d33d57c 100644
--- a/test/regression/usbx_class_multi_interface_enumeration_test.c
+++ b/test/regression/usbx_class_multi_interface_enumeration_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_class_printer_basic_tests.c b/test/regression/usbx_class_printer_basic_tests.c
index a253824..e696c12 100644
--- a/test/regression/usbx_class_printer_basic_tests.c
+++ b/test/regression/usbx_class_printer_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_class_printer_device_standalone_basic_tests.c b/test/regression/usbx_class_printer_device_standalone_basic_tests.c
index 0a43991..da08d6b 100644
--- a/test/regression/usbx_class_printer_device_standalone_basic_tests.c
+++ b/test/regression/usbx_class_printer_device_standalone_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_control_transfer_stall_test.c b/test/regression/usbx_control_transfer_stall_test.c
index a8901b9..caa0395 100644
--- a/test/regression/usbx_control_transfer_stall_test.c
+++ b/test/regression/usbx_control_transfer_stall_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests ensures that when the device stalls the default endpoint upon an invalid request, it is unstalled after sending a valid request. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_device_class_ccid_basic_tests.c b/test/regression/usbx_device_class_ccid_basic_tests.c
index f9087c3..795ae1f 100644
--- a/test/regression/usbx_device_class_ccid_basic_tests.c
+++ b/test/regression/usbx_device_class_ccid_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_device_class_ccid_busy_abort_tests.c b/test/regression/usbx_device_class_ccid_busy_abort_tests.c
index 27a4583..d3ec793 100644
--- a/test/regression/usbx_device_class_ccid_busy_abort_tests.c
+++ b/test/regression/usbx_device_class_ccid_busy_abort_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_device_dfu_basic_test.c b/test/regression/usbx_device_dfu_basic_test.c
index 3766398..05e850f 100644
--- a/test/regression/usbx_device_dfu_basic_test.c
+++ b/test/regression/usbx_device_dfu_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_dpump_basic_test.c b/test/regression/usbx_dpump_basic_test.c
index cc881c0..70c73f4 100644
--- a/test/regression/usbx_dpump_basic_test.c
+++ b/test/regression/usbx_dpump_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_hid_interrupt_endpoint_get_report_test.c b/test/regression/usbx_hid_interrupt_endpoint_get_report_test.c
index b68cb9d..930239d 100644
--- a/test/regression/usbx_hid_interrupt_endpoint_get_report_test.c
+++ b/test/regression/usbx_hid_interrupt_endpoint_get_report_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests retrieving an input report via the interrupt endpoint. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_keyboard_basic_test.c b/test/regression/usbx_hid_keyboard_basic_test.c
index a077d2a..ab02e83 100644
--- a/test/regression/usbx_hid_keyboard_basic_test.c
+++ b/test/regression/usbx_hid_keyboard_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_hid_keyboard_extraction_test.c b/test/regression/usbx_hid_keyboard_extraction_test.c
index 5972fae..c2d0e76 100644
--- a/test/regression/usbx_hid_keyboard_extraction_test.c
+++ b/test/regression/usbx_hid_keyboard_extraction_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on keyboard device removal. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_keyboard_extraction_test2.c b/test/regression/usbx_hid_keyboard_extraction_test2.c
index 66fb56d..d14c4f6 100644
--- a/test/regression/usbx_hid_keyboard_extraction_test2.c
+++ b/test/regression/usbx_hid_keyboard_extraction_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on keyboard device removal.
This is similar to the first extraction test, except there is no ux_system_host_change_function.
This allows us to hit the following false condition in _ux_host_class_hid_keyboard_deactivate:
diff --git a/test/regression/usbx_hid_keyboard_key_get_test.c b/test/regression/usbx_hid_keyboard_key_get_test.c
index 92afcba..9462360 100644
--- a/test/regression/usbx_hid_keyboard_key_get_test.c
+++ b/test/regression/usbx_hid_keyboard_key_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the ux_host_class_hid_keyboard_key_get API. */
#include <stdio.h>
diff --git a/test/regression/usbx_hid_keyboard_key_test.c b/test/regression/usbx_hid_keyboard_key_test.c
index 6f43cd4..a9b81c5 100644
--- a/test/regression/usbx_hid_keyboard_key_test.c
+++ b/test/regression/usbx_hid_keyboard_key_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests that the host correctly receives the keys the device sends to it. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_keyboard_key_with_report_id_test.c b/test/regression/usbx_hid_keyboard_key_with_report_id_test.c
index 8e6eccf..a628fdf 100644
--- a/test/regression/usbx_hid_keyboard_key_with_report_id_test.c
+++ b/test/regression/usbx_hid_keyboard_key_with_report_id_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests that the host correctly receives the keys the device sends to it when
the report descriptor defines a non-zero report id. */
diff --git a/test/regression/usbx_hid_mouse_basic_test.c b/test/regression/usbx_hid_mouse_basic_test.c
index c956ca1..c4729b5 100644
--- a/test/regression/usbx_hid_mouse_basic_test.c
+++ b/test/regression/usbx_hid_mouse_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test simple usage of the mouse class. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_mouse_extraction_test.c b/test/regression/usbx_hid_mouse_extraction_test.c
index 3429928..418e8ad 100644
--- a/test/regression/usbx_hid_mouse_extraction_test.c
+++ b/test/regression/usbx_hid_mouse_extraction_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the extraction of a mouse device. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_mouse_extraction_test2.c b/test/regression/usbx_hid_mouse_extraction_test2.c
index 7ab230c..485c51d 100644
--- a/test/regression/usbx_hid_mouse_extraction_test2.c
+++ b/test/regression/usbx_hid_mouse_extraction_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the extraction of a mouse device.
This is similar to the first extraction test, except there is no ux_system_host_change_function.
This allows us to hit the following false condition in _ux_host_class_hid_mouse_deactivate:
diff --git a/test/regression/usbx_hid_remote_control_extraction_test.c b/test/regression/usbx_hid_remote_control_extraction_test.c
index ab87105..b264580 100644
--- a/test/regression/usbx_hid_remote_control_extraction_test.c
+++ b/test/regression/usbx_hid_remote_control_extraction_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is concentrates on extraction of a remote control device. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_remote_control_extraction_test2.c b/test/regression/usbx_hid_remote_control_extraction_test2.c
index 7d82afa..1f668e2 100644
--- a/test/regression/usbx_hid_remote_control_extraction_test2.c
+++ b/test/regression/usbx_hid_remote_control_extraction_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is concentrates on extraction of a remote control device.
This is similar to the first extraction test, except there is no ux_system_host_change_function.
This allows us to hit the following false condition in _ux_host_class_hid_remote_control_deactivate:
diff --git a/test/regression/usbx_hid_remote_control_tests.c b/test/regression/usbx_hid_remote_control_tests.c
index 0a1293e..6db191b 100644
--- a/test/regression/usbx_hid_remote_control_tests.c
+++ b/test/regression/usbx_hid_remote_control_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* TODO: some common stuff from storage we might want to pull out:
-memory check - pretty good
-connect and disconnect
diff --git a/test/regression/usbx_hid_report_descriptor_collection_overflow_test.c b/test/regression/usbx_hid_report_descriptor_collection_overflow_test.c
index bb76139..8d53809 100644
--- a/test/regression/usbx_hid_report_descriptor_collection_overflow_test.c
+++ b/test/regression/usbx_hid_report_descriptor_collection_overflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser fails when too many collections are used. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_compress_and_decompress_test.c b/test/regression/usbx_hid_report_descriptor_compress_and_decompress_test.c
index 942c468..0af5f26 100644
--- a/test/regression/usbx_hid_report_descriptor_compress_and_decompress_test.c
+++ b/test/regression/usbx_hid_report_descriptor_compress_and_decompress_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_hid_report_descriptor_compress_array_test.c b/test/regression/usbx_hid_report_descriptor_compress_array_test.c
index e9cf852..ebdb24e 100644
--- a/test/regression/usbx_hid_report_descriptor_compress_array_test.c
+++ b/test/regression/usbx_hid_report_descriptor_compress_array_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the report compress api. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_compress_test.c b/test/regression/usbx_hid_report_descriptor_compress_test.c
index e83b817..e7f8b84 100644
--- a/test/regression/usbx_hid_report_descriptor_compress_test.c
+++ b/test/regression/usbx_hid_report_descriptor_compress_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the report compress api. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_decompress_array_test.c b/test/regression/usbx_hid_report_descriptor_decompress_array_test.c
index ca23275..c029232 100644
--- a/test/regression/usbx_hid_report_descriptor_decompress_array_test.c
+++ b/test/regression/usbx_hid_report_descriptor_decompress_array_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the report decompression api when the report contains an array item. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_decompress_test.c b/test/regression/usbx_hid_report_descriptor_decompress_test.c
index ad8a94f..75d93f8 100644
--- a/test/regression/usbx_hid_report_descriptor_decompress_test.c
+++ b/test/regression/usbx_hid_report_descriptor_decompress_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the report decompress api. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_delimiter_nested_close_test.c b/test/regression/usbx_hid_report_descriptor_delimiter_nested_close_test.c
index 76e147f..3d74fd1 100644
--- a/test/regression/usbx_hid_report_descriptor_delimiter_nested_close_test.c
+++ b/test/regression/usbx_hid_report_descriptor_delimiter_nested_close_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon encountering an invalid close delimiter tag. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_delimiter_nested_open_test.c b/test/regression/usbx_hid_report_descriptor_delimiter_nested_open_test.c
index 7829e2c..f6b1edf 100644
--- a/test/regression/usbx_hid_report_descriptor_delimiter_nested_open_test.c
+++ b/test/regression/usbx_hid_report_descriptor_delimiter_nested_open_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon encountering a nested delimiter. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_delimiter_test.c b/test/regression/usbx_hid_report_descriptor_delimiter_test.c
index 2311331..ba88e2f 100644
--- a/test/regression/usbx_hid_report_descriptor_delimiter_test.c
+++ b/test/regression/usbx_hid_report_descriptor_delimiter_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the delimiter item. At the time this test was written,
the parser only sets a flag indicating that a delimiter item has been encountered, but does nothing
else with the flag. */
diff --git a/test/regression/usbx_hid_report_descriptor_delimiter_unknown_test.c b/test/regression/usbx_hid_report_descriptor_delimiter_unknown_test.c
index 97b867e..fb8c0b1 100644
--- a/test/regression/usbx_hid_report_descriptor_delimiter_unknown_test.c
+++ b/test/regression/usbx_hid_report_descriptor_delimiter_unknown_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon encountering an unknown delimiter tag. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_end_collection_error_test.c b/test/regression/usbx_hid_report_descriptor_end_collection_error_test.c
index 77f9247..3929c7a 100644
--- a/test/regression/usbx_hid_report_descriptor_end_collection_error_test.c
+++ b/test/regression/usbx_hid_report_descriptor_end_collection_error_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser fails when too many end collections are used. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_example_andisplay_test.c b/test/regression/usbx_hid_report_descriptor_example_andisplay_test.c
index 72a2a99..5bad134 100644
--- a/test/regression/usbx_hid_report_descriptor_example_andisplay_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_andisplay_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example andisplay report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_delimit_test.c b/test/regression/usbx_hid_report_descriptor_example_delimit_test.c
index cf0aad6..21f1db8 100644
--- a/test/regression/usbx_hid_report_descriptor_example_delimit_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_delimit_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example delmit report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_digit_test.c b/test/regression/usbx_hid_report_descriptor_example_digit_test.c
index ff79f67..e5c332a 100644
--- a/test/regression/usbx_hid_report_descriptor_example_digit_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_digit_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example digit report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_display_test.c b/test/regression/usbx_hid_report_descriptor_example_display_test.c
index 7e3aee1..907bd1f 100644
--- a/test/regression/usbx_hid_report_descriptor_example_display_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_display_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example display report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_joystk_test.c b/test/regression/usbx_hid_report_descriptor_example_joystk_test.c
index 0af0274..464f8d8 100644
--- a/test/regression/usbx_hid_report_descriptor_example_joystk_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_joystk_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example joystk report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_keybrd_test.c b/test/regression/usbx_hid_report_descriptor_example_keybrd_test.c
index 5391e0d..b520a5e 100644
--- a/test/regression/usbx_hid_report_descriptor_example_keybrd_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_keybrd_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example keybrd report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_monitor_test.c b/test/regression/usbx_hid_report_descriptor_example_monitor_test.c
index 1cc78fc..ed458b1 100644
--- a/test/regression/usbx_hid_report_descriptor_example_monitor_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_monitor_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example monitor report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_mouse_test.c b/test/regression/usbx_hid_report_descriptor_example_mouse_test.c
index c25cc0d..540e4c9 100644
--- a/test/regression/usbx_hid_report_descriptor_example_mouse_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_mouse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example mouse report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_pwr_test.c b/test/regression/usbx_hid_report_descriptor_example_pwr_test.c
index db557d5..387924e 100644
--- a/test/regression/usbx_hid_report_descriptor_example_pwr_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_pwr_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example pwr report descriptor
from the USB HID report descriptor tool. Why direct: the device's control transfer
data buffer's default size (256 bytes) is not large enough for this report
diff --git a/test/regression/usbx_hid_report_descriptor_example_remote_test.c b/test/regression/usbx_hid_report_descriptor_example_remote_test.c
index dc69fee..c3e8bbb 100644
--- a/test/regression/usbx_hid_report_descriptor_example_remote_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_remote_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example remote report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_example_tele_test.c b/test/regression/usbx_hid_report_descriptor_example_tele_test.c
index a30b33f..0d356f8 100644
--- a/test/regression/usbx_hid_report_descriptor_example_tele_test.c
+++ b/test/regression/usbx_hid_report_descriptor_example_tele_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the example tele report descriptor
from the USB HID report descriptor tool. */
diff --git a/test/regression/usbx_hid_report_descriptor_extended_usages_test.c b/test/regression/usbx_hid_report_descriptor_extended_usages_test.c
index 6e2fb83..03c5d19 100644
--- a/test/regression/usbx_hid_report_descriptor_extended_usages_test.c
+++ b/test/regression/usbx_hid_report_descriptor_extended_usages_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the "extended usages" feature (page 41 of USB HID spec). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_get_zero_length_item_data_test.c b/test/regression/usbx_hid_report_descriptor_get_zero_length_item_data_test.c
index 7cecbab..b942b94 100644
--- a/test/regression/usbx_hid_report_descriptor_get_zero_length_item_data_test.c
+++ b/test/regression/usbx_hid_report_descriptor_get_zero_length_item_data_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test hits the default case in _ux_host_class_hid_item_data_get. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_global_item_persist_test.c b/test/regression/usbx_hid_report_descriptor_global_item_persist_test.c
index a8fcf93..1c4c1f4 100644
--- a/test/regression/usbx_hid_report_descriptor_global_item_persist_test.c
+++ b/test/regression/usbx_hid_report_descriptor_global_item_persist_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that global items persist through main items (i.e. INPUT). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_global_item_test.c b/test/regression/usbx_hid_report_descriptor_global_item_test.c
index 349ba67..49bf07b 100644
--- a/test/regression/usbx_hid_report_descriptor_global_item_test.c
+++ b/test/regression/usbx_hid_report_descriptor_global_item_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that certain data-descriptive global items are correct within reports. This includes:
-LOGICAL_MINIMUM
-LOGICAL_MAXIMUM
diff --git a/test/regression/usbx_hid_report_descriptor_incoherent_usage_min_max_test.c b/test/regression/usbx_hid_report_descriptor_incoherent_usage_min_max_test.c
index 1eba2e1..158afa8 100644
--- a/test/regression/usbx_hid_report_descriptor_incoherent_usage_min_max_test.c
+++ b/test/regression/usbx_hid_report_descriptor_incoherent_usage_min_max_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser fails when the USAGE MINIMUM is greater than USAGE MAXIMUM. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_invalid_item_test.c b/test/regression/usbx_hid_report_descriptor_invalid_item_test.c
index 171ce0b..fdd3d5e 100644
--- a/test/regression/usbx_hid_report_descriptor_invalid_item_test.c
+++ b/test/regression/usbx_hid_report_descriptor_invalid_item_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles an invalid descriptor length. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_invalid_length_test.c b/test/regression/usbx_hid_report_descriptor_invalid_length_test.c
index 031e4f9..db86cbd 100644
--- a/test/regression/usbx_hid_report_descriptor_invalid_length_test.c
+++ b/test/regression/usbx_hid_report_descriptor_invalid_length_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles an invalid descriptor length. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_item_size_test.c b/test/regression/usbx_hid_report_descriptor_item_size_test.c
index 151d97e..47ab310 100644
--- a/test/regression/usbx_hid_report_descriptor_item_size_test.c
+++ b/test/regression/usbx_hid_report_descriptor_item_size_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles different item sizes. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_max_usages_test.c b/test/regression/usbx_hid_report_descriptor_max_usages_test.c
index d9dfbd0..5b07309 100644
--- a/test/regression/usbx_hid_report_descriptor_max_usages_test.c
+++ b/test/regression/usbx_hid_report_descriptor_max_usages_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures the parser can handle the maximum number of usages. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_multiple_collections_test.c b/test/regression/usbx_hid_report_descriptor_multiple_collections_test.c
index 303bdc2..166eb36 100644
--- a/test/regression/usbx_hid_report_descriptor_multiple_collections_test.c
+++ b/test/regression/usbx_hid_report_descriptor_multiple_collections_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple collections. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_multiple_fields_and_reports_test.c b/test/regression/usbx_hid_report_descriptor_multiple_fields_and_reports_test.c
index d54dab0..ad631cb 100644
--- a/test/regression/usbx_hid_report_descriptor_multiple_fields_and_reports_test.c
+++ b/test/regression/usbx_hid_report_descriptor_multiple_fields_and_reports_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple fields in different reports. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_multiple_fields_test.c b/test/regression/usbx_hid_report_descriptor_multiple_fields_test.c
index 50b3994..6862607 100644
--- a/test/regression/usbx_hid_report_descriptor_multiple_fields_test.c
+++ b/test/regression/usbx_hid_report_descriptor_multiple_fields_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple fields (i.e. multiple Input items). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_multiple_reports_feature_test.c b/test/regression/usbx_hid_report_descriptor_multiple_reports_feature_test.c
index 35121c8..8bb237a 100644
--- a/test/regression/usbx_hid_report_descriptor_multiple_reports_feature_test.c
+++ b/test/regression/usbx_hid_report_descriptor_multiple_reports_feature_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple report IDs for feature reports. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_multiple_reports_input_test.c b/test/regression/usbx_hid_report_descriptor_multiple_reports_input_test.c
index 21d3545..5ea7df8 100644
--- a/test/regression/usbx_hid_report_descriptor_multiple_reports_input_test.c
+++ b/test/regression/usbx_hid_report_descriptor_multiple_reports_input_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple report IDs for input reports. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_multiple_reports_output_test.c b/test/regression/usbx_hid_report_descriptor_multiple_reports_output_test.c
index 61261a6..a58f717 100644
--- a/test/regression/usbx_hid_report_descriptor_multiple_reports_output_test.c
+++ b/test/regression/usbx_hid_report_descriptor_multiple_reports_output_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple report IDs for output reports. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_pop_underflow_test.c b/test/regression/usbx_hid_report_descriptor_pop_underflow_test.c
index 10fea95..83d4fa2 100644
--- a/test/regression/usbx_hid_report_descriptor_pop_underflow_test.c
+++ b/test/regression/usbx_hid_report_descriptor_pop_underflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon popping more than the allowable global states. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_previous_report_test.c b/test/regression/usbx_hid_report_descriptor_previous_report_test.c
index a825895..dd97ca0 100644
--- a/test/regression/usbx_hid_report_descriptor_previous_report_test.c
+++ b/test/regression/usbx_hid_report_descriptor_previous_report_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles reverting back to a previously used Report ID. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_push_overflow_test.c b/test/regression/usbx_hid_report_descriptor_push_overflow_test.c
index 3be9879..5e78d34 100644
--- a/test/regression/usbx_hid_report_descriptor_push_overflow_test.c
+++ b/test/regression/usbx_hid_report_descriptor_push_overflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon pushing more than the allowable global states. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_push_pop_test.c b/test/regression/usbx_hid_report_descriptor_push_pop_test.c
index 7982fe2..f6909fc 100644
--- a/test/regression/usbx_hid_report_descriptor_push_pop_test.c
+++ b/test/regression/usbx_hid_report_descriptor_push_pop_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles pushing and popping. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_report_count_overflow_test.c b/test/regression/usbx_hid_report_descriptor_report_count_overflow_test.c
index 0b0d95a..f4b3b13 100644
--- a/test/regression/usbx_hid_report_descriptor_report_count_overflow_test.c
+++ b/test/regression/usbx_hid_report_descriptor_report_count_overflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles generates an error upon a REPORT_COUNT tag that specifies more the maximum allowable usages. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_report_size_overflow_test.c b/test/regression/usbx_hid_report_descriptor_report_size_overflow_test.c
index 2ed7017..7bd65ae 100644
--- a/test/regression/usbx_hid_report_descriptor_report_size_overflow_test.c
+++ b/test/regression/usbx_hid_report_descriptor_report_size_overflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles generates an error upon a REPORT_SIZE tag that specifies over 32 bits of data. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_single_usage_multiple_data_test.c b/test/regression/usbx_hid_report_descriptor_single_usage_multiple_data_test.c
index 1e5c0e2..8cc94e0 100644
--- a/test/regression/usbx_hid_report_descriptor_single_usage_multiple_data_test.c
+++ b/test/regression/usbx_hid_report_descriptor_single_usage_multiple_data_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles the case of a single usage and multiple data. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_unknown_global_tag_test.c b/test/regression/usbx_hid_report_descriptor_unknown_global_tag_test.c
index a5c45b9..7f8213f 100644
--- a/test/regression/usbx_hid_report_descriptor_unknown_global_tag_test.c
+++ b/test/regression/usbx_hid_report_descriptor_unknown_global_tag_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon encountering an global local tag. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_unknown_local_tag_test.c b/test/regression/usbx_hid_report_descriptor_unknown_local_tag_test.c
index fa88ab1..baeebbd 100644
--- a/test/regression/usbx_hid_report_descriptor_unknown_local_tag_test.c
+++ b/test/regression/usbx_hid_report_descriptor_unknown_local_tag_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon encountering an unknown local tag. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_usages_min_max_test.c b/test/regression/usbx_hid_report_descriptor_usages_min_max_test.c
index 251d0e0..2400a6a 100644
--- a/test/regression/usbx_hid_report_descriptor_usages_min_max_test.c
+++ b/test/regression/usbx_hid_report_descriptor_usages_min_max_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser handles the USAGE MINIMUM and USAGE MAXIMUM items. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_usages_overflow_test.c b/test/regression/usbx_hid_report_descriptor_usages_overflow_test.c
index d5834de..6bdfc95 100644
--- a/test/regression/usbx_hid_report_descriptor_usages_overflow_test.c
+++ b/test/regression/usbx_hid_report_descriptor_usages_overflow_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser fails when too many usages are used. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_usages_overflow_via_max_test.c b/test/regression/usbx_hid_report_descriptor_usages_overflow_via_max_test.c
index a815cda..a73b271 100644
--- a/test/regression/usbx_hid_report_descriptor_usages_overflow_via_max_test.c
+++ b/test/regression/usbx_hid_report_descriptor_usages_overflow_via_max_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser fails when too many usages are used. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_descriptor_usages_single_test.c b/test/regression/usbx_hid_report_descriptor_usages_single_test.c
index e56b3d4..3f436cd 100644
--- a/test/regression/usbx_hid_report_descriptor_usages_single_test.c
+++ b/test/regression/usbx_hid_report_descriptor_usages_single_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles the USAGE item. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_report_multiple_reports_ids_test.c b/test/regression/usbx_hid_report_multiple_reports_ids_test.c
index 1850350..24a4261 100644
--- a/test/regression/usbx_hid_report_multiple_reports_ids_test.c
+++ b/test/regression/usbx_hid_report_multiple_reports_ids_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser correctly handles multiple report IDs for input reports. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_transfer_request_completed_decompressed_test.c b/test/regression/usbx_hid_transfer_request_completed_decompressed_test.c
index fd88960..bbeb9f5 100644
--- a/test/regression/usbx_hid_transfer_request_completed_decompressed_test.c
+++ b/test/regression/usbx_hid_transfer_request_completed_decompressed_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on _ux_host_class_hid_transfer_request_completed()'s decompressed handling. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_transfer_request_completed_raw_test.c b/test/regression/usbx_hid_transfer_request_completed_raw_test.c
index 5461c54..da964cb 100644
--- a/test/regression/usbx_hid_transfer_request_completed_raw_test.c
+++ b/test/regression/usbx_hid_transfer_request_completed_raw_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on _ux_host_class_hid_transfer_request_completed()'s raw process handling. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_hid_transfer_request_completed_test.c b/test/regression/usbx_hid_transfer_request_completed_test.c
index 786c8c0..8e9eff2 100644
--- a/test/regression/usbx_hid_transfer_request_completed_test.c
+++ b/test/regression/usbx_hid_transfer_request_completed_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on failed hid transfer requests and ensuring they're resent and received correctly.
* Note: USBX HID has a thread for polling the device. Upon completion, ux_host_class_hid_transfer_request_completed is called,
* and if the transfer request status is set to unsuccessful, ux_host_class_hid_transfer_request_completed retries the transfer request. */
diff --git a/test/regression/usbx_host_class_hub_port_change_connection_process_coverage_test.c b/test/regression/usbx_host_class_hub_port_change_connection_process_coverage_test.c
index 4f4221f..8f41e05 100644
--- a/test/regression/usbx_host_class_hub_port_change_connection_process_coverage_test.c
+++ b/test/regression/usbx_host_class_hub_port_change_connection_process_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_host_class_storage_entry_coverage_test.c b/test/regression/usbx_host_class_storage_entry_coverage_test.c
index 2cdcac6..b0a1787 100644
--- a/test/regression/usbx_host_class_storage_entry_coverage_test.c
+++ b/test/regression/usbx_host_class_storage_entry_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_host_class_storage_max_lun_get_coverage_test.c b/test/regression/usbx_host_class_storage_max_lun_get_coverage_test.c
index ece69bc..8100969 100644
--- a/test/regression/usbx_host_class_storage_max_lun_get_coverage_test.c
+++ b/test/regression/usbx_host_class_storage_max_lun_get_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_host_stack_class_unregister_coverage_test.c b/test/regression/usbx_host_stack_class_unregister_coverage_test.c
index 12002e5..5014275 100644
--- a/test/regression/usbx_host_stack_class_unregister_coverage_test.c
+++ b/test/regression/usbx_host_stack_class_unregister_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_host_stack_new_endpoint_create_coverage_test.c b/test/regression/usbx_host_stack_new_endpoint_create_coverage_test.c
index 42e388e..4d01e02 100644
--- a/test/regression/usbx_host_stack_new_endpoint_create_coverage_test.c
+++ b/test/regression/usbx_host_stack_new_endpoint_create_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_hub_basic_memory_test.c b/test/regression/usbx_hub_basic_memory_test.c
index f4ae08c..2db5372 100644
--- a/test/regression/usbx_hub_basic_memory_test.c
+++ b/test/regression/usbx_hub_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_hub_basic_test.c b/test/regression/usbx_hub_basic_test.c
index 5aaf289..39952ed 100644
--- a/test/regression/usbx_hub_basic_test.c
+++ b/test/regression/usbx_hub_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is a basic test for the host hub class. Note that there is no device hub
class, so we create a barebones dummy one. We also test a device connected
to the hub; for this, we use the DPUMP class since it is very simple. Note
diff --git a/test/regression/usbx_hub_full_speed_hub_device_test.c b/test/regression/usbx_hub_full_speed_hub_device_test.c
index a0f25e4..b591174 100644
--- a/test/regression/usbx_hub_full_speed_hub_device_test.c
+++ b/test/regression/usbx_hub_full_speed_hub_device_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub device is full speed. The specific test case
is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_full_speed_hub_test.c b/test/regression/usbx_hub_full_speed_hub_test.c
index 3a9530b..4b03d53 100644
--- a/test/regression/usbx_hub_full_speed_hub_test.c
+++ b/test/regression/usbx_hub_full_speed_hub_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub is a full-speed hub. Specific test case
is in ux_host_class_hub_descriptor_get.c. */
diff --git a/test/regression/usbx_hub_get_hub_status_fails_during_hub_device_enum_test.c b/test/regression/usbx_hub_get_hub_status_fails_during_hub_device_enum_test.c
index 44a221b..31584cc 100644
--- a/test/regression/usbx_hub_get_hub_status_fails_during_hub_device_enum_test.c
+++ b/test/regression/usbx_hub_get_hub_status_fails_during_hub_device_enum_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the get hub status commmand fails
when a device connected to the hub is being enumerated. The specific test case
is in ux_host_class_hub_port_change_process.c. */
diff --git a/test/regression/usbx_hub_get_hub_status_fails_during_port_reset_test.c b/test/regression/usbx_hub_get_hub_status_fails_during_port_reset_test.c
index 53f3f2c..6b99def 100644
--- a/test/regression/usbx_hub_get_hub_status_fails_during_port_reset_test.c
+++ b/test/regression/usbx_hub_get_hub_status_fails_during_port_reset_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the get hub status commmand fails when a port is being reset.
The specific test case is in ux_host_class_hub_port_reset.c. */
diff --git a/test/regression/usbx_hub_get_port_status_fails_during_hub_device_enum_test.c b/test/regression/usbx_hub_get_port_status_fails_during_hub_device_enum_test.c
index 0725cdf..475fbaa 100644
--- a/test/regression/usbx_hub_get_port_status_fails_during_hub_device_enum_test.c
+++ b/test/regression/usbx_hub_get_port_status_fails_during_hub_device_enum_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the get port status commmand fails
when a device connected to the hub is being enumerated. The specific test case
is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_get_status_fails_during_configuration_test.c b/test/regression/usbx_hub_get_status_fails_during_configuration_test.c
index f500413..282d9fe 100644
--- a/test/regression/usbx_hub_get_status_fails_during_configuration_test.c
+++ b/test/regression/usbx_hub_get_status_fails_during_configuration_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the GET_STATUS request has an invalid actual length. */
#include "usbx_ux_test_hub.h"
diff --git a/test/regression/usbx_hub_hub_device_connect_test.c b/test/regression/usbx_hub_hub_device_connect_test.c
index 9f6ac0e..dbecbd3 100644
--- a/test/regression/usbx_hub_hub_device_connect_test.c
+++ b/test/regression/usbx_hub_hub_device_connect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the device connected to the hub is disconnected.
The specific test case is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_hub_device_disconnect_test.c b/test/regression/usbx_hub_hub_device_disconnect_test.c
index 1854c58..7d29756 100644
--- a/test/regression/usbx_hub_hub_device_disconnect_test.c
+++ b/test/regression/usbx_hub_hub_device_disconnect_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the device connected to the hub is disconnected.
The specific test case is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_hub_device_enumeration_keeps_failing_test.c b/test/regression/usbx_hub_hub_device_enumeration_keeps_failing_test.c
index 2c175ce..9a16d3b 100644
--- a/test/regression/usbx_hub_hub_device_enumeration_keeps_failing_test.c
+++ b/test/regression/usbx_hub_hub_device_enumeration_keeps_failing_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub device's enumeration keeps failing. The
specific test case is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_hub_status_get_invalid_length_test.c b/test/regression/usbx_hub_hub_status_get_invalid_length_test.c
index bb924cd..249e577 100644
--- a/test/regression/usbx_hub_hub_status_get_invalid_length_test.c
+++ b/test/regression/usbx_hub_hub_status_get_invalid_length_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the transfer length of the GetHubStatus request is invalid.
The specific test case is in ux_host_class_hub_status_get.c. */
diff --git a/test/regression/usbx_hub_interrupt_out_endpoint_test.c b/test/regression/usbx_hub_interrupt_out_endpoint_test.c
index b9c78e7..28f0f95 100644
--- a/test/regression/usbx_hub_interrupt_out_endpoint_test.c
+++ b/test/regression/usbx_hub_interrupt_out_endpoint_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub's only endpoint is an interrupt OUT (supposed to be IN). Specific test case is in
ux_host_class_hub_interrupt_endpoint_start.c. */
diff --git a/test/regression/usbx_hub_invalid_device_protocol_test.c b/test/regression/usbx_hub_invalid_device_protocol_test.c
index e1f3129..5c2e7de 100644
--- a/test/regression/usbx_hub_invalid_device_protocol_test.c
+++ b/test/regression/usbx_hub_invalid_device_protocol_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports an invalid device protocol. Specific
test case is in ux_host_class_hub_descriptor_get.c. */
diff --git a/test/regression/usbx_hub_invalid_hub_descriptor_length_test.c b/test/regression/usbx_hub_invalid_hub_descriptor_length_test.c
index 607e720..1b996fc 100644
--- a/test/regression/usbx_hub_invalid_hub_descriptor_length_test.c
+++ b/test/regression/usbx_hub_invalid_hub_descriptor_length_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the length of the hub descriptor is invalid. The
exact test case is in ux_host_class_hub_descriptor_get.c. */
diff --git a/test/regression/usbx_hub_low_speed_hub_device_test.c b/test/regression/usbx_hub_low_speed_hub_device_test.c
index a148496..e3fa98b 100644
--- a/test/regression/usbx_hub_low_speed_hub_device_test.c
+++ b/test/regression/usbx_hub_low_speed_hub_device_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub device is low speed. The specific test case
is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_multiple_tt_test.c b/test/regression/usbx_hub_multiple_tt_test.c
index ae0b308..00c40d2 100644
--- a/test/regression/usbx_hub_multiple_tt_test.c
+++ b/test/regression/usbx_hub_multiple_tt_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub has multiple TTs. Specific test case
is in ux_host_class_hub_descriptor_get.c. */
diff --git a/test/regression/usbx_hub_multiple_tt_too_many_hub_ports_test.c b/test/regression/usbx_hub_multiple_tt_too_many_hub_ports_test.c
index 3c235df..5fcddc8 100644
--- a/test/regression/usbx_hub_multiple_tt_too_many_hub_ports_test.c
+++ b/test/regression/usbx_hub_multiple_tt_too_many_hub_ports_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports an invalid device protocol. Specific
test case is in ux_host_class_hub_descriptor_get.c. */
diff --git a/test/regression/usbx_hub_no_endpoints_test.c b/test/regression/usbx_hub_no_endpoints_test.c
index 9f88553..d49d0a9 100644
--- a/test/regression/usbx_hub_no_endpoints_test.c
+++ b/test/regression/usbx_hub_no_endpoints_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where there are no endpoints. Specific test case is in
ux_host_class_hub_interrupt_endpoint_start.c. */
diff --git a/test/regression/usbx_hub_no_power_switching_test.c b/test/regression/usbx_hub_no_power_switching_test.c
index d4f70e6..bc4b522 100644
--- a/test/regression/usbx_hub_no_power_switching_test.c
+++ b/test/regression/usbx_hub_no_power_switching_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub has no power switching. Specific test case
is in ux_host_class_hub_ports_power.c. */
diff --git a/test/regression/usbx_hub_non_interrupt_in_endpoint_test.c b/test/regression/usbx_hub_non_interrupt_in_endpoint_test.c
index c81929c..8ac6085 100644
--- a/test/regression/usbx_hub_non_interrupt_in_endpoint_test.c
+++ b/test/regression/usbx_hub_non_interrupt_in_endpoint_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub's only endpoint is a non-interrupt IN (supposed to be interrupt). Specific test case is in
ux_host_class_hub_interrupt_endpoint_start.c. */
diff --git a/test/regression/usbx_hub_port_change_enable_test.c b/test/regression/usbx_hub_port_change_enable_test.c
index ed07372..857dd0d 100644
--- a/test/regression/usbx_hub_port_change_enable_test.c
+++ b/test/regression/usbx_hub_port_change_enable_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports a port ENABLE change. The specific
test case is in ux_host_class_hub_port_change_process.c. */
diff --git a/test/regression/usbx_hub_port_change_over_current_test.c b/test/regression/usbx_hub_port_change_over_current_test.c
index 80dcefb..d4765d7 100644
--- a/test/regression/usbx_hub_port_change_over_current_test.c
+++ b/test/regression/usbx_hub_port_change_over_current_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports a port OVER_CURRENT change. The specific
test case is in ux_host_class_hub_port_change_process.c. */
diff --git a/test/regression/usbx_hub_port_change_reset_test.c b/test/regression/usbx_hub_port_change_reset_test.c
index f057e62..636b1fc 100644
--- a/test/regression/usbx_hub_port_change_reset_test.c
+++ b/test/regression/usbx_hub_port_change_reset_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports a port RESET change. The specific
test case is in ux_host_class_hub_port_change_process.c. */
diff --git a/test/regression/usbx_hub_port_change_suspend_test.c b/test/regression/usbx_hub_port_change_suspend_test.c
index d2e1267..d7765d8 100644
--- a/test/regression/usbx_hub_port_change_suspend_test.c
+++ b/test/regression/usbx_hub_port_change_suspend_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports a port SUSPEND change. The specific
test case is in ux_host_class_hub_port_change_process.c. */
diff --git a/test/regression/usbx_hub_port_never_reset_test.c b/test/regression/usbx_hub_port_never_reset_test.c
index 1047ac7..ea75e4a 100644
--- a/test/regression/usbx_hub_port_never_reset_test.c
+++ b/test/regression/usbx_hub_port_never_reset_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the port reset fails because the hub never reports that the port was RESET.
The specific test case is in ux_host_class_hub_port_reset.c. */
diff --git a/test/regression/usbx_hub_port_reset_fails_during_hub_device_enum_test.c b/test/regression/usbx_hub_port_reset_fails_during_hub_device_enum_test.c
index 86585a6..a8db89f 100644
--- a/test/regression/usbx_hub_port_reset_fails_during_hub_device_enum_test.c
+++ b/test/regression/usbx_hub_port_reset_fails_during_hub_device_enum_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the port reset commmand fails
when a device connected to the hub is being enumerated. The specific test case
is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_quick_hub_device_disconnection_test.c b/test/regression/usbx_hub_quick_hub_device_disconnection_test.c
index 35da460..f599b11 100644
--- a/test/regression/usbx_hub_quick_hub_device_disconnection_test.c
+++ b/test/regression/usbx_hub_quick_hub_device_disconnection_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports a device disconnection even though
no device was previously on that port. This can happen if the device is connected
then quickly disconnected, before USBX processes the connection. The specific
diff --git a/test/regression/usbx_hub_quick_hub_device_reconnection_test.c b/test/regression/usbx_hub_quick_hub_device_reconnection_test.c
index 3ce49a3..406f465 100644
--- a/test/regression/usbx_hub_quick_hub_device_reconnection_test.c
+++ b/test/regression/usbx_hub_quick_hub_device_reconnection_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the device is connected, disconnected, then reconnected
very quickly (in other words, so fast that the HCD thread doesn't detect the
disconnection). The specific test case is in ux_host_class_hub_port_change_connection_process.c. */
diff --git a/test/regression/usbx_hub_request_to_hub_itself_test.c b/test/regression/usbx_hub_request_to_hub_itself_test.c
index 8755abd..8321b38 100644
--- a/test/regression/usbx_hub_request_to_hub_itself_test.c
+++ b/test/regression/usbx_hub_request_to_hub_itself_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the host sends a request to the hub itself and
not a port. */
diff --git a/test/regression/usbx_hub_single_tt_too_many_hub_ports_test.c b/test/regression/usbx_hub_single_tt_too_many_hub_ports_test.c
index a6cd431..e407cc0 100644
--- a/test/regression/usbx_hub_single_tt_too_many_hub_ports_test.c
+++ b/test/regression/usbx_hub_single_tt_too_many_hub_ports_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the hub reports an invalid device protocol. Specific
test case is in ux_host_class_hub_descriptor_get.c. */
diff --git a/test/regression/usbx_msrc_66679_test.c b/test/regression/usbx_msrc_66679_test.c
index 4664b26..6a96ec6 100644
--- a/test/regression/usbx_msrc_66679_test.c
+++ b/test/regression/usbx_msrc_66679_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_69702_dfu_dnload_test.c b/test/regression/usbx_msrc_69702_dfu_dnload_test.c
index 46edce1..6a2d02a 100644
--- a/test/regression/usbx_msrc_69702_dfu_dnload_test.c
+++ b/test/regression/usbx_msrc_69702_dfu_dnload_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_71934_dfu_upload_test.c b/test/regression/usbx_msrc_71934_dfu_upload_test.c
index b3a5dcc..80850a6 100644
--- a/test/regression/usbx_msrc_71934_dfu_upload_test.c
+++ b/test/regression/usbx_msrc_71934_dfu_upload_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_72227_host_pima_read_test.c b/test/regression/usbx_msrc_72227_host_pima_read_test.c
index ad09aa5..1e40753 100644
--- a/test/regression/usbx_msrc_72227_host_pima_read_test.c
+++ b/test/regression/usbx_msrc_72227_host_pima_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_72427_ecm_host_mac_test.c b/test/regression/usbx_msrc_72427_ecm_host_mac_test.c
index 84e2045..d533b4b 100644
--- a/test/regression/usbx_msrc_72427_ecm_host_mac_test.c
+++ b/test/regression/usbx_msrc_72427_ecm_host_mac_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the case where the mac address string is too long. This is an
error. */
diff --git a/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c b/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c
index 2758903..67f26b7 100644
--- a/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c
+++ b/test/regression/usbx_msrc_72525_host_pima_obj_handles_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_72526_pictbridge_dps_host_start_test.c b/test/regression/usbx_msrc_72526_pictbridge_dps_host_start_test.c
index 9cb30dc..1c91879 100644
--- a/test/regression/usbx_msrc_72526_pictbridge_dps_host_start_test.c
+++ b/test/regression/usbx_msrc_72526_pictbridge_dps_host_start_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c b/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c
index 8935c98..37ae75c 100644
--- a/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c
+++ b/test/regression/usbx_msrc_72619_host_pima_stor_ids_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_73386_host_storage_media_open_buffer_test.c b/test/regression/usbx_msrc_73386_host_storage_media_open_buffer_test.c
index e7d6024..0bcfb80 100644
--- a/test/regression/usbx_msrc_73386_host_storage_media_open_buffer_test.c
+++ b/test/regression/usbx_msrc_73386_host_storage_media_open_buffer_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_73492_host_vc_header_parse.c b/test/regression/usbx_msrc_73492_host_vc_header_parse.c
index 9fa2d04..9c24df2 100644
--- a/test/regression/usbx_msrc_73492_host_vc_header_parse.c
+++ b/test/regression/usbx_msrc_73492_host_vc_header_parse.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_73716_cdc_ecm_mac_get_desc_check.c b/test/regression/usbx_msrc_73716_cdc_ecm_mac_get_desc_check.c
index 3fe6ce0..7e4708d 100644
--- a/test/regression/usbx_msrc_73716_cdc_ecm_mac_get_desc_check.c
+++ b/test/regression/usbx_msrc_73716_cdc_ecm_mac_get_desc_check.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_msrc_80947_device_cdc_ecm_rx_length_less_than_14.c b/test/regression/usbx_msrc_80947_device_cdc_ecm_rx_length_less_than_14.c
index 45f33e8..d7a2d51 100644
--- a/test/regression/usbx_msrc_80947_device_cdc_ecm_rx_length_less_than_14.c
+++ b/test/regression/usbx_msrc_80947_device_cdc_ecm_rx_length_less_than_14.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_msrc_80991_device_rndis_rx_length_less_than_14_test.c b/test/regression/usbx_msrc_80991_device_rndis_rx_length_less_than_14_test.c
index a5d015c..9c9cef5 100644
--- a/test/regression/usbx_msrc_80991_device_rndis_rx_length_less_than_14_test.c
+++ b/test/regression/usbx_msrc_80991_device_rndis_rx_length_less_than_14_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "ux_api.h"
#include "ux_system.h"
#include "ux_utility.h"
diff --git a/test/regression/usbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c b/test/regression/usbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c
index 774f479..b1de38f 100644
--- a/test/regression/usbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c
+++ b/test/regression/usbx_msrc_81024_host_cdc_ecm_rx_length_less_than_14.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_msrc_81108_pictbridge_object_parse_test.c b/test/regression/usbx_msrc_81108_pictbridge_object_parse_test.c
index 1173509..b0dcf08 100644
--- a/test/regression/usbx_msrc_81108_pictbridge_object_parse_test.c
+++ b/test/regression/usbx_msrc_81108_pictbridge_object_parse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c b/test/regression/usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c
index 404f5f5..4afd93b 100644
--- a/test/regression/usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c
+++ b/test/regression/usbx_msrc_81109_pictbridge_array_element_to_hexa_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_parse. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c b/test/regression/usbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c
index e96673f..30c7262 100644
--- a/test/regression/usbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c
+++ b/test/regression/usbx_msrc_81112_host_cdc_ecm_endpoints_get_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81142_host_storage_endpoints_get_tests.c b/test/regression/usbx_msrc_81142_host_storage_endpoints_get_tests.c
index 4a5674e..a24485f 100644
--- a/test/regression/usbx_msrc_81142_host_storage_endpoints_get_tests.c
+++ b/test/regression/usbx_msrc_81142_host_storage_endpoints_get_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c b/test/regression/usbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c
index f4641ca..2e11ace 100644
--- a/test/regression/usbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c
+++ b/test/regression/usbx_msrc_81143_host_cdc_acm_endpoints_get_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81184_host_audio_desc_validate_test.c b/test/regression/usbx_msrc_81184_host_audio_desc_validate_test.c
index 3db3f40..1bb9730 100644
--- a/test/regression/usbx_msrc_81184_host_audio_desc_validate_test.c
+++ b/test/regression/usbx_msrc_81184_host_audio_desc_validate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
/* Compile option requires:
-DUX_HOST_CLASS_AUDIO_2_SUPPORT
diff --git a/test/regression/usbx_msrc_81206_81225_ecm_multiple_data_reject_test.c b/test/regression/usbx_msrc_81206_81225_ecm_multiple_data_reject_test.c
index 2ca59c5..be05236 100644
--- a/test/regression/usbx_msrc_81206_81225_ecm_multiple_data_reject_test.c
+++ b/test/regression/usbx_msrc_81206_81225_ecm_multiple_data_reject_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_msrc_81230_host_asix_inst_free_tests.c b/test/regression/usbx_msrc_81230_host_asix_inst_free_tests.c
index 97462a1..fcbee7a 100644
--- a/test/regression/usbx_msrc_81230_host_asix_inst_free_tests.c
+++ b/test/regression/usbx_msrc_81230_host_asix_inst_free_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81231_host_prolific_inst_free_tests.c b/test/regression/usbx_msrc_81231_host_prolific_inst_free_tests.c
index 202ea7f..30e77dd 100644
--- a/test/regression/usbx_msrc_81231_host_prolific_inst_free_tests.c
+++ b/test/regression/usbx_msrc_81231_host_prolific_inst_free_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81232_host_gser_inst_free_tests.c b/test/regression/usbx_msrc_81232_host_gser_inst_free_tests.c
index 9bbdf74..e7143a3 100644
--- a/test/regression/usbx_msrc_81232_host_gser_inst_free_tests.c
+++ b/test/regression/usbx_msrc_81232_host_gser_inst_free_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81233_host_swar_inst_free_tests.c b/test/regression/usbx_msrc_81233_host_swar_inst_free_tests.c
index 3b19443..9a25ccf 100644
--- a/test/regression/usbx_msrc_81233_host_swar_inst_free_tests.c
+++ b/test/regression/usbx_msrc_81233_host_swar_inst_free_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81251_host_hid_report_add_fail_mem_test.c b/test/regression/usbx_msrc_81251_host_hid_report_add_fail_mem_test.c
index 2618a3c..cc4ea4f 100644
--- a/test/regression/usbx_msrc_81251_host_hid_report_add_fail_mem_test.c
+++ b/test/regression/usbx_msrc_81251_host_hid_report_add_fail_mem_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_report_add() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c b/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c
index e31607e..e8a5609 100644
--- a/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c
+++ b/test/regression/usbx_msrc_81292_host_pima_deactivate_semaphore_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c b/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c
index fbec683..38dec0f 100644
--- a/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c
+++ b/test/regression/usbx_msrc_81323_host_pima_deactivate_no_int_ep_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81325_host_hid_remote_control_free_callback_test.c b/test/regression/usbx_msrc_81325_host_hid_remote_control_free_callback_test.c
index 6bf877b..2995bf0 100644
--- a/test/regression/usbx_msrc_81325_host_hid_remote_control_free_callback_test.c
+++ b/test/regression/usbx_msrc_81325_host_hid_remote_control_free_callback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_wheel_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_msrc_81326_host_hid_keyboard_free_callback_test.c b/test/regression/usbx_msrc_81326_host_hid_keyboard_free_callback_test.c
index 849f60d..f92810b 100644
--- a/test/regression/usbx_msrc_81326_host_hid_keyboard_free_callback_test.c
+++ b/test/regression/usbx_msrc_81326_host_hid_keyboard_free_callback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_wheel_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_msrc_81327_host_hid_mouse_free_callback_test.c b/test/regression/usbx_msrc_81327_host_hid_mouse_free_callback_test.c
index d9568fc..161d385 100644
--- a/test/regression/usbx_msrc_81327_host_hid_mouse_free_callback_test.c
+++ b/test/regression/usbx_msrc_81327_host_hid_mouse_free_callback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_wheel_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c b/test/regression/usbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c
index 582360a..86732d3 100644
--- a/test/regression/usbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c
+++ b/test/regression/usbx_msrc_81426_host_audio_type_get_fail_ac_link_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
/* Compile option requires:
-DUX_HOST_CLASS_AUDIO_2_SUPPORT
diff --git a/test/regression/usbx_msrc_81428_81429_host_audio_ac_search_test.c b/test/regression/usbx_msrc_81428_81429_host_audio_ac_search_test.c
index 29a3fff..7346bd8 100644
--- a/test/regression/usbx_msrc_81428_81429_host_audio_ac_search_test.c
+++ b/test/regression/usbx_msrc_81428_81429_host_audio_ac_search_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
/* Compile option requires:
-DUX_HOST_CLASS_AUDIO_2_SUPPORT
diff --git a/test/regression/usbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c b/test/regression/usbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c
index 2e89e5a..c0a4a24 100644
--- a/test/regression/usbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c
+++ b/test/regression/usbx_msrc_81489_81570_host_cdc_acm_standalone_ac_search_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c b/test/regression/usbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c
index d09156b..a1ebbb4 100644
--- a/test/regression/usbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c
+++ b/test/regression/usbx_msrc_81572_standalone_host_printer_allocated_enum_free_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81573_standalone_host_hub_allocated_enum_free_test.c b/test/regression/usbx_msrc_81573_standalone_host_hub_allocated_enum_free_test.c
index 8000eab..f8c67f1 100644
--- a/test/regression/usbx_msrc_81573_standalone_host_hub_allocated_enum_free_test.c
+++ b/test/regression/usbx_msrc_81573_standalone_host_hub_allocated_enum_free_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c b/test/regression/usbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c
index 65a9cfb..aa145ff 100644
--- a/test/regression/usbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c
+++ b/test/regression/usbx_msrc_81574_standalone_host_hid_allocated_enum_free_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81575_standalone_host_cdc_acm_allocated_enum_free_test.c b/test/regression/usbx_msrc_81575_standalone_host_cdc_acm_allocated_enum_free_test.c
index 4052d95..aac5ad3 100644
--- a/test/regression/usbx_msrc_81575_standalone_host_cdc_acm_allocated_enum_free_test.c
+++ b/test/regression/usbx_msrc_81575_standalone_host_cdc_acm_allocated_enum_free_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_81691_standalone_host_stack_enum_double_free_test.c b/test/regression/usbx_msrc_81691_standalone_host_stack_enum_double_free_test.c
index 0cb8e78..3416f48 100644
--- a/test/regression/usbx_msrc_81691_standalone_host_stack_enum_double_free_test.c
+++ b/test/regression/usbx_msrc_81691_standalone_host_stack_enum_double_free_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c b/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c
index 2b90a9d..0ccc702 100644
--- a/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c
+++ b/test/regression/usbx_msrc_84686_host_pima_storage_info_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_pictbridge_basic_test.c b/test/regression/usbx_pictbridge_basic_test.c
index 5f07e9a..d7da6f3 100644
--- a/test/regression/usbx_pictbridge_basic_test.c
+++ b/test/regression/usbx_pictbridge_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_pima_basic_test.c b/test/regression/usbx_pima_basic_test.c
index 0ea9912..b9335dd 100644
--- a/test/regression/usbx_pima_basic_test.c
+++ b/test/regression/usbx_pima_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_rndis_basic_test.c b/test/regression/usbx_rndis_basic_test.c
index 55fb187..0b5c70e 100644
--- a/test/regression/usbx_rndis_basic_test.c
+++ b/test/regression/usbx_rndis_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "ux_api.h"
#include "ux_system.h"
#include "ux_utility.h"
diff --git a/test/regression/usbx_standalone_cdc_acm_basic_memory_test.c b/test/regression/usbx_standalone_cdc_acm_basic_memory_test.c
index 0a713ae..8db31f3 100644
--- a/test/regression/usbx_standalone_cdc_acm_basic_memory_test.c
+++ b/test/regression/usbx_standalone_cdc_acm_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_cdc_acm_basic_test.c b/test/regression/usbx_standalone_cdc_acm_basic_test.c
index e2105b7..ff645ea 100644
--- a/test/regression/usbx_standalone_cdc_acm_basic_test.c
+++ b/test/regression/usbx_standalone_cdc_acm_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_device_cdc_acm_basic_memory_test.c b/test/regression/usbx_standalone_device_cdc_acm_basic_memory_test.c
index 2c12d12..9b34811 100644
--- a/test/regression/usbx_standalone_device_cdc_acm_basic_memory_test.c
+++ b/test/regression/usbx_standalone_device_cdc_acm_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_device_cdc_acm_basic_test.c b/test/regression/usbx_standalone_device_cdc_acm_basic_test.c
index a244122..71e3c53 100644
--- a/test/regression/usbx_standalone_device_cdc_acm_basic_test.c
+++ b/test/regression/usbx_standalone_device_cdc_acm_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_device_cdc_acm_transmission_test.c b/test/regression/usbx_standalone_device_cdc_acm_transmission_test.c
index 966c686..be21eb2 100644
--- a/test/regression/usbx_standalone_device_cdc_acm_transmission_test.c
+++ b/test/regression/usbx_standalone_device_cdc_acm_transmission_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_device_storage_basic_test.c b/test/regression/usbx_standalone_device_storage_basic_test.c
index 660bae2..08110c9 100644
--- a/test/regression/usbx_standalone_device_storage_basic_test.c
+++ b/test/regression/usbx_standalone_device_storage_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_device_storage_error_cv_test.c b/test/regression/usbx_standalone_device_storage_error_cv_test.c
index 4fd64c3..497f0ad 100644
--- a/test/regression/usbx_standalone_device_storage_error_cv_test.c
+++ b/test/regression/usbx_standalone_device_storage_error_cv_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_device_storage_read_write_test.c b/test/regression/usbx_standalone_device_storage_read_write_test.c
index 5bc6a64..cf8139b 100644
--- a/test/regression/usbx_standalone_device_storage_read_write_test.c
+++ b/test/regression/usbx_standalone_device_storage_read_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_host_storage_basic_test.c b/test/regression/usbx_standalone_host_storage_basic_test.c
index d2a318f..e700bf9 100644
--- a/test/regression/usbx_standalone_host_storage_basic_test.c
+++ b/test/regression/usbx_standalone_host_storage_basic_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_host_storage_insert_eject_test.c b/test/regression/usbx_standalone_host_storage_insert_eject_test.c
index d25ce9e..299ad18 100644
--- a/test/regression/usbx_standalone_host_storage_insert_eject_test.c
+++ b/test/regression/usbx_standalone_host_storage_insert_eject_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_standalone_host_storage_read_write_test.c b/test/regression/usbx_standalone_host_storage_read_write_test.c
index a8ad648..1d703cf 100644
--- a/test/regression/usbx_standalone_host_storage_read_write_test.c
+++ b/test/regression/usbx_standalone_host_storage_read_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_storage_basic_memory_test.c b/test/regression/usbx_storage_basic_memory_test.c
index 170fdef..771d2ac 100644
--- a/test/regression/usbx_storage_basic_memory_test.c
+++ b/test/regression/usbx_storage_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_storage_direct_calls_test.c b/test/regression/usbx_storage_direct_calls_test.c
index 8a45d9c..6237243 100644
--- a/test/regression/usbx_storage_direct_calls_test.c
+++ b/test/regression/usbx_storage_direct_calls_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_storage.h"
#include "tx_thread.h"
diff --git a/test/regression/usbx_storage_multi_lun_test.c b/test/regression/usbx_storage_multi_lun_test.c
index 39b5a76..c80532e 100644
--- a/test/regression/usbx_storage_multi_lun_test.c
+++ b/test/regression/usbx_storage_multi_lun_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_storage_tests.c b/test/regression/usbx_storage_tests.c
index 15e3503..1fc8b1f 100644
--- a/test/regression/usbx_storage_tests.c
+++ b/test/regression/usbx_storage_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include <stdint.h>
#include "fx_api.h"
diff --git a/test/regression/usbx_test_USBX_141_keyboard_layout.c b/test/regression/usbx_test_USBX_141_keyboard_layout.c
index f2f36aa..df999de 100644
--- a/test/regression/usbx_test_USBX_141_keyboard_layout.c
+++ b/test/regression/usbx_test_USBX_141_keyboard_layout.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the ux_host_class_hid_keyboard_key_get API. */
#include <stdio.h>
diff --git a/test/regression/usbx_test_USBX_142_DTR_callback.c b/test/regression/usbx_test_USBX_142_DTR_callback.c
index 8085f30..efaab26 100644
--- a/test/regression/usbx_test_USBX_142_DTR_callback.c
+++ b/test/regression/usbx_test_USBX_142_DTR_callback.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_test_USBX_6_ux_version_id.c b/test/regression/usbx_test_USBX_6_ux_version_id.c
index af092d6..93a7664 100644
--- a/test/regression/usbx_test_USBX_6_ux_version_id.c
+++ b/test/regression/usbx_test_USBX_6_ux_version_id.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_timer_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_test_common.h b/test/regression/usbx_test_common.h
index fbc75ea..47c71c7 100644
--- a/test/regression/usbx_test_common.h
+++ b/test/regression/usbx_test_common.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdarg.h>
/* This is how ux_utility_memory_allocate calculates the final memory size. */
diff --git a/test/regression/usbx_test_common_hid.h b/test/regression/usbx_test_common_hid.h
index a017dc1..13b77c1 100644
--- a/test/regression/usbx_test_common_hid.h
+++ b/test/regression/usbx_test_common_hid.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include <stdarg.h>
#include "tx_api.h"
diff --git a/test/regression/usbx_test_common_storage.h b/test/regression/usbx_test_common_storage.h
index 5d24ab3..ff2eefa 100644
--- a/test/regression/usbx_test_common_storage.h
+++ b/test/regression/usbx_test_common_storage.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_api_tracex_id_test.c b/test/regression/usbx_ux_api_tracex_id_test.c
index 1854fae..71a084e 100644
--- a/test/regression/usbx_ux_api_tracex_id_test.c
+++ b/test/regression/usbx_ux_api_tracex_id_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_thread_identify. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_activate_test.c b/test/regression/usbx_ux_device_class_cdc_acm_activate_test.c
index 89308b1..7e3c7fd 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_activate_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_bulkout_thread_test.c b/test/regression/usbx_ux_device_class_cdc_acm_bulkout_thread_test.c
index 0346112..cf1f558 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_bulkout_thread_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_bulkout_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_deactivate_test.c b/test/regression/usbx_ux_device_class_cdc_acm_deactivate_test.c
index e8553e6..710a92f 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_deactivate_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_deactivate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_ioctl_test.c b/test/regression/usbx_ux_device_class_cdc_acm_ioctl_test.c
index a454456..fde3901 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_ioctl_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_ioctl_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_timeout_test.c b/test/regression/usbx_ux_device_class_cdc_acm_timeout_test.c
index 29073ba..a9eba5b 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_timeout_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_timeout_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_transmission_test.c b/test/regression/usbx_ux_device_class_cdc_acm_transmission_test.c
index d393e80..1ee6458 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_transmission_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_transmission_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_acm_write_test.c b/test/regression/usbx_ux_device_class_cdc_acm_write_test.c
index 6731498..6146383 100644
--- a/test/regression/usbx_ux_device_class_cdc_acm_write_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_acm_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_activate_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_activate_test.c
index 67cee5c..8b21e92 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_activate_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_bulkin_thread_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_bulkin_thread_test.c
index 8f58268..7cab2db 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_bulkin_thread_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_bulkin_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_bulkout_thread_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_bulkout_thread_test.c
index eb61e93..1888af1 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_bulkout_thread_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_bulkout_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_change_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_change_test.c
index c90c0b5..b349af6 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_change_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_change_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_control_request_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_control_request_test.c
index 5c812b8..3312751 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_control_request_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_control_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_deactivate_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_deactivate_test.c
index 9cf5a3b..f2a5bf8 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_deactivate_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_deactivate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_entry_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_entry_test.c
index 5472299..e26ae7c 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_entry_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_initialize_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_initialize_test.c
index d822540..47dff03 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_initialize_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_initialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_interrupt_thread_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_interrupt_thread_test.c
index 5ba6d33..59953c1 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_interrupt_thread_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_interrupt_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_device_class_cdc_ecm_uninitialize_test.c b/test/regression/usbx_ux_device_class_cdc_ecm_uninitialize_test.c
index 6071c3c..29e7359 100644
--- a/test/regression/usbx_ux_device_class_cdc_ecm_uninitialize_test.c
+++ b/test/regression/usbx_ux_device_class_cdc_ecm_uninitialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_device_class_hid_activate_test.c b/test/regression/usbx_ux_device_class_hid_activate_test.c
index aa03a00..cac5348 100644
--- a/test/regression/usbx_ux_device_class_hid_activate_test.c
+++ b/test/regression/usbx_ux_device_class_hid_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid_activate API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_device_class_hid_activate_test2.c b/test/regression/usbx_ux_device_class_hid_activate_test2.c
index 27efee8..31dcda5 100644
--- a/test/regression/usbx_ux_device_class_hid_activate_test2.c
+++ b/test/regression/usbx_ux_device_class_hid_activate_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_class_hid_activate_test3.c b/test/regression/usbx_ux_device_class_hid_activate_test3.c
index 17dc47f..9511d21 100644
--- a/test/regression/usbx_ux_device_class_hid_activate_test3.c
+++ b/test/regression/usbx_ux_device_class_hid_activate_test3.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_class_hid_basic_memory_test.c b/test/regression/usbx_ux_device_class_hid_basic_memory_test.c
index 9f72b17..7eea312 100644
--- a/test/regression/usbx_ux_device_class_hid_basic_memory_test.c
+++ b/test/regression/usbx_ux_device_class_hid_basic_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_device_class_hid_control_request_test.c b/test/regression/usbx_ux_device_class_hid_control_request_test.c
index e8f9087..0b3eb6f 100644
--- a/test/regression/usbx_ux_device_class_hid_control_request_test.c
+++ b/test/regression/usbx_ux_device_class_hid_control_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_device_class_hid_control_request(). Note that the 4 requests we're testing
(GET_IDLE, SET_IDLE, GET_PROTOCOL, and SET_PROTOCOL) have yet to be implemented on the device;
Therefore, right now, not much is done in the way of checking output. */
diff --git a/test/regression/usbx_ux_device_class_hid_deactivate_test.c b/test/regression/usbx_ux_device_class_hid_deactivate_test.c
index 16737e4..3eef093 100644
--- a/test/regression/usbx_ux_device_class_hid_deactivate_test.c
+++ b/test/regression/usbx_ux_device_class_hid_deactivate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid_deactivate API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_device_class_hid_descriptor_send_test.c b/test/regression/usbx_ux_device_class_hid_descriptor_send_test.c
index 52f2a47..b86bb29 100644
--- a/test/regression/usbx_ux_device_class_hid_descriptor_send_test.c
+++ b/test/regression/usbx_ux_device_class_hid_descriptor_send_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_class_hid_entry_test.c b/test/regression/usbx_ux_device_class_hid_entry_test.c
index 78b529d..bff9f7a 100644
--- a/test/regression/usbx_ux_device_class_hid_entry_test.c
+++ b/test/regression/usbx_ux_device_class_hid_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid_entry API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_device_class_hid_event_get_AND_set_test.c b/test/regression/usbx_ux_device_class_hid_event_get_AND_set_test.c
index 98172cc..177d775 100644
--- a/test/regression/usbx_ux_device_class_hid_event_get_AND_set_test.c
+++ b/test/regression/usbx_ux_device_class_hid_event_get_AND_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_class_hid_idle_rate_test.c b/test/regression/usbx_ux_device_class_hid_idle_rate_test.c
index 61bee74..40fc9cd 100644
--- a/test/regression/usbx_ux_device_class_hid_idle_rate_test.c
+++ b/test/regression/usbx_ux_device_class_hid_idle_rate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the
* _ux_device_class_hid_control_request
* _ux_device_class_hid_interrupt_thread
diff --git a/test/regression/usbx_ux_device_class_hid_initialize_test.c b/test/regression/usbx_ux_device_class_hid_initialize_test.c
index 379dba6..416c6b4 100644
--- a/test/regression/usbx_ux_device_class_hid_initialize_test.c
+++ b/test/regression/usbx_ux_device_class_hid_initialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_class_hid_interrupt_thread_test.c b/test/regression/usbx_ux_device_class_hid_interrupt_thread_test.c
index 80c65b6..8cdcd3b 100644
--- a/test/regression/usbx_ux_device_class_hid_interrupt_thread_test.c
+++ b/test/regression/usbx_ux_device_class_hid_interrupt_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_device_class_hid_interrupt_thread(), which only runs when there
is a new event available in the queue. */
diff --git a/test/regression/usbx_ux_device_class_hid_interrupt_thread_test2.c b/test/regression/usbx_ux_device_class_hid_interrupt_thread_test2.c
index 4f1adba..de7bbef 100644
--- a/test/regression/usbx_ux_device_class_hid_interrupt_thread_test2.c
+++ b/test/regression/usbx_ux_device_class_hid_interrupt_thread_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_device_class_hid_interrupt_thread(), which only runs when there
is a new event available in the queue. */
diff --git a/test/regression/usbx_ux_device_class_hid_read_test.c b/test/regression/usbx_ux_device_class_hid_read_test.c
index dd26a49..0090bcc 100644
--- a/test/regression/usbx_ux_device_class_hid_read_test.c
+++ b/test/regression/usbx_ux_device_class_hid_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the
* _ux_device_class_hid_control_request
* _ux_device_class_hid_interrupt_thread
diff --git a/test/regression/usbx_ux_device_class_hid_receiver_memory_test.c b/test/regression/usbx_ux_device_class_hid_receiver_memory_test.c
index 89a52c9..c91bedc 100644
--- a/test/regression/usbx_ux_device_class_hid_receiver_memory_test.c
+++ b/test/regression/usbx_ux_device_class_hid_receiver_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_device_class_hid_receiver_test.c b/test/regression/usbx_ux_device_class_hid_receiver_test.c
index 2643b97..baea6f0 100644
--- a/test/regression/usbx_ux_device_class_hid_receiver_test.c
+++ b/test/regression/usbx_ux_device_class_hid_receiver_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the
* _ux_device_class_hid_control_request
* _ux_device_class_hid_interrupt_thread
diff --git a/test/regression/usbx_ux_device_class_hid_report_set_test.c b/test/regression/usbx_ux_device_class_hid_report_set_test.c
index 3210f0c..8ac319e 100644
--- a/test/regression/usbx_ux_device_class_hid_report_set_test.c
+++ b/test/regression/usbx_ux_device_class_hid_report_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on ux_device_class_hid_report_set(), specifically when the report
id is non-zero and the report to set is larger than the device's event buffer length. */
diff --git a/test/regression/usbx_ux_device_class_hid_report_set_test2.c b/test/regression/usbx_ux_device_class_hid_report_set_test2.c
index 01c7027..947555d 100644
--- a/test/regression/usbx_ux_device_class_hid_report_set_test2.c
+++ b/test/regression/usbx_ux_device_class_hid_report_set_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: if (hid -> ux_device_class_hid_callback != UX_NULL) fails. **/
/** How: Do hid_parameter.ux_device_class_hid_parameter_callback = UX_NULL; before passing hid_parameter to device class register function. **/
diff --git a/test/regression/usbx_ux_device_class_hid_report_test.c b/test/regression/usbx_ux_device_class_hid_report_test.c
index 92a6a77..f1a9983 100644
--- a/test/regression/usbx_ux_device_class_hid_report_test.c
+++ b/test/regression/usbx_ux_device_class_hid_report_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_device_class_hid API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_device_class_hid_set_protocol_callback_test.c b/test/regression/usbx_ux_device_class_hid_set_protocol_callback_test.c
new file mode 100644
index 0000000..9386c1d
--- /dev/null
+++ b/test/regression/usbx_ux_device_class_hid_set_protocol_callback_test.c
@@ -0,0 +1,476 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
+/* This test focuses on HID device class protocol set/get functionality and related callbacks. */
+
+#include <stdio.h>
+#include "tx_api.h"
+#include "ux_api.h"
+#include "ux_system.h"
+#include "ux_utility.h"
+#include "ux_host_class_hid.h"
+#include "ux_host_class_hid_keyboard.h"
+#include "ux_device_class_hid.h"
+#include "ux_device_stack.h"
+#include "usbx_test_common_hid.h"
+
+/* Define constants. */
+#define UX_DEMO_DEBUG_SIZE (4096*8)
+#define UX_DEMO_STACK_SIZE 1024
+
+/* Define local/extern function prototypes. */
+static void demo_thread_entry(ULONG);
+static UINT demo_thread_hid_callback(UX_SLAVE_CLASS_HID *, UX_SLAVE_CLASS_HID_EVENT *);
+static VOID demo_set_protocol_callback(UX_SLAVE_CLASS_HID *hid, ULONG protocol);
+static TX_THREAD tx_demo_thread_host_simulation;
+static void tx_demo_thread_host_simulation_entry(ULONG);
+
+/* Define global data structures. */
+static UX_HOST_CLASS_HID *hid;
+static UINT status;
+
+static UX_SLAVE_CLASS_HID_PARAMETER hid_parameter;
+
+static volatile UINT g_set_protocol_callback_calls = 0;
+static volatile ULONG g_set_protocol_last_value = 0xFFFFFFFFu;
+
+USHORT host_protocol;
+
+static UCHAR hid_keyboard_report[] = {
+
+ 0x05, 0x01, // USAGE_PAGE (Generic Desktop)
+ 0x09, 0x06, // USAGE (Keyboard)
+ 0xa1, 0x01, // COLLECTION (Application)
+ 0x05, 0x07, // USAGE_PAGE (Keyboard)
+ 0x19, 0xe0, // USAGE_MINIMUM (Keyboard LeftControl)
+ 0x29, 0xe7, // USAGE_MAXIMUM (Keyboard Right GUI)
+ 0x15, 0x00, // LOGICAL_MINIMUM (0)
+ 0x25, 0x01, // LOGICAL_MAXIMUM (1)
+ 0x75, 0x01, // REPORT_SIZE (1)
+ 0x95, 0x08, // REPORT_COUNT (8)
+ 0x81, 0x02, // INPUT (Data,Var,Abs)
+ 0x09, 0x39, // USAGE (Caps Lock)
+ 0x09, 0x53, // USAGE (Num Lock)
+ 0x09, 0x47, // USAGE (Scroll Lock)
+ 0x75, 0x01, // REPORT_SIZE (1)
+ 0x95, 0x03, // REPORT_COUNT (3)
+ 0x81, 0x02, // INPUT (Data,Var,Abs)
+ 0x95, 0x01, // REPORT_COUNT (1)
+ 0x75, 0x05, // REPORT_SIZE (5)
+ 0x81, 0x03, // INPUT (Cnst,Var,Abs)
+ 0x95, 0x05, // REPORT_COUNT (5)
+ 0x75, 0x01, // REPORT_SIZE (1)
+ 0x05, 0x08, // USAGE_PAGE (LEDs)
+ 0x19, 0x01, // USAGE_MINIMUM (Num Lock)
+ 0x29, 0x05, // USAGE_MAXIMUM (Kana)
+ 0x91, 0x02, // OUTPUT (Data,Var,Abs)
+ 0x95, 0x01, // REPORT_COUNT (1)
+ 0x75, 0x03, // REPORT_SIZE (3)
+ 0x91, 0x03, // OUTPUT (Cnst,Var,Abs)
+ 0x95, 0x06, // REPORT_COUNT (6)
+ 0x75, 0x08, // REPORT_SIZE (8)
+ 0x15, 0x00, // LOGICAL_MINIMUM (0)
+ 0x25, 0x65, // LOGICAL_MAXIMUM (101)
+ 0x05, 0x07, // USAGE_PAGE (Keyboard)
+ 0x19, 0x00, // USAGE_MINIMUM (Reserved (no event indicated))
+ 0x29, 0x65, // USAGE_MAXIMUM (Keyboard Application)
+ 0x81, 0x00, // INPUT (Data,Ary,Abs)
+ 0xc0 // END_COLLECTION
+};
+#define HID_KEYBOARD_REPORT_LENGTH (sizeof(hid_keyboard_report) / sizeof(hid_keyboard_report[0]))
+
+
+#define DEVICE_FRAMEWORK_LENGTH_FULL_SPEED 52
+static UCHAR device_framework_full_speed[] = {
+
+ /* Device descriptor */
+ 0x12, 0x01, 0x10, 0x01, 0x00, 0x00, 0x00, 0x08,
+ 0x81, 0x0A, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00,
+ 0x00, 0x01,
+
+ /* Configuration descriptor */
+ 0x09, 0x02, 0x22, 0x00, 0x01, 0x01, 0x00, 0xc0,
+ 0x32,
+
+ /* Interface descriptor */
+ 0x09, 0x04, 0x00, 0x00, 0x01, 0x03, 0x01, 0x02,
+ 0x00,
+
+ /* HID descriptor */
+ 0x09, 0x21, 0x10, 0x01, 0x21, 0x01, 0x22, LSB(HID_KEYBOARD_REPORT_LENGTH),
+ MSB(HID_KEYBOARD_REPORT_LENGTH),
+
+ /* Endpoint descriptor (Interrupt) */
+ 0x07, 0x05, 0x82, 0x03, 0x08, 0x00, 0x08
+
+ };
+
+
+#define DEVICE_FRAMEWORK_LENGTH_HIGH_SPEED 62
+static UCHAR device_framework_high_speed[] = {
+
+ /* Device descriptor */
+ 0x12, 0x01, 0x00, 0x02, 0x00, 0x00, 0x00, 0x40,
+ 0x0a, 0x07, 0x25, 0x40, 0x01, 0x00, 0x01, 0x02,
+ 0x03, 0x01,
+
+ /* Device qualifier descriptor */
+ 0x0a, 0x06, 0x00, 0x02, 0x00, 0x00, 0x00, 0x40,
+ 0x01, 0x00,
+
+ /* Configuration descriptor */
+ 0x09, 0x02, 0x22, 0x00, 0x01, 0x01, 0x00, 0xc0,
+ 0x32,
+
+ /* Interface descriptor */
+ 0x09, 0x04, 0x00, 0x00, 0x01, 0x03, 0x01, 0x02,
+ 0x00,
+
+ /* HID descriptor */
+ 0x09, 0x21, 0x10, 0x01, 0x21, 0x01, 0x22, LSB(HID_KEYBOARD_REPORT_LENGTH),
+ MSB(HID_KEYBOARD_REPORT_LENGTH),
+
+ /* Endpoint descriptor (Interrupt) */
+ 0x07, 0x05, 0x82, 0x03, 0x08, 0x00, 0x08
+
+ };
+
+
+ /* String Device Framework :
+ Byte 0 and 1 : Word containing the language ID : 0x0904 for US
+ Byte 2 : Byte containing the index of the descriptor
+ Byte 3 : Byte containing the length of the descriptor string
+ */
+
+#define STRING_FRAMEWORK_LENGTH 40
+static UCHAR string_framework[] = {
+
+ /* Manufacturer string descriptor : Index 1 */
+ 0x09, 0x04, 0x01, 0x0c,
+ 0x45, 0x78, 0x70, 0x72,0x65, 0x73, 0x20, 0x4c,
+ 0x6f, 0x67, 0x69, 0x63,
+
+ /* Product string descriptor : Index 2 */
+ 0x09, 0x04, 0x02, 0x0c,
+ 0x55, 0x53, 0x42, 0x20, 0x4b, 0x65, 0x79, 0x62,
+ 0x6f, 0x61, 0x72, 0x64,
+
+ /* Serial Number string descriptor : Index 3 */
+ 0x09, 0x04, 0x03, 0x04,
+ 0x30, 0x30, 0x30, 0x31
+ };
+
+
+ /* Multiple languages are supported on the device, to add
+ a language besides english, the unicode language code must
+ be appended to the language_id_framework array and the length
+ adjusted accordingly. */
+#define LANGUAGE_ID_FRAMEWORK_LENGTH 2
+static UCHAR language_id_framework[] = {
+
+ /* English. */
+ 0x09, 0x04
+ };
+
+
+
+/* Define the ISR dispatch. */
+
+extern VOID (*test_isr_dispatch)(void);
+
+
+/* Prototype for test control return. */
+
+void test_control_return(UINT status);
+
+
+/* Define the ISR dispatch routine. */
+
+static void test_isr(void)
+{
+
+ /* For further expansion of interrupt-level testing. */
+}
+
+
+
+static VOID error_callback(UINT system_level, UINT system_context, UINT error_code)
+{
+
+ /* @BUG_FIX_PENDING: ux_dcd_sim_slave_function.c doesn't support transfer aborts, which happen during device unregistration of a class. */
+ if (error_code != UX_FUNCTION_NOT_SUPPORTED)
+ {
+
+ /* Failed test. */
+ printf("Error on line %d, system_level: %d, system_context: %d, error code: %d\n", __LINE__, system_level, system_context, error_code);
+ test_control_return(1);
+ }
+}
+
+/* Define what the initial system looks like. */
+
+#ifdef CTEST
+void test_application_define(void *first_unused_memory)
+#else
+void usbx_ux_device_class_hid_set_protocol_callback_test_application_define(void *first_unused_memory)
+#endif
+{
+
+UINT status;
+CHAR * stack_pointer;
+CHAR * memory_pointer;
+UINT descriptor_size = HID_KEYBOARD_REPORT_LENGTH;
+
+ /* Inform user. */
+ printf("Running HID Set/Get Protocol Callback Test......................... ");
+
+ /* Initialize the free memory pointer */
+ stack_pointer = (CHAR *) usbx_memory;
+ memory_pointer = stack_pointer + (UX_DEMO_STACK_SIZE * 2);
+
+ /* Initialize USBX. Memory */
+ status = ux_system_initialize(memory_pointer, UX_DEMO_MEMORY_SIZE, UX_NULL,0);
+
+ /* Check for error. */
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Register the error callback. */
+ _ux_utility_error_callback_register(error_callback);
+
+ /* The code below is required for installing the host portion of USBX */
+ status = ux_host_stack_initialize(UX_NULL);
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ status = ux_host_stack_class_register(_ux_system_host_class_hid_name, ux_host_class_hid_entry);
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Register the HID client(s). */
+ status = ux_host_class_hid_client_register(_ux_system_host_class_hid_client_keyboard_name, ux_host_class_hid_keyboard_entry);
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* The code below is required for installing the device portion of USBX. No call back for
+ device status change in this example. */
+ status = ux_device_stack_initialize(device_framework_high_speed, DEVICE_FRAMEWORK_LENGTH_HIGH_SPEED,
+ device_framework_full_speed, DEVICE_FRAMEWORK_LENGTH_FULL_SPEED,
+ string_framework, STRING_FRAMEWORK_LENGTH,
+ language_id_framework, LANGUAGE_ID_FRAMEWORK_LENGTH, UX_NULL);
+ if(status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Initialize the hid class parameters for a keyboard. */
+ hid_parameter.ux_device_class_hid_parameter_report_address = hid_keyboard_report;
+ hid_parameter.ux_device_class_hid_parameter_report_length = HID_KEYBOARD_REPORT_LENGTH;
+ hid_parameter.ux_device_class_hid_parameter_callback = demo_thread_hid_callback;
+ hid_parameter.ux_device_class_hid_parameter_set_protocol_callback = demo_set_protocol_callback;
+
+ /* Initialize the device hid class. The class is connected with interface 2 */
+ status = ux_device_stack_class_register(_ux_system_slave_class_hid_name, ux_device_class_hid_entry,
+ 1, 0, (VOID *)&hid_parameter);
+ if(status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+
+ /* Initialize the simulated device controller. */
+ status = _ux_dcd_sim_slave_initialize();
+
+ /* Check for error. */
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Register all the USB host controllers available in this system */
+ status = ux_host_stack_hcd_register(_ux_system_host_hcd_simulator_name, ux_hcd_sim_host_initialize,0,0);
+
+ /* Check for error. */
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Create the main host simulation thread. */
+ status = tx_thread_create(&tx_demo_thread_host_simulation, "tx demo host simulation", tx_demo_thread_host_simulation_entry, 0,
+ stack_pointer, UX_DEMO_STACK_SIZE,
+ 20, 20, 1, TX_AUTO_START);
+
+ /* Check for error. */
+ if (status != TX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+}
+
+
+static void tx_demo_thread_host_simulation_entry(ULONG arg)
+{
+UX_SLAVE_DEVICE *device;
+UX_SLAVE_INTERFACE *interface;
+UX_SLAVE_CLASS_HID *slave_hid;
+UINT status;
+
+ device = &_ux_system_slave -> ux_system_slave_device;
+
+ /* Ensure device is configured before accessing interfaces. */
+ while (device -> ux_slave_device_state != UX_DEVICE_CONFIGURED)
+ tx_thread_sleep(10);
+
+ /* Retrieve the HID class instance from the configured interface. */
+ interface = device -> ux_slave_device_first_interface;
+ if (interface == UX_NULL || interface -> ux_slave_interface_class_instance == UX_NULL)
+ {
+ printf("Error on line %d, device interface/class not ready\n", __LINE__);
+ test_control_return(1);
+ }
+ slave_hid = interface -> ux_slave_interface_class_instance;
+
+ /* Find the HID class */
+ status = demo_class_hid_get();
+ if (status != UX_SUCCESS)
+ {
+
+ printf("Error on line %d, error code: %d\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Sanity: default protocol is report (1). */
+ if (ux_device_class_hid_protocol_get(slave_hid) != UX_DEVICE_CLASS_HID_PROTOCOL_REPORT)
+ {
+ printf("Error on line %d, protocol not default report\n", __LINE__);
+ test_control_return(1);
+ }
+
+
+ status = ux_host_class_hid_protocol_get(hid, &host_protocol);
+ if (status != UX_SUCCESS && status != UX_TRANSFER_STALLED)
+ {
+ printf("Error on line %d, error code: 0x%x\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ /* Default protocol is report 1. */
+ if (status == UX_SUCCESS && host_protocol != UX_HOST_CLASS_HID_PROTOCOL_REPORT)
+ {
+ printf("Error on line %d, host get protocol not report\n", __LINE__);
+ test_control_return(1);
+ }
+
+ /* Issue SET_PROTOCOL to BOOT (0). */
+ status = ux_host_class_hid_protocol_set(hid, UX_HOST_CLASS_HID_PROTOCOL_BOOT);
+ if (status != UX_SUCCESS && status != UX_TRANSFER_STALLED)
+ {
+ printf("Error on line %d, error code: 0x%x\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ status = ux_host_class_hid_protocol_get(hid, &host_protocol);
+
+ if (g_set_protocol_callback_calls < 1 ||
+ g_set_protocol_last_value != 0 ||
+ host_protocol != UX_HOST_CLASS_HID_PROTOCOL_BOOT)
+ {
+ printf("Error on line %d, callback verification failed (calls=%u, val=%lu)\n",
+ __LINE__, g_set_protocol_callback_calls, g_set_protocol_last_value);
+ test_control_return(1);
+ }
+
+ if (ux_device_class_hid_protocol_get(slave_hid) != UX_DEVICE_CLASS_HID_PROTOCOL_BOOT)
+ {
+ printf("Error on line %d, protocol not set to boot\n", __LINE__);
+ test_control_return(1);
+ }
+
+ /* Issue SET_PROTOCOL to REPORT (1). */
+ status = ux_host_class_hid_protocol_set(hid, UX_HOST_CLASS_HID_PROTOCOL_REPORT);
+ if (status != UX_SUCCESS && status != UX_TRANSFER_STALLED)
+ {
+ printf("Error on line %d, error code: 0x%x\n", __LINE__, status);
+ test_control_return(1);
+ }
+
+ status = ux_host_class_hid_protocol_get(hid, &host_protocol);
+
+ if (g_set_protocol_callback_calls < 2 ||
+ g_set_protocol_last_value != 1 ||
+ host_protocol != UX_HOST_CLASS_HID_PROTOCOL_REPORT)
+ {
+ printf("Error on line %d, callback verification failed (calls=%u, val=%lu)\n",
+ __LINE__, g_set_protocol_callback_calls, g_set_protocol_last_value);
+ test_control_return(1);
+ }
+
+ if (ux_device_class_hid_protocol_get(slave_hid) != UX_DEVICE_CLASS_HID_PROTOCOL_REPORT)
+ {
+ printf("Error on line %d, protocol not set to report\n", __LINE__);
+ test_control_return(1);
+ }
+
+
+ /* Now disconnect the device. */
+ _ux_device_stack_disconnect();
+
+ /* And deinitialize the class. */
+ status = ux_device_stack_class_unregister(_ux_system_slave_class_hid_name, ux_device_class_hid_entry);
+
+ /* Deinitialize the device side of usbx. */
+ _ux_device_stack_uninitialize();
+
+ /* And finally the usbx system resources. */
+ _ux_system_uninitialize();
+
+ /* Successful test. */
+ printf("SUCCESS!\n");
+ test_control_return(0);
+}
+
+static UINT demo_thread_hid_callback(UX_SLAVE_CLASS_HID *class, UX_SLAVE_CLASS_HID_EVENT *event)
+{
+ return(UX_SUCCESS);
+}
+
+static VOID demo_set_protocol_callback(UX_SLAVE_CLASS_HID *hid, ULONG protocol)
+{
+ g_set_protocol_callback_calls++;
+ g_set_protocol_last_value = protocol;
+}
diff --git a/test/regression/usbx_ux_device_class_hid_uninitialize_test.c b/test/regression/usbx_ux_device_class_hid_uninitialize_test.c
index 1dfe9ec..5c57d8a 100644
--- a/test/regression/usbx_ux_device_class_hid_uninitialize_test.c
+++ b/test/regression/usbx_ux_device_class_hid_uninitialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_class_hid_wMaxPacketSize_test.c b/test/regression/usbx_ux_device_class_hid_wMaxPacketSize_test.c
index 2dd87e7..ca454be 100644
--- a/test/regression/usbx_ux_device_class_hid_wMaxPacketSize_test.c
+++ b/test/regression/usbx_ux_device_class_hid_wMaxPacketSize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the
* _ux_device_class_hid_control_request
* _ux_device_class_hid_interrupt_thread
diff --git a/test/regression/usbx_ux_device_class_storage_control_request_test.c b/test/regression/usbx_ux_device_class_storage_control_request_test.c
index 483f691..2c5ca61 100644
--- a/test/regression/usbx_ux_device_class_storage_control_request_test.c
+++ b/test/regression/usbx_ux_device_class_storage_control_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_entry_test.c b/test/regression/usbx_ux_device_class_storage_entry_test.c
index 4758b97..8377809 100644
--- a/test/regression/usbx_ux_device_class_storage_entry_test.c
+++ b/test/regression/usbx_ux_device_class_storage_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_format_test.c b/test/regression/usbx_ux_device_class_storage_format_test.c
index 06f3160..fa2b39e 100644
--- a/test/regression/usbx_ux_device_class_storage_format_test.c
+++ b/test/regression/usbx_ux_device_class_storage_format_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_initialize_test.c b/test/regression/usbx_ux_device_class_storage_initialize_test.c
index 8058107..031a9a4 100644
--- a/test/regression/usbx_ux_device_class_storage_initialize_test.c
+++ b/test/regression/usbx_ux_device_class_storage_initialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_inquiry_test.c b/test/regression/usbx_ux_device_class_storage_inquiry_test.c
index 03c64da..32972c5 100644
--- a/test/regression/usbx_ux_device_class_storage_inquiry_test.c
+++ b/test/regression/usbx_ux_device_class_storage_inquiry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_invalid_lun_test.c b/test/regression/usbx_ux_device_class_storage_invalid_lun_test.c
index b691bb3..69198c4 100644
--- a/test/regression/usbx_ux_device_class_storage_invalid_lun_test.c
+++ b/test/regression/usbx_ux_device_class_storage_invalid_lun_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_media_start_stop_test.c b/test/regression/usbx_ux_device_class_storage_media_start_stop_test.c
index 4dc9621..af10906 100644
--- a/test/regression/usbx_ux_device_class_storage_media_start_stop_test.c
+++ b/test/regression/usbx_ux_device_class_storage_media_start_stop_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to cover ux_slave_class_storage_media_start_stop callback handling. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_mode_select_test.c b/test/regression/usbx_ux_device_class_storage_mode_select_test.c
index 05548c6..e4e98ea 100644
--- a/test/regression/usbx_ux_device_class_storage_mode_select_test.c
+++ b/test/regression/usbx_ux_device_class_storage_mode_select_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_mode_sense_test.c b/test/regression/usbx_ux_device_class_storage_mode_sense_test.c
index d7e5f6f..0dd8f4f 100644
--- a/test/regression/usbx_ux_device_class_storage_mode_sense_test.c
+++ b/test/regression/usbx_ux_device_class_storage_mode_sense_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_prevent_allow_media_removal_test.c b/test/regression/usbx_ux_device_class_storage_prevent_allow_media_removal_test.c
index 66429d4..31c7291 100644
--- a/test/regression/usbx_ux_device_class_storage_prevent_allow_media_removal_test.c
+++ b/test/regression/usbx_ux_device_class_storage_prevent_allow_media_removal_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_read_test.c b/test/regression/usbx_ux_device_class_storage_read_test.c
index 57d9425..e689ddd 100644
--- a/test/regression/usbx_ux_device_class_storage_read_test.c
+++ b/test/regression/usbx_ux_device_class_storage_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_request_sense_coverage_test.c b/test/regression/usbx_ux_device_class_storage_request_sense_coverage_test.c
index 869f0f6..09179cf 100644
--- a/test/regression/usbx_ux_device_class_storage_request_sense_coverage_test.c
+++ b/test/regression/usbx_ux_device_class_storage_request_sense_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_device_class_storage_request_sense_test.c b/test/regression/usbx_ux_device_class_storage_request_sense_test.c
index 5cedef8..b210282 100644
--- a/test/regression/usbx_ux_device_class_storage_request_sense_test.c
+++ b/test/regression/usbx_ux_device_class_storage_request_sense_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_start_stop_test.c b/test/regression/usbx_ux_device_class_storage_start_stop_test.c
index bf432b6..fe0a164 100644
--- a/test/regression/usbx_ux_device_class_storage_start_stop_test.c
+++ b/test/regression/usbx_ux_device_class_storage_start_stop_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_synchronize_cache_test.c b/test/regression/usbx_ux_device_class_storage_synchronize_cache_test.c
index 6a5eb0f..57bb9b0 100644
--- a/test/regression/usbx_ux_device_class_storage_synchronize_cache_test.c
+++ b/test/regression/usbx_ux_device_class_storage_synchronize_cache_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_test_ready_test.c b/test/regression/usbx_ux_device_class_storage_test_ready_test.c
index 014cb16..1213b1c 100644
--- a/test/regression/usbx_ux_device_class_storage_test_ready_test.c
+++ b/test/regression/usbx_ux_device_class_storage_test_ready_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_thread_test.c b/test/regression/usbx_ux_device_class_storage_thread_test.c
index dfd33d8..553bb9e 100644
--- a/test/regression/usbx_ux_device_class_storage_thread_test.c
+++ b/test/regression/usbx_ux_device_class_storage_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_uninitialize_test.c b/test/regression/usbx_ux_device_class_storage_uninitialize_test.c
index dc0b526..d6f366c 100644
--- a/test/regression/usbx_ux_device_class_storage_uninitialize_test.c
+++ b/test/regression/usbx_ux_device_class_storage_uninitialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_vendor_strings_test.c b/test/regression/usbx_ux_device_class_storage_vendor_strings_test.c
index cccc6ed..b729ce9 100644
--- a/test/regression/usbx_ux_device_class_storage_vendor_strings_test.c
+++ b/test/regression/usbx_ux_device_class_storage_vendor_strings_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_verify_test.c b/test/regression/usbx_ux_device_class_storage_verify_test.c
index ec68787..96a0fdc 100644
--- a/test/regression/usbx_ux_device_class_storage_verify_test.c
+++ b/test/regression/usbx_ux_device_class_storage_verify_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_storage_write_test.c b/test/regression/usbx_ux_device_class_storage_write_test.c
index 7d2aa06..cb4a4e0 100644
--- a/test/regression/usbx_ux_device_class_storage_write_test.c
+++ b/test/regression/usbx_ux_device_class_storage_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_class_video_basic_tests.c b/test/regression/usbx_ux_device_class_video_basic_tests.c
index 6ee0ffe..27c3c62 100644
--- a/test/regression/usbx_ux_device_class_video_basic_tests.c
+++ b/test/regression/usbx_ux_device_class_video_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple video host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_alternate_setting_get_test.c b/test/regression/usbx_ux_device_stack_alternate_setting_get_test.c
index b99b1d6..701748d 100644
--- a/test/regression/usbx_ux_device_stack_alternate_setting_get_test.c
+++ b/test/regression/usbx_ux_device_stack_alternate_setting_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_alternate_setting_get. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_alternate_setting_set_test.c b/test/regression/usbx_ux_device_stack_alternate_setting_set_test.c
index 7ee1807..03e947b 100644
--- a/test/regression/usbx_ux_device_stack_alternate_setting_set_test.c
+++ b/test/regression/usbx_ux_device_stack_alternate_setting_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_alternate_setting_set. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_bos_test.c b/test/regression/usbx_ux_device_stack_bos_test.c
index 1393b16..4ff81fe 100644
--- a/test/regression/usbx_ux_device_stack_bos_test.c
+++ b/test/regression/usbx_ux_device_stack_bos_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the BOS. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_class_control_request_test.c b/test/regression/usbx_ux_device_stack_class_control_request_test.c
index d2e2710..c413133 100644
--- a/test/regression/usbx_ux_device_stack_class_control_request_test.c
+++ b/test/regression/usbx_ux_device_stack_class_control_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_device_stack_class_register_test.c b/test/regression/usbx_ux_device_stack_class_register_test.c
index 1dd2785..37c55fb 100644
--- a/test/regression/usbx_ux_device_stack_class_register_test.c
+++ b/test/regression/usbx_ux_device_stack_class_register_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_class_register. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_class_unregister_test.c b/test/regression/usbx_ux_device_stack_class_unregister_test.c
index 275f192..2b0af4c 100644
--- a/test/regression/usbx_ux_device_stack_class_unregister_test.c
+++ b/test/regression/usbx_ux_device_stack_class_unregister_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_class_unregister. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_clear_feature_coverage_test.c b/test/regression/usbx_ux_device_stack_clear_feature_coverage_test.c
index bc4c180..6a57ffa 100644
--- a/test/regression/usbx_ux_device_stack_clear_feature_coverage_test.c
+++ b/test/regression/usbx_ux_device_stack_clear_feature_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_device_stack_configuration_set_test.c b/test/regression/usbx_ux_device_stack_configuration_set_test.c
index 6707e39..0cd0118 100644
--- a/test/regression/usbx_ux_device_stack_configuration_set_test.c
+++ b/test/regression/usbx_ux_device_stack_configuration_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_configuration_set. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_control_request_process_coverage_test.c b/test/regression/usbx_ux_device_stack_control_request_process_coverage_test.c
index 18fe33f..b3fc957 100644
--- a/test/regression/usbx_ux_device_stack_control_request_process_coverage_test.c
+++ b/test/regression/usbx_ux_device_stack_control_request_process_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_device_stack_control_request_process_test.c b/test/regression/usbx_ux_device_stack_control_request_process_test.c
index 7c38523..8e3af77 100644
--- a/test/regression/usbx_ux_device_stack_control_request_process_test.c
+++ b/test/regression/usbx_ux_device_stack_control_request_process_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_control_request_process. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_descriptor_send_test.c b/test/regression/usbx_ux_device_stack_descriptor_send_test.c
index 3cafba5..6de7006 100644
--- a/test/regression/usbx_ux_device_stack_descriptor_send_test.c
+++ b/test/regression/usbx_ux_device_stack_descriptor_send_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_device_stack_endpoint_stall_test.c b/test/regression/usbx_ux_device_stack_endpoint_stall_test.c
index d721b1e..72f0c02 100644
--- a/test/regression/usbx_ux_device_stack_endpoint_stall_test.c
+++ b/test/regression/usbx_ux_device_stack_endpoint_stall_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_endpoint_stall. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_get_status_test.c b/test/regression/usbx_ux_device_stack_get_status_test.c
index 2c83db0..0e5a733 100644
--- a/test/regression/usbx_ux_device_stack_get_status_test.c
+++ b/test/regression/usbx_ux_device_stack_get_status_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_get_status. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_initialize_test.c b/test/regression/usbx_ux_device_stack_initialize_test.c
index 4e215ba..d236741 100644
--- a/test/regression/usbx_ux_device_stack_initialize_test.c
+++ b/test/regression/usbx_ux_device_stack_initialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_initialize */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_interface_delete_test.c b/test/regression/usbx_ux_device_stack_interface_delete_test.c
index 5bab843..9ea40a6 100644
--- a/test/regression/usbx_ux_device_stack_interface_delete_test.c
+++ b/test/regression/usbx_ux_device_stack_interface_delete_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_interface_delete. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_interface_set_test.c b/test/regression/usbx_ux_device_stack_interface_set_test.c
index 12c45bb..b72625a 100644
--- a/test/regression/usbx_ux_device_stack_interface_set_test.c
+++ b/test/regression/usbx_ux_device_stack_interface_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_interface_set. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_interface_start_test.c b/test/regression/usbx_ux_device_stack_interface_start_test.c
index 3e325ea..b004aa9 100644
--- a/test/regression/usbx_ux_device_stack_interface_start_test.c
+++ b/test/regression/usbx_ux_device_stack_interface_start_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_interface_start. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_remote_wakeup_test.c b/test/regression/usbx_ux_device_stack_remote_wakeup_test.c
index 98b0524..2724a0b 100644
--- a/test/regression/usbx_ux_device_stack_remote_wakeup_test.c
+++ b/test/regression/usbx_ux_device_stack_remote_wakeup_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_set_feature_test.c b/test/regression/usbx_ux_device_stack_set_feature_test.c
index bd9aa85..7d6e2b0 100644
--- a/test/regression/usbx_ux_device_stack_set_feature_test.c
+++ b/test/regression/usbx_ux_device_stack_set_feature_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_transfer_request. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_standard_request_tests.c b/test/regression/usbx_ux_device_stack_standard_request_tests.c
index c7eafe6..0b08198 100644
--- a/test/regression/usbx_ux_device_stack_standard_request_tests.c
+++ b/test/regression/usbx_ux_device_stack_standard_request_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_transfer_request_test.c b/test/regression/usbx_ux_device_stack_transfer_request_test.c
index 7a54d10..ead5f7d 100644
--- a/test/regression/usbx_ux_device_stack_transfer_request_test.c
+++ b/test/regression/usbx_ux_device_stack_transfer_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_device_stack_transfer_request. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_device_stack_vendor_request_test.c b/test/regression/usbx_ux_device_stack_vendor_request_test.c
index 01321e4..099714e 100644
--- a/test/regression/usbx_ux_device_stack_vendor_request_test.c
+++ b/test/regression/usbx_ux_device_stack_vendor_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_basic_memory_tests.c b/test/regression/usbx_ux_host_basic_memory_tests.c
index 07ac7cb..3f94e6e 100644
--- a/test/regression/usbx_ux_host_basic_memory_tests.c
+++ b/test/regression/usbx_ux_host_basic_memory_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_activate_test.c b/test/regression/usbx_ux_host_class_cdc_acm_activate_test.c
index 4c482d4..dca75cf 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_activate_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_capabilities_get_test.c b/test/regression/usbx_ux_host_class_cdc_acm_capabilities_get_test.c
index 3d1a9cd..c656adc 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_capabilities_get_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_capabilities_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_deactivate_test.c b/test/regression/usbx_ux_host_class_cdc_acm_deactivate_test.c
index e6ff5da..0fa09c3 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_deactivate_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_deactivate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_endpoints_get_test.c b/test/regression/usbx_ux_host_class_cdc_acm_endpoints_get_test.c
index 2ad1c22..5c3e79c 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_endpoints_get_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_endpoints_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_entry_test.c b/test/regression/usbx_ux_host_class_cdc_acm_entry_test.c
index 5cf7eed..6b52fdb 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_entry_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_read_test.c b/test/regression/usbx_ux_host_class_cdc_acm_read_test.c
index 13adb01..702ed17 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_read_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_transfer_request_completed_test.c b/test/regression/usbx_ux_host_class_cdc_acm_transfer_request_completed_test.c
index ecd8288..7856af3 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_transfer_request_completed_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_transfer_request_completed_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_acm_write_test.c b/test/regression/usbx_ux_host_class_cdc_acm_write_test.c
index e4c42f5..6d9992f 100644
--- a/test/regression/usbx_ux_host_class_cdc_acm_write_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_acm_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_cdc_ecm_activate_test.c b/test/regression/usbx_ux_host_class_cdc_ecm_activate_test.c
index 94ee382..3554d25 100644
--- a/test/regression/usbx_ux_host_class_cdc_ecm_activate_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_ecm_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Include necessary system files. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_host_class_cdc_ecm_entry_test.c b/test/regression/usbx_ux_host_class_cdc_ecm_entry_test.c
index 2b99d30..62f63e4 100644
--- a/test/regression/usbx_ux_host_class_cdc_ecm_entry_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_ecm_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the CDC-ECM entry function. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_host_class_cdc_ecm_interrupt_notification_test.c b/test/regression/usbx_ux_host_class_cdc_ecm_interrupt_notification_test.c
index c6928ed..1688fec 100644
--- a/test/regression/usbx_ux_host_class_cdc_ecm_interrupt_notification_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_ecm_interrupt_notification_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the _ux_host_class_cdc_ecm_interrupt_notification function. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_host_class_cdc_ecm_mac_address_get_test.c b/test/regression/usbx_ux_host_class_cdc_ecm_mac_address_get_test.c
index 6ba17db..d30edbe 100644
--- a/test/regression/usbx_ux_host_class_cdc_ecm_mac_address_get_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_ecm_mac_address_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the ux_host_class_cdc_ecm_mac_address_get function. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_host_class_cdc_ecm_transmission_callback_test.c b/test/regression/usbx_ux_host_class_cdc_ecm_transmission_callback_test.c
index 1867df8..cef8a87 100644
--- a/test/regression/usbx_ux_host_class_cdc_ecm_transmission_callback_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_ecm_transmission_callback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This functions tests the ux_host_class_cdc_ecm_transmission_callback API. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_host_class_cdc_ecm_write_test.c b/test/regression/usbx_ux_host_class_cdc_ecm_write_test.c
index ef2b93c..c58f244 100644
--- a/test/regression/usbx_ux_host_class_cdc_ecm_write_test.c
+++ b/test/regression/usbx_ux_host_class_cdc_ecm_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This functions tests the ux_host_class_cdc_ecm_write API. */
#include "usbx_ux_test_cdc_ecm.h"
diff --git a/test/regression/usbx_ux_host_class_hid_activate_test.c b/test/regression/usbx_ux_host_class_hid_activate_test.c
index 0067262..c564e4d 100644
--- a/test/regression/usbx_ux_host_class_hid_activate_test.c
+++ b/test/regression/usbx_ux_host_class_hid_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_activate(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_client_register_test.c b/test/regression/usbx_ux_host_class_hid_client_register_test.c
index 5a6fd37..4669310 100644
--- a/test/regression/usbx_ux_host_class_hid_client_register_test.c
+++ b/test/regression/usbx_ux_host_class_hid_client_register_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the ux_host_class_hid_client_register api. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_client_register_test2.c b/test/regression/usbx_ux_host_class_hid_client_register_test2.c
index 397bd84..662f577 100644
--- a/test/regression/usbx_ux_host_class_hid_client_register_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_client_register_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_client_search_test.c b/test/regression/usbx_ux_host_class_hid_client_search_test.c
index 043673d..4781680 100644
--- a/test/regression/usbx_ux_host_class_hid_client_search_test.c
+++ b/test/regression/usbx_ux_host_class_hid_client_search_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that USBX continues working when none of the registered HID clients match the device's report descriptor. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_configure_test.c b/test/regression/usbx_ux_host_class_hid_configure_test.c
index 22eefba..a9a2361 100644
--- a/test/regression/usbx_ux_host_class_hid_configure_test.c
+++ b/test/regression/usbx_ux_host_class_hid_configure_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_configure() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_deactivate_test.c b/test/regression/usbx_ux_host_class_hid_deactivate_test.c
index eaf23c5..7360f0f 100644
--- a/test/regression/usbx_ux_host_class_hid_deactivate_test.c
+++ b/test/regression/usbx_ux_host_class_hid_deactivate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_deactivate_test2.c b/test/regression/usbx_ux_host_class_hid_deactivate_test2.c
index 2870e4b..3325897 100644
--- a/test/regression/usbx_ux_host_class_hid_deactivate_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_deactivate_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_deactivate_test3.c b/test/regression/usbx_ux_host_class_hid_deactivate_test3.c
index 54ae5ca..cdc17c1 100644
--- a/test/regression/usbx_ux_host_class_hid_deactivate_test3.c
+++ b/test/regression/usbx_ux_host_class_hid_deactivate_test3.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_coverage_test.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_coverage_test.c
index b754b88..b124929 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_coverage_test.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test.c
index 1622d2c..9e45c86 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_descriptor_parse() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test2.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test2.c
index 0681da4..614da20 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_host_class_hid_descriptor_parse(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test3.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test3.c
index aa5c94a..ada83cd 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test3.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test3.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_host_class_hid_descriptor_parse(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test4.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test4.c
index 2bffc15..ca272b2 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test4.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test4.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_host_class_hid_descriptor_parse(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test5.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test5.c
index a62ecf1..cac0af7 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test5.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test5.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_host_class_hid_descriptor_parse(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test6.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test6.c
index 889434b..4d69951 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test6.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test6.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests _ux_host_class_hid_descriptor_parse(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test7.c b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test7.c
index 891b042..bd81ea6 100644
--- a/test/regression/usbx_ux_host_class_hid_descriptor_parse_test7.c
+++ b/test/regression/usbx_ux_host_class_hid_descriptor_parse_test7.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_entry_test.c b/test/regression/usbx_ux_host_class_hid_entry_test.c
index 2aa2b56..3219050 100644
--- a/test/regression/usbx_ux_host_class_hid_entry_test.c
+++ b/test/regression/usbx_ux_host_class_hid_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_idle_get_test.c b/test/regression/usbx_ux_host_class_hid_idle_get_test.c
index 0ccab4d..11f9b7a 100644
--- a/test/regression/usbx_ux_host_class_hid_idle_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_idle_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_idle_set_test.c b/test/regression/usbx_ux_host_class_hid_idle_set_test.c
index a990b1c..0213cdc 100644
--- a/test/regression/usbx_ux_host_class_hid_idle_set_test.c
+++ b/test/regression/usbx_ux_host_class_hid_idle_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_idle_set() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_int_out_test.c b/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_int_out_test.c
index 3d6cde3..2b30788 100644
--- a/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_int_out_test.c
+++ b/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_int_out_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_interrupt_endpoint_search for interrupt OUT endpoint. */
diff --git a/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test.c b/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test.c
index 9d1aa00..f902de0 100644
--- a/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test.c
+++ b/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_interrupt_endpoint_search() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test2.c b/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test2.c
index ed7631a..faa860d 100644
--- a/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_interrupt_endpoint_search_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_interrupt_endpoint_search. */
/**************************************************/
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_activate_test.c b/test/regression/usbx_ux_host_class_hid_keyboard_activate_test.c
index 5f8e192..e355e1c 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_activate_test.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
#include "tx_thread.h"
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_callback_test.c b/test/regression/usbx_ux_host_class_hid_keyboard_callback_test.c
index ab0465f..cbf2bbf 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_callback_test.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_callback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests focuses on code coverage of ux_host_class_hid_keyboard_callback. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_callback_test2.c b/test/regression/usbx_ux_host_class_hid_keyboard_callback_test2.c
index 084b10d..eb5c2c3 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_callback_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_callback_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: if (callback -> ux_host_class_hid_report_callback_value < UX_HID_KEYBOARD_KEYS_UPPER_RANGE) fails **/
/**************************************************/
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_entry_test.c b/test/regression/usbx_ux_host_class_hid_keyboard_entry_test.c
index f8d5773..a6f1d48 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_entry_test.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_keyboard_entry API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_ioctl_test.c b/test/regression/usbx_ux_host_class_hid_keyboard_ioctl_test.c
index 96b237f..0854125 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_ioctl_test.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_ioctl_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests that the host correctly receives the keys the device sends to it. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_thread_test.c b/test/regression/usbx_ux_host_class_hid_keyboard_thread_test.c
index 84b84db..53c079b 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_thread_test.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_thread_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ux_host_class_hid_keyboard_thread(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_keyboard_thread_test2.c b/test/regression/usbx_ux_host_class_hid_keyboard_thread_test2.c
index ff1550a..4ac9ba6 100644
--- a/test/regression/usbx_ux_host_class_hid_keyboard_thread_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_keyboard_thread_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: _ux_host_class_hid_report_id_get(hid, &report_id) fails **/
/** Why direct: In order to make _ux_host_class_hid_report_id_get() fail, we must either make _ux_host_stack_class_instance_verify fail, or **/
diff --git a/test/regression/usbx_ux_host_class_hid_local_item_parse_test.c b/test/regression/usbx_ux_host_class_hid_local_item_parse_test.c
index de52b3c..5a76e5b 100644
--- a/test/regression/usbx_ux_host_class_hid_local_item_parse_test.c
+++ b/test/regression/usbx_ux_host_class_hid_local_item_parse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test ensures that the parser generates an error upon encountering an invalid close delimiter tag. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_logitech_pro_x_superlight_test.c b/test/regression/usbx_ux_host_class_hid_logitech_pro_x_superlight_test.c
index b83af56..79e3ff1 100644
--- a/test/regression/usbx_ux_host_class_hid_logitech_pro_x_superlight_test.c
+++ b/test/regression/usbx_ux_host_class_hid_logitech_pro_x_superlight_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: The default case of switch (item -> ux_host_class_hid_item_report_tag). **/
/**************************************************/
diff --git a/test/regression/usbx_ux_host_class_hid_main_item_parse_test.c b/test/regression/usbx_ux_host_class_hid_main_item_parse_test.c
index 6310a20..af00664 100644
--- a/test/regression/usbx_ux_host_class_hid_main_item_parse_test.c
+++ b/test/regression/usbx_ux_host_class_hid_main_item_parse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: The default case of switch (item -> ux_host_class_hid_item_report_tag). **/
/**************************************************/
diff --git a/test/regression/usbx_ux_host_class_hid_main_item_parse_test2.c b/test/regression/usbx_ux_host_class_hid_main_item_parse_test2.c
index 86bcf18..1819597 100644
--- a/test/regression/usbx_ux_host_class_hid_main_item_parse_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_main_item_parse_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: hid_parser -> ux_host_class_hid_parser_main_usage == 0) fails in **/
/** if ((hid_parser -> ux_host_class_hid_parser_main_page == 0) && (hid_parser -> ux_host_class_hid_parser_main_usage == 0)) **/
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_activate_test.c b/test/regression/usbx_ux_host_class_hid_mouse_activate_test.c
index ac6ffd2..e1540e2 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_activate_test.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_activate API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_buttons_get_test.c b/test/regression/usbx_ux_host_class_hid_mouse_buttons_get_test.c
index aa99406..3088fe1 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_buttons_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_buttons_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_buttons_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_entry_test.c b/test/regression/usbx_ux_host_class_hid_mouse_entry_test.c
index 317155c..86a6fd7 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_entry_test.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_entry API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_entry_test2.c b/test/regression/usbx_ux_host_class_hid_mouse_entry_test2.c
index 1e5f1a7..a065f3b 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_entry_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_entry_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: command -> ux_host_class_hid_client_command_usage == UX_HOST_CLASS_HID_GENERIC_DESKTOP_MOUSE fails in
/** if ((command -> ux_host_class_hid_client_command_page == UX_HOST_CLASS_HID_PAGE_GENERIC_DESKTOP_CONTROLS) &&
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_entry_test3.c b/test/regression/usbx_ux_host_class_hid_mouse_entry_test3.c
index afc6ecd..5b51e9c 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_entry_test3.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_entry_test3.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: command -> ux_host_class_hid_client_command_page == UX_HOST_CLASS_HID_PAGE_GENERIC_DESKTOP_CONTROLS fails in
/** if ((command -> ux_host_class_hid_client_command_page == UX_HOST_CLASS_HID_PAGE_GENERIC_DESKTOP_CONTROLS) &&
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_positions_get_test.c b/test/regression/usbx_ux_host_class_hid_mouse_positions_get_test.c
index b8ecb9f..d4bad8d 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_positions_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_positions_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_positions_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_mouse_wheel_get_test.c b/test/regression/usbx_ux_host_class_hid_mouse_wheel_get_test.c
index ac452fc..ce997f2 100644
--- a/test/regression/usbx_ux_host_class_hid_mouse_wheel_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_mouse_wheel_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_mouse_wheel_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_periodic_report_start_test.c b/test/regression/usbx_ux_host_class_hid_periodic_report_start_test.c
index 7c775bf..013801d 100644
--- a/test/regression/usbx_ux_host_class_hid_periodic_report_start_test.c
+++ b/test/regression/usbx_ux_host_class_hid_periodic_report_start_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_periodic_report_start() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_periodic_report_start_test2.c b/test/regression/usbx_ux_host_class_hid_periodic_report_start_test2.c
index f1db8a8..8eae8aa 100644
--- a/test/regression/usbx_ux_host_class_hid_periodic_report_start_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_periodic_report_start_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_periodic_report_start() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_periodic_report_stop_test.c b/test/regression/usbx_ux_host_class_hid_periodic_report_stop_test.c
index 2b6d2ff..773d311 100644
--- a/test/regression/usbx_ux_host_class_hid_periodic_report_stop_test.c
+++ b/test/regression/usbx_ux_host_class_hid_periodic_report_stop_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_periodic_report_stop API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_activate_test.c b/test/regression/usbx_ux_host_class_hid_remote_control_activate_test.c
index 5da82a3..9b2cfd9 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_activate_test.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: _ux_host_class_hid_report_callback_register(hid, &call_back); fails AND it's status is checked **/
/** HOW: Have no input reports in the report descriptor. **/
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_activate_test2.c b/test/regression/usbx_ux_host_class_hid_remote_control_activate_test2.c
index 1aea4a9..259c360 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_activate_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_activate_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_remote_control.h"
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_callback_test.c b/test/regression/usbx_ux_host_class_hid_remote_control_callback_test.c
index 2e09e40..dd9a751 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_callback_test.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_callback_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests _ux_host_class_hid_remote_control_callback. */
/**************************************************/
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_entry_test.c b/test/regression/usbx_ux_host_class_hid_remote_control_entry_test.c
index 5b12e8e..c684d9f 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_entry_test.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_remote_control_entry API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_entry_test2.c b/test/regression/usbx_ux_host_class_hid_remote_control_entry_test2.c
index 3a3a445..fc7ca08 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_entry_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_entry_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: command -> ux_host_class_hid_client_command_page == UX_HOST_CLASS_HID_PAGE_CONSUMER fails in
/** if ((command -> ux_host_class_hid_client_command_page == UX_HOST_CLASS_HID_PAGE_CONSUMER) &&
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_entry_test3.c b/test/regression/usbx_ux_host_class_hid_remote_control_entry_test3.c
index 9c4bca8..c8ceec0 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_entry_test3.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_entry_test3.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: command -> ux_host_class_hid_client_command_usage == UX_HOST_CLASS_HID_CONSUMER_REMOTE_CONTROL fails in
/** if ((command -> ux_host_class_hid_client_command_page == UX_HOST_CLASS_HID_PAGE_CONSUMER) &&
diff --git a/test/regression/usbx_ux_host_class_hid_remote_control_usage_get_test.c b/test/regression/usbx_ux_host_class_hid_remote_control_usage_get_test.c
index 910f388..cc33432 100644
--- a/test/regression/usbx_ux_host_class_hid_remote_control_usage_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_remote_control_usage_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests the ux_host_class_hid_remote_control_usage_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_add_test.c b/test/regression/usbx_ux_host_class_hid_report_add_test.c
index f5b626c..d135743 100644
--- a/test/regression/usbx_ux_host_class_hid_report_add_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_add_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_report_add() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_callback_register_test.c b/test/regression/usbx_ux_host_class_hid_report_callback_register_test.c
index 05704fc..835a693 100644
--- a/test/regression/usbx_ux_host_class_hid_report_callback_register_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_callback_register_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_report_callback_register(). */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test.c b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test.c
index e1e650e..4138877 100644
--- a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/**************************************************/
/** Test case: default case of **/
/** switch(item.ux_host_class_hid_item_report_type) **/
diff --git a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test2.c b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test2.c
index a737ce2..65b049d 100644
--- a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test3.c b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test3.c
index 45fc8e9..50b8e28 100644
--- a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test3.c
+++ b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test3.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test4.c b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test4.c
index b81bb90..b8e01f7 100644
--- a/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test4.c
+++ b/test/regression/usbx_ux_host_class_hid_report_descriptor_get_test4.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_get_test.c b/test/regression/usbx_ux_host_class_hid_report_get_test.c
index e711e85..2cabf78 100644
--- a/test/regression/usbx_ux_host_class_hid_report_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the ux_host_class_hid_report_get API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_get_test2.c b/test/regression/usbx_ux_host_class_hid_report_get_test2.c
index a522402..9bbf951 100644
--- a/test/regression/usbx_ux_host_class_hid_report_get_test2.c
+++ b/test/regression/usbx_ux_host_class_hid_report_get_test2.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_id_get_test.c b/test/regression/usbx_ux_host_class_hid_report_id_get_test.c
index a3664ba..e915e84 100644
--- a/test/regression/usbx_ux_host_class_hid_report_id_get_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_id_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This file tests ux_host_class_hid_report_id_get() */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_set_int_out_test.c b/test/regression/usbx_ux_host_class_hid_report_set_int_out_test.c
index c09f536..5f839ca 100644
--- a/test/regression/usbx_ux_host_class_hid_report_set_int_out_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_set_int_out_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the ux_host_class_hid_report_set API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_report_set_test.c b/test/regression/usbx_ux_host_class_hid_report_set_test.c
index 37b25a3..35f02ce 100644
--- a/test/regression/usbx_ux_host_class_hid_report_set_test.c
+++ b/test/regression/usbx_ux_host_class_hid_report_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test concentrates on the ux_host_class_hid_report_set API. */
#include "usbx_test_common_hid.h"
diff --git a/test/regression/usbx_ux_host_class_hid_transfer_request_completed_test.c b/test/regression/usbx_ux_host_class_hid_transfer_request_completed_test.c
index e57c2c9..f3fcfbc 100644
--- a/test/regression/usbx_ux_host_class_hid_transfer_request_completed_test.c
+++ b/test/regression/usbx_ux_host_class_hid_transfer_request_completed_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "usbx_test_common_hid.h"
#include "ux_host_class_hid_keyboard.h"
diff --git a/test/regression/usbx_ux_host_class_hub_descriptor_get_coverage_test.c b/test/regression/usbx_ux_host_class_hub_descriptor_get_coverage_test.c
index 9117108..f8956ab 100644
--- a/test/regression/usbx_ux_host_class_hub_descriptor_get_coverage_test.c
+++ b/test/regression/usbx_ux_host_class_hub_descriptor_get_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_host_class_hub_entry_test.c b/test/regression/usbx_ux_host_class_hub_entry_test.c
index db59daa..0160151 100644
--- a/test/regression/usbx_ux_host_class_hub_entry_test.c
+++ b/test/regression/usbx_ux_host_class_hub_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the ux_host_class_hub_entry.c API. */
#include "usbx_ux_test_hub.h"
diff --git a/test/regression/usbx_ux_host_class_hub_status_get_test.c b/test/regression/usbx_ux_host_class_hub_status_get_test.c
index 5da0a4d..7fa996a 100644
--- a/test/regression/usbx_ux_host_class_hub_status_get_test.c
+++ b/test/regression/usbx_ux_host_class_hub_status_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the ux_host_class_hub_status_get.c API. */
#include "usbx_ux_test_hub.h"
diff --git a/test/regression/usbx_ux_host_class_hub_transfer_request_completed_test.c b/test/regression/usbx_ux_host_class_hub_transfer_request_completed_test.c
index f0ed89e..dda7b4d 100644
--- a/test/regression/usbx_ux_host_class_hub_transfer_request_completed_test.c
+++ b/test/regression/usbx_ux_host_class_hub_transfer_request_completed_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This tests the ux_host_class_hub_transfer_request_completed.c API. */
#include "usbx_ux_test_hub.h"
diff --git a/test/regression/usbx_ux_host_class_printer_basic_tests.c b/test/regression/usbx_ux_host_class_printer_basic_tests.c
index 322fb86..a81ca30 100644
--- a/test/regression/usbx_ux_host_class_printer_basic_tests.c
+++ b/test/regression/usbx_ux_host_class_printer_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_activate_test.c b/test/regression/usbx_ux_host_class_storage_activate_test.c
index e416d0c..663c4d1 100644
--- a/test/regression/usbx_ux_host_class_storage_activate_test.c
+++ b/test/regression/usbx_ux_host_class_storage_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_configure_coverage_test.c b/test/regression/usbx_ux_host_class_storage_configure_coverage_test.c
index 9707b3c..0f91f19 100644
--- a/test/regression/usbx_ux_host_class_storage_configure_coverage_test.c
+++ b/test/regression/usbx_ux_host_class_storage_configure_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_host_class_storage_configure_test.c b/test/regression/usbx_ux_host_class_storage_configure_test.c
index 00f433e..160b12a 100644
--- a/test/regression/usbx_ux_host_class_storage_configure_test.c
+++ b/test/regression/usbx_ux_host_class_storage_configure_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_device_initialize_test.c b/test/regression/usbx_ux_host_class_storage_device_initialize_test.c
index bc9c3a2..b700cd8 100644
--- a/test/regression/usbx_ux_host_class_storage_device_initialize_test.c
+++ b/test/regression/usbx_ux_host_class_storage_device_initialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_device_support_check_test.c b/test/regression/usbx_ux_host_class_storage_device_support_check_test.c
index 8126c0e..9b3ba07 100644
--- a/test/regression/usbx_ux_host_class_storage_device_support_check_test.c
+++ b/test/regression/usbx_ux_host_class_storage_device_support_check_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_driver_entry_test.c b/test/regression/usbx_ux_host_class_storage_driver_entry_test.c
index bd454d3..ab7ad86 100644
--- a/test/regression/usbx_ux_host_class_storage_driver_entry_test.c
+++ b/test/regression/usbx_ux_host_class_storage_driver_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_entry_test.c b/test/regression/usbx_ux_host_class_storage_entry_test.c
index a64739f..21eb995 100644
--- a/test/regression/usbx_ux_host_class_storage_entry_test.c
+++ b/test/regression/usbx_ux_host_class_storage_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_fats_exfat_test.c b/test/regression/usbx_ux_host_class_storage_fats_exfat_test.c
index 7ea5673..f907147 100644
--- a/test/regression/usbx_ux_host_class_storage_fats_exfat_test.c
+++ b/test/regression/usbx_ux_host_class_storage_fats_exfat_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_fx_driver.c b/test/regression/usbx_ux_host_class_storage_fx_driver.c
index 2dfea3b..bc6d256 100644
--- a/test/regression/usbx_ux_host_class_storage_fx_driver.c
+++ b/test/regression/usbx_ux_host_class_storage_fx_driver.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Implements FX driver entry if FX_MEDIA not integrated in UX Host Class Storage. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_max_lun_get_test.c b/test/regression/usbx_ux_host_class_storage_max_lun_get_test.c
index 7c1223c..b00e898 100644
--- a/test/regression/usbx_ux_host_class_storage_max_lun_get_test.c
+++ b/test/regression/usbx_ux_host_class_storage_max_lun_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_capacity_get_test.c b/test/regression/usbx_ux_host_class_storage_media_capacity_get_test.c
index 4a60893..e6cd6a2 100644
--- a/test/regression/usbx_ux_host_class_storage_media_capacity_get_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_capacity_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_get_test.c b/test/regression/usbx_ux_host_class_storage_media_get_test.c
index 13de5c8..5c9dd0f 100644
--- a/test/regression/usbx_ux_host_class_storage_media_get_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the storage host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_mount_test.c b/test/regression/usbx_ux_host_class_storage_media_mount_test.c
index 9bb1940..35009ad 100644
--- a/test/regression/usbx_ux_host_class_storage_media_mount_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_mount_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_open_test.c b/test/regression/usbx_ux_host_class_storage_media_open_test.c
index 879e465..b0baa4a 100644
--- a/test/regression/usbx_ux_host_class_storage_media_open_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_open_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_protection_check_test.c b/test/regression/usbx_ux_host_class_storage_media_protection_check_test.c
index 5d8ed67..b5af421 100644
--- a/test/regression/usbx_ux_host_class_storage_media_protection_check_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_protection_check_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_read_test.c b/test/regression/usbx_ux_host_class_storage_media_read_test.c
index f32c04b..3abbf53 100644
--- a/test/regression/usbx_ux_host_class_storage_media_read_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_recovery_sense_get_test.c b/test/regression/usbx_ux_host_class_storage_media_recovery_sense_get_test.c
index f477c42..65b689b 100644
--- a/test/regression/usbx_ux_host_class_storage_media_recovery_sense_get_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_recovery_sense_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_media_write_test.c b/test/regression/usbx_ux_host_class_storage_media_write_test.c
index eff5b2e..4ca1e5a 100644
--- a/test/regression/usbx_ux_host_class_storage_media_write_test.c
+++ b/test/regression/usbx_ux_host_class_storage_media_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_request_sense_test.c b/test/regression/usbx_ux_host_class_storage_request_sense_test.c
index 468d373..caae815 100644
--- a/test/regression/usbx_ux_host_class_storage_request_sense_test.c
+++ b/test/regression/usbx_ux_host_class_storage_request_sense_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_start_stop_test.c b/test/regression/usbx_ux_host_class_storage_start_stop_test.c
index 89a2ff9..2f007a2 100644
--- a/test/regression/usbx_ux_host_class_storage_start_stop_test.c
+++ b/test/regression/usbx_ux_host_class_storage_start_stop_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_thread_entry_test.c b/test/regression/usbx_ux_host_class_storage_thread_entry_test.c
index 4adb8ca..09138d6 100644
--- a/test/regression/usbx_ux_host_class_storage_thread_entry_test.c
+++ b/test/regression/usbx_ux_host_class_storage_thread_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_storage_transport_bo_test.c b/test/regression/usbx_ux_host_class_storage_transport_bo_test.c
index 4c564b4..24d9b7b 100644
--- a/test/regression/usbx_ux_host_class_storage_transport_bo_test.c
+++ b/test/regression/usbx_ux_host_class_storage_transport_bo_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_video_basic_tests.c b/test/regression/usbx_ux_host_class_video_basic_tests.c
index 41578c7..caaf066 100644
--- a/test/regression/usbx_ux_host_class_video_basic_tests.c
+++ b/test/regression/usbx_ux_host_class_video_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_video_dwMaxPayloadTransferSize_test.c b/test/regression/usbx_ux_host_class_video_dwMaxPayloadTransferSize_test.c
index 9732e2b..a176719 100644
--- a/test/regression/usbx_ux_host_class_video_dwMaxPayloadTransferSize_test.c
+++ b/test/regression/usbx_ux_host_class_video_dwMaxPayloadTransferSize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_video_format_frame_based_test.c b/test/regression/usbx_ux_host_class_video_format_frame_based_test.c
index f55ed4e..1df7912 100644
--- a/test/regression/usbx_ux_host_class_video_format_frame_based_test.c
+++ b/test/regression/usbx_ux_host_class_video_format_frame_based_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_class_video_format_h264_test.c b/test/regression/usbx_ux_host_class_video_format_h264_test.c
index 263599f..4621d4f 100644
--- a/test/regression/usbx_ux_host_class_video_format_h264_test.c
+++ b/test/regression/usbx_ux_host_class_video_format_h264_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_device_basic_memory_tests.c b/test/regression/usbx_ux_host_device_basic_memory_tests.c
index ec1b8e3..df3018c 100644
--- a/test/regression/usbx_ux_host_device_basic_memory_tests.c
+++ b/test/regression/usbx_ux_host_device_basic_memory_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_device_basic_tests.c b/test/regression/usbx_ux_host_device_basic_tests.c
index 703c883..3402848 100644
--- a/test/regression/usbx_ux_host_device_basic_tests.c
+++ b/test/regression/usbx_ux_host_device_basic_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_device_initialize_tests.c b/test/regression/usbx_ux_host_device_initialize_tests.c
index f32b32a..2ea7257 100644
--- a/test/regression/usbx_ux_host_device_initialize_tests.c
+++ b/test/regression/usbx_ux_host_device_initialize_tests.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_bandwidth_test.c b/test/regression/usbx_ux_host_stack_bandwidth_test.c
index dfb2dd6..767f96b 100644
--- a/test/regression/usbx_ux_host_stack_bandwidth_test.c
+++ b/test/regression/usbx_ux_host_stack_bandwidth_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_bandwidth_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_device_scan_test.c b/test/regression/usbx_ux_host_stack_class_device_scan_test.c
index 5bf214d..442e159 100644
--- a/test/regression/usbx_ux_host_stack_class_device_scan_test.c
+++ b/test/regression/usbx_ux_host_stack_class_device_scan_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_get_test.c b/test/regression/usbx_ux_host_stack_class_get_test.c
index 5f0848e..6813643 100644
--- a/test/regression/usbx_ux_host_stack_class_get_test.c
+++ b/test/regression/usbx_ux_host_stack_class_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_class_get. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_instance_destroy_test.c b/test/regression/usbx_ux_host_stack_class_instance_destroy_test.c
index 5ac99f9..0135b31 100644
--- a/test/regression/usbx_ux_host_stack_class_instance_destroy_test.c
+++ b/test/regression/usbx_ux_host_stack_class_instance_destroy_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_instance_get_test.c b/test/regression/usbx_ux_host_stack_class_instance_get_test.c
index 88298d0..df542b5 100644
--- a/test/regression/usbx_ux_host_stack_class_instance_get_test.c
+++ b/test/regression/usbx_ux_host_stack_class_instance_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_instance_verify_test.c b/test/regression/usbx_ux_host_stack_class_instance_verify_test.c
index 48fd5cc..f952928 100644
--- a/test/regression/usbx_ux_host_stack_class_instance_verify_test.c
+++ b/test/regression/usbx_ux_host_stack_class_instance_verify_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_interface_scan_test.c b/test/regression/usbx_ux_host_stack_class_interface_scan_test.c
index bf99fcb..6a0669b 100644
--- a/test/regression/usbx_ux_host_stack_class_interface_scan_test.c
+++ b/test/regression/usbx_ux_host_stack_class_interface_scan_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_register_test.c b/test/regression/usbx_ux_host_stack_class_register_test.c
index 7dcd3fc..dc452b8 100644
--- a/test/regression/usbx_ux_host_stack_class_register_test.c
+++ b/test/regression/usbx_ux_host_stack_class_register_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_class_register. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_class_unregister_test.c b/test/regression/usbx_ux_host_stack_class_unregister_test.c
index 570712a..24f3385 100644
--- a/test/regression/usbx_ux_host_stack_class_unregister_test.c
+++ b/test/regression/usbx_ux_host_stack_class_unregister_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_memory_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_configuration_descriptor_parse_test.c b/test/regression/usbx_ux_host_stack_configuration_descriptor_parse_test.c
index 97fd1f1..756475d 100644
--- a/test/regression/usbx_ux_host_stack_configuration_descriptor_parse_test.c
+++ b/test/regression/usbx_ux_host_stack_configuration_descriptor_parse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_configuration_descriptor_parse. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_configuration_enumerate_test.c b/test/regression/usbx_ux_host_stack_configuration_enumerate_test.c
index 6aa1afb..f50c010 100644
--- a/test/regression/usbx_ux_host_stack_configuration_enumerate_test.c
+++ b/test/regression/usbx_ux_host_stack_configuration_enumerate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_configuration_enumerate. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_configuration_instance_delete_test.c b/test/regression/usbx_ux_host_stack_configuration_instance_delete_test.c
index edec2c2..dd363ef 100644
--- a/test/regression/usbx_ux_host_stack_configuration_instance_delete_test.c
+++ b/test/regression/usbx_ux_host_stack_configuration_instance_delete_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_configuration_instance_delete. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_configuration_interface_get_test.c b/test/regression/usbx_ux_host_stack_configuration_interface_get_test.c
index af698fb..9a95e26 100644
--- a/test/regression/usbx_ux_host_stack_configuration_interface_get_test.c
+++ b/test/regression/usbx_ux_host_stack_configuration_interface_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_configuration_interface_get. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_configuration_set_test.c b/test/regression/usbx_ux_host_stack_configuration_set_test.c
index 16a3879..1ff3912 100644
--- a/test/regression/usbx_ux_host_stack_configuration_set_test.c
+++ b/test/regression/usbx_ux_host_stack_configuration_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_address_set_test.c b/test/regression/usbx_ux_host_stack_device_address_set_test.c
index eb37094..080ca57 100644
--- a/test/regression/usbx_ux_host_stack_device_address_set_test.c
+++ b/test/regression/usbx_ux_host_stack_device_address_set_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_configuration_activate_test.c b/test/regression/usbx_ux_host_stack_device_configuration_activate_test.c
index 4fa4828..da58c51 100644
--- a/test/regression/usbx_ux_host_stack_device_configuration_activate_test.c
+++ b/test/regression/usbx_ux_host_stack_device_configuration_activate_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_configuration_get_test.c b/test/regression/usbx_ux_host_stack_device_configuration_get_test.c
index 0d10702..1655076 100644
--- a/test/regression/usbx_ux_host_stack_device_configuration_get_test.c
+++ b/test/regression/usbx_ux_host_stack_device_configuration_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_device_configuration_get. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_configuration_reset_coverage_test.c b/test/regression/usbx_ux_host_stack_device_configuration_reset_coverage_test.c
index 4724ddd..6a3f559 100644
--- a/test/regression/usbx_ux_host_stack_device_configuration_reset_coverage_test.c
+++ b/test/regression/usbx_ux_host_stack_device_configuration_reset_coverage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_host_stack_device_configuration_reset_select_test.c b/test/regression/usbx_ux_host_stack_device_configuration_reset_select_test.c
index 7f7eac0..1cfde02 100644
--- a/test/regression/usbx_ux_host_stack_device_configuration_reset_select_test.c
+++ b/test/regression/usbx_ux_host_stack_device_configuration_reset_select_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_device_configuration_reset/select. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_descriptor_read_test.c b/test/regression/usbx_ux_host_stack_device_descriptor_read_test.c
index 3f30559..daa2ee0 100644
--- a/test/regression/usbx_ux_host_stack_device_descriptor_read_test.c
+++ b/test/regression/usbx_ux_host_stack_device_descriptor_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_device_descriptor_read. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_get_test.c b/test/regression/usbx_ux_host_stack_device_get_test.c
index 8ef100b..3005894 100644
--- a/test/regression/usbx_ux_host_stack_device_get_test.c
+++ b/test/regression/usbx_ux_host_stack_device_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_device_get. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_remove_test.c b/test/regression/usbx_ux_host_stack_device_remove_test.c
index a3f6774..3108df6 100644
--- a/test/regression/usbx_ux_host_stack_device_remove_test.c
+++ b/test/regression/usbx_ux_host_stack_device_remove_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_device_string_get_test.c b/test/regression/usbx_ux_host_stack_device_string_get_test.c
index 99b9a8e..5e4012a 100644
--- a/test/regression/usbx_ux_host_stack_device_string_get_test.c
+++ b/test/regression/usbx_ux_host_stack_device_string_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_endpoint_instance_create_test.c b/test/regression/usbx_ux_host_stack_endpoint_instance_create_test.c
index d47a810..11a6553 100644
--- a/test/regression/usbx_ux_host_stack_endpoint_instance_create_test.c
+++ b/test/regression/usbx_ux_host_stack_endpoint_instance_create_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_endpoint_instance_test.c b/test/regression/usbx_ux_host_stack_endpoint_instance_test.c
index 9de7476..8e66452 100644
--- a/test/regression/usbx_ux_host_stack_endpoint_instance_test.c
+++ b/test/regression/usbx_ux_host_stack_endpoint_instance_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_endpoint_instance_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_endpoint_reset_test.c b/test/regression/usbx_ux_host_stack_endpoint_reset_test.c
index a6e0c01..05a0d72 100644
--- a/test/regression/usbx_ux_host_stack_endpoint_reset_test.c
+++ b/test/regression/usbx_ux_host_stack_endpoint_reset_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_enum_bMaxPacketSize0_test.c b/test/regression/usbx_ux_host_stack_enum_bMaxPacketSize0_test.c
index 2ef1029..00e7d6b 100644
--- a/test/regression/usbx_ux_host_stack_enum_bMaxPacketSize0_test.c
+++ b/test/regression/usbx_ux_host_stack_enum_bMaxPacketSize0_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the BOS. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_enum_wMaxPacketSize_test.c b/test/regression/usbx_ux_host_stack_enum_wMaxPacketSize_test.c
index 8d3a9f3..72f8460 100644
--- a/test/regression/usbx_ux_host_stack_enum_wMaxPacketSize_test.c
+++ b/test/regression/usbx_ux_host_stack_enum_wMaxPacketSize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the BOS. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_hcd_register_test.c b/test/regression/usbx_ux_host_stack_hcd_register_test.c
index 4b3a8f6..b4743cb 100644
--- a/test/regression/usbx_ux_host_stack_hcd_register_test.c
+++ b/test/regression/usbx_ux_host_stack_hcd_register_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_hcd_register. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_hcd_thread_entry_test.c b/test/regression/usbx_ux_host_stack_hcd_thread_entry_test.c
index 34ddf76..e0e7531 100644
--- a/test/regression/usbx_ux_host_stack_hcd_thread_entry_test.c
+++ b/test/regression/usbx_ux_host_stack_hcd_thread_entry_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the _ux_host_stack_hcd_thread_entry. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_hcd_transfer_request_test.c b/test/regression/usbx_ux_host_stack_hcd_transfer_request_test.c
index c4ea98a..d88f3b3 100644
--- a/test/regression/usbx_ux_host_stack_hcd_transfer_request_test.c
+++ b/test/regression/usbx_ux_host_stack_hcd_transfer_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_hcd_transfer_request. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_hcd_unregister_test.c b/test/regression/usbx_ux_host_stack_hcd_unregister_test.c
index f53f7fb..ac94f04 100644
--- a/test/regression/usbx_ux_host_stack_hcd_unregister_test.c
+++ b/test/regression/usbx_ux_host_stack_hcd_unregister_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_memory_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_interface_endpoint_get_test.c b/test/regression/usbx_ux_host_stack_interface_endpoint_get_test.c
index 96ca2dc..23941db 100644
--- a/test/regression/usbx_ux_host_stack_interface_endpoint_get_test.c
+++ b/test/regression/usbx_ux_host_stack_interface_endpoint_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_interface_setting_select_test.c b/test/regression/usbx_ux_host_stack_interface_setting_select_test.c
index 0b3e2bf..87529ba 100644
--- a/test/regression/usbx_ux_host_stack_interface_setting_select_test.c
+++ b/test/regression/usbx_ux_host_stack_interface_setting_select_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_interface_setting_select. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_interfaces_scan_test.c b/test/regression/usbx_ux_host_stack_interfaces_scan_test.c
index f809d68..dc317ef 100644
--- a/test/regression/usbx_ux_host_stack_interfaces_scan_test.c
+++ b/test/regression/usbx_ux_host_stack_interfaces_scan_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_new_configuration_create_test.c b/test/regression/usbx_ux_host_stack_new_configuration_create_test.c
index d5587c3..00a213c 100644
--- a/test/regression/usbx_ux_host_stack_new_configuration_create_test.c
+++ b/test/regression/usbx_ux_host_stack_new_configuration_create_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_new_device_create_test.c b/test/regression/usbx_ux_host_stack_new_device_create_test.c
index c958745..d26ca01 100644
--- a/test/regression/usbx_ux_host_stack_new_device_create_test.c
+++ b/test/regression/usbx_ux_host_stack_new_device_create_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_new_device_get_test.c b/test/regression/usbx_ux_host_stack_new_device_get_test.c
index 7dbe059..068cfa2 100644
--- a/test/regression/usbx_ux_host_stack_new_device_get_test.c
+++ b/test/regression/usbx_ux_host_stack_new_device_get_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_new_device_get. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_new_interface_create_test.c b/test/regression/usbx_ux_host_stack_new_interface_create_test.c
index dced978..3ad11d2 100644
--- a/test/regression/usbx_ux_host_stack_new_interface_create_test.c
+++ b/test/regression/usbx_ux_host_stack_new_interface_create_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_rh_change_process_test.c b/test/regression/usbx_ux_host_stack_rh_change_process_test.c
index ae24d08..255011e 100644
--- a/test/regression/usbx_ux_host_stack_rh_change_process_test.c
+++ b/test/regression/usbx_ux_host_stack_rh_change_process_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_rh_device_insertion_test.c b/test/regression/usbx_ux_host_stack_rh_device_insertion_test.c
index 7c7b923..547d3a1 100644
--- a/test/regression/usbx_ux_host_stack_rh_device_insertion_test.c
+++ b/test/regression/usbx_ux_host_stack_rh_device_insertion_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_transfer_request_abort_test.c b/test/regression/usbx_ux_host_stack_transfer_request_abort_test.c
index a62af87..fb19a8b 100644
--- a/test/regression/usbx_ux_host_stack_transfer_request_abort_test.c
+++ b/test/regression/usbx_ux_host_stack_transfer_request_abort_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_transfer_request_test.c b/test/regression/usbx_ux_host_stack_transfer_request_test.c
index 4d934c6..8cbca9b 100644
--- a/test/regression/usbx_ux_host_stack_transfer_request_test.c
+++ b/test/regression/usbx_ux_host_stack_transfer_request_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_host_stack_transfer_request. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_host_stack_uninitialize_test.c b/test/regression/usbx_ux_host_stack_uninitialize_test.c
index 30e90dd..431c0c4 100644
--- a/test/regression/usbx_ux_host_stack_uninitialize_test.c
+++ b/test/regression/usbx_ux_host_stack_uninitialize_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_memory_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_test_cdc_ecm.h b/test/regression/usbx_ux_test_cdc_ecm.h
index 75297e0..795be97 100644
--- a/test/regression/usbx_ux_test_cdc_ecm.h
+++ b/test/regression/usbx_ux_test_cdc_ecm.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef USBX_UX_TEST_CDC_ECM_H
#define USBX_UX_TEST_CDC_ECM_H
diff --git a/test/regression/usbx_ux_test_hub.h b/test/regression/usbx_ux_test_hub.h
index d9c05f0..bc0bfe9 100644
--- a/test/regression/usbx_ux_test_hub.h
+++ b/test/regression/usbx_ux_test_hub.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_utility_basic_memory_management_test.c b/test/regression/usbx_ux_utility_basic_memory_management_test.c
index 5fe01c5..e2797b2 100644
--- a/test/regression/usbx_ux_utility_basic_memory_management_test.c
+++ b/test/regression/usbx_ux_utility_basic_memory_management_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/usbx_ux_utility_descriptor_pack_test.c b/test/regression/usbx_ux_utility_descriptor_pack_test.c
index e81da53..02a5938 100644
--- a/test/regression/usbx_ux_utility_descriptor_pack_test.c
+++ b/test/regression/usbx_ux_utility_descriptor_pack_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_descriptor_parse_test.c b/test/regression/usbx_ux_utility_descriptor_parse_test.c
index b198530..0e36f8a 100644
--- a/test/regression/usbx_ux_utility_descriptor_parse_test.c
+++ b/test/regression/usbx_ux_utility_descriptor_parse_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_parse. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_descriptor_struct_test.c b/test/regression/usbx_ux_utility_descriptor_struct_test.c
index e821abc..67a83c9 100644
--- a/test/regression/usbx_ux_utility_descriptor_struct_test.c
+++ b/test/regression/usbx_ux_utility_descriptor_struct_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_parse. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_event_flags_test.c b/test/regression/usbx_ux_utility_event_flags_test.c
index 33d3df8..1edf8e9 100644
--- a/test/regression/usbx_ux_utility_event_flags_test.c
+++ b/test/regression/usbx_ux_utility_event_flags_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_event_flags. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_memory_safe_test.c b/test/regression/usbx_ux_utility_memory_safe_test.c
index 52bb04b..fe409fb 100644
--- a/test/regression/usbx_ux_utility_memory_safe_test.c
+++ b/test/regression/usbx_ux_utility_memory_safe_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_memory_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_memory_test.c b/test/regression/usbx_ux_utility_memory_test.c
index 72be3d9..5dd1d40 100644
--- a/test/regression/usbx_ux_utility_memory_test.c
+++ b/test/regression/usbx_ux_utility_memory_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_memory_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_mutex_test.c b/test/regression/usbx_ux_utility_mutex_test.c
index 545bf18..0fcc234 100644
--- a/test/regression/usbx_ux_utility_mutex_test.c
+++ b/test/regression/usbx_ux_utility_mutex_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_mutex_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_pci_class_scan_test.c b/test/regression/usbx_ux_utility_pci_class_scan_test.c
index 81e0089..ab8ff97 100644
--- a/test/regression/usbx_ux_utility_pci_class_scan_test.c
+++ b/test/regression/usbx_ux_utility_pci_class_scan_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the _ux_utility_pci_class_scan. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_pci_read_test.c b/test/regression/usbx_ux_utility_pci_read_test.c
index 700d48b..77277fa 100644
--- a/test/regression/usbx_ux_utility_pci_read_test.c
+++ b/test/regression/usbx_ux_utility_pci_read_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_pci_read. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_pci_write_test.c b/test/regression/usbx_ux_utility_pci_write_test.c
index 3125e20..bd001df 100644
--- a/test/regression/usbx_ux_utility_pci_write_test.c
+++ b/test/regression/usbx_ux_utility_pci_write_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the _ux_utility_pci_write. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_physical_address_test.c b/test/regression/usbx_ux_utility_physical_address_test.c
index 1475e6f..6994084 100644
--- a/test/regression/usbx_ux_utility_physical_address_test.c
+++ b/test/regression/usbx_ux_utility_physical_address_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_physical_address. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_semaphore_test.c b/test/regression/usbx_ux_utility_semaphore_test.c
index 580c976..ba04012 100644
--- a/test/regression/usbx_ux_utility_semaphore_test.c
+++ b/test/regression/usbx_ux_utility_semaphore_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_semaphore. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_string_length_check_test.c b/test/regression/usbx_ux_utility_string_length_check_test.c
index 09b39cb..4e2c18a 100644
--- a/test/regression/usbx_ux_utility_string_length_check_test.c
+++ b/test/regression/usbx_ux_utility_string_length_check_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_string_length_check. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_thread_create_test.c b/test/regression/usbx_ux_utility_thread_create_test.c
index 4f2e8ea..43ca62c 100644
--- a/test/regression/usbx_ux_utility_thread_create_test.c
+++ b/test/regression/usbx_ux_utility_thread_create_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_thread_create. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_thread_identify_test.c b/test/regression/usbx_ux_utility_thread_identify_test.c
index c56ca3a..893bf1d 100644
--- a/test/regression/usbx_ux_utility_thread_identify_test.c
+++ b/test/regression/usbx_ux_utility_thread_identify_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_thread_identify. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_thread_schedule_other_test.c b/test/regression/usbx_ux_utility_thread_schedule_other_test.c
index 95eb347..e8c1a57 100644
--- a/test/regression/usbx_ux_utility_thread_schedule_other_test.c
+++ b/test/regression/usbx_ux_utility_thread_schedule_other_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_thread_schedule_other_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_thread_suspend_test.c b/test/regression/usbx_ux_utility_thread_suspend_test.c
index 80833bf..7c5debf 100644
--- a/test/regression/usbx_ux_utility_thread_suspend_test.c
+++ b/test/regression/usbx_ux_utility_thread_suspend_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_thread_suspend. */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_time_elapsed_test.c b/test/regression/usbx_ux_utility_time_elapsed_test.c
index f651867..81dbf33 100644
--- a/test/regression/usbx_ux_utility_time_elapsed_test.c
+++ b/test/regression/usbx_ux_utility_time_elapsed_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_time_elapsed macro.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_timer_test.c b/test/regression/usbx_ux_utility_timer_test.c
index 8eb60df..2c49b00 100644
--- a/test/regression/usbx_ux_utility_timer_test.c
+++ b/test/regression/usbx_ux_utility_timer_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_timer_.... */
#include <stdio.h>
diff --git a/test/regression/usbx_ux_utility_unicode_to_string_test.c b/test/regression/usbx_ux_utility_unicode_to_string_test.c
index ea801b3..79c644f 100644
--- a/test/regression/usbx_ux_utility_unicode_to_string_test.c
+++ b/test/regression/usbx_ux_utility_unicode_to_string_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_unicode_to_string. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_audio_test.c b/test/regression/usbx_uxe_device_audio_test.c
index 2f14708..153653b 100644
--- a/test/regression/usbx_uxe_device_audio_test.c
+++ b/test/regression/usbx_uxe_device_audio_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_ccid_test.c b/test/regression/usbx_uxe_device_ccid_test.c
index 376a45c..e7b8e20 100644
--- a/test/regression/usbx_uxe_device_ccid_test.c
+++ b/test/regression/usbx_uxe_device_ccid_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_cdc_acm_test.c b/test/regression/usbx_uxe_device_cdc_acm_test.c
index e0d85e3..2ec30e0 100644
--- a/test/regression/usbx_uxe_device_cdc_acm_test.c
+++ b/test/regression/usbx_uxe_device_cdc_acm_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_dfu_test.c b/test/regression/usbx_uxe_device_dfu_test.c
index f553008..cc32207 100644
--- a/test/regression/usbx_uxe_device_dfu_test.c
+++ b/test/regression/usbx_uxe_device_dfu_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the simple dpump host/device class operation. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_hid_test.c b/test/regression/usbx_uxe_device_hid_test.c
index ca03f7e..cc0225e 100644
--- a/test/regression/usbx_uxe_device_hid_test.c
+++ b/test/regression/usbx_uxe_device_hid_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_pima_test.c b/test/regression/usbx_uxe_device_pima_test.c
index 5cbea5d..b9796ea 100644
--- a/test/regression/usbx_uxe_device_pima_test.c
+++ b/test/regression/usbx_uxe_device_pima_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_printer_test.c b/test/regression/usbx_uxe_device_printer_test.c
index 2cc29b4..cd81c0c 100644
--- a/test/regression/usbx_uxe_device_printer_test.c
+++ b/test/regression/usbx_uxe_device_printer_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_stack_test.c b/test/regression/usbx_uxe_device_stack_test.c
index ad20181..0a47e86 100644
--- a/test/regression/usbx_uxe_device_stack_test.c
+++ b/test/regression/usbx_uxe_device_stack_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_storage_test.c b/test/regression/usbx_uxe_device_storage_test.c
index ab93ea7..d68504d 100644
--- a/test/regression/usbx_uxe_device_storage_test.c
+++ b/test/regression/usbx_uxe_device_storage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_device_video_test.c b/test/regression/usbx_uxe_device_video_test.c
index 7e7ff7c..9a4a3f0 100644
--- a/test/regression/usbx_uxe_device_video_test.c
+++ b/test/regression/usbx_uxe_device_video_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_audio_test.c b/test/regression/usbx_uxe_host_audio_test.c
index e3c0e2c..a2544d2 100644
--- a/test/regression/usbx_uxe_host_audio_test.c
+++ b/test/regression/usbx_uxe_host_audio_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_cdc_acm_test.c b/test/regression/usbx_uxe_host_cdc_acm_test.c
index ea07fa2..cd369b0 100644
--- a/test/regression/usbx_uxe_host_cdc_acm_test.c
+++ b/test/regression/usbx_uxe_host_cdc_acm_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_gser_test.c b/test/regression/usbx_uxe_host_gser_test.c
index 7ecb8b8..4862f4c 100644
--- a/test/regression/usbx_uxe_host_gser_test.c
+++ b/test/regression/usbx_uxe_host_gser_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_hid_test.c b/test/regression/usbx_uxe_host_hid_test.c
index e635a57..ad89b98 100644
--- a/test/regression/usbx_uxe_host_hid_test.c
+++ b/test/regression/usbx_uxe_host_hid_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_pima_test.c b/test/regression/usbx_uxe_host_pima_test.c
index 11d757c..e22a69f 100644
--- a/test/regression/usbx_uxe_host_pima_test.c
+++ b/test/regression/usbx_uxe_host_pima_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_printer_test.c b/test/regression/usbx_uxe_host_printer_test.c
index 2374123..77d9619 100644
--- a/test/regression/usbx_uxe_host_printer_test.c
+++ b/test/regression/usbx_uxe_host_printer_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_prolific_test.c b/test/regression/usbx_uxe_host_prolific_test.c
index ad55de3..1967bcf 100644
--- a/test/regression/usbx_uxe_host_prolific_test.c
+++ b/test/regression/usbx_uxe_host_prolific_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_stack_test.c b/test/regression/usbx_uxe_host_stack_test.c
index 1476ba6..175b3c8 100644
--- a/test/regression/usbx_uxe_host_stack_test.c
+++ b/test/regression/usbx_uxe_host_stack_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_storage_test.c b/test/regression/usbx_uxe_host_storage_test.c
index 0d66a82..490509a 100644
--- a/test/regression/usbx_uxe_host_storage_test.c
+++ b/test/regression/usbx_uxe_host_storage_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_swar_test.c b/test/regression/usbx_uxe_host_swar_test.c
index 33fc3b3..3dedddd 100644
--- a/test/regression/usbx_uxe_host_swar_test.c
+++ b/test/regression/usbx_uxe_host_swar_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_host_video_test.c b/test/regression/usbx_uxe_host_video_test.c
index c7a6585..23d4ef1 100644
--- a/test/regression/usbx_uxe_host_video_test.c
+++ b/test/regression/usbx_uxe_host_video_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbx_uxe_system_test.c b/test/regression/usbx_uxe_system_test.c
index 910038d..2ac99c7 100644
--- a/test/regression/usbx_uxe_system_test.c
+++ b/test/regression/usbx_uxe_system_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test is designed to test the ux_utility_descriptor_pack. */
#include <stdio.h>
diff --git a/test/regression/usbxtestcontrol.c b/test/regression/usbxtestcontrol.c
index ab6c321..69863cb 100644
--- a/test/regression/usbxtestcontrol.c
+++ b/test/regression/usbxtestcontrol.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This is the test control routine of the USBX kernel. All tests are dispatched from this routine. */
#include "tx_api.h"
@@ -238,6 +249,7 @@ void usbx_ux_host_class_hid_descriptor_parse_test5_application_define(void *)
void usbx_ux_host_class_hid_descriptor_parse_test6_application_define(void *);
void usbx_ux_host_class_hid_descriptor_parse_test7_application_define(void *);
void usbx_ux_host_class_hid_report_descriptor_get_test_application_define(void *);
+void usbx_ux_device_class_hid_set_protocol_callback_test_application_define(void *);
void usbx_ux_host_class_hid_remote_control_callback_test_application_define(void *);
void usbx_ux_host_class_hid_interrupt_endpoint_search_test2_application_define(void *);
void usbx_ux_host_class_hid_periodic_report_start_test2_application_define(void *);
@@ -801,6 +813,7 @@ TEST_ENTRY test_control_tests[] =
usbx_ux_device_class_hid_descriptor_send_test_application_define,
usbx_ux_device_class_hid_entry_test_application_define,
usbx_ux_device_class_hid_event_get_AND_set_test_application_define,
+ usbx_ux_device_class_hid_set_protocol_callback_test_application_define,
usbx_ux_device_class_hid_initialize_test_application_define,
usbx_ux_device_class_hid_interrupt_thread_test_application_define,
usbx_ux_device_class_hid_interrupt_thread_test2_application_define,
diff --git a/test/regression/ux_device_class_dummy.c b/test/regression/ux_device_class_dummy.c
index 4f401d4..d1a07ca 100644
--- a/test/regression/ux_device_class_dummy.c
+++ b/test/regression/ux_device_class_dummy.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "ux_api.h"
#include "ux_device_class_dummy.h"
diff --git a/test/regression/ux_device_class_dummy.h b/test/regression/ux_device_class_dummy.h
index 924d49b..044751b 100644
--- a/test/regression/ux_device_class_dummy.h
+++ b/test/regression/ux_device_class_dummy.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef UX_DEVICE_CLASS_DUMMY_H
#define UX_DEVICE_CLASS_DUMMY_H
@@ -48,6 +59,5 @@ UX_SLAVE_TRANSFER *_ux_device_class_dummy_get_transfer_request(UX_DEVICE_CLASS_D
ULONG _ux_device_class_dummy_get_max_packet_size(UX_DEVICE_CLASS_DUMMY *dummy, UCHAR endpoint_address);
UINT _ux_device_class_dummy_transfer(UX_DEVICE_CLASS_DUMMY *dummy, UCHAR endpoint_address, UCHAR *buffer, ULONG length, ULONG *actual_length);
-UINT _ux_device_class_dummy_abort(UX_DEVICE_CLASS_DUMMY *dummy, UCHAR endpoint_address);
#endif
diff --git a/test/regression/ux_device_class_dummy_hub.c b/test/regression/ux_device_class_dummy_hub.c
index 1bca5c2..895a7e7 100644
--- a/test/regression/ux_device_class_dummy_hub.c
+++ b/test/regression/ux_device_class_dummy_hub.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/ux_device_class_dummy_hub.h b/test/regression/ux_device_class_dummy_hub.h
index c0860e3..fcc470b 100644
--- a/test/regression/ux_device_class_dummy_hub.h
+++ b/test/regression/ux_device_class_dummy_hub.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef UX_DEVICE_CLASS_DUMMY_HUB_H
#define UX_DEVICE_CLASS_DUMMY_HUB_H
diff --git a/test/regression/ux_device_class_dummy_printer.c b/test/regression/ux_device_class_dummy_printer.c
index a5667ca..046d8ef 100644
--- a/test/regression/ux_device_class_dummy_printer.c
+++ b/test/regression/ux_device_class_dummy_printer.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include <stdio.h>
#include "tx_api.h"
#include "ux_api.h"
diff --git a/test/regression/ux_device_class_dummy_printer.h b/test/regression/ux_device_class_dummy_printer.h
index e51adf3..314b2cc 100644
--- a/test/regression/ux_device_class_dummy_printer.h
+++ b/test/regression/ux_device_class_dummy_printer.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef UX_DEVICE_CLASS_DUMMY_PRINTER_H
#define UX_DEVICE_CLASS_DUMMY_PRINTER_H
diff --git a/test/regression/ux_host_class_dummy.c b/test/regression/ux_host_class_dummy.c
index fd7ea6e..1bfea99 100644
--- a/test/regression/ux_host_class_dummy.c
+++ b/test/regression/ux_host_class_dummy.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "ux_test.h"
#include "ux_api.h"
diff --git a/test/regression/ux_host_class_dummy.h b/test/regression/ux_host_class_dummy.h
index 5be1832..2c2d42e 100644
--- a/test/regression/ux_host_class_dummy.h
+++ b/test/regression/ux_host_class_dummy.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef UX_HOST_CLASS_DUMMY_H
#define UX_HOST_CLASS_DUMMY_H
diff --git a/test/regression/ux_test.c b/test/regression/ux_test.c
index b2eeb8e..f8cfdc1 100644
--- a/test/regression/ux_test.c
+++ b/test/regression/ux_test.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "ux_test.h"
#include "ux_test_hcd_sim_host.h"
#include "ux_test_dcd_sim_slave.h"
diff --git a/test/regression/ux_test.h b/test/regression/ux_test.h
index a496aa2..d9c8642 100644
--- a/test/regression/ux_test.h
+++ b/test/regression/ux_test.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* USBX common things for testing. */
#ifndef _UX_TEST_H
@@ -426,7 +437,6 @@ VOID ux_test_turn_off_expedient(UCHAR *);
VOID ux_test_turn_on_expedient(UCHAR *);
UCHAR ux_test_is_expedient_on();
VOID ux_test_set_expedient(UCHAR);
-ULONG ux_test_calc_total_memory_allocated(ULONG memory_alignment, ULONG memory_cache_flag, ULONG memory_size_requested);
UCHAR ux_test_check_actions_empty();
UINT ux_test_wait_for_empty_actions();
UINT ux_test_get_num_actions_left();
diff --git a/test/regression/ux_test_actions.h b/test/regression/ux_test_actions.h
index bbe0f06..beed7c6 100644
--- a/test/regression/ux_test_actions.h
+++ b/test/regression/ux_test_actions.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef UX_TEST_ACTIONS_H
#define UX_TEST_ACTIONS_H
diff --git a/test/regression/ux_test_dcd_sim_slave.c b/test/regression/ux_test_dcd_sim_slave.c
index 21da6cb..fc1eda5 100644
--- a/test/regression/ux_test_dcd_sim_slave.c
+++ b/test/regression/ux_test_dcd_sim_slave.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to redirect simulate ux_hcd_sim_slave_ APIs for test. */
#include "tx_api.h"
diff --git a/test/regression/ux_test_dcd_sim_slave.h b/test/regression/ux_test_dcd_sim_slave.h
index 4aad659..cdef036 100644
--- a/test/regression/ux_test_dcd_sim_slave.h
+++ b/test/regression/ux_test_dcd_sim_slave.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to simulate ux_hcd_ APIs for test. */
#ifndef _UX_TEST_DCD_SIM_SLAVE_H
diff --git a/test/regression/ux_test_hcd_sim_host.c b/test/regression/ux_test_hcd_sim_host.c
index c58db65..04f18a6 100644
--- a/test/regression/ux_test_hcd_sim_host.c
+++ b/test/regression/ux_test_hcd_sim_host.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to simulate ux_hcd_ APIs for test. */
#include "tx_api.h"
diff --git a/test/regression/ux_test_hcd_sim_host.h b/test/regression/ux_test_hcd_sim_host.h
index cd398eb..fd5ef54 100644
--- a/test/regression/ux_test_hcd_sim_host.h
+++ b/test/regression/ux_test_hcd_sim_host.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to simulate ux_hcd_ APIs for test. */
#ifndef _UX_TEST_HCD_SIM_HOST_H
diff --git a/test/regression/ux_test_jpeg_image.h b/test/regression/ux_test_jpeg_image.h
index 4690288..07fdad4 100644
--- a/test/regression/ux_test_jpeg_image.h
+++ b/test/regression/ux_test_jpeg_image.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#ifndef UX_TEST_JPEG_IMAGE_H
#define UX_TEST_JPEG_IMAGE_H
diff --git a/test/regression/ux_test_race_condition_overrides.c b/test/regression/ux_test_race_condition_overrides.c
index 340a165..529ad47 100644
--- a/test/regression/ux_test_race_condition_overrides.c
+++ b/test/regression/ux_test_race_condition_overrides.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
#include "ux_test.h"
#include "ux_api.h"
#include "ux_host_class_storage.h"
diff --git a/test/regression/ux_test_standalone_references.c b/test/regression/ux_test_standalone_references.c
index a21b23e..6cc98d7 100644
--- a/test/regression/ux_test_standalone_references.c
+++ b/test/regression/ux_test_standalone_references.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* Pure UX configurations, isolate other headers configurations. */
#include "ux_api.h"
diff --git a/test/regression/ux_test_utility_sim.c b/test/regression/ux_test_utility_sim.c
index a1f951c..7a98fe5 100644
--- a/test/regression/ux_test_utility_sim.c
+++ b/test/regression/ux_test_utility_sim.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to simulate ux_utility_ APIs for test. */
#include <stdio.h>
diff --git a/test/regression/ux_test_utility_sim.h b/test/regression/ux_test_utility_sim.h
index e08edf2..3df5dcd 100644
--- a/test/regression/ux_test_utility_sim.h
+++ b/test/regression/ux_test_utility_sim.h
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to simulate ux_utility_ APIs for test. */
#ifndef _UX_TEST_UTILITY_SIM_H
diff --git a/test/regression/ux_test_utility_sim_no_overriding.c b/test/regression/ux_test_utility_sim_no_overriding.c
index 47da156..b9227d3 100644
--- a/test/regression/ux_test_utility_sim_no_overriding.c
+++ b/test/regression/ux_test_utility_sim_no_overriding.c
@@ -1,3 +1,14 @@
+/***************************************************************************/
+/* Copyright (c) 2024 Microsoft Corporation */
+/* Copyright (c) 2026 Eclipse ThreadX contributors */
+/* */
+/* This program and the accompanying materials are made available under */
+/* the terms of the MIT License which is available at */
+/* https://opensource.org/licenses/MIT. */
+/* */
+/* SPDX-License-Identifier: MIT */
+/***************************************************************************/
+
/* This test simulator is designed to simulate ux_utility_ APIs for test. */
#include <stdio.h>