mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/atmega_common: add dbgpin initialization
This commit is contained in:
parent
47a031e483
commit
71e9a9e216
@ -4,6 +4,7 @@ include $(RIOTCPU)/avr8_common/Makefile.features
|
||||
# Only add Additional features
|
||||
|
||||
FEATURES_PROVIDED += atmega_pcint0
|
||||
FEATURES_PROVIDED += dbgpin
|
||||
FEATURES_PROVIDED += periph_cpuid
|
||||
FEATURES_PROVIDED += periph_eeprom
|
||||
FEATURES_PROVIDED += periph_gpio periph_gpio_irq
|
||||
|
@ -30,6 +30,9 @@
|
||||
#ifdef MODULE_PUF_SRAM
|
||||
#include "puf_sram.h"
|
||||
#endif
|
||||
#ifdef MODULE_DBGPIN
|
||||
#include "dbgpin.h"
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief functions for initializing the board, std-lib and kernel
|
||||
@ -73,6 +76,11 @@ __attribute__((used)) void reset_handler(void)
|
||||
#ifdef MODULE_PUF_SRAM
|
||||
puf_sram_init((uint8_t *)RAMEND-SEED_RAM_LEN, SEED_RAM_LEN);
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_DBGPIN
|
||||
dbgpin_init();
|
||||
#endif
|
||||
|
||||
/* initialize the board and startup the kernel */
|
||||
board_init();
|
||||
/* startup the kernel */
|
||||
|
Loading…
Reference in New Issue
Block a user