Code Monkey home page Code Monkey logo

scum-test-code's Introduction

Scum Test Code

Confluence for SCuM Documentation and Guides: https://crystalfree.atlassian.net/wiki/spaces/SCUM/overview?homepageId=229432

Preface

  • Windows is the recommended OS for SCuM development.
  • Current version of SCuM is scm_v3c

Contributing

  • Create a fork of this repo onto your own Github account
  • Create a branch off of the develop branch
  • Submit pull requests from your branch into the develop branch

Build

  • Install ARM Keil: https://www.keil.com/demo/eval/arm.htm, default settings (MDK528A.EXE known to work)
  • Open scm_v3c/applications/all_projects.uvmpw
  • In Keil project/workspace pane, right click desired project and click Set as Active Project
  • Press build button to generate .bin file for active project (scm_v3c/applications/<app_name>/Objects/<app_name>.bin)

Projects

Existing projects

Read the README associated with each project for project specific setup.

freq_sweep_rx_simple: README

freq_sweep_tx_simple: README

hello_world: README

log_imu: README

continuously_cal: TODO

freq_sweep_lc_count: TODO

freq_sweep_rx: TODO

freq_sweep_tx: TODO

freq_sweep_tx_rx_transit: TODO

if_estimate_test: TODO

pingpong_test: TODO

quick_cal: TODO

Creating a new project

  • Create new directory scm_v3c/applications/<project_name>
  • Copy hello_world.c, hello_world.uvoptx, and hello_world.uvprojx from scm_v3c/applications/hello_world/ into new directory (replace hello_world with <project_name> in the file name for these three files)
  • Find and replace all instances of hello_world with <project_name> in the file contents of <project_name>.uvoptx, and <project_name>.uvprojx
  • Open scm_v3c/applications/all_projects.uvmpw amd in Keil press Project > Manage > Multi-Project Workspace... and add path to <project_name>.uvprojx file (it's okay to put absolute path since it will be saved as relative path)

Bootload

nRF52840DK Bootloader

Bootload & Wiring Guide: https://crystalfree.atlassian.net/wiki/spaces/SCUM/pages/1901559821/Sulu+Programming+With+nRF+Setup

Teensy bootloader

  • install
    • https://www.python.org/downloads/ (Python 3.7.4 known to work)
    • Arduino IDE (arduino-1.8.9-windows.zip known to work)
    • Teensyduino (TeensyduinoInstall.exe known to work)
  • connect both Teensy+SCuM board to computer, creates a COM port for each
  • run python scm_v3c\bootload.py --image <path to .bin file>

OpenMote Setup

Guide

scum-test-code's People

Contributors

changtengfei avatar lydia-lee avatar austinapatel avatar pisterbot avatar skrillberg avatar alexmore214 avatar meeralester avatar twatteyne avatar

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.