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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 4 additions & 32 deletions AURIX_TC375_ADS/Blinky/Configurations/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,37 +42,6 @@
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1

////////////////////// Testing //////////////////////////////////////////////
#define INCLUDE_eTaskGetState 1
#define configPRINTF( X ) printf X
#define configTASK_NOTIFICATION_ARRAY_ENTRIES 3
#define configSTART_TASK_NOTIFY_TESTS 0
#define configSTART_TASK_NOTIFY_ARRAY_TESTS 0
#define configSTART_BLOCKING_QUEUE_TESTS 0
#define configSTART_SEMAPHORE_TESTS 0
#define configSTART_POLLED_QUEUE_TESTS 0
#define configSTART_INTEGER_MATH_TESTS 0
#define configSTART_GENERIC_QUEUE_TESTS 0
#define configSTART_PEEK_QUEUE_TESTS 0
#define configSTART_MATH_TESTS 0
#define configSTART_RECURSIVE_MUTEX_TESTS 0
#define configSTART_COUNTING_SEMAPHORE_TESTS 0
#define configSTART_QUEUE_SET_TESTS 0
#define configSTART_QUEUE_OVERWRITE_TESTS 0
#define configSTART_EVENT_GROUP_TESTS 0
#define configSTART_INTERRUPT_SEMAPHORE_TESTS 0
#define configSTART_QUEUE_SET_POLLING_TESTS 0
#define configSTART_BLOCK_TIME_TESTS 0
#define configSTART_ABORT_DELAY_TESTS 0
#define configSTART_MESSAGE_BUFFER_TESTS 0
#define configSTART_STREAM_BUFFER_TESTS 0
#define configSTART_STREAM_BUFFER_INTERRUPT_TESTS 0
#define configSTART_TIMER_TESTS 0
#define configSTART_INTERRUPT_QUEUE_TESTS 1
#define configSTART_REGISTER_TESTS 1
#define configSTART_DELETE_SELF_TESTS 0
////////////////////////////////////////////////////////////////////

/* Interrupt above priority 31 are not effected by critical sections, but cannot call interrupt safe FreeRTOS functions. */
#define configMAX_API_CALL_INTERRUPT_PRIORITY 31

Expand All @@ -81,7 +50,10 @@
#ifdef __TASKING__
#define configASSERT( x ) if( ( x ) == 0 ) { __disable(); __debug(); }
#endif
#ifdef __clang__
#if defined(__HIGHTEC__) && defined(__clang__)
#define configASSERT( x ) if( ( x ) == 0 ) { __builtin_tricore_disable(); __builtin_tricore_debug(); }
#endif
#if defined(__GNUC__) && !defined(__HIGHTEC__)
#define configASSERT( x ) if( ( x ) == 0 ) { __builtin_tricore_disable(); __builtin_tricore_debug(); }
#endif
#else
Expand Down
36 changes: 4 additions & 32 deletions AURIX_TC375_ADS/GPT12_Printf/Configurations/FreeRTOSConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,37 +42,6 @@
#define INCLUDE_vTaskDelayUntil 1
#define INCLUDE_vTaskDelay 1

////////////////////// Testing //////////////////////////////////////////////
#define INCLUDE_eTaskGetState 1
#define configPRINTF( X ) printf X
#define configTASK_NOTIFICATION_ARRAY_ENTRIES 3
#define configSTART_TASK_NOTIFY_TESTS 0
#define configSTART_TASK_NOTIFY_ARRAY_TESTS 0
#define configSTART_BLOCKING_QUEUE_TESTS 0
#define configSTART_SEMAPHORE_TESTS 0
#define configSTART_POLLED_QUEUE_TESTS 0
#define configSTART_INTEGER_MATH_TESTS 0
#define configSTART_GENERIC_QUEUE_TESTS 0
#define configSTART_PEEK_QUEUE_TESTS 0
#define configSTART_MATH_TESTS 0
#define configSTART_RECURSIVE_MUTEX_TESTS 0
#define configSTART_COUNTING_SEMAPHORE_TESTS 0
#define configSTART_QUEUE_SET_TESTS 0
#define configSTART_QUEUE_OVERWRITE_TESTS 0
#define configSTART_EVENT_GROUP_TESTS 0
#define configSTART_INTERRUPT_SEMAPHORE_TESTS 0
#define configSTART_QUEUE_SET_POLLING_TESTS 0
#define configSTART_BLOCK_TIME_TESTS 0
#define configSTART_ABORT_DELAY_TESTS 0
#define configSTART_MESSAGE_BUFFER_TESTS 0
#define configSTART_STREAM_BUFFER_TESTS 0
#define configSTART_STREAM_BUFFER_INTERRUPT_TESTS 0
#define configSTART_TIMER_TESTS 0
#define configSTART_INTERRUPT_QUEUE_TESTS 1
#define configSTART_REGISTER_TESTS 1
#define configSTART_DELETE_SELF_TESTS 0
////////////////////////////////////////////////////////////////////

/* Interrupt above priority 31 are not effected by critical sections, but cannot call interrupt safe FreeRTOS functions. */
#define configMAX_API_CALL_INTERRUPT_PRIORITY 31

Expand All @@ -81,7 +50,10 @@
#ifdef __TASKING__
#define configASSERT( x ) if( ( x ) == 0 ) { __disable(); __debug(); }
#endif
#ifdef __clang__
#if defined(__HIGHTEC__) && defined(__clang__)
#define configASSERT( x ) if( ( x ) == 0 ) { __builtin_tricore_disable(); __builtin_tricore_debug(); }
#endif
#if defined(__GNUC__) && !defined(__HIGHTEC__)
#define configASSERT( x ) if( ( x ) == 0 ) { __builtin_tricore_disable(); __builtin_tricore_debug(); }
#endif
#else
Expand Down
4 changes: 2 additions & 2 deletions AURIX_TC375_ADS/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# FreeRTOS Port for Infineon AURIX™ TC3xx Devices

## Getting Started with FreeRTOS on AURIX™ TC3xx
All the currently available examples/demos are based on the [AURIX™ Development Studio (ADS)](https://www.infineon.com/cms/en/product/promopages/aurix-development-studio/), which includes a free TASKING compiler and debugger. The examples are built for the entry level [AURIX™ TC375 Lite Kit](https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc375_lite/) but should run on any TC3xx device/hardware with minor changes. All demos use the [Infineon Low Level Drivers (iLLDs)](https://www.infineon.com/cms/en/tools/aurix-embedded-sw/aurix-illd-drivers/), but a separate download is not required since they are included in ___AURIX™ Development Studio___
All the currently available examples/demos are based on the [AURIX™ Development Studio (ADS)](https://www.infineon.com/cms/en/product/promopages/aurix-development-studio/), which includes a free TASKING compiler, a free GCC compiler and debugger. The examples are built for the entry level [AURIX™ TC375 Lite Kit](https://www.infineon.com/cms/en/product/evaluation-boards/kit_a2g_tc375_lite/) but should run on any TC3xx device/hardware with minor changes. All demos use the [Infineon Low Level Drivers (iLLDs)](https://www.infineon.com/cms/en/tools/aurix-embedded-sw/aurix-illd-drivers/), but a separate download is not required since they are included in ___AURIX™ Development Studio___

There are two demos available in this folder:
### Blinky
Expand Down Expand Up @@ -58,7 +58,7 @@ Creates one task which blinks `LED1` cyclically and polls `BUTTON1` and toggles
- Copy over the demo contents, for instance, the "__Blinky__" demo...
<img src="images/blinky-example.png">

### 4. Add the FreeRTOS Kernel and the corresponding AURIX™ TC3xx portables in a folder called "__FreeRTOS-Kernel__". The AURIX™ TC3xx FreeRTOS port used for these demos is available in the ___Tasking/AURIX_TC3xx___ folder in the [___Partner Supported Ports___ repository](https://github.com/FreeRTOS/FreeRTOS-Kernel-Partner-Supported-Ports)
### 4. Add the FreeRTOS Kernel and the corresponding AURIX™ TC3xx portables in a folder called "__FreeRTOS-Kernel__". The AURIX™ TC3xx FreeRTOS port used for these demos is available in the ___Tasking/AURIX_TC3xx___ folder or the ___GCC/AURIX_TC3xx___ folder in the [___Partner Supported Ports___ repository](https://github.com/FreeRTOS/FreeRTOS-Kernel-Partner-Supported-Ports). You can select either of them.

### 5. Copy all the files except `FreeRTOSConfig.h` from [Infineon AURIX Code Examples - Configurations](https://github.com/Infineon/AURIX_code_examples/tree/master/code_examples/iLLD_TC375_ADS_FreeRTOS_Basic/Configurations) and place it under the `/Configurations/` folder. Ensure `Ifx_Cfg.h` has the following lines, before placing it in the folder.

Expand Down