-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Hi all,
I searched for the feature of having a compile time define for WOKWI but did not find any in the documentation, git issues or project page.
Is your feature request related to a problem? Please describe.
I want to copy my code 1:1 from wokwi into Visual Studio for real world compilation on my board. To not miss anything, I would like to have an compile time define (-DWOKWI) or something, so both compilers can distinguish between the WOKWI compilation and the real world compilation.
For example, I exculde WiFi and OTA stuff on WOKWI, but rely on this in my real world application.
Describe the solution you'd like
Add a compile time define -DWOKWI (or the like) to the compile backend for your code.
Thanks you very much
Daniel
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request