Hello all,
In Arduino environment global define ESP32 or ESP8266 are define depending target choice.
I use it with compiler #if statement to select one header or an other depending the target.
but in esp-idf with arduino as component, global define ESP32 or ESP8266 are not create by default.
So, my question : where do I need to declare thisĀ global define like it is propagated when compile then use it in headers to make code selection at compile time ?
Thanks
Regards
<div id=”gtx-trans” style=”position: absolute; left: -26px; top: 355.8px;”>
<div class=”gtx-trans-icon”></div>
</div>
-
This topic was modified 5 years, 6 months ago by
manuF.
-
This topic was modified 5 years, 6 months ago by
manuF.