Skip to content

Commit fa90cb0

Browse files
committed
I2CSecondary: Rename class and its module
This is an incompatible change.
1 parent 5bc2ffe commit fa90cb0

File tree

38 files changed

+200
-200
lines changed

38 files changed

+200
-200
lines changed

docs/porting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ as a natural "TODO" list. An example minimal build list is shown below:
6464
CIRCUITPY_ROTARYIO = 0
6565
CIRCUITPY_RTC = 0
6666
CIRCUITPY_FREQUENCYIO = 0
67-
CIRCUITPY_I2CSLAVE = 0
67+
CIRCUITPY_I2CSECONDARY = 0
6868
CIRCUITPY_DISPLAYIO = 0 # Requires SPI, PulseIO (stub ok)
6969
7070
# These modules are implemented in shared-module/ - they can be included in

ports/atmel-samd/boards/bdmicro_vina_m0/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXTERNAL_FLASH_DEVICES = "MX25L51245G"
1212
LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
15-
CIRCUITPY_I2CSLAVE = 0
15+
CIRCUITPY_I2CSECONDARY = 0
1616
CIRCUITPY_VECTORIO = 0
1717

1818
CFLAGS_INLINE_LIMIT = 60

ports/atmel-samd/boards/circuitbrains_basic_m0/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
1515
CIRCUITPY_FREQUENCYIO = 0
16-
CIRCUITPY_I2CSLAVE = 0
16+
CIRCUITPY_I2CSECONDARY = 0
1717
CIRCUITPY_VECTORIO = 0

ports/atmel-samd/boards/circuitplayground_express/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LONGINT_IMPL = MPZ
1414
# Make room for frozen libs.
1515
CIRCUITPY_DISPLAYIO = 0
1616
CIRCUITPY_FREQUENCYIO = 0
17-
CIRCUITPY_I2CSLAVE = 0
17+
CIRCUITPY_I2CSECONDARY = 0
1818

1919
SUPEROPT_GC = 0
2020
CFLAGS_INLINE_LIMIT = 55

ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LONGINT_IMPL = NONE
1515
CIRCUITPY_BITBANGIO = 0
1616
CIRCUITPY_DISPLAYIO = 0
1717
CIRCUITPY_FREQUENCYIO = 0
18-
CIRCUITPY_I2CSLAVE = 0
18+
CIRCUITPY_I2CSECONDARY = 0
1919
CIRCUITPY_PIXELBUF = 1
2020
CIRCUITPY_ROTARYIO = 0
2121
CIRCUITPY_RTC = 0

ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ EXTERNAL_FLASH_DEVICES = "S25FL216K, GD25Q16C"
1414
LONGINT_IMPL = NONE
1515
CIRCUITPY_BITBANGIO = 0
1616
CIRCUITPY_FREQUENCYIO = 0
17-
CIRCUITPY_I2CSLAVE = 0
17+
CIRCUITPY_I2CSECONDARY = 0
1818
CIRCUITPY_PIXELBUF = 0
1919
CIRCUITPY_RTC = 0
2020
# So not all of displayio, sorry!

ports/atmel-samd/boards/feather_m0_express/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
1515
CIRCUITPY_FREQUENCYIO = 0
16-
CIRCUITPY_I2CSLAVE = 0
16+
CIRCUITPY_I2CSECONDARY = 0
1717
CIRCUITPY_VECTORIO = 0
1818

1919
CFLAGS_INLINE_LIMIT = 60

ports/atmel-samd/boards/feather_m0_express_crickit/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ LONGINT_IMPL = MPZ
1515
CIRCUITPY_BITBANGIO = 0
1616
CIRCUITPY_DISPLAYIO = 0
1717
CIRCUITPY_FREQUENCYIO = 0
18-
CIRCUITPY_I2CSLAVE = 0
18+
CIRCUITPY_I2CSECONDARY = 0
1919
CIRCUITPY_GAMEPAD = 0
2020
CFLAGS_INLINE_LIMIT = 50
2121

ports/atmel-samd/boards/feather_m0_supersized/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
1515
CIRCUITPY_FREQUENCYIO = 0
16-
CIRCUITPY_I2CSLAVE = 0
16+
CIRCUITPY_I2CSECONDARY = 0
1717
# supersized, not ultra-supersized
1818
CIRCUITPY_VECTORIO = 0
1919

ports/atmel-samd/boards/hallowing_m0_express/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CIRCUITPY_AUDIOBUSIO = 0
1616
CIRCUITPY_BITBANGIO = 0
1717
CIRCUITPY_FREQUENCYIO = 0
1818
CIRCUITPY_GAMEPAD = 0
19-
CIRCUITPY_I2CSLAVE = 0
19+
CIRCUITPY_I2CSECONDARY = 0
2020
CIRCUITPY_ROTARYIO = 0
2121
CIRCUITPY_RTC = 0
2222
CIRCUITPY_COUNTIO = 0

ports/atmel-samd/boards/itsybitsy_m0_express/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ CIRCUITPY_BITBANG_APA102 = 1
1515

1616
CIRCUITPY_BITBANGIO = 0
1717
CIRCUITPY_GAMEPAD = 0
18-
CIRCUITPY_I2CSLAVE = 0
18+
CIRCUITPY_I2CSECONDARY = 0
1919
CIRCUITPY_RTC = 0
2020
# too itsy bitsy for all of displayio
2121
CIRCUITPY_VECTORIO = 0

ports/atmel-samd/boards/metro_m0_express/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXTERNAL_FLASH_DEVICES = "S25FL216K, GD25Q16C"
1212
LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
15-
CIRCUITPY_I2CSLAVE = 0
15+
CIRCUITPY_I2CSECONDARY = 0
1616
CIRCUITPY_VECTORIO = 0
1717

1818
CFLAGS_INLINE_LIMIT = 60

ports/atmel-samd/boards/pewpew_m4/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CIRCUITPY_ANALOGIO = 0
1616
CIRCUITPY_AUDIOBUSIO = 0
1717
CIRCUITPY_BITBANGIO = 0
1818
CIRCUITPY_FREQUENCYIO = 0
19-
CIRCUITPY_I2CSLAVE = 0
19+
CIRCUITPY_I2CSECONDARY = 0
2020
CIRCUITPY_NEOPIXEL_WRITE = 0
2121
CIRCUITPY_NETWORK = 0
2222
CIRCUITPY_PIXELBUF = 0

ports/atmel-samd/boards/shirtty/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CHIP_FAMILY = samd21
99
INTERNAL_FLASH_FILESYSTEM = 1
1010
LONGINT_IMPL = NONE
1111
CIRCUITPY_FULL_BUILD = 0
12-
CIRCUITPY_I2CSLAVE = 1
12+
CIRCUITPY_I2CSECONDARY = 1
1313
CIRCUITPY_TOUCHIO = 0
1414

1515
SUPEROPT_GC = 0

ports/atmel-samd/boards/snekboard/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
1515
CIRCUITPY_GAMEPAD = 0
16-
CIRCUITPY_I2CSLAVE = 0
16+
CIRCUITPY_I2CSECONDARY = 0
1717
CIRCUITPY_VECTORIO = 0
1818

1919
CFLAGS_INLINE_LIMIT = 60

ports/atmel-samd/boards/sparkfun_redboard_turbo/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXTERNAL_FLASH_DEVICES = "W25Q32FV"
1212
LONGINT_IMPL = MPZ
1313

1414
CIRCUITPY_BITBANGIO = 0
15-
CIRCUITPY_I2CSLAVE = 0
15+
CIRCUITPY_I2CSECONDARY = 0
1616
CIRCUITPY_VECTORIO = 0
1717

1818
CFLAGS_INLINE_LIMIT = 60

ports/atmel-samd/boards/stringcar_m0_express/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CIRCUITPY_BITBANG_APA102 = 1
1616

1717
CIRCUITPY_BITBANGIO = 0
1818
CIRCUITPY_GAMEPAD = 0
19-
CIRCUITPY_I2CSLAVE = 0
19+
CIRCUITPY_I2CSECONDARY = 0
2020
CIRCUITPY_RTC = 0
2121
CIRCUITPY_VECTORIO = 0
2222

ports/atmel-samd/boards/trinket_m0_haxpress/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ CIRCUITPY_BITBANGIO = 0
1515
CIRCUITPY_COUNTIO = 0
1616
CIRCUITPY_RTC = 0
1717
CIRCUITPY_FREQUENCYIO = 0
18-
CIRCUITPY_I2CSLAVE = 0
18+
CIRCUITPY_I2CSECONDARY = 0
1919

2020
SUPEROPT_GC = 0

ports/atmel-samd/boards/ugame10/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CIRCUITPY_DISPLAYIO = 1
2121
CIRCUITPY_AUDIOBUSIO = 0
2222
CIRCUITPY_BITBANGIO = 0
2323
CIRCUITPY_FREQUENCYIO = 0
24-
CIRCUITPY_I2CSLAVE = 0
24+
CIRCUITPY_I2CSECONDARY = 0
2525
CIRCUITPY_NEOPIXEL_WRITE = 0
2626
CIRCUITPY_PIXELBUF = 0
2727
CIRCUITPY_RTC = 0

ports/atmel-samd/boards/winterbloom_big_honking_button/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ CIRCUITPY_AUDIOIO = 1
2020
CIRCUITPY_BITBANGIO = 0
2121
CIRCUITPY_FRAMEBUFFERIO = 0
2222
CIRCUITPY_FREQUENCYIO = 0
23-
CIRCUITPY_I2CSLAVE = 0
23+
CIRCUITPY_I2CSECONDARY = 0
2424
CIRCUITPY_AUDIOBUSIO = 0
2525
CIRCUITPY_BLEIO = 0
2626
CIRCUITPY_DISPLAYIO = 0
2727
CIRCUITPY_GAMEPAD = 0
28-
CIRCUITPY_I2CSLAVE = 0
28+
CIRCUITPY_I2CSECONDARY = 0
2929
CIRCUITPY_NETWORK = 0
3030
CIRCUITPY_TOUCHIO = 0
3131
CIRCUITPY_RGBMATRIX = 0

ports/atmel-samd/boards/winterbloom_sol/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CIRCUITPY_BLEIO = 0
2323
CIRCUITPY_DISPLAYIO = 0
2424
CIRCUITPY_FRAMEBUFFERIO = 0
2525
CIRCUITPY_GAMEPAD = 0
26-
CIRCUITPY_I2CSLAVE = 0
26+
CIRCUITPY_I2CSECONDARY = 0
2727
CIRCUITPY_NETWORK = 0
2828
CIRCUITPY_TOUCHIO = 0
2929
CIRCUITPY_RGBMATRIX = 0

ports/atmel-samd/common-hal/i2cslave/I2CSlave.c renamed to ports/atmel-samd/common-hal/i2csecondary/I2CSecondary.c

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

27-
#include "shared-bindings/i2cslave/I2CSlave.h"
27+
#include "shared-bindings/i2csecondary/I2CSecondary.h"
2828
#include "common-hal/busio/I2C.h"
2929

3030
#include "lib/utils/interrupt_char.h"
@@ -35,7 +35,7 @@
3535
#include "hal/include/hal_gpio.h"
3636
#include "peripherals/samd/sercom.h"
3737

38-
void common_hal_i2cslave_i2c_slave_construct(i2cslave_i2c_slave_obj_t *self,
38+
void common_hal_i2csecondary_i2c_secondary_construct(i2csecondary_i2c_secondary_obj_t *self,
3939
const mcu_pin_obj_t *scl, const mcu_pin_obj_t *sda,
4040
uint8_t *addresses, unsigned int num_addresses, bool smbus) {
4141
uint8_t sercom_index;
@@ -87,19 +87,19 @@ void common_hal_i2cslave_i2c_slave_construct(i2cslave_i2c_slave_obj_t *self,
8787

8888
if (smbus) {
8989
sercom->I2CS.CTRLA.bit.LOWTOUTEN = 1; // Errata 12003
90-
sercom->I2CS.CTRLA.bit.SEXTTOEN = 1; // Slave SCL Low Extend/Cumulative Time-Out 25ms
90+
sercom->I2CS.CTRLA.bit.SEXTTOEN = 1; // Secondary SCL Low Extend/Cumulative Time-Out 25ms
9191
}
9292
sercom->I2CS.CTRLA.bit.SCLSM = 0; // Clock stretch before ack
93-
sercom->I2CS.CTRLA.bit.MODE = 0x04; // Slave mode
93+
sercom->I2CS.CTRLA.bit.MODE = 0x04; // Secondary mode
9494
sercom->I2CS.CTRLA.bit.ENABLE = 1;
9595
}
9696

97-
bool common_hal_i2cslave_i2c_slave_deinited(i2cslave_i2c_slave_obj_t *self) {
97+
bool common_hal_i2csecondary_i2c_secondary_deinited(i2csecondary_i2c_secondary_obj_t *self) {
9898
return self->sda_pin == NO_PIN;
9999
}
100100

101-
void common_hal_i2cslave_i2c_slave_deinit(i2cslave_i2c_slave_obj_t *self) {
102-
if (common_hal_i2cslave_i2c_slave_deinited(self)) {
101+
void common_hal_i2csecondary_i2c_secondary_deinit(i2csecondary_i2c_secondary_obj_t *self) {
102+
if (common_hal_i2csecondary_i2c_secondary_deinited(self)) {
103103
return;
104104
}
105105

@@ -111,7 +111,7 @@ void common_hal_i2cslave_i2c_slave_deinit(i2cslave_i2c_slave_obj_t *self) {
111111
self->scl_pin = NO_PIN;
112112
}
113113

114-
static int i2c_slave_check_error(i2cslave_i2c_slave_obj_t *self, bool raise) {
114+
static int i2c_secondary_check_error(i2csecondary_i2c_secondary_obj_t *self, bool raise) {
115115
if (!self->sercom->I2CS.INTFLAG.bit.ERROR) {
116116
return 0;
117117
}
@@ -130,9 +130,9 @@ static int i2c_slave_check_error(i2cslave_i2c_slave_obj_t *self, bool raise) {
130130
return -err;
131131
}
132132

133-
int common_hal_i2cslave_i2c_slave_is_addressed(i2cslave_i2c_slave_obj_t *self, uint8_t *address, bool *is_read, bool *is_restart)
133+
int common_hal_i2csecondary_i2c_secondary_is_addressed(i2csecondary_i2c_secondary_obj_t *self, uint8_t *address, bool *is_read, bool *is_restart)
134134
{
135-
int err = i2c_slave_check_error(self, false);
135+
int err = i2c_secondary_check_error(self, false);
136136
if (err) {
137137
return err;
138138
}
@@ -149,22 +149,22 @@ int common_hal_i2cslave_i2c_slave_is_addressed(i2cslave_i2c_slave_obj_t *self, u
149149

150150
for (unsigned int i = 0; i < self->num_addresses; i++) {
151151
if (*address == self->addresses[i]) {
152-
common_hal_i2cslave_i2c_slave_ack(self, true);
152+
common_hal_i2csecondary_i2c_secondary_ack(self, true);
153153
return 1;
154154
}
155155
}
156156

157157
// This should clear AMATCH, but it doesn't...
158-
common_hal_i2cslave_i2c_slave_ack(self, false);
158+
common_hal_i2csecondary_i2c_secondary_ack(self, false);
159159
return 0;
160160
}
161161

162-
int common_hal_i2cslave_i2c_slave_read_byte(i2cslave_i2c_slave_obj_t *self, uint8_t *data) {
162+
int common_hal_i2csecondary_i2c_secondary_read_byte(i2csecondary_i2c_secondary_obj_t *self, uint8_t *data) {
163163
for (int t = 0; t < 100 && !self->sercom->I2CS.INTFLAG.reg; t++) {
164164
mp_hal_delay_us(10);
165165
}
166166

167-
i2c_slave_check_error(self, true);
167+
i2c_secondary_check_error(self, true);
168168

169169
if (!self->sercom->I2CS.INTFLAG.bit.DRDY ||
170170
self->sercom->I2CS.INTFLAG.bit.PREC ||
@@ -176,12 +176,12 @@ int common_hal_i2cslave_i2c_slave_read_byte(i2cslave_i2c_slave_obj_t *self, uint
176176
return 1;
177177
}
178178

179-
int common_hal_i2cslave_i2c_slave_write_byte(i2cslave_i2c_slave_obj_t *self, uint8_t data) {
179+
int common_hal_i2csecondary_i2c_secondary_write_byte(i2csecondary_i2c_secondary_obj_t *self, uint8_t data) {
180180
for (int t = 0; !self->sercom->I2CS.INTFLAG.reg && t < 100; t++) {
181181
mp_hal_delay_us(10);
182182
}
183183

184-
i2c_slave_check_error(self, true);
184+
i2c_secondary_check_error(self, true);
185185

186186
if (self->sercom->I2CS.INTFLAG.bit.PREC) {
187187
return 0;
@@ -203,12 +203,12 @@ int common_hal_i2cslave_i2c_slave_write_byte(i2cslave_i2c_slave_obj_t *self, uin
203203
return 1;
204204
}
205205

206-
void common_hal_i2cslave_i2c_slave_ack(i2cslave_i2c_slave_obj_t *self, bool ack) {
206+
void common_hal_i2csecondary_i2c_secondary_ack(i2csecondary_i2c_secondary_obj_t *self, bool ack) {
207207
self->sercom->I2CS.CTRLB.bit.ACKACT = !ack;
208208
self->sercom->I2CS.CTRLB.bit.CMD = 0x03;
209209
}
210210

211-
void common_hal_i2cslave_i2c_slave_close(i2cslave_i2c_slave_obj_t *self) {
211+
void common_hal_i2csecondary_i2c_secondary_close(i2csecondary_i2c_secondary_obj_t *self) {
212212
for (int t = 0; !self->sercom->I2CS.INTFLAG.reg && t < 100; t++) {
213213
mp_hal_delay_us(10);
214214
}
@@ -218,7 +218,7 @@ void common_hal_i2cslave_i2c_slave_close(i2cslave_i2c_slave_obj_t *self) {
218218
}
219219

220220
if (!self->sercom->I2CS.STATUS.bit.DIR) {
221-
common_hal_i2cslave_i2c_slave_ack(self, false);
221+
common_hal_i2csecondary_i2c_secondary_ack(self, false);
222222
} else {
223223
int i = 0;
224224
while (self->sercom->I2CS.INTFLAG.reg == SERCOM_I2CS_INTFLAG_DRDY) {
@@ -246,7 +246,7 @@ void common_hal_i2cslave_i2c_slave_close(i2cslave_i2c_slave_obj_t *self) {
246246

247247
if (self->sercom->I2CS.STATUS.bit.CLKHOLD) {
248248
// Unable to release the clock.
249-
// The slave might have to be re-initialized to get unstuck.
249+
// The secondary might have to be re-initialized to get unstuck.
250250
mp_raise_OSError(MP_EIO);
251251
}
252252
}

ports/atmel-samd/common-hal/i2cslave/I2CSlave.h renamed to ports/atmel-samd/common-hal/i2csecondary/I2CSecondary.h

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

27-
#ifndef MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_SLAVE_H
28-
#define MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_SLAVE_H
27+
#ifndef MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_SECONDARY_H
28+
#define MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_SECONDARY_H
2929

3030
#include "common-hal/microcontroller/Pin.h"
3131
#include "py/obj.h"
@@ -40,6 +40,6 @@ typedef struct {
4040
uint8_t scl_pin;
4141
uint8_t sda_pin;
4242
bool writing;
43-
} i2cslave_i2c_slave_obj_t;
43+
} i2csecondary_i2c_secondary_obj_t;
4444

45-
#endif // MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_SLAVE_H
45+
#endif // MICROPY_INCLUDED_ATMEL_SAMD_COMMON_HAL_BUSIO_I2C_SECONDARY_H
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// No i2csecondary module functions.

ports/atmel-samd/common-hal/i2cslave/__init__.c

Lines changed: 0 additions & 1 deletion
This file was deleted.

ports/cxd56/mpconfigport.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ USB_MSC_EP_NUM_IN = 4
1010

1111
CIRCUITPY_AUDIOIO = 0
1212
CIRCUITPY_AUDIOBUSIO = 0
13-
CIRCUITPY_I2CSLAVE = 0
13+
CIRCUITPY_I2CSECONDARY = 0
1414
CIRCUITPY_ROTARYIO = 0
1515
CIRCUITPY_TOUCHIO = 0
1616
CIRCUITPY_GAMEPAD = 0

ports/esp32s2/mpconfigport.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CIRCUITPY_DIGITALIO = 1
2222
CIRCUITPY_BUSIO = 0
2323
CIRCUITPY_DISPLAYIO = 0
2424
CIRCUITPY_FREQUENCYIO = 0
25-
CIRCUITPY_I2CSLAVE = 0
25+
CIRCUITPY_I2CSECONDARY = 0
2626
CIRCUITPY_MICROCONTROLLER = 1
2727
CIRCUITPY_NVM = 0
2828
CIRCUITPY_PULSEIO = 0

ports/litex/mpconfigport.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CIRCUITPY_BOARD = 0
2020
CIRCUITPY_BUSIO = 0
2121
CIRCUITPY_DISPLAYIO = 0
2222
CIRCUITPY_FREQUENCYIO = 0
23-
CIRCUITPY_I2CSLAVE = 0
23+
CIRCUITPY_I2CSECONDARY = 0
2424
CIRCUITPY_NVM = 0
2525
CIRCUITPY_PULSEIO = 0
2626
CIRCUITPY_ROTARYIO = 0

ports/mimxrt10xx/mpconfigport.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ INTERNAL_FLASH_FILESYSTEM = 1
2323
CIRCUITPY_AUDIOIO = 0
2424
CIRCUITPY_AUDIOBUSIO = 0
2525
CIRCUITPY_FREQUENCYIO = 0
26-
CIRCUITPY_I2CSLAVE = 0
26+
CIRCUITPY_I2CSECONDARY = 0
2727
CIRCUITPY_NVM = 0
2828
CIRCUITPY_ROTARYIO = 0
2929
CIRCUITPY_COUNTIO = 0

ports/nrf/boards/pca10100/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ CIRCUITPY_COUNTIO = 0
1414
CIRCUITPY_DISPLAYIO = 0
1515
CIRCUITPY_FRAMEBUFFERIO = 0
1616
CIRCUITPY_FREQUENCYIO = 0
17-
CIRCUITPY_I2CSLAVE = 0
17+
CIRCUITPY_I2CSECONDARY = 0
1818
CIRCUITPY_NEOPIXEL_WRITE = 0
1919
CIRCUITPY_NVM = 0
2020
CIRCUITPY_PIXELBUF = 0

0 commit comments

Comments
 (0)