# This file was autogenerated at 2024-04-30 19:00:15.968024.
# Do not change it, see source json bsp file and 'tools/json2py.py'
import bsp

__bsp = {'led': {'import': 'neopixel', 'n': 1, 'pin': {'id': 8, 'import': 'machine', 'type': 'Pin'}, 'type': 'NeoPixel'}, 'modem': {'import': 'hw.esp32.ppp', 'pwr_pin': {'id': 2, 'import': 'machine', 'mode': 3, 'type': 'Pin'}, 'type': 'modem', 'uart_link': {'import': 'hw.esp32.uart_link', 'type': 'uart_link', 'uart': {'baudrate': 115200, 'id': 1, 'import': 'machine', 'rx': {'id': 0, 'import': 'machine', 'type': 'Pin'}, 'timeout': 10, 'timeout_char': 1, 'tx': {'id': 1, 'import': 'machine', 'type': 'Pin'}, 'type': 'UART'}}}, 'network': {'import': 'hw.esp32.wlan', 'type': 'WLAN'}, 'uplink': {'import': 'hw.esp32.uart_link', 'type': 'uart_link', 'uart': {'baudrate': 115200, 'id': 0, 'import': 'machine', 'rx': {'id': 20, 'import': 'machine', 'type': 'Pin'}, 'timeout': 10, 'timeout_char': 1, 'tx': {'id': 21, 'import': 'machine', 'type': 'Pin'}, 'type': 'UART'}}}
__cfg = None

def get_config():
    global __cfg
    if __cfg is None:
        __cfg = bsp.gen_bsp(__bsp)
    return __cfg

def __getattr__(name):
    cfg = get_config()
    if name in cfg:
        return cfg[name]
    raise AttributeError()


