| 1 |
======== |
| 2 |
Overview |
| 3 |
======== |
| 4 |
|
| 5 |
|
| 6 |
About |
| 7 |
***** |
| 8 |
|
| 9 |
STMicroelectronics is a chip vendor and board manufacturer of 32-bit ARM |
| 10 |
MCUs and MPUs. |
| 11 |
|
| 12 |
|
| 13 |
Application Development |
| 14 |
----------------------- |
| 15 |
|
| 16 |
STM32CubeIDE is an Eclipse-based IDE which is typically used to develop for STM32. |
| 17 |
It can configure your project, build, |
| 18 |
flash, and debug. It integrates LVGL similarly to any other Eclipse-based IDE. |
| 19 |
The projects it generates are STM32 HAL based. The STM32 HAL is maintained by ST |
| 20 |
and is a good fit for many applications. STM32CubeIDE can optionally generate projects that |
| 21 |
use FreeRTOS. |
| 22 |
|
| 23 |
`STM32CubeIDE can be downloaded from here. <https://www.st.com/en/development-tools/stm32cubeide.html>`_ |
| 24 |
|
| 25 |
STM32 projects can be created with STM32CubeIDE or with other frameworks that don't use the STM32 HAL. |
| 26 |
There are many ways to develop for STM32 |
| 27 |
including manual bare metal, Zephyr RTOS, NuttX RTOS, ChibiOS, and many more. Frameworks |
| 28 |
like Zephyr and NuttX often cause a project to be treated like "a Zephyr project on STM32" |
| 29 |
rather than an "STM32 project running Zephyr", so their documentation is where to start. |
| 30 |
Also worth mentioning is STM32CubeMX; a graphical tool for generating the boilerplate code for an |
| 31 |
STM32 HAL project to build it outside of STM32CubeIDE. |
| 32 |
Furthermore, STM32CubeCLT is a toolset for integrating ST proprietary tools into |
| 33 |
other IDEs such as Visual Studio Code. |
| 34 |
|
| 35 |
|
| 36 |
Ready-to-Use Projects |
| 37 |
--------------------- |
| 38 |
|
| 39 |
LVGL maintains a few projects for STM32 boards. See `the boards page <https://lvgl.io/boards#st>`__ |
| 40 |
for ST boards that have been certified by LVGL and have up-to-date LVGL integration, and check |
| 41 |
`all the repos <https://github.com/orgs/lvgl/repositories?q=lv_port_stm>`__ |
| 42 |
for other ST board repos that exist. Follow the README.md files in those repos |
| 43 |
for specific instructions to get started with them. |
| 44 |
|
| 45 |
|
| 46 |
LVGL Support for STM32 Graphical Peripherals |
| 47 |
-------------------------------------------- |
| 48 |
|
| 49 |
LVGL has good support for the graphical hardware acceleration peripherals that some STM32 |
| 50 |
models feature. Sometimes these features can be utilized together at the same time. |
| 51 |
See the individual pages about them. |
| 52 |
|
| 53 |
- :ref:`LTDC: display controller. <stm32_ltdc_driver>` |
| 54 |
- :ref:`DMA2D: asynchronous pixel data memory operations. <dma2d>` |
| 55 |
- :ref:`NeoChrom: GPU for rendering 2D graphics primitives. <neochrom>` |
| 56 |
|
| 57 |
Each page mentions if/how they can be used with each other. |