fix(boards): BDN9 rev2 tweaks.
* Reduce RAM usage, no need for heap any more in ZMK. * Don't attempt to enable FPU that's not present.
This commit is contained in:
parent
67634b6557
commit
0329c699f8
2 changed files with 5 additions and 6 deletions
|
@ -109,6 +109,9 @@ zephyr_udc0: &usb {
|
|||
status = "okay";
|
||||
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
// Overridden to lower RAM usage.
|
||||
num-bidir-endpoints = <4>;
|
||||
};
|
||||
|
||||
&rtc {
|
||||
|
|
|
@ -5,9 +5,6 @@ CONFIG_SOC_STM32F072XB=y
|
|||
# 72MHz system clock
|
||||
CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=72000000
|
||||
|
||||
# Floating Point Options
|
||||
CONFIG_FPU=y
|
||||
|
||||
# enable GPIO
|
||||
CONFIG_GPIO=y
|
||||
|
||||
|
@ -17,8 +14,7 @@ CONFIG_PINCTRL=y
|
|||
# Poll to avoid interrupt overlap issues
|
||||
CONFIG_ZMK_KSCAN_DIRECT_POLLING=y
|
||||
|
||||
# Needed to reduce this to size that will fit on F072
|
||||
CONFIG_HEAP_MEM_POOL_SIZE=1024
|
||||
CONFIG_ISR_STACK_SIZE=1024
|
||||
|
||||
# clock configuration
|
||||
CONFIG_CLOCK_CONTROL=y
|
||||
|
|
Loading…
Add table
Reference in a new issue