Skip to content

Commit 35880d4

Browse files
committed
zephyr/boards/frdm_k64f: Improve board configuration.
Changes: - Enable CONFIG_PWM so that `machine.PWM()` works. - Increase MicroPython GC heap size. Signed-off-by: Damien George <[email protected]>
1 parent d0ccaff commit 35880d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/zephyr/boards/frdm_k64f.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ CONFIG_NET_L2_ETHERNET=y
33

44
# Hardware features
55
CONFIG_I2C=y
6+
CONFIG_PWM=y
67
CONFIG_SPI=y
78

89
# Sensor drivers
@@ -14,3 +15,6 @@ CONFIG_FXOS8700_TEMP=y
1415
CONFIG_FLASH=y
1516
CONFIG_FLASH_MAP=y
1617
CONFIG_MPU_ALLOW_FLASH_WRITE=y
18+
19+
# MicroPython config
20+
CONFIG_MICROPY_HEAP_SIZE=114688

0 commit comments

Comments
 (0)