samples: hello_world: Use full board target string for hwmv2 boards

Outputs the full board target string (including qualifiers) when
using a hwmv2 board

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2024-03-05 08:41:06 +00:00 committed by Carles Cufí
parent efdd9d4bdb
commit 3b36911461

View file

@ -8,6 +8,7 @@
int main(void) int main(void)
{ {
printf("Hello World! %s\n", CONFIG_BOARD); printf("Hello World! %s\n", CONFIG_BOARD_TARGET);
return 0; return 0;
} }