mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/msp430_common: add dbgpin initialization
This commit is contained in:
parent
71e9a9e216
commit
717a12507a
@ -3,6 +3,7 @@ CPU_CORE = msp430
|
||||
|
||||
FEATURES_PROVIDED += arch_16bit
|
||||
FEATURES_PROVIDED += arch_msp430
|
||||
FEATURES_PROVIDED += dbgpin
|
||||
FEATURES_PROVIDED += newlib
|
||||
FEATURES_PROVIDED += periph_flashpage
|
||||
FEATURES_PROVIDED += periph_flashpage_pagewise
|
||||
|
@ -27,6 +27,9 @@
|
||||
#include "stdio_base.h"
|
||||
#include "irq.h"
|
||||
#include "log.h"
|
||||
#ifdef MODULE_DBGPIN
|
||||
#include "dbgpin.h"
|
||||
#endif
|
||||
|
||||
extern void board_init(void);
|
||||
|
||||
@ -34,6 +37,10 @@ __attribute__((constructor)) static void startup(void)
|
||||
{
|
||||
board_init();
|
||||
|
||||
#ifdef MODULE_DBGPIN
|
||||
dbgpin_init();
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_NEWLIB
|
||||
void _init(void);
|
||||
_init();
|
||||
|
Loading…
Reference in New Issue
Block a user