Skip to content

Commit 25b0b4e

Browse files
committed
Portenta H7: SPI, Wire, Analog, PWM, ...
This is sort of a hand merge of PR arduino#82 which supersedes arduino#71 Adds in the SPI, Wire, Some Analog, some PWM, access to all of the pins. This has a reduced full pin table, but also introduced the use of pin names using slightly stripped down table that was used for MBED version
1 parent 2e21a26 commit 25b0b4e

File tree

7 files changed

+1005
-21
lines changed

7 files changed

+1005
-21
lines changed

loader/boards/arduino_portenta_h7_stm32h747xx_m7.conf

+21-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ CONFIG_CDC_ACM_DTE_RATE_CALLBACK_SUPPORT=y
1111

1212
CONFIG_LLEXT_STORAGE_WRITABLE=n
1313

14+
CONFIG_SHARED_MULTI_HEAP=y
15+
CONFIG_HEAP_MEM_POOL_SIZE=2048
16+
1417
CONFIG_FPU=y
1518
CONFIG_ICACHE=y
1619
CONFIG_DCACHE=y
@@ -24,8 +27,12 @@ CONFIG_SHELL_STACK_SIZE=32768
2427
CONFIG_MAIN_STACK_SIZE=32768
2528
CONFIG_LLEXT_HEAP_SIZE=128
2629

27-
#CONFIG_ADC=y
28-
#CONFIG_PWM=y
30+
CONFIG_ADC=y
31+
CONFIG_PWM=y
32+
CONFIG_DMA=y
33+
CONFIG_MEMC=y
34+
CONFIG_SPI_ASYNC=y
35+
CONFIG_SPI_STM32_INTERRUPT=y
2936

3037
CONFIG_NET_CORE_LOG_LEVEL_DBG=y
3138

@@ -78,3 +85,15 @@ CONFIG_MBEDTLS_HEAP_SIZE=60000
7885
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=7168
7986
CONFIG_MBEDTLS_HASH_ALL_ENABLED=y
8087
CONFIG_MBEDTLS_CMAC=y
88+
89+
90+
CONFIG_VIDEO=y
91+
CONFIG_VIDEO_LOG_LEVEL_DBG=y
92+
CONFIG_VIDEO_STM32_DCMI=y
93+
CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=3
94+
CONFIG_VIDEO_BUFFER_POOL_SZ_MAX=614400
95+
CONFIG_VIDEO_BUFFER_POOL_ALIGN=32
96+
CONFIG_VIDEO_BUFFER_USE_SHARED_MULTI_HEAP=y
97+
CONFIG_VIDEO_BUFFER_SMH_ATTRIBUTE=2
98+
CONFIG_VIDEO_GC2145=y
99+
CONFIG_FLASH=y

0 commit comments

Comments
 (0)