File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed
Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 1+ ; PlatformIO Project Configuration File
2+ ;
3+ ; Build options: build flags, source filter
4+ ; Upload options: custom upload port, speed and extra flags
5+ ; Library options: dependencies, extra library storages
6+ ; Advanced options: extra scripting
7+ ;
8+ ; Please visit documentation for the other options and examples
9+ ; https://docs.platformio.org/page/projectconf.html
10+
111[env:native]
212platform = native
313build_flags = -std =gnu++11
4- -I .pio/libdeps/native/FakeIt/single_header/standalone
14+ -I .pio/libdeps/native/FakeIt/single_header/standalone
515test_build_src = yes
6- lib_deps = https://github.com/eranpeer/FakeIt.git
7-
8- # [env:debug]
9- # platform = native
10- # build_flags = -std=gnu++17
11- # test_build_src = yes
12- # build_type = debug
13- # debug_test = *
16+ lib_deps =
17+ https://github.com/eranpeer/FakeIt.git
18+ throwtheswitch/Unity@^2.5.2
Original file line number Diff line number Diff line change 44 #define USBCON
55#endif
66
7- #include < map >
7+ #include < unordered_map >
88#include < cstring>
99#include < cstdint>
1010#include < stdexcept>
@@ -91,7 +91,7 @@ class ArduinoFakeContext
9191 public:
9292 ArduinoFakeInstances* Instances = new ArduinoFakeInstances();
9393 ArduinoFakeMocks* Mocks = new ArduinoFakeMocks();
94- std::map <void *, void *> Mapping;
94+ std::unordered_map <void *, void *> Mapping;
9595
9696 _ArduinoFakeInstanceGetter1 (Print)
9797 _ArduinoFakeInstanceGetter1 (Stream)
You can’t perform that action at this time.
0 commit comments