forked from iot-lab/iot-lab-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode_nrf52832mdk.py
36 lines (30 loc) · 1.41 KB
/
node_nrf52832mdk.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- coding:utf-8 -*-
# This file is a part of IoT-LAB gateway_code
# Copyright (C) 2015 INRIA (Contact: [email protected])
# Contributor(s) : see AUTHORS file
#
# This software is governed by the CeCILL license under French law
# and abiding by the rules of distribution of free software. You can use,
# modify and/ or redistribute the software under the terms of the CeCILL
# license as circulated by CEA, CNRS and INRIA at the following URL
# http://www.cecill.info.
#
# As a counterpart to the access to the source code and rights to copy,
# modify and redistribute granted by the license, users are provided only
# with a limited warranty and the software's author, the holder of the
# economic rights, and the successive licensors have only limited
# liability.
#
# The fact that you are presently reading this means that you have had
# knowledge of the CeCILL license and that you accept its terms.
""" Open Node NRF52832-MDK experiment implementation """
from gateway_code.config import static_path
from gateway_code.open_nodes.common.node_openocd import NodeOpenOCDBase
class NodeNrf52832Mdk(NodeOpenOCDBase):
""" Open node NRF52832-MDK implementation """
TYPE = 'nrf52832mdk'
OPENOCD_CFG_FILE = static_path('iot-lab-nrf528xxmdk.cfg')
FW_IDLE = static_path('nrf52832mdk_idle.elf')
FW_AUTOTEST = static_path('nrf52832mdk_autotest.elf')
TTY = '/dev/iotlab/ttyON_CMSIS-DAP'
BAUDRATE = 115200