You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HardwareTimer-library.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Each timer may provide several channels, nevertheless it is important to underst
46
46
void setOverflow(uint32_t val, TimerFormat_t format = TICK_FORMAT); // set AutoReload register depending on format provided
47
47
uint32_t getOverflow(TimerFormat_t format = TICK_FORMAT); // return overflow depending on format provided
48
48
49
-
void setPWM(uint32_t channel, PinName pin, uint32_t frequency, uint32_t dutycycle, callback_function_t PeriodCallback = nullptr, callback_function_t CompareCallback = nullptr); // Set all in one command freq in HZ, Duty in percentage. Including both interrup.
49
+
void setPWM(uint32_t channel, PinName pin, uint32_t frequency, uint32_t dutycycle, callback_function_t PeriodCallback = nullptr, callback_function_t CompareCallback = nullptr); // Set all in one command freq in HZ, Duty in percentage. Including both interrupt.
Copy file name to clipboardExpand all lines: Libraries.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ or have a look hereafter to see which one is available:
30
30
31
31
## Dedicated
32
32
33
-
Some libraries have been developped to support specific features (hardware or not):
33
+
Some libraries have been developed to support specific features (hardware or not):
34
34
35
35
*[STM32Ethernet](https://github.com/stm32duino/STM32Ethernet): for on board Ethernet port (ex: Nucleo-F429ZI). This library is fully compatible with Arduino [Ethernet](https://www.arduino.cc/en/Reference/Ethernet) API. It depends on the following libraries:
36
36
*[LwIP](https://github.com/stm32duino/LwIP): lightweight TCP/IP stack (LwIP) is a small independent implementation of the TCP/IP protocol suite
@@ -52,9 +52,9 @@ Some libraries have been developped to support specific features (hardware or no
52
52
*[LIS2MDL](https://github.com/stm32duino/LIS2MDL): to support the LIS2MDL high-performance 3-axis magnetometer
53
53
*[LIS3DHH](https://github.com/stm32duino/LIS3DHH): to support the LIS3DHH 3D accelerometer
54
54
*[LIS3MDL](https://github.com/stm32duino/LIS3MDL): to support the LIS3MDL high-performance 3-axis magnetometer. Dedicated [[Wiki page|LIS3MDL]]
55
-
*[LPS22HB](https://github.com/stm32duino/LPS22HB): to support the LPS22HB 260-1260 hPa absolute digital ouput barometer. Dedicated [[Wiki page|LPS22HB]]
56
-
*[LPS25HB](https://github.com/stm32duino/LPS25HB): to support the LPS25HB 260-1260 hPa absolute digital ouput barometer
57
-
*[LPS22HH](https://github.com/stm32duino/LPS22HH): to support the LPS22HH 260-1260 hPa absolute digital ouput barometer
55
+
*[LPS22HB](https://github.com/stm32duino/LPS22HB): to support the LPS22HB 260-1260 hPa absolute digital output barometer. Dedicated [[Wiki page|LPS22HB]]
56
+
*[LPS25HB](https://github.com/stm32duino/LPS25HB): to support the LPS25HB 260-1260 hPa absolute digital output barometer
57
+
*[LPS22HH](https://github.com/stm32duino/LPS22HH): to support the LPS22HH 260-1260 hPa absolute digital output barometer
58
58
*[LSM303AGR](https://github.com/stm32duino/LSM303AGR): to support the LSM303AGR 3D accelerometer and 3D magnetometer
59
59
*[LSM6DSO](https://github.com/stm32duino/LSM6DSO): to support the LSM6DSO 3D accelerometer and 3D gyroscope
60
60
*[LSM6DSOX](https://github.com/stm32duino/LSM6DSOX): to support the LSM6DSOX 3D accelerometer and 3D gyroscope
Copy file name to clipboardExpand all lines: Upload-methods.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ The `hid-flash` tool is available on Windows, Linux and MacOS.
161
161
162
162
Details of HID bootloader v2.2 (and newer) hid-flash tool as well as ready-to-use binary files can be found at the GitHub repository: https://github.com/Serasidis/STM32_HID_Bootloader
163
163
164
-
[[/img/Warning-icon.png|alt="Warning"]]**USB CDC have to be enable else you will not be able to upload automatically as bootloader reset sequence are manged through the USB CDC communication port.**
164
+
[[/img/Warning-icon.png|alt="Warning"]]**USB CDC have to be enable else you will not be able to upload automatically as bootloader reset sequence are managed through the USB CDC communication port.**
165
165
166
166
## Maple DFU Bootloader
167
167
@@ -186,7 +186,7 @@ Details about the STM32duino-bootloader as well as ready to use binary files can
186
186
* Maple bootloader 2.0 consumes 8KB of flash.
187
187
* Maple bootloader original consumes 20kb of flash and some of the SRAM.
188
188
189
-
[[/img/Warning-icon.png|alt="Warning"]]**USB CDC have to be enable else you will not be able to upload automatically as bootloader reset sequence are manged through the USB CDC communication port.**
189
+
[[/img/Warning-icon.png|alt="Warning"]]**USB CDC have to be enable else you will not be able to upload automatically as bootloader reset sequence are managed through the USB CDC communication port.**
Copy file name to clipboardExpand all lines: _cmake/Functions-reference.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@ This is the main function that encapsulates most of the automation of Arduino. I
35
35
-`targetName` is the name of the [binary target](https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html#binary-executables) that will be created as a result of this function; this is a handle that may be reused in later calls, to e.g., `insights()`.
36
36
-`sourcefile...` is a list of sources files to be compiled. This does not comprise header files (`.h`).
37
37
You are strongly advised to hard-code the list of files directly in the CMakeLists.txt. Using [wildcards](https://cmake.org/cmake/help/latest/command/file.html#glob) is possible, but not guaranteed to work in all cases.
38
-
- the optional `dependencies` are targets, usually Arduino libraries such as created by `external_library()`, that the sketch depdends on.
39
-
The CMake build model makes it awkward at best to automatically handle dependencies the way Arduino does, so they have to be specified explicitely.
38
+
- the optional `dependencies` are targets, usually Arduino libraries such as created by `external_library()`, that the sketch dedends on.
39
+
The CMake build model makes it awkward at best to automatically handle dependencies the way Arduino does, so they have to be specified explicitly.
40
40
41
41
What this function does is the following:
42
42
@@ -94,8 +94,8 @@ insights(TARGET <targetName>
94
94
95
95
This function lets you produce insights about the build process.
96
96
It uses Graphviz to generate SVG files in order to better understand what happens throughout the build: configuration, compilation, linking.
97
-
The mandatory TARGET argument is the name of the element to analyze, usually your sketch target (crated with `build_sketch()`).
98
-
Each insight keyword is optional; even when provided, they are not built by default, you have to explicitely generate them with the build tool (e.g., `ninja symbols.svg`).
97
+
The mandatory TARGET argument is the name of the element to analyze, usually your sketch target (created with `build_sketch()`).
98
+
Each insight keyword is optional; even when provided, they are not built by default, you have to explicitly generate them with the build tool (e.g., `ninja symbols.svg`).
Copy file name to clipboardExpand all lines: _cmake/Introduction-to-CMake.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Both these kinds of files are written using CMake's own language; cf. below.
16
16
Whatever the user interface (system shell, cmake-gui, IDE, ...), there always are two main steps: configuration and build.
17
17
- In the __configuration step__, CMake reads the build description (CMakeLists.txt) and generates files for the build tool to use (e.g., `Makefile` or `build.ninja`).
18
18
- In the __build step__, the build tool is called, either directly or indirectly, to perform the build and generate the required build artifacts.
19
-
In case CMake needs to be re-run (maybe because one of the CMakeLists.txt has been edited), this is handled automatically without requiring the user to go through another configuration step. This means the _configuration step needs only to be invoked once_explicitely, even when rebuilding an updated project.
19
+
In case CMake needs to be re-run (maybe because one of the CMakeLists.txt has been edited), this is handled automatically without requiring the user to go through another configuration step. This means the _configuration step needs only to be invoked once_explicitly, even when rebuilding an updated project.
20
20
21
21
CMake projects are usually built "out-of-source", meaning the build artifacts end up in a parallel directory tree,
22
22
as opposed to "in-source" builds, where they are mixed with the source files.
@@ -40,7 +40,7 @@ The syntax of the CMake language is very simple: the only statement is the funct
40
40
You may want to read [the CMake tutorial](https://cmake.org/cmake/help/latest/guide/tutorial/index.html) to get a comprehensive overview of the features CMake offers.
41
41
42
42
For a detailed list of the functions this project provides, please refer to [[Functions reference]].
43
-
Below is an introduction to general-purpose CMake; most of it is abstracted away in said funtions.
43
+
Below is an introduction to general-purpose CMake; most of it is abstracted away in said functions.
44
44
45
45
Here are some key points about the structure of a `CMakeLists.txt` (Also read [the documentation](https://cmake.org/cmake/help/latest/manual/cmake-buildsystem.7.html)):
46
46
- The main file must start with a call to [`cmake_minimum_required()`](https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html), to make sure the version of CMake meets the expectations;
Copy file name to clipboardExpand all lines: _cmake/Setup.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ We demand version >= 3.9. Please browse the official [Python download page](http
29
29
30
30
These are available on [PyPi](https://pypi.org/), meaning you can install them with `pip install <package>`. When using third-party modules, in order not to impact any other project you may be working on, it is customary (but not mandatory!) to set up a [virtual environment](https://packaging.python.org/en/latest/tutorials/installing-packages/#creating-virtual-environments) (Look up `virtualenv`, `virtualenvwrapper` on PyPi for more information on this process).
31
31
32
-
The following modules are used througout the project:
32
+
The following modules are used throughout the project:
33
33
-`jinja2`, a templating engine to autogenerate some CMake configuration files.
34
34
-`graphviz`, a rendering engine to generate graphs as insights into the project
Copy file name to clipboardExpand all lines: _dev/How-to-debug.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ Two standard tools are required in order to debug the code:
105
105
106
106
### 3.2 Setting up debug configuration
107
107
108
-
If you are using sloeber directly, not CDT with the plugin. The you probaly will not find the below mentiones menue "Debug Configurations" under "Run". This is, because you are in the arduino view. In this view, all "unneccessary" menues are hidden. To overcome this, you can change the view:
108
+
If you are using sloeber directly, not CDT with the plugin. The you probably will not find the below mentioned menu "Debug Configurations" under "Run". This is, because you are in the arduino view. In this view, all "unnecessary" menus are hidden. To overcome this, you can change the view:
109
109
110
110
You can choose the regular C/C++ view.
111
111
Alternatively you can also reach the debug configurations menu by right-click on your project under the arduino view.
_Params_ pointer to Gesture_DIRSWIPE_1_Data_t structure
103
114
_Return_ One of these gestures code: GESTURES_SWIPE_LEFT_RIGHT, GESTURES_SWIPE_RIGHT_LEFT, GESTURES_NULL, GESTURES_DISCARDED_TOO_SLOW or GESTURES_DISCARDED_TOO_FAST
104
115
105
-
***tof_gestures_initSWIPE_1(Gesture_SWIPE_1_Data_t\*)**: Initialize single swipe gesture dectection
116
+
***tof_gestures_initSWIPE_1(Gesture_SWIPE_1_Data_t\*)**: Initialize single swipe gesture detection
117
+
106
118
_Params_ pointer to Gesture_SWIPE_1_Data_t structure
107
119
_Return_ 0 on Success, error code otherwise
108
120
109
-
***tof_gestures_detectSWIPE_1(int32_t, Gesture_SWIPE_1_Data_t\*)**: Detect single swipe gesture
121
+
***tof_gestures_detectSWIPE_1(int32_t, Gesture_SWIPE_1_Data_t\*)**: Detect single swipe gesture
122
+
110
123
_Params_ range value in millimeter
111
124
_Params_ pointer to Gesture_SWIPE_1_Data_t structure
112
125
_Return_ One of these gestures code: GESTURES_HAND_ENTERING, GESTURES_HAND_LEAVING, GESTURES_SINGLE_SWIPE or GESTURES_NULL, GESTURES_DISCARDED, GESTURES_DISCARDED_TOO_SLOW
113
126
114
-
***tof_gestures_initTAP_1(Gesture_TAP_1_Data_t\*)**: Initialize single tap gesture dectection
127
+
***tof_gestures_initTAP_1(Gesture_TAP_1_Data_t\*)**: Initialize single tap gesture detection
128
+
115
129
_Params_ pointer to Gesture_TAP_1_Data_t structure
116
130
_Return_ 0 on Success, error code otherwise
117
131
118
-
***tof_gestures_detectTAP_1(int32_t, Gesture_TAP_1_Data_t\*)**: Detect single tap gesture
132
+
***tof_gestures_detectTAP_1(int32_t, Gesture_TAP_1_Data_t\*)**: Detect single tap gesture
133
+
119
134
_Params_ range value in millimeter
120
135
_Params_ pointer to Gesture_TAP_1_Data_t structure
121
136
_Return_ One of these gestures code: GESTURES_SINGLE_TAP or GESTURES_NULL
***tof_getMotion(int32_t, MotionData_t\*)**: return current motion state
144
+
***tof_getMotion(int32_t, MotionData_t\*)**: return current motion state
145
+
129
146
_Params_ range value in millimeter
130
147
_Params_ pointer to MotionData_t structure
131
148
_Return_ One of these gestures code: GESTURES_MOTION_NULL, GESTURES_MOTION_DOWN_STATE, GESTURES_MOTION_UP_STATE, GESTURES_MOTION_RAISE_UP or GESTURES_MOTION_DROP_DOWN
0 commit comments