These warnings are caused because frequencies are stored as `uint32_t`, which is `unsigned long`, while the printf format expects `int`. In practice, this does not actually cause problems, since on STM32 gcc `long` and `int` are both 32-bits and frequencies are never large enough to cause signed vs unsigned ambiguity. Since printf has no format specifiers for e.g. uint32_t (libc does have some macros for this, but those really hurt readability), this is tricky to fix in a portable way (other architectures or compilers might have `uint32_t` equal to `unsigned int` instead of `unsigned long`), this fix just casts the frequency to `unsigned` before passing it to printf (and for good measure, also convert the specifier from `%d` to `%u`). This does mean this printing will break if `int` is not at least 32-bits (e.g. on AVR), but given the scope of this library, that should be acceptable. |
||
---|---|---|
.github | ||
Documentation | ||
Drivers | ||
Middlewares | ||
Projects | ||
Utilities | ||
_htmresc | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
Release_Notes.html | ||
package.xml |
README.md
STM32CubeWL MCU Firmware Package
STM32Cube is an STMicroelectronics original initiative to ease developers' life by reducing efforts, time and cost.
STM32Cube covers the overall STM32 products portfolio. It includes a comprehensive embedded software platform (this repo), delivered for each series (such as the STM32CubeWL for the STM32WL series).
- The CMSIS modules (core and device) corresponding to the ARM tm core implemented in this STM32 product
- The STM32 HAL-LL drivers : an abstraction drivers layer, the API ensuring maximized portability across the STM32 portfolio
- The BSP Drivers of each evaluation or demonstration board provided by this STM32 series
- A consistent set of middlewares libraries such as RTOS, FatFS, LoRaWAN, Sigfox, Key Management Services ...
- A full set of software projects (basic examples, applications or demonstrations) for each board provided by this STM32 series
The STM32CubeWL MCU Package projects are directly running on the STM32WL series boards. You can find in each Projects/Board name directories a set of software projects (Applications/Demonstration/Examples).
Boards available
- STM32WL
Troubleshooting
Caution : The Issues requests are strictly limited to submit problems or suggestions related to the software delivered in this repo
For any question related to the STM3WL product, the hardware performance, the hardware characteristics, the tools, the environment, you can submit a topic on the ST Community/STM32 MCUs forum