Skip to content

Commit 618f24a

Browse files
committed
docs/development_instructions.rst: Minor fixes.
Signed-off-by: Eder Julian <[email protected]>
1 parent 98bd101 commit 618f24a

File tree

1 file changed

+22
-17
lines changed

1 file changed

+22
-17
lines changed

docs/development-instructions.rst

+22-17
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ Development Instructions
1313
1414
.. _env_dev_setup:
1515

16-
Environment setup
16+
Environment Setup
1717
------------------
1818

1919
#. Pre-conditions:
2020

2121
* Install `Arduino IDE (2.0 or higher) <https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing/>`_
2222
* Or Install `Arduino CLI (1.0.0 or higher) <https://arduino.github.io/arduino-cli/latest/installation/>`_
23-
* Python (you need this for upload/ flash XMC board anyways)
23+
* Python
2424

25-
#. Create an ``<SKETCHBOOK>/hardware/arduino-git`` folder. Where ``<SKETCHBOOK>`` is the location of your Arduino sketchbook. The ``<SKETCHBOOK>`` default is OS-dependent:
25+
#. Create a ``<SKETCHBOOK>/hardware/arduino-git`` folder. Where ``<SKETCHBOOK>`` is the location of your Arduino sketchbook. The ``<SKETCHBOOK>`` default is OS-dependent:
2626

2727
.. tabs::
2828

@@ -50,42 +50,42 @@ Environment setup
5050

5151
git clone https://github.com/Infineon/XMC-for-Arduino.git xmc
5252

53-
This allows quick testing of local changes during development, and keep released version.
53+
This allows quick testing of local changes during development while keeping the released version.
5454

5555
#. You can check if the correct version is installed by running:
5656
::
5757

5858
arduino-cli core list
5959

60-
you should be able to see the ``arduino-git:xmc core``.
60+
You should be able to see the ``arduino-git:xmc core``.
6161

6262
#. Update all submodule included in this project:
6363
::
6464

6565
git submodule update --init --recursive
6666
67-
If you are not familiar with submodules, check out `Git-Tools-Submodules <https://git-scm.com/book/en/v2/Git-Tools-Submodules>`_
67+
If you are not familiar with git submodules, check out `Git-Tools-Submodules <https://git-scm.com/book/en/v2/Git-Tools-Submodules>`_
6868

6969
#. Start developing |:tools:|!
7070

7171
|:bell:|
72-
If you encounter strange behavior with Arduino IDE during development, try cleaning up the IDE cache:
72+
If you encounter strange behavior with Arduino IDE during development, try cleaning up the Arduino IDE's cache:
7373

7474
.. tabs::
7575

7676
.. group-tab:: Windows
7777

7878
.. code-block:: text
7979
80-
C:\User\"username"\AppData\Roaming\arduino-ide
80+
%AppData%\arduino-ide
8181
8282
.. group-tab:: Linux
8383

8484
::
8585

8686
~/.config/arduino-ide
8787

88-
.. group-tab:: macOS
88+
.. group-tab:: macOS
8989

9090
::
9191
@@ -95,15 +95,15 @@ If you encounter strange behavior with Arduino IDE during development, try clean
9595
Automated Build Checks
9696
-----------------------
9797

98-
Currently a Github workflow is used for automatic compilation checking and releasing. Workflows are defined [here](https://github.com/Infineon/XMC-for-Arduino/tree/master/.github/workflows).
98+
Currently a GitHub Action workflow is used for automatic compilation checking and releasing. Workflows are defined [here](https://github.com/Infineon/XMC-for-Arduino/tree/master/.github/workflows).
9999
Before opening a Pull Request for your contribution, please add a git tag in the format `Vx.y.z` (e.g. V3.3.0) to trigger the release process in your fork and pass the compilation tests.
100100

101101
Creating and Maintaining Third Party Libraries
102102
------------------------------------------------
103103
Basics
104104
^^^^^^^^
105105
The Arduino IDE allows for external libraries to be added to support specific devices and functions which are not part of the core setup. For details on creating libraries see the
106-
[Arduino library specifications](https://arduino.github.io/arduino-cli/library-specification/). If you add additional libraries to this project, make sure to [document them](https://xmc-arduino.readthedocs.io/en/latest/builtin-libraries.html) accordingly.
106+
[Arduino library specification](https://arduino.github.io/arduino-cli/library-specification/). If you add additional libraries to this project, make sure to [document them](https://xmc-arduino.readthedocs.io/en/latest/builtin-libraries.html) accordingly.
107107

108108
XMC-for-Arduino Configuration
109109
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -117,14 +117,19 @@ When creating or maintaining third party or external libraries for XMC-for-Ardui
117117
118118
If your library also supports other boards and architectures, add those in as well.
119119

120-
Validation test
120+
Validation Test
121121
----------------
122-
To test the XMC4arduino, we used unity to test some of the features of the arduino core & builtin library.
122+
To validate the XMC-for-Arduino, we utilize Unity for testing various features of the Arduino core and built-in libraries.
123123

124-
Tests are located in tests/arduino-core-tests and included as submodule in this project. Run ``git submodule update --init --recursive`` to update them.
124+
Tests are located in ``tests/arduino-core-tests`` and included as submodule in this project. Run ``git submodule update --init --recursive`` to update them.
125+
126+
Code Checks
127+
----------------
128+
.. warning::
129+
130+
Code Checks are still a work in progress in this project.
125131

126-
Code checks (WIP)
127-
----------------------
128132
Refer to ``libraries\CAN\Makefile.codecheck``.
129133

130-
Regarding formatting, we currently use `pre-commit <https://pre-commit.com/>`_ to automatically run clang-formatting to format all c/c++ code. Please install this python package, and follow the quick start (the pre-commit configuration file is already there). You should be able to format your code automatically on git commit!
134+
Regarding formatting, we currently use `pre-commit <https://pre-commit.com/>`_ to automatically run clang-formatting to format all C/C++ code.
135+
Please install this Python package, and follow the quick start (the pre-commit configuration file is already there). You should be able to format your code automatically on git commit!

0 commit comments

Comments
 (0)