From b273ef5f1b706d29df1669603161ae77ede2927d Mon Sep 17 00:00:00 2001
From: keithm-xmos <35048036+keithm-xmos@users.noreply.github.com>
Date: Fri, 9 Jun 2023 16:31:09 -0400
Subject: [PATCH 1/4] fixed missing path to xscope_endpoint.dll on Windows
---
doc/programming_guide/installation.rst | 2 +-
examples/bare-metal/visual_wake_words/test_image.py | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/doc/programming_guide/installation.rst b/doc/programming_guide/installation.rst
index 990d3f52..66065b3d 100644
--- a/doc/programming_guide/installation.rst
+++ b/doc/programming_guide/installation.rst
@@ -97,7 +97,7 @@ Some host applications require that the location of ``xscope_endpoint.dll`` be a
Optional Step 3. Install Python and Python Requirements
=======================================================
-XCORE-IOT does not require installing Python, however, several example applications do utilize Python scripts. To run these scripts, Python 3 is needed, we recommend and test with Python 3.8 but newer versions should also work. Install `Python `__ and install the dependencies using the following commands:
+XCORE-IOT does not require installing Python, however, several example applications do utilize Python scripts. To run these scripts, a 32-bit version of Python 3 is needed, we recommend and test with Python 3.8 but newer versions should also work. Install `Python `__ and install the dependencies using the following commands:
.. note::
diff --git a/examples/bare-metal/visual_wake_words/test_image.py b/examples/bare-metal/visual_wake_words/test_image.py
index 8df5fd55..1461d0ea 100755
--- a/examples/bare-metal/visual_wake_words/test_image.py
+++ b/examples/bare-metal/visual_wake_words/test_image.py
@@ -7,8 +7,7 @@
import time
import struct
import ctypes
-import urllib.request
-import json
+import platform
import numpy as np
from matplotlib import pyplot
@@ -38,7 +37,11 @@ def dequantize(arr, scale, zero_point):
class Endpoint(object):
def __init__(self):
tool_path = os.environ.get("XMOS_TOOL_PATH")
- lib_path = os.path.join(tool_path, "lib", "xscope_endpoint.so")
+ ps = platform.system()
+ if ps == "Windows":
+ lib_path = os.path.join(tool_path, "lib", "xscope_endpoint.dll")
+ else: # Darwin (aka MacOS) or Linux
+ lib_path = os.path.join(tool_path, "lib", "xscope_endpoint.so")
self.lib_xscope = ctypes.CDLL(lib_path)
self.ready = True
From 00812c81db4600d7f368974ccbbd9df3263f2e9f Mon Sep 17 00:00:00 2001
From: keithm-xmos <35048036+keithm-xmos@users.noreply.github.com>
Date: Fri, 9 Jun 2023 17:04:48 -0400
Subject: [PATCH 2/4] fixed typo
---
.../tutorials/bare_metal/examples/visual_wake_word.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/programming_guide/tutorials/bare_metal/examples/visual_wake_word.rst b/doc/programming_guide/tutorials/bare_metal/examples/visual_wake_word.rst
index ddd63ed5..94e569b1 100644
--- a/doc/programming_guide/tutorials/bare_metal/examples/visual_wake_word.rst
+++ b/doc/programming_guide/tutorials/bare_metal/examples/visual_wake_word.rst
@@ -98,7 +98,7 @@ From the build folder, create the data partition and flash the device with the f
.. code-block:: console
- nmake example_bare_metal_vww
+ nmake flash_app_example_bare_metal_vww
====================
Running the firmware
From 992b514dc0d21dc4ef2258c7d2ff0865d5e571ab Mon Sep 17 00:00:00 2001
From: keithm-xmos <35048036+keithm-xmos@users.noreply.github.com>
Date: Mon, 19 Jun 2023 12:37:00 -0400
Subject: [PATCH 3/4] added XMOS copyright to modifies TUSB sources
---
examples/freertos/audio_mux/src/usb/tusb_config.h | 4 +---
examples/freertos/audio_mux/src/usb/usb_audio.c | 4 +---
examples/freertos/audio_mux/src/usb/usb_descriptors.c | 4 +---
examples/freertos/device_control/src/tusb_config.h | 1 +
examples/freertos/device_control/src/usb_descriptors.c | 1 +
examples/freertos/dfu/src/usb/app_dfu.c | 1 +
examples/freertos/dfu/src/usb/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/audio_test/src/demo_main.c | 1 +
test/usb/tinyusb_demos/audio_test/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/cdc_dual_ports/src/demo_main.c | 1 +
test/usb/tinyusb_demos/cdc_dual_ports/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/cdc_dual_ports/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/cdc_msc/src/demo_main.c | 1 +
test/usb/tinyusb_demos/cdc_msc/src/msc_disk.c | 1 +
test/usb/tinyusb_demos/cdc_msc/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/cdc_msc/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/dfu/src/demo_main.c | 1 +
test/usb/tinyusb_demos/dfu/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/dfu_runtime/src/demo_main.c | 1 +
test/usb/tinyusb_demos/dfu_runtime/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/hid_boot_interface/src/demo_main.c | 1 +
test/usb/tinyusb_demos/hid_boot_interface/src/tusb_config.h | 1 +
.../tinyusb_demos/hid_boot_interface/src/usb_descriptors.c | 1 +
.../tinyusb_demos/hid_boot_interface/src/usb_descriptors.h | 1 +
test/usb/tinyusb_demos/hid_composite/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.h | 1 +
test/usb/tinyusb_demos/hid_generic_inout/src/tusb_config.h | 1 +
.../usb/tinyusb_demos/hid_generic_inout/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/hid_multiple_interface/src/demo_main.c | 1 +
.../tinyusb_demos/hid_multiple_interface/src/tusb_config.h | 1 +
.../hid_multiple_interface/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/midi_test/src/demo_main.c | 1 +
test/usb/tinyusb_demos/midi_test/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/midi_test/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/msc_dual_lun/src/demo_main.c | 1 +
test/usb/tinyusb_demos/msc_dual_lun/src/msc_disk_dual.c | 1 +
test/usb/tinyusb_demos/msc_dual_lun/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/msc_dual_lun/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/uac2_headset/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/uac2_headset/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/usbtmc/src/demo_main.c | 1 +
test/usb/tinyusb_demos/usbtmc/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/video_capture/src/demo_main.c | 1 +
test/usb/tinyusb_demos/video_capture/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/video_capture/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/webusb_serial/src/demo_main.c | 1 +
test/usb/tinyusb_demos/webusb_serial/src/tusb_config.h | 1 +
test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.c | 1 +
test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.h | 1 +
50 files changed, 50 insertions(+), 9 deletions(-)
diff --git a/examples/freertos/audio_mux/src/usb/tusb_config.h b/examples/freertos/audio_mux/src/usb/tusb_config.h
index adffaa93..c2051bd8 100644
--- a/examples/freertos/audio_mux/src/usb/tusb_config.h
+++ b/examples/freertos/audio_mux/src/usb/tusb_config.h
@@ -1,10 +1,8 @@
/*
- * Copyright (c) 2021 XMOS LIMITED. This Software is subject to the terms of the
- * XMOS Public License: Version 1
- *
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/examples/freertos/audio_mux/src/usb/usb_audio.c b/examples/freertos/audio_mux/src/usb/usb_audio.c
index ea644e1b..52cf4293 100644
--- a/examples/freertos/audio_mux/src/usb/usb_audio.c
+++ b/examples/freertos/audio_mux/src/usb/usb_audio.c
@@ -1,10 +1,8 @@
/*
- * Copyright (c) 2021 XMOS LIMITED. This Software is subject to the terms of the
- * XMOS Public License: Version 1
- *
* The MIT License (MIT)
*
* Copyright (c) 2020 Reinhard Panhuber
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/examples/freertos/audio_mux/src/usb/usb_descriptors.c b/examples/freertos/audio_mux/src/usb/usb_descriptors.c
index 31efa607..a4d30c83 100644
--- a/examples/freertos/audio_mux/src/usb/usb_descriptors.c
+++ b/examples/freertos/audio_mux/src/usb/usb_descriptors.c
@@ -1,10 +1,8 @@
/*
- * Copyright (c) 2021 XMOS LIMITED. This Software is subject to the terms of the
- * XMOS Public License: Version 1
- *
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/examples/freertos/device_control/src/tusb_config.h b/examples/freertos/device_control/src/tusb_config.h
index 2779c299..4b148353 100644
--- a/examples/freertos/device_control/src/tusb_config.h
+++ b/examples/freertos/device_control/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/examples/freertos/device_control/src/usb_descriptors.c b/examples/freertos/device_control/src/usb_descriptors.c
index 1ffb8ac3..0c0de6a1 100644
--- a/examples/freertos/device_control/src/usb_descriptors.c
+++ b/examples/freertos/device_control/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/examples/freertos/dfu/src/usb/app_dfu.c b/examples/freertos/dfu/src/usb/app_dfu.c
index 316f72c8..eb392cee 100644
--- a/examples/freertos/dfu/src/usb/app_dfu.c
+++ b/examples/freertos/dfu/src/usb/app_dfu.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/examples/freertos/dfu/src/usb/usb_descriptors.c b/examples/freertos/dfu/src/usb/usb_descriptors.c
index 503e0cc1..ebee27fd 100644
--- a/examples/freertos/dfu/src/usb/usb_descriptors.c
+++ b/examples/freertos/dfu/src/usb/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/audio_test/src/demo_main.c b/test/usb/tinyusb_demos/audio_test/src/demo_main.c
index c1d370cb..ab39e16e 100644
--- a/test/usb/tinyusb_demos/audio_test/src/demo_main.c
+++ b/test/usb/tinyusb_demos/audio_test/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2020 Reinhard Panhuber
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/audio_test/src/usb_descriptors.c b/test/usb/tinyusb_demos/audio_test/src/usb_descriptors.c
index 47c9f9dc..2c2da074 100644
--- a/test/usb/tinyusb_demos/audio_test/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/audio_test/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_dual_ports/src/demo_main.c b/test/usb/tinyusb_demos/cdc_dual_ports/src/demo_main.c
index 16e40e30..b9568036 100644
--- a/test/usb/tinyusb_demos/cdc_dual_ports/src/demo_main.c
+++ b/test/usb/tinyusb_demos/cdc_dual_ports/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_dual_ports/src/tusb_config.h b/test/usb/tinyusb_demos/cdc_dual_ports/src/tusb_config.h
index f9360609..21f0350b 100644
--- a/test/usb/tinyusb_demos/cdc_dual_ports/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/cdc_dual_ports/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_dual_ports/src/usb_descriptors.c b/test/usb/tinyusb_demos/cdc_dual_ports/src/usb_descriptors.c
index 7963746a..d73a2697 100644
--- a/test/usb/tinyusb_demos/cdc_dual_ports/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/cdc_dual_ports/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_msc/src/demo_main.c b/test/usb/tinyusb_demos/cdc_msc/src/demo_main.c
index a945e669..7b14911e 100644
--- a/test/usb/tinyusb_demos/cdc_msc/src/demo_main.c
+++ b/test/usb/tinyusb_demos/cdc_msc/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_msc/src/msc_disk.c b/test/usb/tinyusb_demos/cdc_msc/src/msc_disk.c
index ebbe16ca..89f3bf92 100644
--- a/test/usb/tinyusb_demos/cdc_msc/src/msc_disk.c
+++ b/test/usb/tinyusb_demos/cdc_msc/src/msc_disk.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_msc/src/tusb_config.h b/test/usb/tinyusb_demos/cdc_msc/src/tusb_config.h
index 6507cef1..77f9d25a 100644
--- a/test/usb/tinyusb_demos/cdc_msc/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/cdc_msc/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/cdc_msc/src/usb_descriptors.c b/test/usb/tinyusb_demos/cdc_msc/src/usb_descriptors.c
index 5e09c70f..0dd43028 100644
--- a/test/usb/tinyusb_demos/cdc_msc/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/cdc_msc/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/dfu/src/demo_main.c b/test/usb/tinyusb_demos/dfu/src/demo_main.c
index 9586bdf8..8fee4d6d 100644
--- a/test/usb/tinyusb_demos/dfu/src/demo_main.c
+++ b/test/usb/tinyusb_demos/dfu/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/dfu/src/usb_descriptors.c b/test/usb/tinyusb_demos/dfu/src/usb_descriptors.c
index 350334aa..8f5a3224 100644
--- a/test/usb/tinyusb_demos/dfu/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/dfu/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/dfu_runtime/src/demo_main.c b/test/usb/tinyusb_demos/dfu_runtime/src/demo_main.c
index 3ceb0d71..35dacf3c 100644
--- a/test/usb/tinyusb_demos/dfu_runtime/src/demo_main.c
+++ b/test/usb/tinyusb_demos/dfu_runtime/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/dfu_runtime/src/usb_descriptors.c b/test/usb/tinyusb_demos/dfu_runtime/src/usb_descriptors.c
index 2e153bba..5081c46b 100644
--- a/test/usb/tinyusb_demos/dfu_runtime/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/dfu_runtime/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_boot_interface/src/demo_main.c b/test/usb/tinyusb_demos/hid_boot_interface/src/demo_main.c
index dd17b7e1..dc11962b 100644
--- a/test/usb/tinyusb_demos/hid_boot_interface/src/demo_main.c
+++ b/test/usb/tinyusb_demos/hid_boot_interface/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_boot_interface/src/tusb_config.h b/test/usb/tinyusb_demos/hid_boot_interface/src/tusb_config.h
index 1c8fa40b..68352983 100644
--- a/test/usb/tinyusb_demos/hid_boot_interface/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/hid_boot_interface/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.c b/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.c
index 3fa48d98..5adb74cd 100644
--- a/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.h b/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.h
index 57cf0e2c..2131afde 100644
--- a/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.h
+++ b/test/usb/tinyusb_demos/hid_boot_interface/src/usb_descriptors.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_composite/src/tusb_config.h b/test/usb/tinyusb_demos/hid_composite/src/tusb_config.h
index d0f2b513..2b1a4e80 100644
--- a/test/usb/tinyusb_demos/hid_composite/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/hid_composite/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.c b/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.c
index b7a59cf6..d2abf072 100644
--- a/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.h b/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.h
index ca8925ad..2ede9824 100644
--- a/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.h
+++ b/test/usb/tinyusb_demos/hid_composite/src/usb_descriptors.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_generic_inout/src/tusb_config.h b/test/usb/tinyusb_demos/hid_generic_inout/src/tusb_config.h
index 9db50269..9c4098d0 100644
--- a/test/usb/tinyusb_demos/hid_generic_inout/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/hid_generic_inout/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_generic_inout/src/usb_descriptors.c b/test/usb/tinyusb_demos/hid_generic_inout/src/usb_descriptors.c
index a3c6480e..7fe157c3 100644
--- a/test/usb/tinyusb_demos/hid_generic_inout/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/hid_generic_inout/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_multiple_interface/src/demo_main.c b/test/usb/tinyusb_demos/hid_multiple_interface/src/demo_main.c
index 0921ffa7..e8cda9cd 100644
--- a/test/usb/tinyusb_demos/hid_multiple_interface/src/demo_main.c
+++ b/test/usb/tinyusb_demos/hid_multiple_interface/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_multiple_interface/src/tusb_config.h b/test/usb/tinyusb_demos/hid_multiple_interface/src/tusb_config.h
index 32e8c284..95819619 100644
--- a/test/usb/tinyusb_demos/hid_multiple_interface/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/hid_multiple_interface/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/hid_multiple_interface/src/usb_descriptors.c b/test/usb/tinyusb_demos/hid_multiple_interface/src/usb_descriptors.c
index 9eef2150..9ba65818 100644
--- a/test/usb/tinyusb_demos/hid_multiple_interface/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/hid_multiple_interface/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/midi_test/src/demo_main.c b/test/usb/tinyusb_demos/midi_test/src/demo_main.c
index f35422b8..c08ac2a5 100644
--- a/test/usb/tinyusb_demos/midi_test/src/demo_main.c
+++ b/test/usb/tinyusb_demos/midi_test/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/midi_test/src/tusb_config.h b/test/usb/tinyusb_demos/midi_test/src/tusb_config.h
index 967c7140..8a0f1536 100644
--- a/test/usb/tinyusb_demos/midi_test/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/midi_test/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/midi_test/src/usb_descriptors.c b/test/usb/tinyusb_demos/midi_test/src/usb_descriptors.c
index f873fc86..93c215e0 100644
--- a/test/usb/tinyusb_demos/midi_test/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/midi_test/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/msc_dual_lun/src/demo_main.c b/test/usb/tinyusb_demos/msc_dual_lun/src/demo_main.c
index 71c143cf..14f92e0c 100644
--- a/test/usb/tinyusb_demos/msc_dual_lun/src/demo_main.c
+++ b/test/usb/tinyusb_demos/msc_dual_lun/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/msc_dual_lun/src/msc_disk_dual.c b/test/usb/tinyusb_demos/msc_dual_lun/src/msc_disk_dual.c
index 775e8b1e..4b03429b 100644
--- a/test/usb/tinyusb_demos/msc_dual_lun/src/msc_disk_dual.c
+++ b/test/usb/tinyusb_demos/msc_dual_lun/src/msc_disk_dual.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/msc_dual_lun/src/tusb_config.h b/test/usb/tinyusb_demos/msc_dual_lun/src/tusb_config.h
index f617f5a4..dd8f4f80 100644
--- a/test/usb/tinyusb_demos/msc_dual_lun/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/msc_dual_lun/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/msc_dual_lun/src/usb_descriptors.c b/test/usb/tinyusb_demos/msc_dual_lun/src/usb_descriptors.c
index e779b26f..81745df8 100644
--- a/test/usb/tinyusb_demos/msc_dual_lun/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/msc_dual_lun/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/uac2_headset/src/tusb_config.h b/test/usb/tinyusb_demos/uac2_headset/src/tusb_config.h
index 2a1189a7..380891f0 100644
--- a/test/usb/tinyusb_demos/uac2_headset/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/uac2_headset/src/tusb_config.h
@@ -3,6 +3,7 @@
*
* Copyright (c) 2020 Ha Thach (tinyusb.org)
* Copyright (c) 2020 Jerzy Kasenberg
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/uac2_headset/src/usb_descriptors.c b/test/usb/tinyusb_demos/uac2_headset/src/usb_descriptors.c
index c683bc3d..bfc051ef 100644
--- a/test/usb/tinyusb_demos/uac2_headset/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/uac2_headset/src/usb_descriptors.c
@@ -3,6 +3,7 @@
*
* Copyright (c) 2020 Ha Thach (tinyusb.org)
* Copyright (c) 2020 Jerzy Kasenberg
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/usbtmc/src/demo_main.c b/test/usb/tinyusb_demos/usbtmc/src/demo_main.c
index 45b090e8..e8ee6978 100644
--- a/test/usb/tinyusb_demos/usbtmc/src/demo_main.c
+++ b/test/usb/tinyusb_demos/usbtmc/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/usbtmc/src/usb_descriptors.c b/test/usb/tinyusb_demos/usbtmc/src/usb_descriptors.c
index 42348263..b0ecc868 100644
--- a/test/usb/tinyusb_demos/usbtmc/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/usbtmc/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/video_capture/src/demo_main.c b/test/usb/tinyusb_demos/video_capture/src/demo_main.c
index 9bc3c6a5..300fc133 100644
--- a/test/usb/tinyusb_demos/video_capture/src/demo_main.c
+++ b/test/usb/tinyusb_demos/video_capture/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/video_capture/src/tusb_config.h b/test/usb/tinyusb_demos/video_capture/src/tusb_config.h
index 3a079e66..30639f2e 100644
--- a/test/usb/tinyusb_demos/video_capture/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/video_capture/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/video_capture/src/usb_descriptors.c b/test/usb/tinyusb_demos/video_capture/src/usb_descriptors.c
index da8ec8e8..7945b8e8 100644
--- a/test/usb/tinyusb_demos/video_capture/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/video_capture/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/webusb_serial/src/demo_main.c b/test/usb/tinyusb_demos/webusb_serial/src/demo_main.c
index e59ad99d..4a401609 100644
--- a/test/usb/tinyusb_demos/webusb_serial/src/demo_main.c
+++ b/test/usb/tinyusb_demos/webusb_serial/src/demo_main.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/webusb_serial/src/tusb_config.h b/test/usb/tinyusb_demos/webusb_serial/src/tusb_config.h
index f5e4694e..7e318b63 100644
--- a/test/usb/tinyusb_demos/webusb_serial/src/tusb_config.h
+++ b/test/usb/tinyusb_demos/webusb_serial/src/tusb_config.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.c b/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.c
index 259320e0..87248b44 100644
--- a/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.c
+++ b/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.c
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.h b/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.h
index a1c4a2cf..a9e1384e 100644
--- a/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.h
+++ b/test/usb/tinyusb_demos/webusb_serial/src/usb_descriptors.h
@@ -2,6 +2,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2019 Ha Thach (tinyusb.org)
+ * Copyright (c) 2023 XMOS LIMITED
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
From 4ed3af97e790ff1efb0779b0425f7e3b45b1abad Mon Sep 17 00:00:00 2001
From: keithm-xmos <35048036+keithm-xmos@users.noreply.github.com>
Date: Thu, 22 Jun 2023 09:39:54 -0400
Subject: [PATCH 4/4] added xmath tutorial cognidox doc number
---
.github/workflows/ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dc900e24..c41a90fe 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -80,7 +80,7 @@ jobs:
fi
echo "XCORE_IOT_SOURCES_ARTIFACT_NAME=XM-014925-SM_xcore_iot_sources_$version" >> $GITHUB_OUTPUT
echo "DOCS_ARTIFACT_NAME=XM-014926-PC_xcore_iot_docs_$version" >> $GITHUB_OUTPUT
- echo "XMATH_WALKTHROUGH_SOURCES_ARTIFACT_NAME=XM-000TBD-SM_xmath_walkthrough_sources_$version" >> $GITHUB_OUTPUT
+ echo "XMATH_WALKTHROUGH_SOURCES_ARTIFACT_NAME=XM-014935-SM_xmath_walkthrough_sources_$version" >> $GITHUB_OUTPUT
else
echo "XCORE_IOT_SOURCES_ARTIFACT_NAME=xcore_iot_sources" >> $GITHUB_OUTPUT
echo "XMATH_WALKTHROUGH_SOURCES_ARTIFACT_NAME=xmath_walkthrough_sources" >> $GITHUB_OUTPUT