Skip to content

Commit

Permalink
change idf to espressif
Browse files Browse the repository at this point in the history
fix hal includes
  • Loading branch information
hathach committed Oct 7, 2020
1 parent 8c428a3 commit b7ed18d
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
[submodule "ports/esp32s2/esp-idf"]
path = ports/esp32s2/esp-idf
url = https://github.com/hierophect/esp-idf.git
url = https://github.com/espressif/esp-idf.git
2 changes: 1 addition & 1 deletion ports/esp32s2/common-hal/busio/I2C.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

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

#include "components/soc/include/hal/i2c_types.h"
#include "components/hal/include/hal/i2c_types.h"
#include "FreeRTOS.h"
#include "freertos/semphr.h"
#include "py/obj.h"
Expand Down
4 changes: 2 additions & 2 deletions ports/esp32s2/common-hal/busio/SPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#include "common-hal/microcontroller/Pin.h"

#include "components/driver/include/driver/spi_common_internal.h"
#include "components/soc/include/hal/spi_hal.h"
#include "components/soc/include/hal/spi_types.h"
#include "components/hal/include/hal/spi_hal.h"
#include "components/hal/include/hal/spi_types.h"
#include "py/obj.h"

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion ports/esp32s2/common-hal/busio/UART.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

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

#include "components/soc/include/hal/uart_types.h"
#include "components/hal/include/hal/uart_types.h"
#include "py/obj.h"

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion ports/esp32s2/common-hal/digitalio/DigitalInOut.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

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

#include "components/soc/include/hal/gpio_hal.h"
#include "components/hal/include/hal/gpio_hal.h"

void common_hal_digitalio_digitalinout_never_reset(
digitalio_digitalinout_obj_t *self) {
Expand Down
2 changes: 1 addition & 1 deletion ports/esp32s2/common-hal/microcontroller/Pin.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include "py/mphal.h"

#include "components/driver/include/driver/gpio.h"
#include "components/soc/include/hal/gpio_hal.h"
#include "components/hal/include/hal/gpio_hal.h"

#ifdef MICROPY_HW_NEOPIXEL
bool neopixel_in_use;
Expand Down
2 changes: 1 addition & 1 deletion ports/esp32s2/esp-idf
Submodule esp-idf updated 662 files
2 changes: 1 addition & 1 deletion ports/esp32s2/peripherals/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

#include "esp32s2_peripherals_config.h"
#include "esp-idf/config/sdkconfig.h"
#include "components/soc/include/hal/gpio_types.h"
#include "components/hal/include/hal/gpio_types.h"

typedef struct {
PIN_PREFIX_FIELDS
Expand Down

0 comments on commit b7ed18d

Please sign in to comment.