-
-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Closed
Changes from 23 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 c94ccf6
Update ckled2001.c/ckled2001.h.
KeychronMacro 8c68c25
Update ckled2001.c/ckled2001.h.
KeychronMacro e5ff8ad
Update ckled2001.c/ckled2001.h.
KeychronMacro 1e7f20d
Update ckled2001.c
KeychronMacro 1aabe7b
Add a new led driver
KeychronMacro 4bd7665
Merge branch 'develop' of https://github.com/lalalademaxiya1/qmk_firm…
KeychronMacro c6b6a8b
Merge pull request #1 from lalalademaxiya1/develop
keychron-dev 9337189
Update ckled2001.c
KeychronMacro bdafa94
Update ckled2001.c
KeychronMacro 4459ddf
Update ckled2001.c
KeychronMacro 9a94daf
Update ckled2001.c
KeychronMacro 68f7cd5
Delete ckled2001.c
KeychronMacro 15c4cc0
Create ckled2001.c
KeychronMacro 067e0d5
Update ckled2001.c
KeychronMacro 7a2c8e5
Merge branch 'qmk:develop' into develop
lokher 49f6ee4
Merge branch 'develop' of https://github.com/keychron/qmk_firmware in…
lokher acfd125
Update chibios-contrib
lokher 1070360
Add STM32L432 support and STM32L4 series EEPROM emulation
lokher 66936f2
Update copyright
lokher 2f8070b
Update eeprom_stm32_l4.c
lokher 60588e6
Update eeprom_stm32_l4.h
lokher 720eb9a
Update tmk_core/common/chibios/eeprom_stm32_l4.c
lokher 7b2b664
Update flash_stm32.h
lokher 18ddd7b
Update flash_stm32.c
lokher c78ae9a
Delete keyboard.jsonschema
lokher 84d9d6d
Delete compatible_microcontrollers.md
lokher acd5ac1
Delete constants.py
lokher 9f698cc
Delete board.mk
lokher 40d06cc
Delete board.h
lokher a235870
Delete config.h
lokher b64fcd1
Delete mcuconf.h
lokher 5d3e394
Delete mcu_selection.mk
lokher defd46e
Merge branch 'temp' into stm32l432
lokher 3151432
update flash_stm32.h
lokher 5ab36e7
Update flash_stm32.c
lokher 08b488c
Update flash_stm32.c
lokher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# List of all the board related files. | ||
lokher marked this conversation as resolved.
Show resolved
Hide resolved
|
||
BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO32_L432KC/board.c | ||
|
||
# Required include directories | ||
BOARDINC = $(CHIBIOS)/os/hal/boards/ST_NUCLEO32_L432KC | ||
|
||
# Shared variables | ||
ALLCSRC += $(BOARDSRC) | ||
ALLINC += $(BOARDINC) |
18 changes: 18 additions & 0 deletions
18
platforms/chibios/boards/GENERIC_STM32_L432KC/configs/board.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* Copyright 2021 @ lokher (https://www.keychron.com) | ||
lokher marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
#pragma once | ||
|
||
#include_next "board.h" |
27 changes: 27 additions & 0 deletions
27
platforms/chibios/boards/GENERIC_STM32_L432KC/configs/config.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* Copyright 2021 @ lokher (https://www.keychron.com) | ||
lokher marked this conversation as resolved.
Show resolved
Hide resolved
|
||
* | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
/* Address for jumping to bootloader on STM32 chips. */ | ||
/* It is chip dependent, the correct number can be looked up by checking against ST's application note AN2606. | ||
*/ | ||
#define STM32_BOOTLOADER_ADDRESS 0x1FFF0000 | ||
|
||
#define PAL_STM32_OSPEED_HIGHEST PAL_STM32_OSPEED_HIGH | ||
|
||
#ifndef EARLY_INIT_PERFORM_BOOTLOADER_JUMP | ||
# define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE | ||
#endif |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This already exists in
develop
.