-
-
Notifications
You must be signed in to change notification settings - Fork 40.4k
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 <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Alexander Lee <aclee3@CGHan-Macbook-2015.local> Co-authored-by: chalex <chlxbsmt@gmail.com>
* Fix various lint errors * reduce complexity
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Add caveat about usb endpoints.
Co-authored-by: Drashna Jaelre <drashna@live.com>
* 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 <drashna@live.com> * Update keyboards/idobao/montex/v2/rules.mk Add Layouts Co-authored-by: Drashna Jaelre <drashna@live.com> * Merged code fron work done with @vinorodrigues * Update keyboards/idobao/montex/v2/rules.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/idobao/montex/v2/v2.h Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/idobao/montex/v2/config.h Co-authored-by: Ryan <fauxpark@gmail.com> * 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 <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Christian Hofstede <4440939+chofstede@users.noreply.github.com> Co-authored-by: Vino Rodrigues <github@m.vinorodrigues.com> Co-authored-by: Vino Rodrigues <366673+vinorodrigues@users.noreply.github.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Thank you for your contribution! |
Superseded by #18042 |
Description
Types of Changes
Issues Fixed or Closed by This PR
Checklist