Compare commits

...

102 Commits

Author SHA1 Message Date
Stefan Wick
07eac30740 Merge pull request #366 from eclipse-threadx/bo-ms/add_revision_history
Add revision history file.
2024-02-27 17:08:57 -08:00
Stefan Wick
daea08d5a9 Merge branch 'master' into bo-ms/add_revision_history 2024-02-27 17:08:48 -08:00
Stefan Wick
de311f995c Merge pull request #365 from eclipse-threadx/tizho/update_version
Update version number to 6.4.1
2024-02-27 17:05:56 -08:00
Bo Chen (from Dev Box)
3d62cbb2c0 Add revision history file. 2024-02-27 15:20:47 +08:00
TiejunZhou
27f0ce9ca2 Update version number to 6.4.1 2024-02-27 06:00:58 +00:00
Stefan Wick
9f527a31e5 Merge pull request #364 from eclipse-threadx/bo-ms/update_port
Update the copyright for all assembly files.
2024-02-22 17:45:59 -08:00
bo chen
039a346397 Update the copyright for all assembly files. 2024-02-23 09:39:05 +08:00
Stefan Wick
c8d37f8e5f Merge pull request #362 from eclipse-threadx/wickste-patch-5
Update README.md
2024-02-20 21:00:31 -08:00
Stefan Wick
dca6d205aa rebrand image content 2024-02-20 20:55:35 -08:00
Stefan Wick
4e358f45dc Update README.md 2024-02-20 20:51:05 -08:00
Stefan Wick
5a29fcad25 rebrand image content 2024-02-20 20:44:34 -08:00
Stefan Wick
8313cd6557 Update README.md 2024-02-20 20:41:00 -08:00
Stefan Wick
0b6f59d693 Merge pull request #355 from eclipse-threadx/wickste-patch-4
update license.txt and delete licensed-hardware.txt
2024-02-13 10:52:15 -08:00
Stefan Wick
38532b4ea9 Merge branch 'master' into wickste-patch-4 2024-02-13 10:52:03 -08:00
Stefan Wick
91867c5dd5 Merge pull request #353 from eclipse-threadx/wickste-patch-2
Update CONTRIBUTING.md
2024-02-12 22:31:12 -08:00
Stefan Wick
faa8e6127d Merge branch 'master' into wickste-patch-2 2024-02-12 22:30:19 -08:00
Stefan Wick
a98cc2be66 Merge pull request #354 from eclipse-threadx/wickste-patch-3
Update CONTRIBUTING.md
2024-02-12 22:29:17 -08:00
Stefan Wick
740515e95e Merge branch 'master' into wickste-patch-3 2024-02-12 22:27:47 -08:00
Stefan Wick
1d7fe67017 Merge branch 'master' into wickste-patch-4 2024-02-12 09:54:17 -08:00
Stefan Wick
35fba3cfb2 Merge pull request #352 from eclipse-threadx/wickste-patch-1
Create SECURITY.md
2024-02-09 10:46:50 -08:00
Stefan Wick
88033876b4 Delete LICENSED-HARDWARE.txt 2024-02-06 21:30:49 -08:00
Stefan Wick
8603158143 Update LICENSE.txt 2024-02-06 21:28:00 -08:00
Stefan Wick
78ab1fcf4b Update CONTRIBUTING.md 2024-02-06 21:17:58 -08:00
Stefan Wick
6760cfb620 Update CONTRIBUTING.md 2024-02-06 21:12:25 -08:00
Stefan Wick
85e686522e Update CONTRIBUTING.md 2024-02-06 21:02:31 -08:00
Stefan Wick
7472110d56 Create SECURITY.md 2024-02-06 18:17:12 -08:00
Stefan Wick
b6ca2cbe94 Merge pull request #351 from timlt/patch-1
Update README.md text
2024-02-01 08:05:36 -08:00
timlt
8693d918bf Update README.md text
Remove link to MS Learning training content.
2024-01-30 10:27:49 -07:00
Stefan Wick
7d2e492e17 Merge pull request #350 from eclipse-threadx/bo-ms/update_version_id
Update version id string.
2024-01-30 07:08:52 -08:00
Bo Chen (from Dev Box)
3e1da1f0b0 Update version id string. 2024-01-30 08:39:18 +08:00
Stefan Wick
54a4378fc6 Merge pull request #349 from eclipse-threadx/bo-ms/copyright
Update copyright.
2024-01-28 22:03:46 -08:00
Bo Chen (from Dev Box)
8276bcf711 Update copyright. 2024-01-29 13:51:15 +08:00
Stefan Wick
a0632b8aa2 Merge pull request #347 from ericwol-msft/SECURITY.md-update
Security.md update
2024-01-18 17:52:18 -08:00
Eric Wolz
66954968b1 Delete .github/workflows/codeql.yml 2024-01-18 11:31:07 -08:00
Eric Wolz
8cc988d35a Delete SECURITY.md 2024-01-18 11:28:08 -08:00
Stefan Wick
ecce61c944 Merge pull request #343 from ericwol-msft/ericwol-msft-azure-rtos-update
msft azure label rtos update
2024-01-12 14:04:53 -08:00
Eric Wolz
dff097f0f0 Update README.md 2024-01-11 18:23:33 -08:00
Eric Wolz
7cd02e81ef Update README.md 2024-01-11 13:52:07 -08:00
Eric Wolz
1047cd7261 Update CODEOWNERS 2024-01-11 13:48:24 -08:00
Xiuwen Cai
39f3c86c61 Add error handling in lock initialization in the Xtensa port (#340)
* Add error handling in lock initialization.

* Update release data and version.
2023-12-28 13:17:58 +08:00
Xiuwen Cai
9f3e35d3dc Add check for overflow in queue size calculation in RTOS compatibility layer. (#339)
* Add check for overflow in queue size calculation.

* Update release data and version.
2023-12-28 13:17:40 +08:00
TiejunZhou
d9ffb0f97d Update release date and version (#338)
* Update version number in API header

* Update release date and version
2023-12-28 10:51:29 +08:00
Yajun Xia
e73843f6d4 Added thumb mode support for threadX GNU ports on armv7a platforms. (#333)
* Added thumb mode support for threadX GNU ports on armv7a platforms.

https://msazure.visualstudio.com/One/_workitems/edit/26105175/

* move the swi interrupt to tx_initialize_low_level.S.

* update the test log.
2023-12-28 09:37:39 +08:00
Bo Chen
dbfad5d126 Merge pull request #336 from wenhui-xie/add_sudo
Add sudo to move coverage folder created by root user.
2023-12-22 10:28:34 +08:00
Wenhui Xie
23aa67c948 Add sudo to move coverage folder created by root user. 2023-12-22 01:36:38 +00:00
Ting Zhu
776ea213ce Correct condition syntax in "Prepare Coverage GitHub Pages" step.l (#329)
* Correct syntax.

* Update regression_template.yml

* Update regression_template.yml
2023-11-30 10:52:29 +08:00
Bo Chen
55673c2410 Merge pull request #328 from ting-ms/master
Add additional condition for "Prepare Coverage GitHub Pages" step.
2023-11-29 15:48:44 +08:00
Ting Zhu
ebe373b1f3 Add additional condition for "Prepare Coverage GitHub Pages" step. 2023-11-29 14:17:16 +08:00
CQ Xiao
a8e5d0946c Added input skip_coverage and coverage_name for customiziing. (#327)
* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

Coverage name of all -> default_build_coverage

* Update regression_template.yml

* Update regression_template.yml

Check inputs.skip_coverage to do steps.

* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

Enable coverage upload when manually triggered.

* Update regression_template.yml

* Update regression_template.yml

* Update regression_template.yml

* Update .github/workflows/regression_template.yml

Fix comments.

Co-authored-by: TiejunZhou <50469179+TiejunMS@users.noreply.github.com>

---------

Co-authored-by: TiejunZhou <50469179+TiejunMS@users.noreply.github.com>
2023-11-27 11:50:52 +08:00
TiejunZhou
cad6c42ecc Fix action to run on fork repo for cortex-m builds and unify them (#326) 2023-11-24 16:23:21 +08:00
TiejunZhou
e420e2fa02 Restrict deploy run condition (#325)
* Restrict deploy run condition

* Fail the job for testing purpose

* Revert "Fail the job for testing purpose"

This reverts commit 6ae18cafe2.
2023-11-24 15:41:34 +08:00
TiejunZhou
5f9c713c48 Split artifacts for multiple jobs (#324)
* Test multiple code coverage pages

* Add affix to artifacts

* Test uploading code coverage as artifact

* Deploy GitHub pages at last for multiple jobs

* Test using unified upload pages

* Disable test cases to accelerate experiment

* Fix escape character $

* Revert "Test using unified upload pages"

This reverts commit 3668d9f672.

* Set destination for downloaded artifact

* Use a different artifact name

* Fix escape value

* Revert "Disable test cases to accelerate experiment"

This reverts commit 8468f17d02.

* Override duplicated github-pages in artifact

* Revert "Override duplicated github-pages in artifact"

This reverts commit 17a83aa97d.

* Delete Duplicate Code Coverage Artifact
2023-11-24 13:59:26 +08:00
TiejunZhou
11a7db22b4 Convert ADO pipelines to GitHub actions (#321)
* Convert ADO pipelines to GitHub actions

* Remove version in uses as not valid for local workflows

* Fix cmake path and add deploy url affix

* Add SMP build job

* Fix code coverage URL

* Add affix to titles of steps

* Remove ADO pipelines

* Add affix to titles of code coverage

* separate PR results for multiple jobs

* Revert "separate PR results for multiple jobs"

This reverts commit 6da13540fd.

* separate PR results for multiple jobs
2023-11-23 13:17:52 +08:00
Bo Chen
d17d7bdcbd Merge pull request #314 from ting-ms/master
Update test script to generate JUnit format test report.
2023-11-16 13:31:34 +08:00
tinzhu
2362271d4b Upgrade CMake to the latest. 2023-11-10 15:50:36 +08:00
tinzhu
57c251cd39 Run ctest with additional option "--output-junit" to generate JUnit format test result. 2023-11-10 15:37:49 +08:00
Yajun Xia
cd87763dbd Removed redudant sample_threadX project from Cortex A7 ports_module IAR example_build. (#312)
https://msazure.visualstudio.com/One/_workitems/edit/25784627
2023-11-10 10:31:03 +08:00
TiejunZhou
13b700fd3e Update release version to 6.3.0 and date to 10-31-2023 (#308) 2023-10-23 15:31:03 +08:00
TiejunZhou
9ee2738aec Improved the logic to validate object from application in ThreadX Module (#307) 2023-10-23 14:33:24 +08:00
Yajun Xia
bc4bd804d5 Fixed the issue of the data/bss section cannot be read from ARM FVP debug tool in cortex-A5 GNU port (#306)
https://msazure.visualstudio.com/One/_workitems/edit/25153813/
2023-09-26 09:51:47 +08:00
Yajun Xia
d43cba10b2 Fixed the issue of the data/bss section cannot be read from ARM FVP debug tool in cortex-A9 GNU port. (#303)
https://msazure.visualstudio.com/One/_workitems/edit/25153785/
2023-09-18 16:36:36 +08:00
Yajun Xia
a0a0ef9385 Fixed the issue of the data/bss section cannot be read from ARM FVP debug tool in cortex-A8 GNU port. (#302)
https://msazure.visualstudio.com/One/_workitems/edit/25139203/
2023-09-18 10:32:07 +08:00
Yajun Xia
6aeefea8e6 Fixed the issue of the data/bss section cannot be read from ARM FVP d… (#301)
* Fixed the issue of the data/bss section cannot be read from ARM FVP debug tool in cortex-A7 GNU port.

https://msazure.visualstudio.com/One/_workitems/edit/24597276/

* remove untracked files.
2023-09-15 10:46:20 +08:00
Yajun Xia
cd9007712b Fixed the issue of ports_arch_check failed on the step of copy ports arch on ARMv8 ports. (#300)
https://msazure.visualstudio.com/One/_workitems/edit/25154735/
2023-09-14 09:43:51 +08:00
yajunxiaMS
bc8bed494d Added thumb mode support under IAR for module manager on Cortex-A7 pl… (#289)
* Added thumb mode support under IAR for module manager on Cortex-A7 platform.

* update code for comments.
2023-08-07 17:35:31 +08:00
yajunxiaMS
7fa087d061 Added thumb mode support under GNU for module manager on Cortex-A7 pl… (#287)
* Added thumb mode support under GNU for module manager on Cortex-A7 platform.

* update code for comment.
2023-07-21 09:26:22 +08:00
TiejunZhou
1ffd7c2cde Allow manual trigger for CodeQL action (#286) 2023-07-13 13:24:31 +08:00
TiejunZhou
fd2bf7c19a Enable CodeQL (#285)
* Enable CodeQL

* Build cortex-m0 in CodeQL

* Trigger the CodeQL by cron only
2023-07-13 13:09:47 +08:00
TiejunZhou
8ff9910ddc Added memory barrier before thread scheduling for ARMv8-A ThreadX SMP. (#280) 2023-06-26 09:21:06 +08:00
TiejunZhou
08380caa77 Unify ThreadX and SMP for ARMv8-A. (#275)
* Unify ThreadX and SMP for ARMv8-A.

* Fix path in pipeline to check ports arch.

* Add ignore folders for ARM DS

* Generate ThreadX and SMP ports for ARMv8-A.

* Ignore untracked files for ports_arch check.

* Use arch instead of CPU to simplify the project management.
2023-06-21 18:23:36 +08:00
Yanwu Cai
1b2995cea8 Fix compile warnings in Linux port. (#276) 2023-06-19 17:45:16 +08:00
TiejunZhou
25a8fa2362 Add a pull request template (#272) 2023-06-06 14:03:35 +08:00
TiejunZhou
71cc95eaed Include tx_user.h in cortex_m33/55/85 IAR port (#267) 2023-05-24 13:31:02 +08:00
Xiuwen Cai
361590dc40 Export _tx_handler_svc_unrecognized as weak symbol. (#264) 2023-05-19 11:06:50 +08:00
TiejunZhou
d66a519685 Fix MISRA issues for ThreadX SMP (#263)
* Fixed MISRA2012 rule 10.4_a

The operands `pool_ptr->tx_byte_pool_fragments' and `2' have essential type categories unsigned 32-bit int and signed 8-bit int, which do not match.

* Fixed MISRA2012 rule 10.4_a

The operands `next_priority' and `TX_MAX_PRIORITIES' have essential type categories unsigned 32-bit int and signed 8-bit int, which do not match.

* Fixed MISRA2012 rule 8.3

Declaration/definition of `_tx_thread_smp_preemptable_threads_get' is inconsistent with previous declaration/definition in types and/or type qualifiers
2023-05-18 15:57:53 +08:00
Xiuwen Cai
6b8ece0ff2 Add random number stack filling option. (#257)
Co-authored-by: TiejunZhou <50469179+TiejunMS@users.noreply.github.com>
2023-05-12 10:13:42 +08:00
Stefan Wick
6d9f25fac9 Update LICENSE.txt (#261) 2023-05-12 09:57:13 +08:00
TiejunZhou
e2a8334f96 Include tx_user.h in cortex_m3/4/7 IAR and AC5 port (#255)
* Include tx_user.h in ARMv7-M IAR port

* Include tx_user.h in ARMv7-M AC5 port

* Include tx_user.h in cortex_m3/4/7 IAR and AC5 port
2023-04-24 09:33:00 +08:00
TiejunZhou
7a3bb8311b Release scripts to validate ThreadX port (#254) 2023-04-23 10:58:21 +08:00
TiejunZhou
b11d1be6ac Update devcontainer to Ubuntu 22.04 (#253) 2023-04-21 09:41:18 +08:00
TiejunZhou
390c5ce1b7 Update CFS usage (#252) 2023-04-20 17:20:15 +08:00
TiejunZhou
672c5e953e Release ARMv7-A architecture ports and add tx_user.h to GNU port assembly files (#250)
* Release ARMv7-A architecture ports

* Add tx_user.h to GNU port assembly files

* Update GitHub action to perform check for Cortex-A ports
2023-04-19 17:56:09 +08:00
TiejunZhou
23680f5e5f Release ARMv7-M and ARMv8-M architecture ports (#249)
* Release ARMv7-M and ARMv8-M architecture ports

* Add a pipeline to check ports_arch
2023-04-18 18:11:20 +08:00
TiejunZhou
d64ef2ab06 Filter the path for PR trigger and add codeowners (#248)
* Filter the path for PR trigger

* Add codeowners

* Fix syntax in pipeline
2023-04-17 13:16:14 +08:00
TiejunZhou
4c4547d5d5 Fix path to test reports in pipeline (#247)
* Fix path to test reports in pipeline

* Fix test case when CPU starves, the thread 2 can run 14 ronuds.
2023-04-17 09:40:59 +08:00
TiejunZhou
0d308c7ae6 Fix random failure in test case threadx_event_flag_suspension_timeout_test.c (#246)
Depending on the starting time, thread 1 can run either 32 or 33 rounds.
2023-04-14 14:55:04 +08:00
TiejunZhou
487ca45752 Merge pull request #244 from azure-rtos/tizho/test
Release ThreadX regression system
2023-04-13 16:57:35 +08:00
Tiejun Zhou
5f430f22e2 Add Azure DevOps pipelines for ThreadX test 2023-04-12 09:40:17 +00:00
Tiejun Zhou
ebeb02b958 Release ThreadX regression system 2023-04-04 09:40:54 +00:00
Tiejun Zhou
ac3b6b326c Update on 31 Mar 2023. Expand to see details.
af5702cbf Include tx_user.h only when TX_INCLUDE_USER_DEFINE_FILE is defined for assembly files
2023-03-31 07:34:47 +00:00
TiejunZhou
dac41f6015 Merge pull request #236 from wickste/patch-1
Update LICENSED-HARDWARE.txt
2023-03-22 09:18:28 +08:00
Stefan Wick
f4d6b638de Update LICENSED-HARDWARE.txt
Adding per Renesas updated support for MPUs
2023-03-21 11:31:09 -07:00
Tiejun Zhou
2aa19f3de0 Release 6.2.1 on 08 Mar 2023. Expand to see details.
cee19603d Include tx_user.h conditionally.
e40e08007 Update owners
d69641273 Update release date and version
394aee52f Add tx_user.h to GNU port assembly files
5cca2ddd0 RISC-V 64 bit port for Microchip
e0f2c373c Link Winmm.lib that required by the high-resolution timer.
6af472a68 Update Win32 port with high resolution timer.
aea7b556a Add DMB ISH barrier inst in ARMv8-A SMP scheduler
19091a262 Add .section .preamble to m3 m4 m7 module ports
ced60e1b7 Add missing parenthesis in ports assembly file
309dc77ca Modules Cortex-A7 IAR new port
c752a4063 Modules Cortex-A7 GNU new port
dc224b90f Fix race condition in tx_thread_wait_abort and update regression test
6e261f5b7 create threadx cmsis-pack
2023-03-08 08:26:22 +00:00
Liya Du
745395d6a2 Update LICENSED-HARDWARE.txt 2023-02-10 13:47:51 -08:00
Liya Du
9bf9fbd86f Update LICENSED-HARDWARE.txt
Add new NXP and Renesas series.
2023-02-10 13:47:29 -08:00
Scott Larson
37f6d0b39c Update on 18 Jan 2023. Expand to see details.
9c3acb6ce armv8-m compile time FPU fix
37daa35e7 added tx_trace.h include to module stop.c
39824289f Remove internal deprecated files.
fe2f80f43 Add a notice for not released file.
7fdd3782a Upgrade to the latest Container Images.
2023-01-18 08:39:40 +00:00
Scott Larson
4e62226eea Update on 16 Dec 2022. Expand to see details.
b5d5df511 #include tx_user.h in assembly files for cortex-m ports
33e04e3d5 initial port of MIPS SMP for GHS and GNU
2eda2c17d capitalize extensions for M23 asm files
21c354ccb Fix armv7-m MPU settings for corner case, unify txm_module_port.h files
4a1ff93f9 remove uneeded include for ac6
c823e91ff update riscv iar example for latest iar tools
5559d185d check module stack for overlap (not kernel stack)
efa9ce7b7 apply patch from mobileye to fix time slice processing
75fdcb722 Updated copy_armv7_cm.yml
de04b9904 initialize unused MPU settings so that aliasing will work
79b317b60 add config directory to IAR RISC-V port in order to use simulator
2022-12-16 08:16:32 +00:00
Scott Larson
b42c5acd8b update IAR RISC-V example 2022-11-17 10:33:54 -08:00
Liya Du
35a301ad3b Update issue templates 2022-11-15 21:03:59 -08:00
Liya Du
e23b09fe0b Update issue templates 2022-11-15 20:48:09 -08:00
Liya Du
aea1a3d8f9 Update issue templates 2022-11-15 20:44:48 -08:00
Scott Larson
ee892502ec add 'config' directory to risc-v iar to support simulator 2022-11-02 08:32:02 -07:00
5183 changed files with 310715 additions and 53898 deletions

View File

@@ -0,0 +1,13 @@
{
"image": "ghcr.io/tiejunms/azure_rtos_docker",
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools"
],
"remoteUser": "vscode",
"runArgs": [ "--cap-add=NET_ADMIN"]
}

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
@eclipse-threadx/admins

35
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve Azure RTOS.
title: ''
labels: bug, hardware
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
Please also mention any information which could help others to understand
the problem you're facing:
- What target device are you using?
- Which version of Azure RTOS?
- What toolchain and environment?
- What have you tried to diagnose or workaround this issue?
**To Reproduce**
Steps to reproduce the behavior:
1. Build my project in IAR Workbench.
1. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Impact**
What impact does this issue have on your progress (e.g., annoyance, showstopper)
**Logs and console output**
If applicable, add console logs or other types of debug information like Wireshark capture as `.zip` file.
**Additional context**
Add any other context about the problem here.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea or enhancement to existing feature for Azure RTOS.
title: ''
labels: feature
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,19 @@
---
name: Hardware or architecture support
about: Suggest adding hardware or new architecture support.
title: ''
labels: ''
assignees: ''
---
**Is this request related to a particular hardware platform, SoC, board? Please describe.**
Describe in details the hardware support being requested and why this support benefits Azure RTOS.
**Describe why you are asking for this support?**
Describe why you are asking for this support.
If this is a new board or SoC, please state whether you are willing to maintain the Azure RTOS support together with you.
**Additional context**
Add any other context or graphics (drag-and-drop an image) about the hardware here.

5
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,5 @@
## PR checklist
<!--- Put an `x` in all the boxes that apply. -->
- [ ] Updated function header with a short description and version number
- [ ] Added test case for bug fix or new feature
- [ ] Validated on real hardware <!-- hardware - toolchain -->

View File

@@ -1,28 +0,0 @@
name: cache-update
on:
schedule:
- cron: '0 0 */3 * *' # every 30m for testing
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps: # Cache location for arm tools
- name: Cache arm-none-eabi-gcc tools
id: cache-arm-gcc
uses: actions/cache@v1
with:
path: $HOME/arm-none-eabi-gcc-9-2019-q4
key: ${{ runner.os }}-arm-gcc-9-2019-q4
# Get the arm-non-eabi-gcc toolchain
- name: Install arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
directory: $HOME/arm-none-eabi-gcc-9-2019-q4

View File

@@ -1,6 +1,6 @@
# This is a basic workflow to help you get started with Actions # This is a basic workflow to help you get started with Actions
name: cortex_m7 name: cortex_m
# Controls when the action will run. Triggers the workflow on push or pull request # Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch # events but only for the master branch
@@ -9,6 +9,14 @@ on:
branches: [ master ] branches: [ master ]
pull_request: pull_request:
branches: [ master ] branches: [ master ]
paths:
- ".github/workflows/ci_cortex_m.yml"
- 'common/**'
- 'utility/**'
- 'ports/cortex_m0/gnu/**'
- 'ports/cortex_m3/gnu/**'
- 'ports/cortex_m4/gnu/**'
- 'ports/cortex_m7/gnu/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel # A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs: jobs:
@@ -17,13 +25,18 @@ jobs:
# The type of runner that the job will run on # The type of runner that the job will run on
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
port: [0, 3, 4, 7]
name: Cortex M${{ matrix.port }} build
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout sources recursively - name: Check out the repository
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true submodules: true
# Store the arm compilers in the cache to speed up builds # Store the arm compilers in the cache to speed up builds
@@ -52,7 +65,7 @@ jobs:
# Prepare the build system # Prepare the build system
- name: Prepare build system - name: Prepare build system
run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m7.cmake -GNinja . run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m${{ matrix.port }}.cmake -GNinja .
env: env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH" PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"

View File

@@ -1,64 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: cortex_m0
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout sources recursively
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true
# Store the arm compilers in the cache to speed up builds
- name: Cache arm-none-eabi-gcc tools
id: cache-arm-gcc
uses: actions/cache@v1
with:
path: $HOME/arm-none-eabi-gcc-9-2019-q4
key: ${{ runner.os }}-arm-gcc-9-2019-q4
# Get the arm-non-eabi-gcc toolchain
- name: Install arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1
if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
# Get CMake into the environment
- name: Install cmake 3.19.1
uses: lukka/get-cmake@v3.19.1
# Get Ninja into the environment
- name: Install ninja-build
uses: seanmiddleditch/gha-setup-ninja@v3
# Prepare the build system
- name: Prepare build system
run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m0.cmake -GNinja .
env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
- name: Compile and link
run: cmake --build ./build
env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"

View File

@@ -1,64 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: cortex_m3
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout sources recursively
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true
# Store the arm compilers in the cache to speed up builds
- name: Cache arm-none-eabi-gcc tools
id: cache-arm-gcc
uses: actions/cache@v1
with:
path: $HOME/arm-none-eabi-gcc-9-2019-q4
key: ${{ runner.os }}-arm-gcc-9-2019-q4
# Get the arm-non-eabi-gcc toolchain
- name: Install arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1
if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
# Get CMake into the environment
- name: Install cmake 3.19.1
uses: lukka/get-cmake@v3.19.1
# Get Ninja into the environment
- name: Install ninja-build
uses: seanmiddleditch/gha-setup-ninja@v3
# Prepare the build system
- name: Prepare build system
run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m3.cmake -GNinja .
env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
- name: Compile and link
run: cmake --build ./build
env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"

View File

@@ -1,64 +0,0 @@
# This is a basic workflow to help you get started with Actions
name: cortex_m4
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout sources recursively
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true
# Store the arm compilers in the cache to speed up builds
- name: Cache arm-none-eabi-gcc tools
id: cache-arm-gcc
uses: actions/cache@v1
with:
path: $HOME/arm-none-eabi-gcc-9-2019-q4
key: ${{ runner.os }}-arm-gcc-9-2019-q4
# Get the arm-non-eabi-gcc toolchain
- name: Install arm-none-eabi-gcc
uses: fiam/arm-none-eabi-gcc@v1
if: steps.cache-arm-gcc.outputs.cache-hit != 'true'
with:
release: '9-2019-q4' # The arm-none-eabi-gcc release to use.
directory: $HOME/arm-none-eabi-gcc-9-2019-q4
# Get CMake into the environment
- name: Install cmake 3.19.1
uses: lukka/get-cmake@v3.19.1
# Get Ninja into the environment
- name: Install ninja-build
uses: seanmiddleditch/gha-setup-ninja@v3
# Prepare the build system
- name: Prepare build system
run: cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=./cmake/cortex_m4.cmake -GNinja .
env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"
- name: Compile and link
run: cmake --build ./build
env:
PATH: "$HOME/arm-none-eabi-gcc-9-2019-q4/bin:$PATH"

73
.github/workflows/ports_arch_check.yml vendored Normal file
View File

@@ -0,0 +1,73 @@
# This is a basic workflow to help you get started with Actions
name: ports_arch_check
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
branches: [ master ]
paths:
- ".github/workflows/ports_arch_check.yml"
- 'common/**'
- 'common_modules/**'
- 'common_smp/**'
- 'ports/**'
- 'ports_modules/**'
- 'ports_smp/**'
- 'ports_arch/**'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# Check ports for cortex-m
cortex-m:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout sources recursively
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true
# Copy ports arch
- name: Copy ports arch
run: |
scripts/copy_armv7_m.sh && scripts/copy_armv8_m.sh && scripts/copy_module_armv7_m.sh
if [[ -n $(git status --porcelain -uno) ]]; then
echo "Ports for ARM architecture is not updated"
git status
exit 1
fi
cortex-a:
# Check ports for cortex-a
runs-on: windows-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout sources recursively
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true
# Copy ports arch
- name: Copy ports arch
run: |
cd ports_arch/ARMv7-A
pwsh -Command ./update.ps1 -PortSets tx -CopyCommonFiles -CopyPortFiles -CopyExample -PatchFiles
cd ../../ports_arch/ARMv8-A
pwsh -Command ./update.ps1 -PortSets tx,tx_smp -CopyCommonFiles -CopyPortFiles -CopyExample -PatchFiles
if ((git status --porcelain -uno) -ne $null) {
Write-Host "Ports for ARM architecture is not updated"
git status
Exit 1
}

View File

@@ -0,0 +1,197 @@
# This is a basic workflow that is manually triggered
name: regression_template
on:
workflow_call:
inputs:
install_script:
default: './scripts/install.sh'
required: false
type: string
build_script:
default: './scripts/build.sh'
required: false
type: string
test_script:
default: './scripts/test.sh'
required: false
type: string
cmake_path:
default: './test/cmake'
required: false
type: string
skip_test:
default: false
required: false
type: boolean
skip_coverage:
default: false
required: false
type: boolean
coverage_name:
default: 'default_build_coverage'
required: false
type: string
skip_deploy:
default: false
required: false
type: boolean
deploy_list:
default: ''
required: false
type: string
result_affix:
default: ''
required: false
type: string
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "linux_job"
run_tests:
if: ${{ !inputs.skip_test}}
permissions:
contents: read
issues: read
checks: write
pull-requests: write
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install softwares
run: ${{ inputs.install_script }}
- name: Build
run: ${{ inputs.build_script }}
- name: Test
run: ${{ inputs.test_script }}
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2.11.0
if: always()
with:
check_name: Test Results ${{ inputs.result_affix }}
files: |
${{ inputs.cmake_path }}/build/*/*.xml
- name: Upload Test Results
if: success() || failure()
uses: actions/upload-artifact@v3.1.3
with:
name: test_reports ${{ inputs.result_affix }}
path: |
${{ inputs.cmake_path }}/build/*.txt
${{ inputs.cmake_path }}/build/*/Testing/**/*.xml
${{ inputs.cmake_path }}/build/**/regression/output_files/*.bin
- name: Configure GitHub Pages
uses: actions/configure-pages@v3.0.6
- name: Generate Code Coverage Results Summary
if: (!inputs.skip_coverage)
uses: irongut/CodeCoverageSummary@v1.3.0
with:
filename: ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }}.xml
format: markdown
badge: true
hide_complexity: true
output: file
- name: Write Code Coverage Summary
if: (!inputs.skip_coverage)
run: |
echo "## Coverage Report ${{ inputs.result_affix }}" >> $GITHUB_STEP_SUMMARY
cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
- name: Create CheckRun for Code Coverage
if: ((github.event_name == 'push') || (github.event_name == 'workflow_dispatch') || (github.event.pull_request.head.repo.full_name == github.repository)) && (!inputs.skip_coverage)
uses: LouisBrunner/checks-action@v1.6.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: Code Coverage ${{ inputs.result_affix }}
conclusion: ${{ job.status }}
output: |
{"summary":"Coverage Report"}
output_text_description_file: code-coverage-results.md
- name: Add Code Coverage PR Comment
if: ((github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository)) && (!inputs.skip_coverage)
uses: marocchino/sticky-pull-request-comment@v2
with:
header: Code Coverage ${{ inputs.result_affix }}
path: code-coverage-results.md
# Add sudo to move coverage folder created by root user
- name: Prepare Coverage GitHub Pages
if: (!inputs.skip_coverage)
run: >-
if [ "${{ inputs.result_affix }}" != "" ] && ${{ inputs.skip_deploy }}; then
sudo mv ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }} \
${{ inputs.cmake_path }}/coverage_report/${{ inputs.result_affix }}
fi
- name: Upload Code Coverage Artifacts
uses: actions/upload-artifact@v3.1.3
if: (inputs.skip_deploy && !inputs.skip_coverage)
with:
name: coverage_report
path: ${{ inputs.cmake_path }}/coverage_report
retention-days: 1
- name: Upload Code Coverage Pages
uses: actions/upload-pages-artifact@v2.0.0
if: (!inputs.skip_deploy && !inputs.skip_coverage)
with:
path: ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }}
deploy_code_coverage:
runs-on: ubuntu-latest
if: ((github.event_name == 'push') || (github.event_name == 'workflow_dispatch')) && !inputs.skip_coverage && !inputs.skip_deploy && !failure() && !cancelled()
needs: run_tests
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- uses: actions/download-artifact@v3
if: ${{ inputs.skip_test }}
with:
name: coverage_report
- name: Upload Code Coverage Pages
uses: actions/upload-pages-artifact@v2.0.0
if: ${{ inputs.skip_test }}
with:
path: .
- name: Delete Duplicate Code Coverage Artifact
uses: geekyeggo/delete-artifact@v2
with:
name: coverage_report
- name: Deploy GitHub Pages site
id: deployment
uses: actions/deploy-pages@v1.2.9
- name: Write Code Coverage Report URL
run: >-
if [ "${{ inputs.deploy_list }}" != "" ]; then
for i in ${{ inputs.deploy_list }}; do
echo 'Coverage report for ' $i ':${{ steps.deployment.outputs.page_url }}'$i >> $GITHUB_STEP_SUMMARY
done
else
echo 'Coverage report: ${{ steps.deployment.outputs.page_url }}' >> $GITHUB_STEP_SUMMARY
fi

35
.github/workflows/regression_test.yml vendored Normal file
View File

@@ -0,0 +1,35 @@
name: regression_test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
tx:
uses: ./.github/workflows/regression_template.yml
with:
build_script: ./scripts/build_tx.sh
test_script: ./scripts/test_tx.sh
cmake_path: ./test/tx/cmake
result_affix: ThreadX
skip_deploy: true
smp:
uses: ./.github/workflows/regression_template.yml
with:
build_script: ./scripts/build_smp.sh
test_script: ./scripts/test_smp.sh
cmake_path: ./test/smp/cmake
result_affix: SMP
skip_deploy: true
deploy:
needs: [tx, smp]
uses: ./.github/workflows/regression_template.yml
with:
skip_test: true
deploy_list: "ThreadX SMP"

9
.gitignore vendored
View File

@@ -1,6 +1,9 @@
.vscode/ .vscode/
.settings/
.metadata/
_deps/ _deps/
build/ build/
Debug/
CMakeFiles/ CMakeFiles/
CMakeScripts/ CMakeScripts/
CMakeLists.txt.user CMakeLists.txt.user
@@ -11,4 +14,10 @@ cmake_install.cmake
install_manifest.txt install_manifest.txt
compile_commands.json compile_commands.json
CTestTestfile.cmake CTestTestfile.cmake
*.dep
*.o
*.axf
*.map
*.a
*.htm

View File

@@ -1,14 +1,72 @@
# Contributing # Contributing to Eclipse ThreadX
This project welcomes contributions and suggestions. Most contributions require you to Thanks for your interest in this project.
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
and actually do, grant us the rights to use your contribution. For details, visit
https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need ## Project description
to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the
instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). Eclipse ThreadX provides a vendor-neutral, open source, safety certified OS for
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) real-time applications published on under a permissive license. The Eclipse
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. ThreadX suite encompasses:
* ThreadX - advanced real-time operating system (RTOS) designed specifically for deeply embedded applications
* NetX Duo - advanced, industrial-grade TCP/IP network stack designed specifically for deeply embedded real-time and IoT applications
* FileX - high-performance, FAT-compatible file system thats fully integrated with ThreadX kernel
* GUIX - provides a complete, embedded graphical user interface (GUI) library
* USBX - high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with ThreadX kernel
* LevelX - Flash Wear Leveling for FileX and stand-alone purposes
* GuiX Studio - design environment, facilitating the creation and maintenance of all graphical elements for GUIX
* TraceX - analysis tool that provides a graphical view of real-time system events to better understand the behavior of real-time systems
Project site: https://projects.eclipse.org/projects/iot.threadx
## Terms of Use
This repository is subject to the Terms of Use of the Eclipse Foundation
https://www.eclipse.org/legal/termsofuse.php
## Developer resources
Information regarding source code management, builds, coding standards, and more.
https://projects.eclipse.org/projects/iot.threadx/developer
The project maintains the following source code repositories
* https://github.com/eclipse-threadx/.github
* https://github.com/eclipse-threadx/cmsis-packs
* https://github.com/eclipse-threadx/filex
* https://github.com/eclipse-threadx/getting-started
* https://github.com/eclipse-threadx/guix
* https://github.com/eclipse-threadx/levelx
* https://github.com/eclipse-threadx/netxduo
* https://github.com/eclipse-threadx/rtos-docs
* https://github.com/eclipse-threadx/samples
* https://github.com/eclipse-threadx/threadx
* https://github.com/eclipse-threadx/threadx-learn-samples
* https://github.com/eclipse-threadx/tracex
* https://github.com/eclipse-threadx/usbx
## Eclipse Development Process
This Eclipse Foundation open project is governed by the Eclipse Foundation
Development Process and operates under the terms of the Eclipse IP Policy.
* https://eclipse.org/projects/dev_process
* https://www.eclipse.org/org/documents/Eclipse_IP_Policy.pdf
## Eclipse Contributor Agreement
In order to be able to contribute to Eclipse Foundation projects you must electronically sign the Eclipse Contributor Agreement (ECA).
https://www.eclipse.org/legal/ECA.php
The ECA provides the Eclipse Foundation with a permanent record that you agree
that each of your contributions will comply with the commitments documented in
the Developer Certificate of Origin (DCO). Having an ECA on file associated with
the email address matching the "Author" field of your contribution's Git commits
fulfills the DCO's requirement that you sign-off on your contributions.
For more information, please see the Eclipse Committer Handbook:
https://www.eclipse.org/projects/handbook/#resources-commit
## Contact
Contact the project developers via the project's "dev" list.
https://accounts.eclipse.org/mailing-list/threadx-dev

View File

@@ -1,246 +1,21 @@
MICROSOFT SOFTWARE LICENSE TERMS MIT License
MICROSOFT AZURE RTOS Copyright (c) 2024 - present Microsoft Corporation
Shape 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:
These license terms are an agreement between you and Microsoft Corporation (or The above copyright notice and this permission notice shall be included in all
one of its affiliates). They apply to the software named above and any Microsoft copies or substantial portions of the Software.
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 Microsofts 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. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a) General. You may install and use the software and the included Microsoft FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
applications solely for internal development, testing and evaluation purposes. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Any distribution or production use requires a separate license as set forth in LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
Section 2. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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 includes 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
Microsofts 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
attorneys fees, related to the distribution or use of your devices, except to
the extent that any claim is based solely on the unmodified software.
c) Restrictions. You may not:
i. use or modify the software to create a competing real time operating system
software;
ii. remove any copyright notices or licenses contained in the software;
iii. use Microsofts 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
Microsofts 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. 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.
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. Le logiciel visé par une licence est offert « tel quel
». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft
naccorde 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, dadéquation à un usage particulier
et dabsence de contrefaçon sont exclues.
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 dune autre faute dans la limite
autorisée par la loi en vigueur.
Elle sapplique également, même si Microsoft connaissait ou devrait connaître
léventualité dun tel dommage. Si votre pays nautorise pas lexclusion ou la
limitation de responsabilité pour les dommages indirects, accessoires ou de
quelque nature que ce soit, il se peut que la limitation ou lexclusion
ci-dessus ne sappliquera pas à votre égard.
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous
pourriez avoir dautres 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.

View File

@@ -1,45 +0,0 @@
LICENSED HARDWARE LIST
Last Updated: 2021-04-01
Microsoft has entered into OEM Agreements with manufacturers of the following
microprocessors and microcontrollers (the “hardware”) to enable those
manufacturers to include and distribute Azure RTOS in certain hardware. If you
have obtained and/or are developing on microprocessor(s) and/or
microcontroller(s) (“hardware”) listed below you inherit the “Distribution and
Production Use” rights in Section 2 of the Microsoft Software License Terms for
Microsoft Azure RTOS. If hardware is not listed below, you do not have those
rights.
STMicroelectronics:
STM32 MCUs
STM32 MPUs
MediaTek:
MT3620 MCU (Azure Sphere)
Microchip:
PIC 32-bit MCUs
SAM 32-bit MCUs
SAM 32-bit MPUs
NXP:
i.MX RT10xx and RT116x/7x series crossover MCUs
LPC5500 series
Renesas:
Synergy Platform
RX Family of MCUs
RA Family of MCUs
RZ Family of MPUs
--------------------------------------------------------------------------------
More coming soon. Please check back frequently for updates.

View File

@@ -1,6 +1,6 @@
# Azure RTOS ThreadX # Eclipse ThreadX RTOS
This advanced real-time operating system (RTOS) is designed specifically for deeply embedded applications. Among the multiple benefits it provides are advanced scheduling facilities, message passing, interrupt management, and messaging services. Azure RTOS ThreadX has many advanced features, including picokernel architecture, preemption threshold, event chaining, and a rich set of system services. This advanced real-time operating system (RTOS) is designed specifically for deeply embedded applications. Among the multiple benefits it provides are advanced scheduling facilities, message passing, interrupt management, and messaging services. Eclipse ThreadX RTOS has many advanced features, including picokernel architecture, preemption threshold, event chaining, and a rich set of system services.
Here are the key features and modules of ThreadX: Here are the key features and modules of ThreadX:
@@ -8,14 +8,11 @@ Here are the key features and modules of ThreadX:
## Getting Started ## Getting Started
Azure RTOS has been integrated to the semiconductor's SDKs and development environment. You can develop using the tools of choice from [STMicroelectronics](https://www.st.com/content/st_com/en/campaigns/x-cube-azrtos-azure-rtos-stm32.html), [NXP](https://www.nxp.com/design/software/embedded-software/azure-rtos-for-nxp-microcontrollers:AZURE-RTOS), [Renesas](https://github.com/renesas/azure-rtos) and [Microchip](https://mu.microchip.com/get-started-simplifying-your-iot-design-with-azure-rtos). Eclipse ThreadX has been integrated to the semiconductor's SDKs and development environment. You can develop using the tools of choice from [STMicroelectronics](https://www.st.com/content/st_com/en/campaigns/x-cube-azrtos-azure-rtos-stm32.html), [NXP](https://www.nxp.com/design/software/embedded-software/azure-rtos-for-nxp-microcontrollers:AZURE-RTOS), [Renesas](https://github.com/renesas/azure-rtos) and [Microchip](https://mu.microchip.com/get-started-simplifying-your-iot-design-with-azure-rtos).
We also provide [getting started guide](https://github.com/azure-rtos/getting-started) and [samples](https://github.com/azure-rtos/samples) using hero development boards from semiconductors you can build and test with. We also provide [getting started guide](https://github.com/eclipse-threadx/getting-started) and [samples](https://github.com/eclipse-threadx/samples) using development boards from semiconductors you can build and test with.
See [Overview of Azure RTOS ThreadX](https://learn.microsoft.com/en-us/azure/rtos/threadx/overview-threadx) for the high-level overview, and all documentation and APIs can be found in: [Azure RTOS ThreadX documentation](https://learn.microsoft.com/en-us/azure/rtos/threadx/).
Also there is dedicated [learning path of Azure RTOS ThreadX](https://learn.microsoft.com/training/paths/azure-rtos-threadx/) for learning systematically.
See [Overview of Eclipse ThreadX RTOS](https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/threadx/overview-threadx.md) for the high-level overview.
## Repository Structure and Usage ## Repository Structure and Usage
### Directory layout ### Directory layout
@@ -46,6 +43,53 @@ Also there is dedicated [learning path of Azure RTOS ThreadX](https://learn.micr
The master branch has the most recent code with all new features and bug fixes. It does not represent the latest General Availability (GA) release of the library. Each official release (preview or GA) will be tagged to mark the commit and push it into the Github releases tab, e.g. `v6.2-rel`. The master branch has the most recent code with all new features and bug fixes. It does not represent the latest General Availability (GA) release of the library. Each official release (preview or GA) will be tagged to mark the commit and push it into the Github releases tab, e.g. `v6.2-rel`.
> When you see xx-xx-xxxx, 6.x or x.x in function header, this means the file is not officially released yet. They will be updated in the next release. See example below.
```
/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_initialize_low_level Cortex-M23/GNU */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
/* */
/* DESCRIPTION */
/* */
/* This function is responsible for any low-level processor */
/* initialization, including setting up interrupt vectors, setting */
/* up a periodic timer interrupt source, saving the system stack */
/* pointer for use in ISR processing later, and finding the first */
/* available RAM memory address for tx_application_define. */
/* */
/* INPUT */
/* */
/* None */
/* */
/* OUTPUT */
/* */
/* None */
/* */
/* CALLS */
/* */
/* None */
/* */
/* CALLED BY */
/* */
/* _tx_initialize_kernel_enter ThreadX entry function */
/* */
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* */
/* 09-30-2020 Scott Larson Initial Version 6.1 */
/* xx-xx-xxxx Scott Larson Include tx_user.h, */
/* resulting in version 6.x */
/* */
/**************************************************************************/
```
## Supported Architecture Ports ## Supported Architecture Ports
### ThreadX ### ThreadX
@@ -74,7 +118,7 @@ xtensa cortex_a65ae
``` ```
### ThreadX Modules ### ThreadX Modules
[Azure RTOS ThreadX Modules](https://learn.microsoft.com/azure/rtos/threadx-modules/chapter1) component provides an infrastructure for applications to dynamically load modules that are built separately from the resident portion of the application. [Eclipse ThreadX Modules](https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/threadx-modules/chapter1.md) component provides an infrastructure for applications to dynamically load modules that are built separately from the resident portion of the application.
``` ```
cortex_a35 cortex_a35
cortex_a35_smp cortex_a35_smp
@@ -90,7 +134,7 @@ rxv2
``` ```
### ThreadX SMP ### ThreadX SMP
[Azure RTOS ThreadX SMP](https://learn.microsoft.com/azure/rtos/threadx/threadx-smp/chapter1) is a high-performance real-time SMP kernel designed specifically for embedded applications. [Eclipse ThreadX SMP](https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/threadx/threadx-smp/chapter1.md) is a high-performance real-time SMP kernel designed specifically for embedded applications.
``` ```
arc_hs_smp arc_hs_smp
cortex_a34_smp cortex_a34_smp
@@ -116,11 +160,11 @@ linux
## Adaptation layer for ThreadX ## Adaptation layer for ThreadX
Azure RTOS ThreadX is an advanced real-time operating system (RTOS) designed specifically for deeply embedded applications. To help ease application migration to Azure RTOS, ThreadX provides [adaption layers](https://github.com/azure-rtos/threadx/tree/master/utility/rtos_compatibility_layers) for various legacy RTOS APIs (FreeRTOS, POSIX, OSEK, etc.). ThreadX is an advanced real-time operating system (RTOS) designed specifically for deeply embedded applications. To help ease application migration to ThreadX RTOS, Eclipse ThreadX provides [adaption layers](https://github.com/eclipse-threadx/threadx/tree/master/utility/rtos_compatibility_layers) for various legacy RTOS APIs (FreeRTOS, POSIX, OSEK, etc.).
## Component dependencies ## Component dependencies
The main components of Azure RTOS are each provided in their own repository, but there are dependencies between them, as shown in the following graph. This is important to understand when setting up your builds. The main components of ThreadX RTOS are each provided in their own repository, but there are dependencies between them, as shown in the following graph. This is important to understand when setting up your builds.
![dependency graph](docs/deps.png) ![dependency graph](docs/deps.png)
@@ -128,7 +172,7 @@ The main components of Azure RTOS are each provided in their own repository, but
### Building and using the library ### Building and using the library
Instruction for building the ThreadX as static library using Arm GNU Toolchain and CMake. If you are using toolchain and IDE from semiconductor, you might follow its own instructions to use Azure RTOS components as explained in the [Getting Started](#getting-started) section. Instruction for building the ThreadX as static library using Arm GNU Toolchain and CMake. If you are using toolchain and IDE from semiconductor, you might follow its own instructions to use ThreadX RTOS components as explained in the [Getting Started](#getting-started) section.
1. Install the following tools: 1. Install the following tools:
@@ -139,14 +183,14 @@ Instruction for building the ThreadX as static library using Arm GNU Toolchain a
1. Cloning the repo 1. Cloning the repo
```bash ```bash
$ git clone https://github.com/azure-rtos/threadx.git $ git clone https://github.com/eclipse-threadx/threadx.git
``` ```
1. Define the features and addons you need in `tx_user.h` and build together with the component source code. You can refer to [`tx_user_sample.h`](https://github.com/azure-rtos/threadx/blob/master/common/inc/tx_user_sample.h) as an example. 1. Define the features and addons you need in `tx_user.h` and build together with the component source code. You can refer to [`tx_user_sample.h`](https://github.com/eclipse-threadx/threadx/blob/master/common/inc/tx_user_sample.h) as an example.
1. Building as a static library 1. Building as a static library
Each component of Azure RTOS comes with a composable CMake-based build system that supports many different MCUs and host systems. Integrating any of these components into your device app code is as simple as adding a git submodule and then including it in your build using the CMake `add_subdirectory()`. Each component of ThreadX RTOS comes with a composable CMake-based build system that supports many different MCUs and host systems. Integrating any of these components into your device app code is as simple as adding a git submodule and then including it in your build using the CMake `add_subdirectory()`.
While the typical usage pattern is to include ThreadX into your device code source tree to be built & linked with your code, you can compile this project as a standalone static library to confirm your build is set up correctly. While the typical usage pattern is to include ThreadX into your device code source tree to be built & linked with your code, you can compile this project as a standalone static library to confirm your build is set up correctly.
@@ -160,29 +204,24 @@ Instruction for building the ThreadX as static library using Arm GNU Toolchain a
## Professional support ## Professional support
[Professional support plans](https://azure.microsoft.com/support/options/) are available from Microsoft. For community support and others, see the [Resources](#resources) section below.
## Licensing ## Licensing
License terms for using Azure RTOS are defined in the LICENSE.txt file of this repo. Please refer to this file for all definitive licensing information. No additional license fees are required for deploying Azure RTOS on hardware defined in the LICENSED-HARDWARE.txt file. If you are using hardware not defined in the LICENSED-HARDWARE.txt file or have licensing questions in general, please contact Microsoft directly at https://aka.ms/azrtos-license. License terms for using Eclipse ThreadX are defined in the LICENSE.txt file of this repo. Please refer to this file for all definitive licensing information.
## Resources ## Resources
The following are references to additional Azure RTOS resources: The following are references to additional ThreadX RTOS resources:
- **Product introduction and white papers**: https://azure.com/rtos - **Product introduction**: https://github.com/eclipse-threadx/rtos-docs
- **General technical questions**: https://aka.ms/QnA/azure-rtos - **Product issues and bugs, or feature requests**: https://github.com/eclipse-threadx/threadx/issues
- **Product issues and bugs, or feature requests**: https://github.com/azure-rtos/threadx/issues - **TraceX Installer**: https://aka.ms/azrtos-tracex-installer
- **Licensing and sales questions**: https://aka.ms/azrtos-license
- **Product roadmap and support policy**: https://aka.ms/azrtos/lts
- **Blogs and videos**: http://msiotblog.com and https://aka.ms/iotshow
- **Azure RTOS TraceX Installer**: https://aka.ms/azrtos-tracex-installer
You can also check [previous questions](https://stackoverflow.com/questions/tagged/azure-rtos+threadx) or ask new ones on StackOverflow using the `azure-rtos` and `threadx` tags. You can also check [previous questions](https://stackoverflow.com/questions/tagged/threadx-rtos+threadx) or ask new ones on StackOverflow using the `threadx-rtos` and `threadx` tags.
## Security ## Security
Azure RTOS provides OEMs with components to secure communication and to create code and data isolation using underlying MCU/MPU hardware protection mechanisms. It is ultimately the responsibility of the device builder to ensure the device fully meets the evolving security requirements associated with its specific use case. Eclipse ThreadX provides OEMs with components to secure communication and to create code and data isolation using underlying MCU/MPU hardware protection mechanisms. It is ultimately the responsibility of the device builder to ensure the device fully meets the evolving security requirements associated with its specific use case.
## Contribution ## Contribution

View File

@@ -1,35 +1,20 @@
## Security # Security Policy
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). ## Supported Versions
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets Microsoft's [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below. | Version | Supported |
| ------- | ------------------ |
| 6.4.x | :white_check_mark: |
## Reporting Security Issues ## Reporting a Vulnerability
**Please do not report security vulnerabilities through public GitHub issues.** If you think you have found a vulnerability in <project> you can report it using one of the following ways:
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). * Contact the [Eclipse Foundation Security Team](mailto:security@eclipse-foundation.org)
* [Report a Vulnerability](https://github.com/eclipse-threadx/threadx/security/advisories/new)
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). You can find more information about reporting and disclosure at the [Eclipse Foundation Security page](https://www.eclipse.org/security/).
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). ## Security Policy
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: This project follows [Eclipse Foundation Vulnerability Reporting Policy](https://www.eclipse.org/security/policy/).
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue
This information will help us triage your report more quickly.
## Preferred Languages
We prefer all communications to be in English.
## Policy
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/
@@ -26,7 +25,7 @@
/* APPLICATION INTERFACE DEFINITION RELEASE */ /* APPLICATION INTERFACE DEFINITION RELEASE */
/* */ /* */
/* tx_api.h PORTABLE C */ /* tx_api.h PORTABLE C */
/* 6.2.0 */ /* 6.4.1 */
/* AUTHOR */ /* AUTHOR */
/* */ /* */
/* William E. Lamie, Microsoft Corporation */ /* William E. Lamie, Microsoft Corporation */
@@ -94,6 +93,19 @@
/* update EPK typedef, */ /* update EPK typedef, */
/* update version numbers, */ /* update version numbers, */
/* resulting in version 6.2.0 */ /* resulting in version 6.2.0 */
/* 03-08-2023 Tiejun Zhou Modified comment(s), */
/* update patch number, */
/* resulting in version 6.2.1 */
/* 10-31-2023 Xiuwen Cai Modified comment(s), */
/* added option for random */
/* number stack filling, */
/* resulting in version 6.3.0 */
/* 12-31-2023 Tiejun Zhou Modified comment(s), */
/* update version number, */
/* resulting in version 6.4.0 */
/* 03-01-2024 Tiejun Zhou Modified comment(s), */
/* update version number, */
/* resulting in version 6.4.1 */
/* */ /* */
/**************************************************************************/ /**************************************************************************/
@@ -132,8 +144,8 @@ extern "C" {
#define AZURE_RTOS_THREADX #define AZURE_RTOS_THREADX
#define THREADX_MAJOR_VERSION 6 #define THREADX_MAJOR_VERSION 6
#define THREADX_MINOR_VERSION 2 #define THREADX_MINOR_VERSION 4
#define THREADX_PATCH_VERSION 0 #define THREADX_PATCH_VERSION 1
/* Define the following symbol for backward compatibility */ /* Define the following symbol for backward compatibility */
#define EL_PRODUCT_THREADX #define EL_PRODUCT_THREADX
@@ -168,7 +180,11 @@ extern "C" {
#define TX_NO_MESSAGES ((UINT) 0) #define TX_NO_MESSAGES ((UINT) 0)
#define TX_EMPTY ((ULONG) 0) #define TX_EMPTY ((ULONG) 0)
#define TX_CLEAR_ID ((ULONG) 0) #define TX_CLEAR_ID ((ULONG) 0)
#if defined(TX_ENABLE_RANDOM_NUMBER_STACK_FILLING) && defined(TX_ENABLE_STACK_CHECKING)
#define TX_STACK_FILL (thread_ptr -> tx_thread_stack_fill_value)
#else
#define TX_STACK_FILL ((ULONG) 0xEFEFEFEFUL) #define TX_STACK_FILL ((ULONG) 0xEFEFEFEFUL)
#endif
/* Thread execution state values. */ /* Thread execution state values. */
@@ -615,6 +631,12 @@ typedef struct TX_THREAD_STRUCT
cleanup routine executes. */ cleanup routine executes. */
ULONG tx_thread_suspension_sequence; ULONG tx_thread_suspension_sequence;
#if defined(TX_ENABLE_RANDOM_NUMBER_STACK_FILLING) && defined(TX_ENABLE_STACK_CHECKING)
/* Define the random stack fill number. This can be used to detect stack overflow. */
ULONG tx_thread_stack_fill_value;
#endif
/* Define the user extension field. This typically is defined /* Define the user extension field. This typically is defined
to white space, but some ports of ThreadX may need to have to white space, but some ports of ThreadX may need to have
additional fields in the thread control block. This is additional fields in the thread control block. This is
@@ -1889,6 +1911,21 @@ UINT _tx_trace_interrupt_control(UINT new_posture);
#endif #endif
/* Add a default macro that can be re-defined in tx_port.h to add processing to the initialize random number generator.
By default, this is simply defined as whitespace. */
#ifndef TX_INITIALIZE_RANDOM_GENERATOR_INITIALIZATION
#define TX_INITIALIZE_RANDOM_GENERATOR_INITIALIZATION
#endif
/* Define the TX_RAND macro to the standard library function, if not already defined. */
#ifndef TX_RAND
#define TX_RAND() rand()
#endif
/* Check for MISRA compliance requirements. */ /* Check for MISRA compliance requirements. */
#ifdef TX_MISRA_ENABLE #ifdef TX_MISRA_ENABLE

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/
@@ -26,7 +25,7 @@
/* PORT SPECIFIC C INFORMATION RELEASE */ /* PORT SPECIFIC C INFORMATION RELEASE */
/* */ /* */
/* tx_user.h PORTABLE C */ /* tx_user.h PORTABLE C */
/* 6.1.11 */ /* 6.3.0 */
/* */ /* */
/* AUTHOR */ /* AUTHOR */
/* */ /* */
@@ -62,6 +61,10 @@
/* optimized the definition of */ /* optimized the definition of */
/* TX_TIMER_TICKS_PER_SECOND, */ /* TX_TIMER_TICKS_PER_SECOND, */
/* resulting in version 6.1.11 */ /* resulting in version 6.1.11 */
/* 10-31-2023 Xiuwen Cai Modified comment(s), */
/* added option for random */
/* number stack filling, */
/* resulting in version 6.3.0 */
/* */ /* */
/**************************************************************************/ /**************************************************************************/
@@ -170,6 +173,14 @@
#define TX_ENABLE_STACK_CHECKING #define TX_ENABLE_STACK_CHECKING
*/ */
/* Determine if random number is used for stack filling. By default, ThreadX uses a fixed
pattern for stack filling. When the following is defined, ThreadX uses a random number
for stack filling. This is effective only when TX_ENABLE_STACK_CHECKING is defined. */
/*
#define TX_ENABLE_RANDOM_NUMBER_STACK_FILLING
*/
/* Determine if preemption-threshold should be disabled. By default, preemption-threshold is /* Determine if preemption-threshold should be disabled. By default, preemption-threshold is
enabled. If the application does not use preemption-threshold, it may be disabled to reduce enabled. If the application does not use preemption-threshold, it may be disabled to reduce
code size and improve performance. */ code size and improve performance. */

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/
@@ -49,7 +48,7 @@ TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
/* FUNCTION RELEASE */ /* FUNCTION RELEASE */
/* */ /* */
/* _tx_initialize_kernel_enter PORTABLE C */ /* _tx_initialize_kernel_enter PORTABLE C */
/* 6.1.11 */ /* 6.3.0 */
/* AUTHOR */ /* AUTHOR */
/* */ /* */
/* William E. Lamie, Microsoft Corporation */ /* William E. Lamie, Microsoft Corporation */
@@ -93,6 +92,10 @@ TX_SAFETY_CRITICAL_EXCEPTION_HANDLER
/* 04-25-2022 Scott Larson Modified comment(s), */ /* 04-25-2022 Scott Larson Modified comment(s), */
/* added EPK initialization, */ /* added EPK initialization, */
/* resulting in version 6.1.11 */ /* resulting in version 6.1.11 */
/* 10-31-2023 Xiuwen Cai Modified comment(s), */
/* added random generator */
/* initialization, */
/* resulting in version 6.3.0 */
/* */ /* */
/**************************************************************************/ /**************************************************************************/
VOID _tx_initialize_kernel_enter(VOID) VOID _tx_initialize_kernel_enter(VOID)
@@ -133,6 +136,9 @@ VOID _tx_initialize_kernel_enter(VOID)
later used to represent interrupt nesting. */ later used to represent interrupt nesting. */
_tx_thread_system_state = TX_INITIALIZE_IN_PROGRESS; _tx_thread_system_state = TX_INITIALIZE_IN_PROGRESS;
/* Optional random number generator initialization. */
TX_INITIALIZE_RANDOM_GENERATOR_INITIALIZATION
/* Call the application provided initialization function. Pass the /* Call the application provided initialization function. Pass the
first available memory address to it. */ first available memory address to it. */
tx_application_define(_tx_initialize_unused_memory); tx_application_define(_tx_initialize_unused_memory);

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/
@@ -33,7 +32,7 @@
#include "tx_api.h" #include "tx_api.h"
#else #else
#define TX_THREAD_INIT #define TX_THREAD_INIT
//CHAR _tx_version_id[100] = "Copyright (c) Microsoft Corporation. All rights reserved. * ThreadX 6.1 MISRA C Compliant *"; //CHAR _tx_version_id[100] = "Copyright (c) 2024 Microsoft Corporation. * ThreadX 6.1 MISRA C Compliant *";
#include "tx_api.h" #include "tx_api.h"
#include "tx_thread.h" #include "tx_thread.h"

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

View File

@@ -1,13 +1,12 @@
/**************************************************************************/ /***************************************************************************
/* */ * Copyright (c) 2024 Microsoft Corporation
/* Copyright (c) Microsoft Corporation. All rights reserved. */ *
/* */ * This program and the accompanying materials are made available under the
/* This software is licensed under the Microsoft Software License */ * terms of the MIT License which is available at
/* Terms for Microsoft Azure RTOS. Full text of the license can be */ * https://opensource.org/licenses/MIT.
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ *
/* and in the root directory of this software. */ * SPDX-License-Identifier: MIT
/* */ **************************************************************************/
/**************************************************************************/
/**************************************************************************/ /**************************************************************************/

Some files were not shown because too many files have changed in this diff Show More