Initial support for STM32 L5 & U5 devices and minor changes#1300
Initial support for STM32 L5 & U5 devices and minor changes#1300Nightwalker-87 merged 12 commits intodevelopfrom
Conversation
- Corrected flash_pagesize for STM32U5 - Updated STM32 core IDs - Added chip-id file for STM32H5 devices
- Corrected install path for gui executable - Changed directory for chip-id files
|
We need someone with L5 hardware here for final testing. |
|
@Nightwalker-87 I think L5 support also works like U5. And the problems with the previous PR were due to the fact that the dual bank mode was enabled on the board. To solve the problem of the previous PR, you need to add code below to the if (sl->chip_id == STM32_CHIPID_L5x2) {
uint32_t flash_optr;
stlink_read_debug32(sl, STM32L5_FLASH_OPTR, &flash_optr);
if (sl->flash_size == 512*1024 && (flash_optr & (1 << 22)) != 0) {
sl->flash_pgsz = 0x800;
}
} |
|
ok, I entered these lines there. |
- Simplified listing of supported devices - Corrected #define STM32L5_PWR_CR1_VOS - Check the return code of stlink_read_debug32 - Fix for flash register reading on L5x2 devices
- Updated pkg-version requirements - Updated version_support.md - Removed Ubuntu 18.04 from GH workflow
|
In this PR there is a removed build for Ubuntu 18. The minimum version remaining is Ubuntu 20.04 with libusb 1.0.23. |
I forgot about that ... 😥 |
- Updated version_support.md - Updated version requirements for libusb
Uh oh!
There was an error while loading. Please reload this page.