From: Tian Hao Date: Wed, 17 May 2017 03:46:53 +0000 (+0800) Subject: component/esp32 : update wifi library and phy library X-Git-Tag: v2.1-rc1~110^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52515d0edf30c273b24955981673b7263d9d21d8;p=esp-idf component/esp32 : update wifi library and phy library --- diff --git a/components/esp32/lib b/components/esp32/lib index 13a8292174..a197e872e0 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit 13a8292174f5c89e3bffb1580195a1343f24c70c +Subproject commit a197e872e0d96a0f5f57c7d4babefe2c77db4cf4 diff --git a/components/soc/esp32/include/soc/dport_access.h b/components/soc/esp32/include/soc/dport_access.h index e5d49cd9e4..6d3b6efc29 100644 --- a/components/soc/esp32/include/soc/dport_access.h +++ b/components/soc/esp32/include/soc/dport_access.h @@ -20,7 +20,8 @@ #include "esp_dport_access.h" //Registers Operation {{ -//Origin access operation for the base and some special scene + +//Register read macros with an underscore prefix access DPORT memory directly. In IDF apps, use the non-underscore versions to be SMP-safe. #define _DPORT_REG_READ(_r) (*(volatile uint32_t *)(_r)) #define _DPORT_REG_WRITE(_r, _v) (*(volatile uint32_t *)(_r)) = (_v) @@ -75,7 +76,7 @@ static inline uint32_t IRAM_ATTR DPORT_REG_READ(uint32_t reg) //generate a value from a field value, used when _f is left shifted by _f##_S #define DPORT_FIELD_TO_VALUE2(_f, _v) (((_v)<<_f##_S) & (_f)) -//Origin access operation for the base and some special scene +//Register read macros with an underscore prefix access DPORT memory directly. In IDF apps, use the non-underscore versions to be SMP-safe. #define _DPORT_READ_PERI_REG(addr) (*((volatile uint32_t *)(addr))) #define _DPORT_WRITE_PERI_REG(addr, val) (*((volatile uint32_t *)(addr))) = (uint32_t)(val)