Skip to content

Commit

Permalink
feat: add pycom cm4
Browse files Browse the repository at this point in the history
add definition for pycom cm4

see #195 also
  • Loading branch information
shawaj authored Dec 31, 2022
1 parent d977361 commit ccb5001
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions hm_pyhelper/hardware_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,28 @@ def is_raspberry_pi() -> bool:
'CONTAINS_IC_IDS': []
},

# Pycom CM4
'pycom-fl1': {
'FRIENDLY': 'Pycom Hotspot',
'SUPPORTED_MODELS': ['Pycom Hotspot'],
'CPU_ARCH': 'aarch64',
'BALENA_DEVICE_TYPE': ['raspberrypicm4-ioboard'],
'SPIBUS': 'spidev0.0',
'KEY_STORAGE_BUS': '/dev/i2c-10',
'SWARM_KEY_URI': 'ecc://i2c-10:96?slot=0',
'RESET': 17,
'MAC': 'wlan0',
'STATUS': 22,
'BUTTON': 27,
'ECCOB': True,
'TYPE': 'Full',
'CELLULAR': False,
'FCC_IDS': [],
'CONTAINS_FCC_IDS': [],
'IC_IDS': [],
'CONTAINS_IC_IDS': []
},

# COTX X3 Hotspot
'cotx-fl1': {
'FRIENDLY': 'COTX X3',
Expand Down Expand Up @@ -545,6 +567,7 @@ def is_raspberry_pi() -> bool:
variant_definitions['COMP-COTX3'] = variant_definitions['cotx-fl1']
variant_definitions['COMP-CONTROLLINO'] = variant_definitions['controllino-fl1']
variant_definitions['COMP-LINXDOTCM4'] = variant_definitions['linxdot-fl1']
variant_definitions['COMP-PYCOM'] = variant_definitions['pycom-fl1']


def get_variant_attribute(variant_name, attribute_key):
Expand Down

0 comments on commit ccb5001

Please sign in to comment.