Skip to content

Commit

Permalink
Add "_USE_MATH_DEFINES" to test HAL too.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueAndi committed Nov 8, 2024
1 parent 19f0681 commit 175dee5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ test_port = com9
platform = native @ ~1.2.1
build_flags =
-std=c++11
-DTARGET_NATIVE
-I./lib/Webots/include/c
-I./lib/Webots/include/cpp
-D TARGET_NATIVE
-D _USE_MATH_DEFINES
lib_deps =
MainNative
Expand All @@ -122,9 +122,10 @@ webots_robot_serial_tx_channel = 2
platform = native @ ~1.2.1
build_flags =
-std=c++11
-DTARGET_NATIVE
-DUNIT_TEST
-Itest/common
-D TARGET_NATIVE
-D UNIT_TEST
-D _USE_MATH_DEFINES
lib_deps =
MainTestNative
BlueAndi/ArduinoNative @ ~0.2.1
Expand Down

0 comments on commit 175dee5

Please sign in to comment.