Merge pull request #5786 from prplz/fix-busdevice-stub-path

Fix busdevice stub path
This commit is contained in:
Dan Halbert 2021-12-28 10:43:54 -05:00 committed by GitHub
commit 2c4e3aa880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 12 deletions

View File

@ -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 \

View File

@ -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) },

View File

@ -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"

View File

@ -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.

View File

@ -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"

View File

@ -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;

View File

@ -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"

View File

@ -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"