From 2e5fd6f7f50dd406af315c9d0c98a44c7c6d1152 Mon Sep 17 00:00:00 2001 From: Jiri Kastner Date: Tue, 10 Sep 2024 09:35:37 +0200 Subject: [PATCH 1/3] switch to eclipse Signed-off-by: Jiri Kastner --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 4cf4c42..4d9ce28 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,4 +3,4 @@ [submodule "threadx"] path = threadx - url = https://github.com/azure-rtos/threadx.git + url = https://github.com/eclipse-threadx/threadx.git From e82599d26b1c1749340d51bfc4f64aba5bbd423e Mon Sep 17 00:00:00 2001 From: Jiri Kastner Date: Tue, 10 Sep 2024 09:38:37 +0200 Subject: [PATCH 2/3] ThreadX was re-licensed to MIT Signed-off-by: Jiri Kastner --- threadx-sys/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/threadx-sys/Cargo.toml b/threadx-sys/Cargo.toml index 9a1e4b4..fbc705e 100644 --- a/threadx-sys/Cargo.toml +++ b/threadx-sys/Cargo.toml @@ -6,7 +6,7 @@ name = "threadx-sys" version = "0.1.0" edition = "2021" authors = ["Jonathan Pallant "] -license-file = "../LICENCES/LicenseRef-Azure.txt" +license-file = "../LICENCES/MIT.txt" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 3c1672e1252f1284c4badc690512a57d15d894a2 Mon Sep 17 00:00:00 2001 From: Jonathan Pallant Date: Tue, 10 Sep 2024 18:15:00 -0400 Subject: [PATCH 3/3] tx_low_level.S is also now available under the MIT license. See https://github.com/eclipse-threadx/threadx/commit/039a3463974f922f6dd6bfb8afb7ee2895eaebcf --- LICENSES/LicenseRef-Azure.txt | 249 ---------------------------------- nrf52-app/src/tx_low_level.S | 23 ++-- 2 files changed, 11 insertions(+), 261 deletions(-) delete mode 100644 LICENSES/LicenseRef-Azure.txt diff --git a/LICENSES/LicenseRef-Azure.txt b/LICENSES/LicenseRef-Azure.txt deleted file mode 100644 index 6929d7e..0000000 --- a/LICENSES/LicenseRef-Azure.txt +++ /dev/null @@ -1,249 +0,0 @@ -MICROSOFT SOFTWARE LICENSE TERMS - -MICROSOFT AZURE RTOS - - -These license terms are an agreement between you and Microsoft Corporation (or -one of its affiliates). They apply to the software named above and any Microsoft -services or software updates (except to the extent such services or updates are -accompanied by new or additional terms, in which case those different terms -apply prospectively and do not alter your or Microsoft’s rights relating to -pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU -HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. - -1. INSTALLATION AND USE RIGHTS. - -a) General. You may (I) install, use and modify the software and (ii) install and use the included Microsoft -Applications (if any), each solely for internal development, testing and evaluation purposes. -Distribution or production use is governed by the license terms set forth in -Section 2. You may also obtain distribution or production use rights through a separate agreement with -Microsoft. - -b) Contributions. Microsoft welcomes contributions to this software. In the event -that you make a contribution to this software you will be required to agree to a -Contributor License Agreement (CLA) declaring that you have the right to, and -actually do, grant Microsoft the rights to use your contribution. For details, -visit https://cla.microsoft.com. - -c) Included Microsoft Applications. The software may include other Microsoft -applications which are governed by the licenses embedded in or made available -with those applications. - -d) Third Party Components. The software may include third party components with -separate legal notices or governed by other agreements, as may be described -within the software or in the ThirdPartyNotices file(s) accompanying the -software. - -e) Competitive Benchmarking. If you are a direct competitor, and you access or use -the software for purposes of competitive benchmarking, analysis, or intelligence -gathering, you waive as against Microsoft, its subsidiaries, and its affiliated -companies (including prospectively) any competitive use, access, and -benchmarking test restrictions in the terms governing your software to the -extent your terms of use are, or purport to be, more restrictive than -Microsoft’s terms. If you do not waive any such purported restrictions in the -terms governing your software, you are not allowed to access or use this -software, and will not do so. - -2. DISTRIBUTION AND PRODUCTION USE. If you have obtained and/or are developing on -microprocessor(s) and/or microcontroller(s) (“hardware”) listed in the file -named “LICENSED-HARDWARE.txt” included in the repository and/or distributed with -the software you have the following rights in and to the software solely when -used in combination with the hardware. In the event hardware is not listed in -the LICENSED-HARDWARE.txt file, you do not have the rights in this Section 2. - -a) Distribution and Production Use Rights. - -i. You may use the software in production (e.g. program the modified or unmodified -software to devices you own or control) and distribute (i.e. make available to -third parties) the modified or unmodified binary image produced from this code. - -ii. You may permit your device distributors or developers to copy and distribute the -binary image as programmed or to be programmed to your devices. - -iii. You may redistribute the unmodified or modified source to your device -distributors or developers. Modifications must be clearly marked. Any -redistribution in source code form must contain this license and any other -licenses that accompany the software. - -b) Requirements. For any code you distribute, you must: - -i. when distributed in binary form, except as embedded in a device, include with -such distribution the terms of this agreement; -ii. when distributed in source code form to distributors or developers of your -devices, include with such distribution the terms of this agreement; and -iii. indemnify, defend and hold harmless Microsoft from any claims, including claims arising from any High Risk Uses, and inclusive of attorneys’ fees, related to the distribution or use of your devices that include the software, except to the extent that any intellectual property claim is based solely on the unmodified software. - -c) Restrictions. You may not: -i. use or modify the software to create competing real time operating system -software; - -ii. remove any copyright notices or licenses contained in the software; - -iii. use Microsoft’s trademarks or trade dress in your application in any way that -suggests your device or application comes from or is endorsed by Microsoft; - -iv. transfer individual components, specific libraries, classes, functions or code -fragments of the software separately for purposes unrelated to the software; or - -v. use or distribute the software in any way that would subject the software or -Microsoft’s intellectual property or technology to any other license terms. - -3. SCOPE OF LICENSE. The software is licensed, not sold. Microsoft reserves all -other rights. Unless applicable law gives you more rights despite this -limitation, you will not (and have no right to): - -a) remove, minimize, block, or modify any notices of Microsoft or its suppliers in -the software; - -b) use the software in any way that is against the law or to create or propagate -malware; or - -c) share, publish, distribute, or lease the software (except as permitted in -Section 2 above), or provide the software as a stand-alone offering for others -to use. - -4. DATA. This software may interact with other Microsoft products that collect data -that is transmitted to Microsoft. To learn more about how Microsoft processes -personal data we collect, please see the Microsoft Privacy Statement at -https://go.microsoft.com/fwlink/?LinkId=248681. - -5. EXPORT RESTRICTIONS. You must comply with all domestic and international export -laws and regulations that apply to the software, which include restrictions on -destinations, end users, and end use. For further information on export -restrictions, visit https://aka.ms/exporting. - -6. SUPPORT SERVICES. Microsoft is not obligated under this agreement to provide any -support services for the software. Any support provided is “as is”, “with all -faults”, and without warranty of any kind. - -7. UPDATES. Microsoft may periodically update the software. You may obtain updates -only from Microsoft or Microsoft-authorized sources. Updates may not include or -support all existing software features, services, or peripheral devices. - -8. TERMINATION. Without prejudice to any other rights, Microsoft may terminate this -agreement if you fail to comply with any of its terms or conditions. In such -event, you must destroy all copies of the software and all of its component -parts. - -9. ENTIRE AGREEMENT. This agreement, and any other terms Microsoft may provide for -supplements, updates, or third-party applications, is the entire agreement for -the software. To the extent you have entered into a separate agreement with -Microsoft relating specifically to the software, the terms in such agreement -shall control. - -10. APPLICABLE LAW AND PLACE TO RESOLVE DISPUTES. If you acquired the software in -the United States or Canada, the laws of the state or province where you live -(or, if a business, where your principal place of business is located) govern -the interpretation of this agreement, claims for its breach, and all other -claims (including consumer protection, unfair competition, and tort claims), -regardless of conflict of laws principles. If you acquired the software in any -other country, its laws apply. If U.S. federal jurisdiction exists, you and -Microsoft consent to exclusive jurisdiction and venue in the federal court in -King County, Washington for all disputes heard in court. If not, you and -Microsoft consent to exclusive jurisdiction and venue in the Superior Court of -King County, Washington for all disputes heard in court. - -11. CONSUMER RIGHTS; REGIONAL VARIATIONS. This agreement describes certain legal -rights. You may have other rights, including consumer rights, under the laws of -your state or country. Separate and apart from your relationship with Microsoft, -you may also have rights with respect to the party from which you acquired the -software. This agreement does not change those other rights if the laws of your -state or country do not permit it to do so. For example, if you acquired the -software in one of the below regions, or mandatory country law applies, then the -following provisions apply to you: - -a) Australia. You have statutory guarantees under the Australian Consumer Law and -nothing in this agreement is intended to affect those rights. - -b) Germany and Austria. - -i. Warranty. The properly licensed software will perform substantially as -described in any Microsoft materials that accompany the software. However, -Microsoft gives no contractual guarantee in relation to the licensed software. - -ii. Limitation of Liability. In case of intentional conduct, gross negligence, -claims based on the Product Liability Act, as well as, in case of death or -personal or physical injury, Microsoft is liable according to the statutory law. - - -Subject to the foregoing clause ii., Microsoft will only be liable for slight -negligence if Microsoft is in breach of such material contractual obligations, -the fulfillment of which facilitate the due performance of this agreement, the -breach of which would endanger the purpose of this agreement and the compliance -with which a party may constantly trust in (so-called "cardinal obligations"). -In other cases of slight negligence, Microsoft will not be liable for slight -negligence. -12. DISCLAIMER OF WARRANTY. -a) THE SOFTWARE IS LICENSED “AS IS.” YOU BEAR THE RISK OF -USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO -THE EXTENT PERMITTED UNDER APPLICABLE LAWS, MICROSOFT EXCLUDES ALL IMPLIED -WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND -NON-INFRINGEMENT. -b) HIGH RISK USE DISCLAIMER. WARNING: THE SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE WHERE FAILURE OR FAULT OF ANY KIND OF THE SOFTWARE COULD RESULT IN DEATH OR SERIOUS BODILY INJURY, OR IN PHYSICAL OR ENVIRONMENTAL DAMAGE (“collectively High Risk Use”). Accordingly, You must design and implement your hardware and software such that, in the event of any interruption, defect, error, or other failure of the software, the safety of people, property, and the environment are not reduced below a level that is reasonable, appropriate, and legal, whether in general or for a specific industry. Your High Risk Use of the software is at Your own risk. - -13. LIMITATION ON AND EXCLUSION OF DAMAGES. IF YOU HAVE ANY BASIS FOR RECOVERING -DAMAGES DESPITE THE PRECEDING DISCLAIMER OF WARRANTY, YOU CAN RECOVER FROM -MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT -RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, -INDIRECT, OR INCIDENTAL DAMAGES. - -This limitation applies to (a) anything related to the software, services, -content (including code) on third party Internet sites, or third party -applications; and (b) claims for breach of contract, warranty, guarantee, or -condition; strict liability, negligence, or other tort; or any other claim; in -each case to the extent permitted by applicable law. - -It also applies even if Microsoft knew or should have known about the -possibility of the damages. The above limitation or exclusion may not apply to -you because your state, province, or country may not allow the exclusion or -limitation of incidental, consequential, or other damages. - - Please note: As this software is distributed in Canada, some of the clauses in -this agreement are provided below in French. - -Remarque: Ce logiciel étant distribué au Canada, certaines des clauses dans ce -contrat sont fournies ci-dessous en français. - -EXONÉRATION DE GARANTIE. -a) Le logiciel visé par une licence est offert « tel quel -». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft -n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits -additionnels en vertu du droit local sur la protection des consommateurs, que ce -contrat ne peut modifier. La ou elles sont permises par le droit locale, les -garanties implicites de qualité marchande, d’adéquation à un usage particulier -et d’absence de contrefaçon sont exclues. -b) CLAUSE D’EXCLUSION DE RESPONSABILITÉ RELATIVE À L’UTILISATION À HAUT RISQUE. -AVERTISSEMENT: LE LOGICIEL N’EST PAS CONÇU OU DESTINÉ À ÊTRE UTILISÉ LORSQU’UNE -DÉFAILLANCE OU UN DÉFAUT DE QUELQUE NATURE QUE CE SOIT POURRAIT ENTRAÎNER LA -MORT OU DES BLESSURES CORPORELLES GRAVES, OU DES DOMMAGES PHYSIQUES OU -ENVIRONNEMENTAUX (« Utilisation à haut risque »). Par conséquent, vous devez concevoir et mettre en -œuvre votre équipement et votre logiciel de manière à ce que, en cas d’interruption, de défaut, d’erreur -ou de toute autre défaillance du logiciel, la sécurité des personnes, des biens et de l’environnement ne -soit pas réduite en dessous d’un niveau raisonnable, approprié et légal, que ce soit en général ou pour -un secteur spécifique. Votre utilisation à haut risque du logiciel est à vos propres risques. - -LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES -DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une -indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous -ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris -les dommages spéciaux, indirects ou accessoires et pertes de bénéfices. - -Cette limitation concerne: - -•tout ce qui est relié au logiciel, aux services ou au contenu (y compris le -code) figurant sur des sites Internet tiers ou dans des programmes tiers; et - -•les réclamations au titre de violation de contrat ou de garantie, ou au titre -de responsabilité stricte, de négligence ou d’une autre faute dans la limite -autorisée par la loi en vigueur. - -Elle s’applique également, même si Microsoft connaissait ou devrait connaître -l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la -limitation de responsabilité pour les dommages indirects, accessoires ou de -quelque nature que ce soit, il se peut que la limitation ou l’exclusion -ci-dessus ne s’appliquera pas à votre égard. - -EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous -pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent -contrat ne modifie pas les droits que vous confèrent les lois de votre pays si -celles-ci ne le permettent pas. diff --git a/nrf52-app/src/tx_low_level.S b/nrf52-app/src/tx_low_level.S index d68237e..adc591a 100644 --- a/nrf52-app/src/tx_low_level.S +++ b/nrf52-app/src/tx_low_level.S @@ -1,14 +1,14 @@ -@/**************************************************************************/ -@/* */ -@/* Copyright (c) Microsoft Corporation. All rights reserved. */ -@/* */ -@/* This software is licensed under the Microsoft Software License */ -@/* Terms for Microsoft Azure RTOS. Full text of the license can be */ -@/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ -@/* and in the root directory of this software. */ -@/* SPDX-License-Identifier: LicenseRef-Azure */ -@/* */ -@/**************************************************************************/ +@/*************************************************************************** +@ * Copyright (c) 2024 Microsoft Corporation +@ * +@ * This program and the accompanying materials are made available under the +@ * terms of the MIT License which is available at +@ * https://opensource.org/licenses/MIT. +@ * +@ * SPDX-License-Identifier: MIT +@ * +@ * Modified by Ferrous Systems +@ **************************************************************************/ @ @ @/**************************************************************************/ @@ -22,7 +22,6 @@ @/**************************************************************************/ @ @ - .global _tx_initialize_low_level2 .global _tx_thread_system_stack_ptr .global _tx_initialize_unused_memory .global __sheap