Skip to content

Variable {runtime.hardware.path} not evaluated on board in sketchbook #1971

Closed
@grzybsonssg

Description

@grzybsonssg

Describe the problem

Hi
I have issue with 3rd party board installed through the sketchbook (user folder).
Variable {runtime.hardware.path} is not properly evaluated, whereas other variables are replaced with proper values.
{runtime.hardware.path} is global variable that should by evaluated always, right?

To reproduce

Just try to install Roger Clark's STM32 board following his instruction.
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Installation

Compilation of sketch goes without any problem, but it fails on upload due to inability to evaluate variable.
obraz

Of course I can replace the variable placeholder with absolute path in platform.txt and then it runs flawlessly. But that's a hack.

Full verbose output of compile and upload in attachment.

arduino_stm32_output.txt

Expected behavior

{runtime.hardware.path} is properly evaluated to c:\users\grzybson\Documents\Arduino\hardware\Arduino_STM32\

Arduino IDE version

2.01

Operating system

Windows

Operating system version

10 Pro 22H2

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions