GithubHelp home page GithubHelp logo

openwsn-berkeley / openwsn-fw Goto Github PK

View Code? Open in Web Editor NEW
111.0 46.0 232.0 114.8 MB

OpenWSN firmware: stuff that runs on a mote

Home Page: http://www.openwsn.org/

License: BSD 3-Clause "New" or "Revised" License

Python 1.30% C 96.08% CSS 0.01% Assembly 1.84% Makefile 0.08% HTML 0.56% Shell 0.14% GDB 0.01% Batchfile 0.01%

openwsn-fw's Introduction

OpenWSN firmware: stuff that runs on a mote

Part of UC Berkeley's OpenWSN project, http://www.openwsn.org/.

Build status

builder build outcome
Travis compile Build Status
OpenWSN builder compile (TelosB) Build Status
OpenWSN builder compile (GINA) Build Status
OpenWSN builder compile (wsn430v13b) Build Status
OpenWSN builder compile (wsn430v14) Build Status
OpenWSN builder compile (Z1) Build Status
OpenWSN builder compile (OpenMote-CC2538) Build Status
OpenWSN builder compile (OpenMoteSTM) Build Status
OpenWSN builder compile (IoT-LAB_M3) Build Status
OpenWSN builder compile (Python, simulation) Build Status
OpenWSN builder publish documentation Build Status

Documentation

openwsn-fw's People

Contributors

adamsedmak avatar alexbudy avatar awe00 avatar bkerkez avatar changtengfei avatar chris-ho avatar fabloub avatar fjmolinas avatar franks-il avatar guillaumegaillard avatar jmmunoz86 avatar kb2ma avatar konoo avatar kweekly avatar malishav avatar marcelobarrosalmeida avatar minarady1 avatar nicolaaccettura avatar pengit avatar peretuset avatar peterkietzmann avatar qianch88 avatar shalurajendran avatar ssciancalepore avatar tharczos avatar timothyclaeys avatar twatteyne avatar xvilajosana avatar yatch avatar zach-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openwsn-fw's Issues

Network formation issue using the NRF52840-DK

problem descript

  • last version openwsn-nrf52840DK project can not build by segger embedded studio (have fixed the compile error if you need I can push the branch to you)
  • nrf52840DK can not organize network when root the mote(does not show any information while the num of ASN is growth)
  • port older version openwsn-fw to stm32f103 + CC1101 development board, using openv-server command and terminal show :
    image

development environment description

hardware : stm32f103 + CC1101
I have located the error file--board_info.h. My board uses 32.768KHz clock crystal as the source clock of sctimer, below is my board_info.h context:
#define PORT_TICS_PER_MS 32 //32KHz->RTC->sctimer
#define PORT_US_PER_TICK 30
#define SCHEDULER_WAKEUP() EXTI_GenerateSWInterrupt(EXTI_Line1);
#define SCHEDULER_ENABLE_INTERRUPT()

//======== IEEE802154E timing
#define SLOTDURATION 10 //in miliseconds
//time-slot related
#define PORT_TsSlotDuration 330 //10ms

//execution speed related
#define PORT_maxTxDataPrepare 110
#define PORT_maxRxAckPrepare 20
#define PORT_maxRxDataPrepare 33
#define PORT_maxTxAckPrepare 50

//radio speed related
#define PORT_delayTx 18
#define PORT_delayRx 0

// ==adaptive_sync accuracy
#define SYNC_ACCURACY 1//ticks
My source code link: https://github.com/kyh-ly/openws-fw-stm32

Compile issues related to sock interface and IAR toolchain

The IAR project files for openmote are outdated. They do not include latest folder structure changes. In addition the config options for board, apps, and stack are not supported properly. Further the socket related code parts require slight modifications since errno.h of IAR does not support all relevant errorcodes.

Issue reported by @Chris-Ho

Fix in PR: FW-887

A shared library should have exactly one target with the suffix

Hi.
I have problem during running the final code for openwsn-fw. The code is
scons board=python toolchain=gcc oos_openwsn

The error is:-
scons: *** A shared library should have exactly one target with the suffix: Target(s) are:bsp_bothtimers File "xxx\yyy\zzz\openwsn-fw\SConscript", line 1280, in project_finder

The line 1280 in SConscript is:-
targetAction = localEnv.SharedLibrary(target,source,LIBS=libs,SHLIBPREFIX='',SHLIBSUFFIX=pylib_ext,)

Cannot run a simulation

I'm trying to run this software in simulation mode. According to this documentation it should be easy, but it isn't. Can't pass through this step.

root@a0c4a22bf04d:/home/ubuntu/openwsn/openwsn-fw# scons board=python toolchain=gcc oos_openwsn
scons: Reading SConscript files ...
File "/home/ubuntu/openwsn/openwsn-fw/SConstruct", line 142

print "Unknown switch {0}.".format(key)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

root@a0c4a22bf04d:/home/ubuntu/openwsn/openwsn-fw#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.