Skip to content

Commit

Permalink
Update on 18 Jan 2023. Expand to see details.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Scott Larson committed Jan 18, 2023
1 parent 4e62226 commit 37f6d0b
Show file tree
Hide file tree
Showing 100 changed files with 451 additions and 129 deletions.
47 changes: 47 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,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`.

> 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

### ThreadX
Expand Down
8 changes: 7 additions & 1 deletion common_modules/module_manager/src/txm_module_manager_stop.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
#include "txm_module.h"
#include "txm_module_manager_util.h"

#ifdef TX_ENABLE_EVENT_TRACE
#include "tx_trace.h"
#endif

#ifdef TXM_MODULE_ENABLE_FILEX
extern UINT _txm_module_manager_filex_stop(TXM_MODULE_INSTANCE *module_instance);
#endif
Expand All @@ -60,7 +64,7 @@ extern UINT _txm_module_manager_usbx_stop(TXM_MODULE_INSTANCE *module_instance)
/* FUNCTION RELEASE */
/* */
/* _txm_module_manager_stop PORTABLE C */
/* 6.1.5 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -112,6 +116,8 @@ extern UINT _txm_module_manager_usbx_stop(TXM_MODULE_INSTANCE *module_instance)
/* 03-02-2021 Scott Larson Modified comments, fix */
/* object delete underflow, */
/* resulting in version 6.1.5 */
/* xx-xx-xxxx Scott Larson Added tx_trace.h include, */
/* resulting in version 6.x */
/* */
/**************************************************************************/
UINT _txm_module_manager_stop(TXM_MODULE_INSTANCE *module_instance)
Expand Down
8 changes: 3 additions & 5 deletions ports/cortex_m33/ac6/inc/tx_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/* PORT SPECIFIC C INFORMATION RELEASE */
/* */
/* tx_port.h Cortex-M33/AC6 */
/* 6.1.12 */
/* 6.x */
/* */
/* AUTHOR */
/* */
Expand Down Expand Up @@ -76,6 +76,8 @@
/* macro to port-specific, */
/* described BASEPRI usage, */
/* resulting in version 6.1.12 */
/* xx-xx-xxxx Scott Larson Removed unneeded #include, */
/* resulting in version 6.x */
/* */
/**************************************************************************/

Expand Down Expand Up @@ -107,10 +109,6 @@
#endif /* TX_ENABLE_IAR_LIBRARY_SUPPORT */
#endif /* __ICCARM__ */

#ifdef __ARMCOMPILER_VERSION
#include <arm_compat.h>
#endif


/* Define ThreadX basic types for this port. */

Expand Down
5 changes: 4 additions & 1 deletion ports/cortex_m33/ac6/src/tx_initialize_low_level.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

SYSTEM_CLOCK = 6000000
SYSTICK_CYCLES = ((SYSTEM_CLOCK / 100) -1)
Expand All @@ -34,7 +35,7 @@ HEAP_SIZE = 0x00000000
/* FUNCTION RELEASE */
/* */
/* _tx_initialize_low_level Cortex-M33/AC6 */
/* 6.1 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -68,6 +69,8 @@ HEAP_SIZE = 0x00000000
/* 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 */
/* */
/**************************************************************************/
// VOID _tx_initialize_low_level(VOID)
Expand Down
2 changes: 2 additions & 0 deletions ports/cortex_m33/ac6/src/tx_misra.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

#define SHT_PROGBITS 0x1

.global __aeabi_memset
Expand Down
6 changes: 5 additions & 1 deletion ports/cortex_m33/ac6/src/tx_thread_context_restore.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
.global _tx_execution_isr_exit
#endif
Expand All @@ -28,7 +30,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_restore Cortex-M33/AC6 */
/* 6.1 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -58,6 +60,8 @@
/* 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 */
/* */
/**************************************************************************/
// VOID _tx_thread_context_restore(VOID)
Expand Down
6 changes: 5 additions & 1 deletion ports/cortex_m33/ac6/src/tx_thread_context_save.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
.global _tx_execution_isr_enter
#endif
Expand All @@ -28,7 +30,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_context_save Cortex-M33/AC6 */
/* 6.1 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -58,6 +60,8 @@
/* 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 */
/* */
/**************************************************************************/
// VOID _tx_thread_context_save(VOID)
Expand Down
5 changes: 4 additions & 1 deletion ports/cortex_m33/ac6/src/tx_thread_interrupt_control.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_control Cortex-M33/AC6 */
/* 6.1 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -57,6 +58,8 @@
/* 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 */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_control(UINT new_posture)
Expand Down
5 changes: 4 additions & 1 deletion ports/cortex_m33/ac6/src/tx_thread_interrupt_disable.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_disable Cortex-M33/AC6 */
/* 6.1 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -57,6 +58,8 @@
/* 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 */
/* */
/**************************************************************************/
// UINT _tx_thread_interrupt_disable(VOID)
Expand Down
5 changes: 4 additions & 1 deletion ports/cortex_m33/ac6/src/tx_thread_interrupt_restore.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

/**************************************************************************/
/* */
/* FUNCTION RELEASE */
/* */
/* _tx_thread_interrupt_restore Cortex-M33/AC6 */
/* 6.1 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -57,6 +58,8 @@
/* 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 */
/* */
/**************************************************************************/
// VOID _tx_thread_interrupt_restore(UINT previous_posture)
Expand Down
8 changes: 7 additions & 1 deletion ports/cortex_m33/ac6/src/tx_thread_schedule.S
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/**************************************************************************/
/**************************************************************************/

#include "tx_user.h"

#if (defined(TX_ENABLE_EXECUTION_CHANGE_NOTIFY) || defined(TX_EXECUTION_PROFILE_ENABLE))
.global _tx_execution_thread_enter
Expand All @@ -30,7 +31,7 @@
/* FUNCTION RELEASE */
/* */
/* _tx_thread_schedule Cortex-M33/AC6 */
/* 6.1.11 */
/* 6.x */
/* AUTHOR */
/* */
/* Scott Larson, Microsoft Corporation */
Expand Down Expand Up @@ -71,6 +72,9 @@
/* resulting in version 6.1.7 */
/* 04-25-2022 Scott Larson Added BASEPRI support, */
/* resulting in version 6.1.11 */
/* xx-xx-xxxx Scott Larson Added preproc FPU option, */
/* included tx_user.h, */
/* resulting in version 6.x */
/* */
/**************************************************************************/
// VOID _tx_thread_schedule(VOID)
Expand Down Expand Up @@ -386,6 +390,8 @@ _tx_svc_secure_init:
.thumb_func
.type _tx_vfp_access, function
_tx_vfp_access:
#ifdef __ARM_PCS_VFP
VMOV.F32 s0, s0 // Simply access the VFP
#endif
BX lr // Return to caller
.end
Loading

0 comments on commit 37f6d0b

Please sign in to comment.