Skip to content

Commit

Permalink
feat(freertos): Added changes for multi-core RISC-V port for FreeRTOS
Browse files Browse the repository at this point in the history
This commit updates the FreeRTOS port layer for multi-core RISC-V targets.
  • Loading branch information
sudeep-mohanty committed Aug 22, 2023
1 parent 14d8765 commit 4e51c6b
Show file tree
Hide file tree
Showing 8 changed files with 526 additions and 386 deletions.
4 changes: 3 additions & 1 deletion components/esp_hw_support/rtc_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@
static const char *TAG = "rtc_module";
#endif

// rtc_spinlock is used by other peripheral drivers
portMUX_TYPE rtc_spinlock = portMUX_INITIALIZER_UNLOCKED;

#if !CONFIG_IDF_TARGET_ESP32C6 && !CONFIG_IDF_TARGET_ESP32H2 && !CONFIG_IDF_TARGET_ESP32P4 // TODO: IDF-8008

#define NOT_REGISTERED (-1)

portMUX_TYPE rtc_spinlock = portMUX_INITIALIZER_UNLOCKED;
// Disable the interrupt which cannot work without cache.
static DRAM_ATTR uint32_t rtc_intr_cache;
static DRAM_ATTR uint32_t rtc_intr_enabled;
Expand Down
Loading

0 comments on commit 4e51c6b

Please sign in to comment.