|
| 1 | +# -*- coding:utf-8 -*- |
| 2 | + |
| 3 | +# This file is a part of IoT-LAB gateway_code |
| 4 | +# Copyright (C) 2015 INRIA (Contact: [email protected]) |
| 5 | +# Contributor(s) : see AUTHORS file |
| 6 | +# |
| 7 | +# This software is governed by the CeCILL license under French law |
| 8 | +# and abiding by the rules of distribution of free software. You can use, |
| 9 | +# modify and/ or redistribute the software under the terms of the CeCILL |
| 10 | +# license as circulated by CEA, CNRS and INRIA at the following URL |
| 11 | +# http://www.cecill.info. |
| 12 | +# |
| 13 | +# As a counterpart to the access to the source code and rights to copy, |
| 14 | +# modify and redistribute granted by the license, users are provided only |
| 15 | +# with a limited warranty and the software's author, the holder of the |
| 16 | +# economic rights, and the successive licensors have only limited |
| 17 | +# liability. |
| 18 | +# |
| 19 | +# The fact that you are presently reading this means that you have had |
| 20 | +# knowledge of the CeCILL license and that you accept its terms. |
| 21 | + |
| 22 | +""" Open Node DWM3001 experiment implementation """ |
| 23 | + |
| 24 | +from gateway_code.config import static_path |
| 25 | +from gateway_code.open_nodes.common.node_jlink import NodeJLinkBase |
| 26 | + |
| 27 | + |
| 28 | +class NodeDwm3001(NodeJLinkBase): |
| 29 | + """ Open node DWM3001 implementation """ |
| 30 | + |
| 31 | + TYPE = 'dwm3001' |
| 32 | + OPENOCD_CFG_FILE = static_path('iot-lab-nrf52xxxdk.cfg') |
| 33 | + OPENOCD_PATH = '/usr/local/bin/openocd' |
| 34 | + FW_IDLE = static_path('dwm3001_idle.elf') |
| 35 | + FW_AUTOTEST = static_path('dwm3001_autotest.elf') |
0 commit comments