Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STM32 better support for variants and STM32F4 EEPROM emulation #371

Merged
merged 15 commits into from
Apr 25, 2023

Conversation

Paciente8159
Copy link
Owner

  • STM32 better support for variants (FLASH and clocks configurations)
  • STM32 requires less configuration parameters to match the MCU
  • STM32F4 supports EEPROM emulation in Flash using the last 128K section available
  • core EEPROM loading now accepts empty data
  • EEPROM erasing with ENABLE_EXTRA_SYSTEM_CMDS enabled only takes effect after $SS

- improved STM32 variants build process
- minor change to RP204 to allow latest framework to compile on Pico
-STM32F4 EEPROM emulation in flash implemented in one of the available 128Kb sectors
-modified load crc evaluation to allow read empty memory
-modified eeprom erase with additional system commands to only take effect after $SS command
-added FLASH inverted login to STM32F1 (read/write)
-fixed APB clock prescaller
- fixed peripheral clocks for STM32F4
- all clocks are now based on the APB/AHB clockrate
- STM32F4 auto flash size calc
- better clock calculations for STM32F1
@Paciente8159 Paciente8159 added core: config core: configuration files tested: OK tested: OK and ready to integrate HAL: STM32F1x HAL: STM32F1x HAL: STM32F4x HAL: STM32F4x enhancement enhancement labels Apr 25, 2023
@Paciente8159 Paciente8159 linked an issue Apr 25, 2023 that may be closed by this pull request
@Paciente8159 Paciente8159 removed the tested: OK tested: OK and ready to integrate label Apr 25, 2023
- some variants like bluepill with 64K of flash the flash must be declared via option FLASH_SIZE
@Paciente8159 Paciente8159 added the tested: OK tested: OK and ready to integrate label Apr 25, 2023
- adjusted FLASH limits based on configuration
@Paciente8159 Paciente8159 merged commit c1c63a9 into master Apr 25, 2023
@Paciente8159 Paciente8159 deleted the 365-better-stm32-variants-support branch April 25, 2023 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core: config core: configuration files enhancement enhancement HAL: STM32F1x HAL: STM32F1x HAL: STM32F4x HAL: STM32F4x tested: OK tested: OK and ready to integrate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Getting errors compiling blackpill variant
1 participant