Skip to content

Commit 4ae08da

Browse files
committed
c33: fix pwm in loader
1 parent 14bd172 commit 4ae08da

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

loader/boards/arduino_portenta_c33.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ CONFIG_SHELL_STACK_SIZE=32768
2424
CONFIG_MAIN_STACK_SIZE=32768
2525
CONFIG_LLEXT_HEAP_SIZE=128
2626

27-
#CONFIG_ADC=y
28-
#CONFIG_PWM=y
27+
CONFIG_ADC=n
28+
CONFIG_PWM=y
2929

3030
CONFIG_NET_CORE_LOG_LEVEL_DBG=y
3131

loader/boards/arduino_portenta_c33.overlay

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,12 @@
7070
<&ioport4 0 GPIO_ACTIVE_LOW>,
7171
<&ioport8 0 GPIO_ACTIVE_LOW>;
7272

73+
pwm-pin-gpios = <&ioport6 0 0>;
74+
7375
serials = <&cdc_acm_uart0>,<&sci9>;
7476
cdc-acm = <&cdc_acm_uart0>;
7577
i2cs = <&iic1>;
7678
spis = <&spi1>;
79+
pwms = <&pwm6 1 PWM_HZ(25000000) PWM_POLARITY_NORMAL>;
7780
};
7881
};

0 commit comments

Comments
 (0)