Merge pull request #5786 from prplz/fix-busdevice-stub-path
Fix busdevice stub path
This commit is contained in:
commit
2c4e3aa880
@ -524,8 +524,8 @@ SRC_SHARED_MODULE_ALL = \
|
||||
bitops/__init__.c \
|
||||
board/__init__.c \
|
||||
adafruit_bus_device/__init__.c \
|
||||
adafruit_bus_device/I2CDevice.c \
|
||||
adafruit_bus_device/SPIDevice.c \
|
||||
adafruit_bus_device/i2c_device/I2CDevice.c \
|
||||
adafruit_bus_device/spi_device/SPIDevice.c \
|
||||
canio/Match.c \
|
||||
canio/Message.c \
|
||||
canio/RemoteTransmissionRequest.c \
|
||||
|
@ -32,8 +32,8 @@
|
||||
#include "py/objproperty.h"
|
||||
|
||||
#include "shared-bindings/adafruit_bus_device/__init__.h"
|
||||
#include "shared-bindings/adafruit_bus_device/I2CDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/SPIDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/i2c_device/I2CDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/spi_device/SPIDevice.h"
|
||||
|
||||
STATIC const mp_rom_map_elem_t adafruit_bus_device_i2c_device_globals_table[] = {
|
||||
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_i2c_device) },
|
||||
|
@ -28,9 +28,9 @@
|
||||
// busio.I2C class.
|
||||
|
||||
#include "shared-bindings/microcontroller/Pin.h"
|
||||
#include "shared-bindings/adafruit_bus_device/I2CDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/i2c_device/I2CDevice.h"
|
||||
#include "shared-bindings/util.h"
|
||||
#include "shared-module/adafruit_bus_device/I2CDevice.h"
|
||||
#include "shared-module/adafruit_bus_device/i2c_device/I2CDevice.h"
|
||||
|
||||
#include "shared/runtime/buffer_helper.h"
|
||||
#include "shared/runtime/context_manager_helpers.h"
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "py/obj.h"
|
||||
|
||||
#include "shared-module/adafruit_bus_device/I2CDevice.h"
|
||||
#include "shared-module/adafruit_bus_device/i2c_device/I2CDevice.h"
|
||||
// #include "shared-bindings/busio/I2C.h"
|
||||
|
||||
// Type object used in Python. Should be shared between ports.
|
@ -25,9 +25,9 @@
|
||||
*/
|
||||
|
||||
#include "shared-bindings/microcontroller/Pin.h"
|
||||
#include "shared-bindings/adafruit_bus_device/SPIDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/spi_device/SPIDevice.h"
|
||||
#include "shared-bindings/util.h"
|
||||
#include "shared-module/adafruit_bus_device/SPIDevice.h"
|
||||
#include "shared-module/adafruit_bus_device/spi_device/SPIDevice.h"
|
||||
#include "common-hal/digitalio/DigitalInOut.h"
|
||||
#include "shared-bindings/digitalio/DigitalInOut.h"
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "py/obj.h"
|
||||
|
||||
#include "shared-module/adafruit_bus_device/SPIDevice.h"
|
||||
#include "shared-module/adafruit_bus_device/spi_device/SPIDevice.h"
|
||||
|
||||
// Type object used in Python. Should be shared between ports.
|
||||
extern const mp_obj_type_t adafruit_bus_device_spidevice_type;
|
@ -24,7 +24,7 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "shared-bindings/adafruit_bus_device/I2CDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/i2c_device/I2CDevice.h"
|
||||
#include "shared-bindings/busio/I2C.h"
|
||||
#include "py/mperrno.h"
|
||||
#include "py/nlr.h"
|
@ -24,7 +24,7 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "shared-bindings/adafruit_bus_device/SPIDevice.h"
|
||||
#include "shared-bindings/adafruit_bus_device/spi_device/SPIDevice.h"
|
||||
#include "shared-bindings/busio/SPI.h"
|
||||
#include "shared-bindings/digitalio/DigitalInOut.h"
|
||||
#include "py/mperrno.h"
|
Loading…
Reference in New Issue
Block a user