Git Product home page Git Product logo

core's Introduction

OwnTech Power API

This is the OwnTech Power API Core repository.

The Power API is designed to be used with VS Code and PlatformIO. Installing VS Code with PlatformIO.

For information about Power API, check out its Documentation.

Downloading OwnTech Power API Core

You fisrt need to download the Power API Core repository using the following command:

git clone https://gitlab.laas.fr/owntech/power-api/core.git owntech_power_api

Then, open VS Code and, if not already done, install the PlatformIO plugin.

Finally, open the newly cloned folder owntech_power_api using menu File > Open Folder...

Working with OwnTech Power API

While the project contains many folders and files, all your code goes to the src folder. In the this folder, the file main.cpp is the entry point of the application. Aditionally, some configuration can be done in the platformio.ini file.

Other folders and files are used to configure the underlying Zephyr OS and PlatformIO, and are hidden by default.

Accessing OwnTech source code in VS Code (for advanced developers)

The full hierarchy of the project is as follows:

owntech_power_api
└─ owntech
|  └─ boards
|  └─ scripts
|  └─>pio_extra.ini
└─ src
|  └─>main.cpp
└─ zephyr
|  └─ boards
|  └─ dts
|  └─ modules
|  └─>CMakeLists.txt
|  └─>prj.conf
└─>LICENSE
└─>platformio.ini
└─>README.md

The owntech folder contains scripts and board description for PlatformIO, while the zephyr folder contains board decription and OwnTech's Zephyr modules. By default, these folders (as well as VS Code and PlatformIO folders .vscode and .pio) are hidden when opening the project in VS Code.

If you need to access these in VS Code, open the project using your file explorer, then in the .vscode folder, rename file settings.json, e.g. to settings.json.old.

Advanced Zephyr configuration can be tweaked by editing zephyr/prj.conf.

The OwnTech API source code is located in zephyr/modules. If you need to tailor it to your needs, please checkout the Zephyr documentation.

core's People

Contributors

cfoucher-laas avatar jalinei avatar ayoub-farah avatar boanto 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.