-
-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
Stm32f4 uF2 prompt the problem of insufficient EEPROM #16750
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also #16287 (comment) and #16586 for why this change isnt enough on its own.
@@ -34,7 +34,7 @@ | |||
# endif | |||
# elif defined(STM32F401xC) || defined(STM32F401xE) || defined(STM32F405xG) || defined(STM32F411xE) | |||
# ifndef FEE_PAGE_SIZE | |||
# define FEE_PAGE_SIZE 0x4000 // Page size = 16KByte | |||
# define FEE_PAGE_SIZE 0x4000// Page size = 16KByte |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# define FEE_PAGE_SIZE 0x4000// Page size = 16KByte | |
# define FEE_PAGE_SIZE 0x4000 // Page size = 16KByte |
@@ -183,7 +183,7 @@ else | |||
ifeq ($(PLATFORM),AVR) | |||
# Automatically provided by avr-libc, nothing required | |||
else ifeq ($(PLATFORM),CHIBIOS) | |||
ifneq ($(filter STM32F3xx_% STM32F1xx_% %_STM32F401xC %_STM32F401xE %_STM32F405xG %_STM32F411xE %_STM32F072xB %_STM32F042x6 %_GD32VF103xB %_GD32VF103x8, $(MCU_SERIES)_$(MCU_LDSCRIPT)),) | |||
ifneq ($(filter STM32F3xx_% STM32F1xx_% %_STM32F401xC%_STM32F401xC_tinyuf2 % %_STM32F401xE %_STM32F405xG %_STM32F411xE %_STM32F411xE_tinyuf2 %_STM32F072xB %_STM32F042x6 %_GD32VF103xB %_GD32VF103x8, $(MCU_SERIES)_$(MCU_LDSCRIPT)),) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ifneq ($(filter STM32F3xx_% STM32F1xx_% %_STM32F401xC%_STM32F401xC_tinyuf2 % %_STM32F401xE %_STM32F405xG %_STM32F411xE %_STM32F411xE_tinyuf2 %_STM32F072xB %_STM32F042x6 %_GD32VF103xB %_GD32VF103x8, $(MCU_SERIES)_$(MCU_LDSCRIPT)),) | |
ifneq ($(filter STM32F3xx_% STM32F1xx_% %_STM32F401xC %_STM32F401xC_tinyuf2 %_STM32F401xE %_STM32F405xG %_STM32F411xE %_STM32F411xE_tinyuf2 %_STM32F072xB %_STM32F042x6 %_GD32VF103xB %_GD32VF103x8, $(MCU_SERIES)_$(MCU_LDSCRIPT)),) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes that are done here are incomplete — you also need to change FEE_PAGE_BASE_ADDRESS
(the default value used on F4x1 would leave only 16 KiB for the bootloader, which is apparently not enough). From #16287 (comment) it seems that the flash portion reserved for the bootloader code is 32 KiB, and sectors 2 and 3 can be used for EEPROM.
* initial * revert some defines * formatting * apply changes * update readme * suggestion
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: Alexander Lee <[email protected]> Co-authored-by: chalex <[email protected]>
* Fix various lint errors * reduce complexity
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Joel Challis <[email protected]> Co-authored-by: Drashna Jaelre <[email protected]>
Add caveat about usb endpoints.
Co-authored-by: Drashna Jaelre <[email protected]>
* Add Montex V2 (qmk#10) * Update readme.md * Update rules.mk * Update config.h * Update keyboards/idobao/montex/v2/config.h Co-authored-by: Drashna Jaelre <[email protected]> * Update keyboards/idobao/montex/v2/rules.mk Add Layouts Co-authored-by: Drashna Jaelre <[email protected]> * Merged code fron work done with @vinorodrigues * Update keyboards/idobao/montex/v2/rules.mk Co-authored-by: Ryan <[email protected]> * Update keyboards/idobao/montex/v2/v2.h Co-authored-by: Ryan <[email protected]> * Update keyboards/idobao/montex/v2/config.h Co-authored-by: Ryan <[email protected]> * Removing via_nug keymap * update to montex code (qmk#11) * remove VIA_QMK_RGBLIGHT_ENABLE * more data driven config, simple copyright headers, some code cleanup Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: Vino Rodrigues <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Christian Hofstede <[email protected]> Co-authored-by: Vino Rodrigues <[email protected]> Co-authored-by: Vino Rodrigues <[email protected]>
Co-authored-by: Ryan <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]> Co-authored-by: Ryan <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
Co-authored-by: Ryan <[email protected]>
Thank you for your contribution! |
Superseded by #18042 |
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist