We now have quite a lot of environments so I like to use global settings using the [env] tag.
But there are exceptions for the native unit tests. So the platform becomes native, but I don’t need a board or framework.
Here’s my [env] as an example:
[env]
board = featheresp32
platform = espressif32
framework = arduino
And here’s a unit test:
[env:someGenericUnitTests]
platform = native
lib_ldf_mode = deep
test_framework = unity
I tried to add
[env:someGenericUnitTests]
platform = native
board =
framework =
lib_ldf_mode = deep
test_framework = unity
But that didn’t work… Any suggestions or do I need to go back to add the globals to each environment individual?
Thx!
David