Skip to content

Commit 1b5816a

Browse files
author
Scott Larson
committed
6.1 minor release
1 parent 7287542 commit 1b5816a

File tree

3,038 files changed

+377202
-8604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,038 files changed

+377202
-8604
lines changed

LICENSED-HARDWARE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ Renesas:
2525

2626
--------------------------------------------------------------------------------
2727

28-
More coming soon. Please check back frequently for updates.
28+
More coming soon. Please check back frequently for updates.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,9 @@ Professional support plans (https://azure.microsoft.com/en-us/support/options/)
102102
The following are references to additional Azure RTOS and Azure IoT in general:
103103
| | |
104104
|---|---|
105-
| TraceX Installer | https://aka.ms/azrtos-tracex-installer |
106105
| Azure RTOS Documenation and Guides: | https://docs.microsoft.com/azure/rtos |
107106
| Azure RTOS Website: | https://azure.microsoft.com/services/rtos/ |
108107
| Azure RTOS Sales Questions: | https://azure-rtos.ms-iot-contact.com/ |
109108
| For technical questions check out Microsoft Q/A for Azure IoT: | https://aka.ms/QnA/azure-rtos |
110109
| Internet of Things Show for latest announcements and online training: | https://aka.ms/iotshow |
111-
| IoT Tech Community: | https://aka.ms/community/azure-rtos |
110+
| IoT Tech Community: | https://aka.ms/community/azure-rtos |

cmake/linux.cmake

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
set(CMAKE_SYSTEM_NAME Linux)
2+
set(CMAKE_SYSTEM_PROCESSOR x86_64)
3+
4+
set(CMAKE_C_COMPILER gcc)
5+
set(CMAKE_CXX_COMPILER g++)
6+
set(AS as)
7+
set(AR ar)
8+
set(OBJCOPY objcopy)
9+
set(OBJDUMP objdump)
10+
set(SIZE size)
11+
12+
set(THREADX_ARCH "linux")
13+
set(THREADX_TOOLCHAIN "gnu")
14+
15+
set(LINUX_FLAGS "-g -pthread")
16+
17+
set(CMAKE_C_FLAGS "${LINUX_FLAGS} " CACHE INTERNAL "c compiler flags")
18+
set(CMAKE_CXX_FLAGS "${LINUX_FLAGS} -fno-rtti -fno-exceptions" CACHE INTERNAL "cxx compiler flags")
19+
set(CMAKE_ASM_FLAGS "${LINUX_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")
20+
set(CMAKE_EXE_LINKER_FLAGS "${LINUX_FLAGS} ${LD_FLAGS} -Wl,--gc-sections" CACHE INTERNAL "exe link flags")
21+
22+
SET(CMAKE_C_FLAGS_DEBUG "-Og -g -ggdb3" CACHE INTERNAL "c debug compiler flags")
23+
SET(CMAKE_CXX_FLAGS_DEBUG "-Og -g -ggdb3" CACHE INTERNAL "cxx debug compiler flags")
24+
SET(CMAKE_ASM_FLAGS_DEBUG "-g -ggdb3" CACHE INTERNAL "asm debug compiler flags")
25+
26+
SET(CMAKE_C_FLAGS_RELEASE "-O3" CACHE INTERNAL "c release compiler flags")
27+
SET(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE INTERNAL "cxx release compiler flags")
28+
SET(CMAKE_ASM_FLAGS_RELEASE "" CACHE INTERNAL "asm release compiler flags")
29+
30+
# this makes the test compiles use static library option so that we don't need to pre-set linker flags and scripts
31+
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)

cmake/win32.cmake

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
set(CMAKE_SYSTEM_NAME Windows)
2+
set(CMAKE_SYSTEM_PROCESSOR x86_64)
3+
4+
set(THREADX_ARCH "win32")
5+
set(THREADX_TOOLCHAIN "vs_2019")
6+
7+
set(WIN32_FLAGS "")
8+
9+
set(CMAKE_C_FLAGS "${WIN32_FLAGS} " CACHE INTERNAL "c compiler flags")
10+
set(CMAKE_CXX_FLAGS "${WIN32_FLAGS} -fno-rtti -fno-exceptions" CACHE INTERNAL "cxx compiler flags")
11+
set(CMAKE_ASM_FLAGS "${WIN32_FLAGS} -x assembler-with-cpp" CACHE INTERNAL "asm compiler flags")
12+
set(CMAKE_EXE_LINKER_FLAGS "${WIN32_FLAGS} ${LD_FLAGS}" CACHE INTERNAL "exe link flags")
13+
14+
# this makes the test compiles use static library option so that we don't need to pre-set linker flags and scripts
15+
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)

common/inc/tx_api.h

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* APPLICATION INTERFACE DEFINITION RELEASE */
2727
/* */
2828
/* tx_api.h PORTABLE C */
29-
/* 6.0.2 */
29+
/* 6.1 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -44,12 +44,13 @@
4444
/* DATE NAME DESCRIPTION */
4545
/* */
4646
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
47-
/* 06-30-2020 William E. Lamie Modified comment(s), and */
47+
/* 09-30-2020 William E. Lamie Modified comment(s), and */
4848
/* updated product constants, */
49-
/* resulting in version 6.0.1 */
50-
/* 08-14-2020 Scott Larson Modified comment(s), and */
51-
/* updated product constants, */
52-
/* resulting in version 6.0.2 */
49+
/* added new thread execution */
50+
/* state TX_PRIORITY_CHANGE, */
51+
/* added macros for casting */
52+
/* pointers to ALIGN_TYPE, */
53+
/* resulting in version 6.1 */
5354
/* */
5455
/**************************************************************************/
5556

@@ -81,12 +82,13 @@ extern "C" {
8182

8283
#define AZURE_RTOS_THREADX
8384
#define THREADX_MAJOR_VERSION 6
84-
#define THREADX_MINOR_VERSION 0
85-
#define THREADX_PATCH_VERSION 2
85+
#define THREADX_MINOR_VERSION 1
86+
#define THREADX_PATCH_VERSION 0
8687

8788
/* Define the following symbol for backward compatibility */
8889
#define EL_PRODUCT_THREADX
8990

91+
9092
/* API input parameters and general constants. */
9193

9294
#define TX_NO_WAIT ((ULONG) 0)
@@ -135,6 +137,7 @@ extern "C" {
135137
#define TX_FILE ((UINT) 11)
136138
#define TX_TCP_IP ((UINT) 12)
137139
#define TX_MUTEX_SUSP ((UINT) 13)
140+
#define TX_PRIORITY_CHANGE ((UINT) 14)
138141

139142

140143
/* API return values. */
@@ -1883,6 +1886,8 @@ VOID _tx_misra_thread_entry_exit_notify_not_used(VOID (*threa
18831886
#define TX_ULONG_POINTER_DIF(a,b) ((ULONG)(((ULONG *) (a)) - ((ULONG *) (b))))
18841887
#define TX_POINTER_TO_ULONG_CONVERT(a) ((ULONG) ((VOID *) (a)))
18851888
#define TX_ULONG_TO_POINTER_CONVERT(a) ((VOID *) ((ULONG) (a)))
1889+
#define TX_POINTER_TO_ALIGN_TYPE_CONVERT(a) ((ALIGN_TYPE) ((VOID *) (a)))
1890+
#define TX_ALIGN_TYPE_TO_POINTER_CONVERT(a) ((VOID *) ((ALIGN_TYPE) (a)))
18861891
#define TX_TIMER_POINTER_DIF(a,b) ((ULONG)(((TX_TIMER_INTERNAL **) (a)) - ((TX_TIMER_INTERNAL **) (b))))
18871892
#define TX_TIMER_POINTER_ADD(a,b) (((TX_TIMER_INTERNAL **) (a)) + ((ULONG) (b)))
18881893
#define TX_USER_TIMER_POINTER_GET(a,b) { \

common/inc/tx_block_pool.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* COMPONENT DEFINITION RELEASE */
2727
/* */
2828
/* tx_block_pool.h PORTABLE C */
29-
/* 6.0 */
29+
/* 6.1 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -42,6 +42,8 @@
4242
/* DATE NAME DESCRIPTION */
4343
/* */
4444
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
45+
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
46+
/* resulting in version 6.1 */
4547
/* */
4648
/**************************************************************************/
4749

common/inc/tx_byte_pool.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* COMPONENT DEFINITION RELEASE */
2727
/* */
2828
/* tx_byte_pool.h PORTABLE C */
29-
/* 6.0 */
29+
/* 6.1 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -42,6 +42,8 @@
4242
/* DATE NAME DESCRIPTION */
4343
/* */
4444
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
45+
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
46+
/* resulting in version 6.1 */
4547
/* */
4648
/**************************************************************************/
4749

common/inc/tx_event_flags.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* COMPONENT DEFINITION RELEASE */
2727
/* */
2828
/* tx_event_flags.h PORTABLE C */
29-
/* 6.0 */
29+
/* 6.1 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -42,6 +42,8 @@
4242
/* DATE NAME DESCRIPTION */
4343
/* */
4444
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
45+
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
46+
/* resulting in version 6.1 */
4547
/* */
4648
/**************************************************************************/
4749

common/inc/tx_initialize.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* COMPONENT DEFINITION RELEASE */
2727
/* */
2828
/* tx_initialize.h PORTABLE C */
29-
/* 6.0 */
29+
/* 6.1 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -42,6 +42,8 @@
4242
/* DATE NAME DESCRIPTION */
4343
/* */
4444
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
45+
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
46+
/* resulting in version 6.1 */
4547
/* */
4648
/**************************************************************************/
4749

common/inc/tx_mutex.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/* COMPONENT DEFINITION RELEASE */
2727
/* */
2828
/* tx_mutex.h PORTABLE C */
29-
/* 6.0 */
29+
/* 6.1 */
3030
/* AUTHOR */
3131
/* */
3232
/* William E. Lamie, Microsoft Corporation */
@@ -42,6 +42,8 @@
4242
/* DATE NAME DESCRIPTION */
4343
/* */
4444
/* 05-19-2020 William E. Lamie Initial Version 6.0 */
45+
/* 09-30-2020 Yuxin Zhou Modified comment(s), */
46+
/* resulting in version 6.1 */
4547
/* */
4648
/**************************************************************************/
4749

0 commit comments

Comments
 (0)