Skip to content

Sasisekhar/blank_project_rt

Repository files navigation

Blank Cadmium Project (RT)

Linux Windows ESP32 MSP432
✔️ ✔️ ✔️

Introduction

This is a blank project that you can use as a template to start off your DEVS models. This project consits of a template atomic and coupled model.

Dependencies

This project assumes that you have Cadmium installed in a location accessible by the environment variable $CADMIUM. This dependency would be met by default if you are using the ARSLAB servers. To check, try echo $CADMIUM in the terminal

Build

To build this project, run:

source build_sim.sh

NOTE: Everytime you run build_sim.sh, the contents of build/ and bin/ will be replaced.

To build this project for the ESP32, run:

source build_esp.sh

Execute

To run the project, run:

./bin/sample_project

To flash the project onto the esp32, run:

idf.py -p $ESP_PORT flash

Modify

You can modify this project per your requirement. Change the project name defined in the topmost CMakeLists.txt file here:

set(projectName "sample_project")

If you want to add other include directories, add the following to the CMakeLists.txt file in the main directory:

target_include_directories(${projectName} PRIVATE "/path/to/dependency")

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published