Better definitions for SPI port

This commit is contained in:
Niklas Jensen
2025-12-26 13:59:28 +01:00
parent c47d579fa2
commit 741e9e7f3f
3 changed files with 12 additions and 8 deletions
+5
View File
@@ -55,6 +55,10 @@ build_flags =
-D USS_RIGHT_PIN=14
-D SDA_PIN=47
-D SCL_PIN=21
-D SPI_SCK=41
-D SPI_MISO=19
-D SPI_MOSI=20
-D ICM20948_SPI_CS=2 # Only needed if ICM20948 is in SPI mode
[env:seeed-xiao-esp32s3]
platform = espressif32
@@ -90,6 +94,7 @@ build_flags =
${factory_settings.build_flags}
${features.build_flags}
${build_settings.build_flags}
-D SPI_PORT=SPI # Define which spi port to use for external components
-D CORE_DEBUG_LEVEL=4
-D register=
-std=gnu++2a