From 55a8d3fe21bbeeb7068679c4a5e877c60af72c14 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 17 Jul 2024 17:28:46 +0200 Subject: [PATCH] fix(platform): core reference broken due to {runtime.platform.path} usage when other platform reference the core. - {runtime.platform.path}: The absolute path of the board platform folder (i.e. the folder containing boards.txt) - {build.core.path}: The path to the selected board's core folder (inside the core platform, for example hardware/STMicroelectronics/stm32/core/arduino) Ref: https://arduino.github.io/arduino-cli/1.0/platform-specification/#referencing-another-core-variant-or-tool Fixes #2445 Signed-off-by: Frederic Pillon --- platform.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platform.txt b/platform.txt index 878f9ee8e0..1c3e258b23 100644 --- a/platform.txt +++ b/platform.txt @@ -28,9 +28,10 @@ hal_dir={build.system.path}/Drivers/{build.series}_HAL_Driver cmsis_dir={runtime.tools.CMSIS-5.9.0.path}/CMSIS cmsis_dev_dir={build.system.path}/Drivers/CMSIS/Device/ST/{build.series} usbd_core_dir={build.system.path}/Middlewares/ST/STM32_USB_Device_Library/Core -SrcWrapper_include_dir={runtime.platform.path}/libraries/SrcWrapper/inc -VirtIO_include_dir={runtime.platform.path}/libraries/VirtIO/inc -USBDevice_include_dir={runtime.platform.path}/libraries/USBDevice/inc +builtin_library_dir={build.core.path}/../../libraries +SrcWrapper_include_dir={builtin_library_dir}/SrcWrapper/inc +VirtIO_include_dir={builtin_library_dir}/VirtIO/inc +USBDevice_include_dir={builtin_library_dir}/USBDevice/inc # STM compile variables pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy