1
0
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:
Hauke Petersen 2020-09-15 15:20:49 +02:00
parent 71e9a9e216
commit 717a12507a
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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();