ports: Allow boards to define additional network interfaces.
This commit is contained in:
committed by
Damien George
parent
66fe3d5cb5
commit
fe8b47e29f
@@ -267,8 +267,13 @@ extern const struct _mp_obj_type_t network_lan_type;
|
||||
SOCKET_BUILTIN_MODULE \
|
||||
NETWORK_BUILTIN_MODULE \
|
||||
|
||||
#ifndef MICROPY_BOARD_NETWORK_INTERFACES
|
||||
#define MICROPY_BOARD_NETWORK_INTERFACES
|
||||
#endif
|
||||
|
||||
#define MICROPY_PORT_NETWORK_INTERFACES \
|
||||
MICROPY_HW_NIC_ETH \
|
||||
MICROPY_BOARD_NETWORK_INTERFACES \
|
||||
|
||||
#define MICROPY_HW_PIT_NUM_CHANNELS 3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user