T5: fix irq context case [1/1]

PD#SWPL-34648

Problem:
IDLE hangup cause by irq context switch case.

Solution:
Can not support ecall in tick handler irq context.
Becuase N200 revA need enable/disable tick timer.
Enable portCRITICAL_NESTING_IN_TCB

Solution:
Fix irq context mipc/mepc/istatus/mstatus context case.
Tick handler use vTaskSwitchContext instead of portYIELD
to switch task.

Verify:
T5_T963_AK329

Change-Id: I2758051c67c51923c7626cfa99fbb0d4cb0a856c
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
10 files changed
tree: fdcc3302ec13ff5a3c530d30d628eeed1d5b3f45
  1. demos/
  2. lib/
  3. scripts/
  4. change_log.txt
  5. clean
  6. directories.txt
  7. LICENSE
  8. mk
  9. README.md
README.md

Getting Started

For more information on Amazon FreeRTOS, refer to the Getting Started section of Amazon FreeRTOS webpage.

To directly access the Getting Started Guide for supported hardware platforms, click the corresponding link in the Supported Hardware section below.

For detailed documentation on Amazon FreeRTOS, refer to the Amazon FreeRTOS User Guide.

Supported Hardware

The following MCU boards are supported for Amazon FreeRTOS:

  1. Texas Instruments - CC3220SF-LAUNCHXL.
  2. STMicroelectronics - STM32L4 Discovery kit IoT node.
  3. NXP - LPC54018 IoT Module.
  4. Microchip - Curiosity PIC32MZEF.
  5. Espressif - ESP32-DevKitC, ESP-WROVER-KIT.

Windows Simulator To evaluate Amazon FreeRTOS without using MCU-based hardware, you can use the Windows Simulator.