-
-
Notifications
You must be signed in to change notification settings - Fork 40.2k
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 high-density STM32F103RC support #18035
base: develop
Are you sure you want to change the base?
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.
Core changes, platforms
and handwired/onekey
, should be split out from the keyboard updates.
Thanks, lemme split that up right away |
Done, just split the pr to #18066. Feel free to review again, thanks! |
Thank you for your contribution! |
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.
Needs conversion to info.json.
I'm just done it, if u have free time. Can u take a look? |
Thank you for your contribution! |
Thank you for your contribution! |
Ehh, sorry but this PR still active and waiting for reviewing |
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.
I'm a bit out of my depth when it comes to ChibiOS configs, but nothing here seems glaringly wrong to my eyes.
platforms/chibios/boards/STM32_F103_STM32DUINO/ld/STM32F103xC_stm32duino_bootloader.ld
Outdated
Show resolved
Hide resolved
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.
Cannot use
BOOTLOADER = stm32duino
due to the need to override
MCU_LDSCRIPT
, therefore all parameters need to be specified here manually.
This workaround is no longer required.
platforms/chibios/boards/STM32_F103_STM32DUINO/ld/STM32F103xC_stm32duino_bootloader.ld
Outdated
Show resolved
Hide resolved
Done, if anyone have times. Can i have a re-review on this PR? |
Done, thanks |
I'm sorry, the PR seem to be long active anyway. Can i have a re-review this one? Thanks |
# Enter lower-power sleep mode when on the ChibiOS idle thread | ||
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE | ||
|
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.
# Enter lower-power sleep mode when on the ChibiOS idle thread | |
OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE |
#ifdef BACKLIGHT_ENABLE | ||
/* Backlight config */ | ||
#define BACKLIGHT_PWM_DRIVER PWMD2 | ||
#define BACKLIGHT_PWM_CHANNEL 1 | ||
#endif |
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.
#ifdef BACKLIGHT_ENABLE | |
/* Backlight config */ | |
#define BACKLIGHT_PWM_DRIVER PWMD2 | |
#define BACKLIGHT_PWM_CHANNEL 1 | |
#endif | |
/* Backlight config */ | |
#define BACKLIGHT_PWM_DRIVER PWMD2 | |
#define BACKLIGHT_PWM_CHANNEL 1 |
Description
Add high-density STM32F103RC support for "STM32 Mini V2 Development Kit" board, in case you want to using for experiment thing if you couldn't find any "Bluepill STM32F103C8" and it cheap.
The EEPROM emulation support is not included, as it have built-in SPI Flash 2M-Bit W25Q16JVSIQ already. So by default this board will be using
wear_leveling
driver on SPI Flash.Tested onekey keymaps:
This is my first time open these kind pr, so I would like to have a proper reviewer code. Thanks!
Types of Changes
Checklist