tests/cpu_efm32_features: remove EFM32_UART_MODES

This commit is contained in:
Bas Stottelaar 2019-10-16 21:39:45 +02:00
parent 2a5010f779
commit bbec8277b9
2 changed files with 1 additions and 16 deletions

View File

@ -11,7 +11,6 @@ BOARD_WHITELIST := ikea-tradfri \
stk3700 stk3700
# see cpu/efm32/efm32-features.mk for the supported flags # see cpu/efm32/efm32-features.mk for the supported flags
EFM32_UART_MODES = 1
EFM32_LEUART_ENABLED = 0 EFM32_LEUART_ENABLED = 0
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include

View File

@ -26,21 +26,7 @@
int main(void) int main(void)
{ {
/* test if uart_config[i].mode is set to a know value */ puts("Board booted, with some EFM32 features enabled or disabled.");
for (unsigned i = 0; i < UART_NUMOF; i++) {
printf("UART %u mode: ", i);
switch (uart_config[i].mode) {
case UART_MODE_8N1:
puts("8N1");
break;
case UART_MODE_8E1:
puts("8E1");
break;
default:
puts("unknown");
}
}
return 0; return 0;
} }