GithubHelp home page GithubHelp logo

mops's Introduction

MOPS

Modern operating path system (MOPS)

C++

Код на плюсах изолирован в src/corelib/cpp. Там же для запуска отдельно выделен файл с заголовками stdc++.h, т.к. он нестандартный. Чтобы сделать функцию доступной извне, нужно добавить extern "C" перед ней.

Building

In package dir: cargo run or cargo build if you want only to build. In this process build.rs will compile c++ into object using vs compiler (cc crate). File src/corelib/mod.rs externs c++.

Links

TODO

System commands:

  • BEGIN_DOWNLOAD 0x92 // Begin file download
  • CONTINUE_DOWNLOAD 0x93 // Continue file download
  • BEGIN_UPLOAD 0x94 // Begin file upload
  • CONTINUE_UPLOAD 0x95 // Continue file upload
  • BEGIN_GETFILE 0x96 // Begin get bytes from a file (while writing to the file)
  • CONTINUE_GETFILE 0x97 // Continue get byte from a file (while writing to the file)
  • CLOSE_FILEHANDLE 0x98 // Close file handle
  • LIST_FILES 0x99 // List files
  • CONTINUE_LIST_FILES 0x9A // Continue list files
  • CREATE_DIR 0x9B // Create directory
  • DELETE_FILE 0x9C // Delete file
  • LIST_OPEN_HANDLES 0x9D // List handles
  • WRITEMAILBOX 0x9E // Write to mailbox
  • BLUETOOTHPIN 0x9F // Transfer trusted pin code to brick
  • ENTERFWUPDATE 0xA0 // Restart the brick in Firmware update mode

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.