Skip to content

Commit

Permalink
Merge branch 'feature/freertos_dual_core_riscv_port' into 'master'
Browse files Browse the repository at this point in the history
feat(freertos): Added changes for multi-core RISC-V port for FreeRTOS

Closes IDF-7566, IDF-7879, and IDF-2393

See merge request espressif/esp-idf!25123
  • Loading branch information
sudeep-mohanty committed Aug 23, 2023
2 parents e3eb2ea + 4e51c6b commit 52bca70
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 52bca70

Please sign in to comment.