<commit_before>## commands recipe for regular build/test flow

Compiles telemetry core modules (`src/crc16`, `src/framing`, `src/telemetry`)
 in C, then C++, in debug mode.
Also compiles core tests and installs it to a dedicated folder.
```shell
gradlew installTestsDebugExecutable
```

Runs core tests
```shell
cd ./build/install/tests/debug/
tests.bat
cd ../../../../
```

Compiles test vectors (a collection of frames that serve as reference for
  integration tests) generator and installs it to a dedicated folder.

```shell
gradlew installTestVectorsGeneratorDebug
```

Runs test vectors generation
```shell
cd ./build/install/testVectorsGenerator/debug/
testVectorsGenerator.bat
cd ../../../../
```

Next steps can be performed for Mbed or Arduino distributions

## mbed distribution

Generates the Mbed distribution by taking files inside `src/` `cpp_interface/`
and `drivers/`

```shell
gradlew distributeMbed
```

Compiles and installs in a folder mbedTest (integration tests) module.
```shell
gradlew installMbedTestDebug
gradlew moveTestVectorMbed
```

Runs Mbed integration tests
```shell
cd ./build/install/mbedTest/debug/
mbedTest.bat
cd ../../../../
```

If all tests passed, mbed library can be released with good confidence.

## arduino distribution

Generates the Arduino distribution by taking files inside `src/`,
`./cpp_interface/`, `./drivers/` and `./version/`

```shell
gradlew distributeArduino
```

Compiles and installs in a folder mbedTest (integration tests) module.
```shell
gradlew installArduinoTestDebug
gradlew moveTestVectorArduino
```

Runs Mbed integration tests
```shell
cd ./build/install/arduinoTest/debug/<commit_msg>Completed build.md file for mbed<commit_after>## commands recipe for regular build/test flow

Compiles telemetry core modules (`src/crc16`, `src/framing`, `src/telemetry`)
 in C, then C++, in debug mode.
Also compiles core tests and installs it to a dedicated folder.
```shell
gradlew installTestsDebugExecutable
```

Runs core tests
```shell
cd ./build/install/tests/debug/
tests.bat
cd ../../../../
```

Compiles test vectors (a collection of frames that serve as reference for
  integration tests) generator and installs it to a dedicated folder.

```shell
gradlew installTestVectorsGeneratorDebug
```

Runs test vectors generation
```shell
cd ./build/install/testVectorsGenerator/debug/
testVectorsGenerator.bat
cd ../../../../
```

Next steps can be performed for Mbed or Arduino distributions

## mbed distribution

Generates the Mbed distribution by taking files inside `src/` `cpp_interface/`
and `drivers/`

```shell
gradlew distributeMbed
```

Compiles and installs in a folder mbedTest (integration tests) module.
```shell
gradlew installMbedTestDebug
gradlew moveTestVectorMbed
```

Runs Mbed integration tests
```shell
cd ./build/install/mbedTest/debug/
mbedTest.bat
cd ../../../../
```

If all tests passed, mbed library can be released with good confidence.

```shell
gradle packMbed
```

This last command will generate an archive of the distribution inside
 `build/distributions/`

## arduino distribution

Generates the Arduino distribution by taking files inside `src/`,
`./cpp_interface/`, `./drivers/` and `./version/`

```shell
gradlew distributeArduino
```

Compiles and installs in a folder mbedTest (integration tests) module.
```shell
gradlew installArduinoTestDebug
gradlew moveTestVectorArduino
```

Runs Mbed integration tests
```shell
cd ./build/install/arduinoTest/debug/
{'fraction_non_alphanumeric': 0.11242774566473988, 'fraction_numerical': 0.0011560693641618498, 'mean_word_length': 4.5376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1574058', 'n_tokens_mistral': 1075, 'n_tokens_neox': 983, 'n_words': 378}