Skip to content

Commit

Permalink
mips: Fix up usage of USE_MODULE vs FEATURES_PROVIDED
Browse files Browse the repository at this point in the history
Note hwrng_init will now get called from the generic periph_init() in a future
pull request.
  • Loading branch information
Neil Jones committed Dec 13, 2017
1 parent 4f9a422 commit 204dcd1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions boards/pic32-wifire/wifire.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ void board_init(void)
uart_init(DEBUG_VIA_UART, DEBUG_UART_BAUD, NULL, 0);
#endif

hwrng_init();

/* Turn off all LED's */
gpio_init(LED1_PIN, GPIO_OUT);
gpio_init(LED2_PIN, GPIO_OUT);
Expand Down
1 change: 1 addition & 0 deletions cpu/mips_pic32_common/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FEATURES_PROVIDED += periph_cpuid
FEATURES_PROVIDED += periph_hwrng

-include $(RIOTCPU)/mips32r2_common/Makefile.features
4 changes: 0 additions & 4 deletions cpu/mips_pic32_common/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,3 @@ export INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include

USEMODULE += mips_pic32_common
USEMODULE += mips_pic32_common_periph

USEMODULE += periph_common
USEMODULE += periph_hwrng

2 changes: 0 additions & 2 deletions cpu/mips_pic32mz/Makefile.features
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
FEATURES_PROVIDED += periph_hwrng

-include $(RIOTCPU)/mips_pic32_common/Makefile.features

0 comments on commit 204dcd1

Please sign in to comment.