ArduinoFake icon indicating copy to clipboard operation
ArduinoFake copied to clipboard

missing `map` header file

Open pvkarthikk opened this issue 3 years ago • 1 comments

I created new UNO project in PlatformIO and added ArduinoFake library as deps. When I build it, its throwing error as below, image

pvkarthikk avatar Dec 08 '22 01:12 pvkarthikk

This library is for testing your code on your laptop / desktop computer rather than on embedded hardware.

Looking at the logs it was trying to compile the code for use on an Arduino Uno - Processing * in uno environment

If you already have a native environment you can run pio test -e native

If you don't have a native environment, add the following to your platformio.ini file and try running the above command again.

[env:native]
platform=native
lib_deps=
    fabiobatsilva/ArduinoFake@^0.3.1

r89m avatar Jan 21 '23 18:01 r89m