Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion MXChip/AZ3166/deps/lib/netxduo
Submodule netxduo deleted from 6c8e9d
1 change: 0 additions & 1 deletion MXChip/AZ3166/deps/lib/threadx
Submodule threadx deleted from af3c1e
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ set(SHARED_LIB_DIR ${DEPS_DIR}/lib)

# Set the toolchain if not defined
if(NOT CMAKE_TOOLCHAIN_FILE)
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_SOURCE_DIR}/cmake/arm-gcc-cortex-m4.cmake")
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_CURRENT_LIST_DIR}/../../../cmake/arm-gcc-cortex-m4.cmake")
endif()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH
${CMAKE_CURRENT_LIST_DIR}/../../../cmake
${CMAKE_CURRENT_LIST_DIR}/cmake
)

include(utilities)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -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"]
}
40 changes: 40 additions & 0 deletions targets/MXChip/AZ3166/deps/lib/netxduo/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
.git* export-ignore
.hooks* export-ignore

# Custom attribute to mark sources as using our C code style.
[attr]our-c-style whitespace=tab-in-indent eol=lf format.clang-format-6.0

# Custom attribute to mark sources as generated.
# Do not perform whitespace checks. Do not format.
[attr]generated whitespace=-tab-in-indent,-indent-with-non-tab -format.clang-format-6.0

bootstrap eol=lf
configure eol=lf
*.[1-9] eol=lf
*.bash eol=lf
*.sh eol=lf
*.sh.in eol=lf

*.bat eol=crlf
*.bat.in eol=crlf
*.sln eol=crlf
*.vcproj eol=crlf

*.pfx -text
*.png -text
*.png.in -text

*.c our-c-style
*.cc our-c-style
*.cpp our-c-style
*.cu our-c-style
*.cxx our-c-style
*.h our-c-style
*.hh our-c-style
*.hpp our-c-style
*.hxx our-c-style
*.notcu our-c-style

*.cmake whitespace=tab-in-indent
*.rst whitespace=tab-in-indent conflict-marker-size=79
*.txt whitespace=tab-in-indent
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
name: Bug report
about: Create a report to help us improve Eclipse ThreadX.
title: ''
labels: bug
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 Eclipse ThreadX?
- 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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea or enhancement to existing feature for Eclipse ThreadX.
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Hardware or architecture support
about: Suggest adding hardware or new architecture support.
title: ''
labels: hardware
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 Eclipse ThreadX.

**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 Eclipse ThreadX support together with you.

**Additional context**
Add any other context or graphics (drag-and-drop an image) about the hardware here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
# This is a basic workflow that is manually triggered

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:
NetXDuo:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_nxd.sh
test_script: ./scripts/test_nxd.sh
cmake_path: ./test/cmake/netxduo
result_affix: NetXDuo
skip_deploy: true
Web:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_web.sh
test_script: ./scripts/test_web.sh
cmake_path: ./test/cmake/web
result_affix: Web
skip_deploy: true
PTP:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_ptp.sh
test_script: ./scripts/test_ptp.sh
cmake_path: ./test/cmake/ptp
result_affix: PTP
skip_deploy: true
MQTT:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_mqtt.sh
test_script: ./scripts/test_mqtt.sh
cmake_path: ./test/cmake/mqtt
result_affix: MQTT
skip_deploy: true
NetXDuo64:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_nxd64.sh
test_script: ./scripts/test_nxd64.sh
cmake_path: ./test/cmake/netxduo64
result_affix: NetXDuo64
skip_deploy: true
NetXDuo_Fast:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_nxd_fast.sh
test_script: ./scripts/test_nxd_fast.sh
cmake_path: ./test/cmake/netxduo_fast
result_affix: NetXDuo_Fast
skip_deploy: true
skip_coverage: true
Azure_IoT:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_azure_iot.sh
test_script: ./scripts/test_azure_iot.sh
cmake_path: ./test/cmake/azure_iot
result_affix: Azure_IoT
skip_deploy: true
Azure_IoT_Windows:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
runs-on: windows-2019
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: true
- name: Checkout submodules
run: |
if (!(Test-Path ./test/cmake/threadx)) {git clone https://github.com/eclipse-threadx/threadx.git ./test/cmake/threadx --depth 1}
- name: CMake
run: |
mkdir build
cd build
cmake ../test/cmake/azure_iot -A Win32
- name: Build
run: |
cd build
cmake --build .
Secure:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_secure.sh
test_script: ./scripts/test_secure.sh
cmake_path: ./test/cmake/nx_secure
result_affix: Secure
skip_deploy: true
Crypto:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
build_script: ./scripts/build_crypto.sh
test_script: ./scripts/test_crypto.sh
cmake_path: ./test/cmake/crypto
result_affix: Crypto
skip_deploy: true
Secure_Interoperability:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
install_script: ./scripts/install_secure.sh
build_script: ./scripts/build_secure_interoperability.sh
test_script: ./scripts/test_secure_interoperability.sh
cmake_path: ./test/cmake/nx_secure_interoperability
result_affix: Secure_Interoperability
skip_deploy: true
MQTT_Interoperability:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
install_script: ./scripts/install_mqtt.sh
build_script: ./scripts/build_mqtt_interoperability.sh
test_script: ./scripts/test_mqtt_interoperability.sh
cmake_path: ./test/cmake/mqtt_interoperability
result_affix: MQTT_Interoperability
skip_deploy: true
Deploy:
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
needs: [NetXDuo, Web, MQTT, NetXDuo64, NetXDuo_Fast, Azure_IoT, Secure, Crypto, Secure_Interoperability, MQTT_Interoperability]
uses: eclipse-threadx/threadx/.github/workflows/regression_template.yml@master
with:
skip_test: true
deploy_list: "NetXDuo Web MQTT NetXDuo64 NetXDuo_Fast Azure_IoT Secure Crypto Secure_Interoperability MQTT_Interoperability"
16 changes: 16 additions & 0 deletions targets/MXChip/AZ3166/deps/lib/netxduo/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.vscode/
_deps/
build/
coverage_report/
CMakeFiles/
CMakeScripts/
CMakeLists.txt.user
CMakeCache.txt
Testing
Makefile
cmake_install.cmake
install_manifest.txt
compile_commands.json
CTestTestfile.cmake
.run.sh

4 changes: 4 additions & 0 deletions targets/MXChip/AZ3166/deps/lib/netxduo/.gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "addons/azure_iot/azure-sdk-for-c"]
path = addons/azure_iot/azure-sdk-for-c
url = https://github.com/Azure/azure-sdk-for-c.git
branch = 1.0.0
Loading