Skip to content

Commit 1536ec0

Browse files
committed
rename left over esp32s2 to espressif
1 parent f9b40d4 commit 1536ec0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+171
-180
lines changed

ports/espressif/background.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_BACKGROUND_H
28-
#define MICROPY_INCLUDED_ESP32S2_BACKGROUND_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_BACKGROUND_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_BACKGROUND_H
2929

3030
#include <stdbool.h>
3131

32-
#endif // MICROPY_INCLUDED_ESP32S2_BACKGROUND_H
32+
#endif // MICROPY_INCLUDED_ESPRESSIF_BACKGROUND_H

ports/espressif/bindings/espidf/__init__.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_BINDINGS_ESPIDF___INIT___H
28-
#define MICROPY_INCLUDED_ESP32S2_BINDINGS_ESPIDF___INIT___H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_BINDINGS_ESPIDF___INIT___H
28+
#define MICROPY_INCLUDED_ESPRESSIF_BINDINGS_ESPIDF___INIT___H
2929

3030
#include "esp_err.h"
3131
#include "py/mpconfig.h"
@@ -39,4 +39,4 @@ NORETURN void mp_raise_espidf_MemoryError(void);
3939
void raise_esp_error(esp_err_t err) NORETURN;
4040
#define CHECK_ESP_RESULT(x) do { int res = (x); if (res != ESP_OK) raise_esp_error(res); } while (0)
4141

42-
#endif // MICROPY_INCLUDED_ESP32S2_BINDINGS_ESPIDF___INIT___H
42+
#endif // MICROPY_INCLUDED_ESPRESSIF_BINDINGS_ESPIDF___INIT___H

ports/espressif/common-hal/alarm/SleepMemory.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ALARM_SLEEPMEMORY_H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ALARM_SLEEPMEMORY_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ALARM_SLEEPMEMORY_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ALARM_SLEEPMEMORY_H
2929

3030
#include "py/obj.h"
3131

@@ -50,4 +50,4 @@ typedef struct {
5050

5151
extern void alarm_sleep_memory_reset(void);
5252

53-
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ALARM_SLEEPMEMORY_H
53+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ALARM_SLEEPMEMORY_H

ports/espressif/common-hal/alarm/__init__.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ALARM__INIT__H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ALARM__INIT__H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ALARM__INIT__H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ALARM__INIT__H
2929

3030
#include "common-hal/alarm/SleepMemory.h"
3131

3232
const alarm_sleep_memory_obj_t alarm_sleep_memory_obj;
3333

3434
extern void alarm_reset(void);
3535

36-
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ALARM__INIT__H
36+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ALARM__INIT__H

ports/espressif/common-hal/analogio/AnalogIn.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGIN_H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGIN_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ANALOGIO_ANALOGIN_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ANALOGIO_ANALOGIN_H
2929

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

@@ -39,4 +39,4 @@ typedef struct {
3939
const mcu_pin_obj_t *pin;
4040
} analogio_analogin_obj_t;
4141

42-
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGIN_H
42+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ANALOGIO_ANALOGIN_H

ports/espressif/common-hal/analogio/AnalogOut.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
* THE SOFTWARE.
2626
*/
2727

28-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGOUT_H
29-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_ANALOGIO_ANALOGOUT_H
28+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ANALOGIO_ANALOGOUT_H
29+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ANALOGIO_ANALOGOUT_H
3030

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

@@ -40,4 +40,4 @@ typedef struct {
4040

4141
void analogout_reset(void);
4242

43-
#endif // MICROPY_INCLUDED_STM32F4_COMMON_HAL_ANALOGIO_ANALOGOUT_H
43+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_ANALOGIO_ANALOGOUT_H

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_I2C_H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_I2C_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_I2C_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_I2C_H
2929

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

@@ -45,4 +45,4 @@ typedef struct {
4545

4646
void i2c_reset(void);
4747

48-
#endif // MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_H
48+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_I2C_H

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_SPI_H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_SPI_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_SPI_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_SPI_H
2929

3030
#include "driver/spi_master.h"
3131
#include "shared-bindings/microcontroller/Pin.h"
@@ -49,4 +49,4 @@ typedef struct {
4949

5050
void spi_reset(void);
5151

52-
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_SPI_H
52+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_SPI_H

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_UART_H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_UART_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_UART_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_UART_H
2929

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

@@ -46,4 +46,4 @@ typedef struct {
4646

4747
void uart_reset(void);
4848

49-
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_BUSIO_UART_H
49+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_BUSIO_UART_H

ports/espressif/common-hal/countio/Counter.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
* THE SOFTWARE.
2525
*/
2626

27-
#ifndef MICROPY_INCLUDED_ESP32S2_COMMON_HAL_COUNTIO_COUNTER_H
28-
#define MICROPY_INCLUDED_ESP32S2_COMMON_HAL_COUNTIO_COUNTER_H
27+
#ifndef MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_COUNTIO_COUNTER_H
28+
#define MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_COUNTIO_COUNTER_H
2929

3030
#include "py/obj.h"
3131
#include "peripherals/pcnt.h"
@@ -37,4 +37,4 @@ typedef struct {
3737
pcnt_unit_t unit;
3838
} countio_counter_obj_t;
3939

40-
#endif // MICROPY_INCLUDED_ESP32S2_COMMON_HAL_COUNTIO_COUNT_H
40+
#endif // MICROPY_INCLUDED_ESPRESSIF_COMMON_HAL_COUNTIO_COUNT_H

0 commit comments

Comments
 (0)