From 1aa07b4d743e7bf390695db4230cd8b75100d8dc Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Thu, 2 Sep 2021 15:45:33 +0200 Subject: [PATCH] Add platforms to readme --- code/b-parasite/README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/code/b-parasite/README.md b/code/b-parasite/README.md index 06aa32f..99bda17 100644 --- a/code/b-parasite/README.md +++ b/code/b-parasite/README.md @@ -39,3 +39,23 @@ Sensor data is encoded in unsigned 16 bits (2 bytes), and whenever multiple | 6-7 | Relative air humidity, scaled from 0 (0%) to 0xffff (100%) | | 8-9 | Soil moisture, scaled from from 0 (0%) to 0xffff (100%) | | 10-15 | b-parasite's own MAC address, big-endian format | + +# Supported Modules + +This code supports two E73 modules: + * E73-2G4M08S1C (nrf2480, default) + * E73-2G4M08S1E (nrf2833) + +To choose for which one you want to compile, just pass PLATFORM as an env variable to make, and set it to the platform you want to use. For example, to compile for E73-2G4M08S1E: + + +```bash +SDK_ROOT=<...> PLATFORM=E73_2G4M08S1E make +``` + +and vice-cerase for E73-2G4M08S1C, although that platform will be chosen as default anyways: + + +```bash +SDK_ROOT=<...> PLATFORM=E73_2G4M08S1C make +```