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

Add STM32L432 support and STM32L4 series EEPROM emulation #15050

Closed
wants to merge 37 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
b08389c
Add a new led driver for Keychron's keyboards.
KeychronMacro Oct 18, 2021
c94ccf6
Update ckled2001.c/ckled2001.h.
KeychronMacro Oct 18, 2021
8c68c25
Update ckled2001.c/ckled2001.h.
KeychronMacro Oct 18, 2021
e5ff8ad
Update ckled2001.c/ckled2001.h.
KeychronMacro Oct 18, 2021
1e7f20d
Update ckled2001.c
KeychronMacro Oct 18, 2021
1aabe7b
Add a new led driver
KeychronMacro Oct 18, 2021
4bd7665
Merge branch 'develop' of https://github.com/lalalademaxiya1/qmk_firm…
KeychronMacro Oct 18, 2021
c6b6a8b
Merge pull request #1 from lalalademaxiya1/develop
keychron-dev Oct 18, 2021
9337189
Update ckled2001.c
KeychronMacro Oct 18, 2021
bdafa94
Update ckled2001.c
KeychronMacro Oct 20, 2021
4459ddf
Update ckled2001.c
KeychronMacro Oct 20, 2021
9a94daf
Update ckled2001.c
KeychronMacro Oct 20, 2021
68f7cd5
Delete ckled2001.c
KeychronMacro Oct 20, 2021
15c4cc0
Create ckled2001.c
KeychronMacro Oct 20, 2021
067e0d5
Update ckled2001.c
KeychronMacro Oct 20, 2021
7a2c8e5
Merge branch 'qmk:develop' into develop
lokher Oct 28, 2021
49f6ee4
Merge branch 'develop' of https://github.com/keychron/qmk_firmware in…
lokher Nov 4, 2021
acfd125
Update chibios-contrib
lokher Nov 4, 2021
1070360
Add STM32L432 support and STM32L4 series EEPROM emulation
lokher Nov 4, 2021
66936f2
Update copyright
lokher Nov 4, 2021
2f8070b
Update eeprom_stm32_l4.c
lokher Nov 5, 2021
60588e6
Update eeprom_stm32_l4.h
lokher Nov 5, 2021
720eb9a
Update tmk_core/common/chibios/eeprom_stm32_l4.c
lokher Nov 17, 2021
7b2b664
Update flash_stm32.h
lokher Feb 7, 2022
18ddd7b
Update flash_stm32.c
lokher Feb 7, 2022
c78ae9a
Delete keyboard.jsonschema
lokher Feb 8, 2022
84d9d6d
Delete compatible_microcontrollers.md
lokher Feb 8, 2022
acd5ac1
Delete constants.py
lokher Feb 8, 2022
9f698cc
Delete board.mk
lokher Feb 8, 2022
40d06cc
Delete board.h
lokher Feb 8, 2022
a235870
Delete config.h
lokher Feb 8, 2022
b64fcd1
Delete mcuconf.h
lokher Feb 8, 2022
5d3e394
Delete mcu_selection.mk
lokher Feb 8, 2022
defd46e
Merge branch 'temp' into stm32l432
lokher Feb 8, 2022
3151432
update flash_stm32.h
lokher Feb 8, 2022
5ab36e7
Update flash_stm32.c
lokher Feb 8, 2022
08b488c
Update flash_stm32.c
lokher Feb 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,12 @@ else
COMMON_VPATH += $(PLATFORM_PATH)/$(PLATFORM_KEY)/$(DRIVER_DIR)/eeprom
SRC += eeprom_driver.c
SRC += eeprom_stm32_L0_L1.c
else ifneq ($(filter $(MCU_SERIES),STM32L4xx),)
OPT_DEFS += -DEEPROM_DRIVER -DEEPROM_STM32_FLASH_EMULATED
COMMON_VPATH += $(DRIVER_PATH)/eeprom
SRC += eeprom_driver.c
SRC += $(PLATFORM_COMMON_DIR)/eeprom_stm32_l4.c
SRC += $(PLATFORM_COMMON_DIR)/flash_stm32.c
else ifneq ($(filter $(MCU_SERIES),KL2x K20x),)
# Teensy EEPROM implementations
OPT_DEFS += -DEEPROM_TEENSY
Expand Down
4 changes: 2 additions & 2 deletions platforms/chibios/eeprom_stm32_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# ifndef FEE_PAGE_COUNT
# define FEE_PAGE_COUNT 2 // How many pages are used
# endif
# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB) || defined(STM32F070xB)
# elif defined(STM32F103xE) || defined(STM32F303xC) || defined(STM32F072xB) || defined(STM32F070xB) || defined(STM32L432xx)
# ifndef FEE_PAGE_SIZE
# define FEE_PAGE_SIZE 0x800 // Page size = 2KByte
# endif
Expand All @@ -47,7 +47,7 @@
# define FEE_MCU_FLASH_SIZE 32 // Size in Kb
# elif defined(GD32VF103C8)
# define FEE_MCU_FLASH_SIZE 64 // Size in Kb
# elif defined(STM32F103xB) || defined(STM32F072xB) || defined(STM32F070xB) || defined(GD32VF103CB)
# elif defined(STM32F103xB) || defined(STM32F072xB) || defined(STM32F070xB) || defined(GD32VF103CB) || defined(STM32L432xx)
# define FEE_MCU_FLASH_SIZE 128 // Size in Kb
# elif defined(STM32F303xC) || defined(STM32F401xC)
# define FEE_MCU_FLASH_SIZE 256 // Size in Kb
Expand Down
Loading