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
*[Remembering variables across resets](https://github.com/stm32duino/Arduino_Core_STM32/wiki/API#Remembering-variables-across-resets)
18
18
19
19
# Core
20
20
@@ -60,7 +60,7 @@ _Params_ `func` pointer to the callback function
60
60
61
61
[[/img/Warning-icon.png|alt="Warning"]] By default, the core callback feature is disabled, to enable it `CORE_CALLBACK` must be defined.
62
62
63
-
`build_opt.h` can be used to define it by adding `-DCORE_CALLBACK`, see [build_opt.h wiki](https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h).
63
+
`build_opt.h` can be used to define it by adding `-DCORE_CALLBACK`, see [build_opt.h wiki](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Customize-build-options-using-build_opt.h).
64
64
65
65
# Wiring
66
66
@@ -137,12 +137,12 @@ void loop() {
137
137
delay(1000);
138
138
}
139
139
```
140
-
Another solution is to add a [build_opt.h](https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h) file alongside your main `.ino` file with: `-DENABLE_HWSERIALx`.
140
+
Another solution is to add a [build_opt.h](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Customize-build-options-using-build_opt.h) file alongside your main `.ino` file with: `-DENABLE_HWSERIALx`.
141
141
This will define the `Serialx` instance using the first `USARTx` instance found in the `PeripheralPins.c` of your variant.
142
142
143
143
[[/img/Note-icon.png|alt="Note"]]**Note** that only the latter solution allows to use the `serialEventx()` callback in the sketch.
144
144
145
-
For Example, if you define in the [build_opt.h](https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h): `-DENABLE_HWSERIAL3`
145
+
For Example, if you define in the [build_opt.h](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Customize-build-options-using-build_opt.h): `-DENABLE_HWSERIAL3`
146
146
147
147
This will instantiate `Serial3` with the first Rx and Tx pins found in the `PinMap_UART_RX[]` and `PinMap_UART_TX[]` arrays in the `PeripheralPins.c` of your variant and the `serialEvent3()` will be enabled.
148
148
@@ -289,7 +289,7 @@ void loop() {
289
289
}
290
290
```
291
291
292
-
**Note:** Serial Rx/TX buffer size can be changed, see [custom definitions](https://github.com/stm32duino/wiki/wiki/Custom-definitions#serial-rxtx-buffer-size)
292
+
**Note:** Serial Rx/TX buffer size can be changed, see [custom definitions](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#serial-rxtx-buffer-size)
Refers to [I2C Timing](https://github.com/stm32duino/wiki/wiki/Custom-definitions#i2c-timing) to customize I2C speed if needed.
447
+
Refers to [I2C Timing](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Custom-definitions#i2c-timing) to customize I2C speed if needed.
448
448
449
449
### Default I2C pins
450
450
**The default I2C interface pins are configured inside the PeripheralPins.c file.**
@@ -541,7 +541,7 @@ Nevertheless it is possible to transfer up to **255 bytes**:
541
541
Nothing to do from application point of view.
542
542
Warning: a bug in STM32 cube HAL (STM32 core v1.8.0) prevents to transfer exactly 255 bytes.(see [#853](https://github.com/stm32duino/Arduino_Core_STM32/pull/853))
543
543
544
-
* In slave mode: RX and TX buffer size can be statically redefined using [hal_conf_extra.h](https://github.com/stm32duino/wiki/wiki/HAL-configuration#core-version--150-1) or [build_opt.h](https://github.com/stm32duino/wiki/wiki/Customize-build-options-using-build_opt.h) (at compilation time) thanks to switch `I2C_TXRX_BUFFER_SIZE` (see [#853](https://github.com/stm32duino/Arduino_Core_STM32/pull/853))
544
+
* In slave mode: RX and TX buffer size can be statically redefined using [hal_conf_extra.h](https://github.com/stm32duino/Arduino_Core_STM32/wiki/HAL-configuration#core-version--150-1) or [build_opt.h](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Customize-build-options-using-build_opt.h) (at compilation time) thanks to switch `I2C_TXRX_BUFFER_SIZE` (see [#853](https://github.com/stm32duino/Arduino_Core_STM32/pull/853))
545
545
All I2C instances are impacted by change of this compilation switch.
546
546
547
547
## CMSIS DSP
@@ -609,7 +609,7 @@ If this configuration is changed, it is then mandatory to customize `FLASH_BASE_
Copy file name to clipboardExpand all lines: Getting-Started.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Then you can find the Nucleo-64 boards available in a sub-menu of the "Tools" me
60
60
61
61
## Extra step
62
62
63
-
To upload through SWD (STLink), Serial or DFU, [STM32CubeProgrammer](https://www.st.com/en/development-tools/stm32cubeprog.html) needs to be installed. See [Upload methods](https://github.com/stm32duino/wiki/wiki/Upload-methods#stm32cubeprogrammer).
63
+
To upload through SWD (STLink), Serial or DFU, [STM32CubeProgrammer](https://www.st.com/en/development-tools/stm32cubeprog.html) needs to be installed. See [Upload methods](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Upload-methods#stm32cubeprogrammer).
64
64
65
65
## Troubleshooting
66
66
@@ -101,7 +101,7 @@ b. Then from the "**Tools > Board part number**" menu, select the [Nucleo L476RG
101
101
## Upload methods
102
102
Depending of the board, several upload methods could be proposed, thanks the "**Tools > Upload Method**" menu.
103
103
104
-
See [Upload methods](https://github.com/stm32duino/wiki/wiki/Upload-methods) for more details.
104
+
See [Upload methods](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Upload-methods) for more details.
Copy file name to clipboardExpand all lines: Home.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,29 +8,29 @@ For full instructions on using the STM32 boards with Arduino, see the [[Getting
8
8
See [Supported boards](https://github.com/stm32duino/Arduino_Core_STM32/blob/master/README.md#supported-boards) section of the [Arduino_Core_STM32/README.md](https://github.com/stm32duino/Arduino_Core_STM32/blob/master/README.md).
9
9
10
10
# API References:
11
-
See [API References](https://github.com/stm32duino/wiki/wiki/API) for usage of accessing the hardware with the Arduino API-functions.
11
+
See [API References](https://github.com/stm32duino/Arduino_Core_STM32/wiki/API) for usage of accessing the hardware with the Arduino API-functions.
12
12
13
13
# Libraries:
14
-
See [Libraries](https://github.com/stm32duino/wiki/wiki/Libraries)
14
+
See [Libraries](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Libraries)
15
15
16
16
# Advanced usages:
17
17
## Contributing
18
-
*[Add a new variant (board)](https://github.com/stm32duino/wiki/wiki/Add-a-new-variant-%28board%29)
Check the [FAQ](https://github.com/stm32duino/wiki/wiki/FAQ) in case it is a common problem and it may be discussed there.
33
+
Check the [FAQ](https://github.com/stm32duino/Arduino_Core_STM32/wiki/FAQ) in case it is a common problem and it may be discussed there.
34
34
35
35
If you have any issue to download/use a package, you could [file an issue on BoardManagerFiles](https://github.com/stm32duino/BoardManagerFiles/issues/new) GitHub.
Copy file name to clipboardExpand all lines: Libraries.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,14 @@
2
2
3
3
Libraries using basic features like Serial, SPI, I2C,... should be fully compatible with [STM32](https://github.com/stm32duino/Arduino_Core_STM32) core. Pin updates could be required in the sketch.
4
4
5
-
*[Built-in (delivered with the core package)](https://github.com/stm32duino/wiki/wiki/Libraries#built-in-delivered-with-the-core-package)
*[Built-in (delivered with the core package)](https://github.com/stm32duino/Arduino_Core_STM32/wiki/Libraries#built-in-delivered-with-the-core-package)
[[/img/Warning-icon.png|alt="Warning"]]_Arduino boards provide ICSP connector used by several Arduino shields for SPI signal: MISO/MOSI/SCK. STM32 boards do not have this ICSP connector, so this requires to manually wire those SPI signals to the desired pin (mainly: D11 to D13)_
15
15
@@ -35,7 +35,7 @@ Some libraries have been developped to support specific features (hardware or no
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
*[IIS2MDC](https://github.com/stm32duino/IIS2MDC): to support the IIS2MDC high-performance 3-axis magnetometer
50
50
*[ISM330DLC](https://github.com/stm32duino/ISM330DLC): to support the ISM330DLC 3D accelerometer and 3D gyroscope
51
51
*[LIS2DW12](https://github.com/stm32duino/LIS2DW12): to support the LIS2DW12 3D accelerometer
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
-
*[LIS3MDL](https://github.com/stm32duino/LIS3MDL): to support the LIS3MDL high-performance 3-axis magnetometer. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/LIS3MDL)
55
-
*[LPS22HB](https://github.com/stm32duino/LPS22HB): to support the LPS22HB 260-1260 hPa absolute digital ouput barometer. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/LPS22HB)
54
+
*[LIS3MDL](https://github.com/stm32duino/LIS3MDL): to support the LIS3MDL high-performance 3-axis magnetometer. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/LIS3MDL)
55
+
*[LPS22HB](https://github.com/stm32duino/LPS22HB): to support the LPS22HB 260-1260 hPa absolute digital ouput barometer. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/LPS22HB)
56
56
*[LPS25HB](https://github.com/stm32duino/LPS25HB): to support the LPS25HB 260-1260 hPa absolute digital ouput barometer
57
57
*[LPS22HH](https://github.com/stm32duino/LPS22HH): to support the LPS22HH 260-1260 hPa absolute digital ouput 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
61
61
*[LSM6DS0](https://github.com/stm32duino/LSM6DS0): to support the LSM6DS0 3D accelerometer and 3D gyroscope
62
62
*[LSM6DS3 ](https://github.com/stm32duino/LSM6DS3): to support the LSM6DS3 3D accelerometer and 3D gyroscope
63
-
*[LSM6DSL](https://github.com/stm32duino/LSM6DSL): to support the LSM6DSL 3D accelerometer and 3D gyroscope. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/LSM6DSL)
64
-
*[M24SR64-Y](https://github.com/stm32duino/M24SR64-Y): to support the dynamic NFC/RFID Tag IC dual interface M24SR64-Y. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/M24SR64-Y)
65
-
*[MX25R6435F](https://github.com/stm32duino/MX25R6435F): to support the Quad-SPI NOR Flash memory MX25R6435F. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/MX25R6435F)
63
+
*[LSM6DSL](https://github.com/stm32duino/LSM6DSL): to support the LSM6DSL 3D accelerometer and 3D gyroscope. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/LSM6DSL)
64
+
*[M24SR64-Y](https://github.com/stm32duino/M24SR64-Y): to support the dynamic NFC/RFID Tag IC dual interface M24SR64-Y. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/M24SR64-Y)
65
+
*[MX25R6435F](https://github.com/stm32duino/MX25R6435F): to support the Quad-SPI NOR Flash memory MX25R6435F. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/MX25R6435F)
66
66
*[Proximity Gesture](https://github.com/stm32duino/Proximity_Gesture): o support gesture-detection using proximity sensors (VL53L0X or VL53L1X or VL6180X). The APIs provide single swipe gesture detection, directional (left/right) swipe gesture detection and single tap gesture detection
67
-
*[SPBTLE-RF](https://github.com/stm32duino/SPBTLE-RF): to support the Bluetooth (V4.1 compliant) SPBTLE-RF. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/SPBTLE-RF)
67
+
*[SPBTLE-RF](https://github.com/stm32duino/SPBTLE-RF): to support the Bluetooth (V4.1 compliant) SPBTLE-RF. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/SPBTLE-RF)
68
68
*[ST25DV](https://github.com/stm32duino/ST25DV): to support the ST25DV components
69
69
*[STTS22H](https://github.com/stm32duino/STTS22H): to support the STTS22H digital temperature sensor
70
70
*[STTS751](https://github.com/stm32duino/STTS751): to support the STTS751 digital temperature sensor
71
-
*[VL53L0X](https://github.com/stm32duino/VL53L0X): to support the VL53L0X Time-of-Flight and gesture-detection sensor. Dedicated [Wiki page](https://github.com/stm32duino/wiki/wiki/VL53L0X)
71
+
*[VL53L0X](https://github.com/stm32duino/VL53L0X): to support the VL53L0X Time-of-Flight and gesture-detection sensor. Dedicated [Wiki page](https://github.com/stm32duino/Arduino_Core_STM32/wiki/VL53L0X)
72
72
*[VL53L1X](https://github.com/stm32duino/VL53L1X): to support the VL53L1X Time-of-Flight and gesture-detection sensor
73
73
*[VL6180X](https://github.com/stm32duino/VL6180X): to support the VL6180X proximity and ambient light sensing (ALS) sensor
74
74
*[WiFi-ISM43362-M3G-L44](https://github.com/stm32duino/WiFi-ISM43362-M3G-L44): to support the Wi-Fi module Inventek ISM43362-M3G-L44 (802.11 b/g/n)
0 commit comments