Skip to content

Commit b7ed18d

Browse files
committed
change idf to espressif
fix hal includes
1 parent 8c428a3 commit b7ed18d

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,4 @@
152152
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
153153
[submodule "ports/esp32s2/esp-idf"]
154154
path = ports/esp32s2/esp-idf
155-
url = https://github.com/hierophect/esp-idf.git
155+
url = https://github.com/espressif/esp-idf.git

ports/esp32s2/common-hal/busio/I2C.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "common-hal/microcontroller/Pin.h"
3131

32-
#include "components/soc/include/hal/i2c_types.h"
32+
#include "components/hal/include/hal/i2c_types.h"
3333
#include "FreeRTOS.h"
3434
#include "freertos/semphr.h"
3535
#include "py/obj.h"

ports/esp32s2/common-hal/busio/SPI.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
#include "common-hal/microcontroller/Pin.h"
3131

3232
#include "components/driver/include/driver/spi_common_internal.h"
33-
#include "components/soc/include/hal/spi_hal.h"
34-
#include "components/soc/include/hal/spi_types.h"
33+
#include "components/hal/include/hal/spi_hal.h"
34+
#include "components/hal/include/hal/spi_types.h"
3535
#include "py/obj.h"
3636

3737
typedef struct {

ports/esp32s2/common-hal/busio/UART.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include "common-hal/microcontroller/Pin.h"
3131

32-
#include "components/soc/include/hal/uart_types.h"
32+
#include "components/hal/include/hal/uart_types.h"
3333
#include "py/obj.h"
3434

3535
typedef struct {

ports/esp32s2/common-hal/digitalio/DigitalInOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#include "components/driver/include/driver/gpio.h"
3232

33-
#include "components/soc/include/hal/gpio_hal.h"
33+
#include "components/hal/include/hal/gpio_hal.h"
3434

3535
void common_hal_digitalio_digitalinout_never_reset(
3636
digitalio_digitalinout_obj_t *self) {

ports/esp32s2/common-hal/microcontroller/Pin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "py/mphal.h"
3333

3434
#include "components/driver/include/driver/gpio.h"
35-
#include "components/soc/include/hal/gpio_hal.h"
35+
#include "components/hal/include/hal/gpio_hal.h"
3636

3737
#ifdef MICROPY_HW_NEOPIXEL
3838
bool neopixel_in_use;

ports/esp32s2/esp-idf

Submodule esp-idf updated 662 files

ports/esp32s2/peripherals/pins.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
#include "esp32s2_peripherals_config.h"
3636
#include "esp-idf/config/sdkconfig.h"
37-
#include "components/soc/include/hal/gpio_types.h"
37+
#include "components/hal/include/hal/gpio_types.h"
3838

3939
typedef struct {
4040
PIN_PREFIX_FIELDS

0 commit comments

Comments
 (0)