From 52911682c4b571514103afdb3685822c898298e8 Mon Sep 17 00:00:00 2001 From: David Chalco Date: Thu, 16 Apr 2020 14:51:52 -0700 Subject: [PATCH] append MIT license --- portable/ThirdParty/XMOS/XCORE200/port.c | 52 ++++++++++++++++++- portable/ThirdParty/XMOS/XCORE200/portasm.S | 24 ++++++++- portable/ThirdParty/XMOS/XCORE200/portmacro.h | 24 ++++++++- .../XMOS/XCORE200/rtos_support_rtos_config.h | 24 ++++++++- 4 files changed, 120 insertions(+), 4 deletions(-) diff --git a/portable/ThirdParty/XMOS/XCORE200/port.c b/portable/ThirdParty/XMOS/XCORE200/port.c index 30c4f77ff..827f5ec2c 100644 --- a/portable/ThirdParty/XMOS/XCORE200/port.c +++ b/portable/ThirdParty/XMOS/XCORE200/port.c @@ -1,4 +1,54 @@ -// Copyright (c) 2019, XMOS Ltd, All rights reserved + +/* + * FreeRTOS Kernel + * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of + * this software and associated documentation files (the "Software"), to deal in + * the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of + * the Software, and to permit persons to whom the Software is furnished to do so, + * subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. If you wish to use our Amazon + * FreeRTOS name, please do so in a fair use way that does not cause confusion. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS + * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR + * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + * http://www.FreeRTOS.org + * http://aws.amazon.com/freertos + * + * 1 tab == 4 spaces! + */ + +/* + * Copyright (c) 2019, XMOS Ltd, All rights reserved + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ /* Scheduler includes. */ #include "FreeRTOS.h" diff --git a/portable/ThirdParty/XMOS/XCORE200/portasm.S b/portable/ThirdParty/XMOS/XCORE200/portasm.S index dcdf47f9b..e68aeb388 100644 --- a/portable/ThirdParty/XMOS/XCORE200/portasm.S +++ b/portable/ThirdParty/XMOS/XCORE200/portasm.S @@ -1,4 +1,26 @@ -// Copyright (c) 2020, XMOS Ltd, All rights reserved + +/* + * Copyright (c) 2020, XMOS Ltd, All rights reserved + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ #include "rtos_support_rtos_config.h" diff --git a/portable/ThirdParty/XMOS/XCORE200/portmacro.h b/portable/ThirdParty/XMOS/XCORE200/portmacro.h index 43c6c0480..bdebee0f1 100644 --- a/portable/ThirdParty/XMOS/XCORE200/portmacro.h +++ b/portable/ThirdParty/XMOS/XCORE200/portmacro.h @@ -1,4 +1,26 @@ -// Copyright (c) 2020, XMOS Ltd, All rights reserved + +/* + * Copyright (c) 2020, XMOS Ltd, All rights reserved + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ #ifndef PORTMACRO_H #define PORTMACRO_H diff --git a/portable/ThirdParty/XMOS/XCORE200/rtos_support_rtos_config.h b/portable/ThirdParty/XMOS/XCORE200/rtos_support_rtos_config.h index 9ae7012ba..34dddb85c 100644 --- a/portable/ThirdParty/XMOS/XCORE200/rtos_support_rtos_config.h +++ b/portable/ThirdParty/XMOS/XCORE200/rtos_support_rtos_config.h @@ -1,4 +1,26 @@ -// Copyright (c) 2020, XMOS Ltd, All rights reserved + +/* + * Copyright (c) 2020, XMOS Ltd, All rights reserved + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ #ifndef RTOS_SUPPORT_RTOS_CONFIG_H_ #define RTOS_SUPPORT_RTOS_CONFIG_H_