Fix for Nitrokey-start

This commit is contained in:
NIIBE Yutaka
2015-09-04 16:43:45 +09:00
parent 8650bde8a0
commit 85ef4a5391
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2015-09-04 Niibe Yutaka <gniibe@fsij.org>
* board/board-nitrokey-start.h (BOARD_ID): Fix the value.
* clk_gpio_init.c (AFIO_MAPR_SWJ_CFG_JTAGDISABLE): New.
2015-08-06 Niibe Yutaka <gniibe@fsij.org>
* example-fsm-55/README: Updated.

View File

@@ -1,5 +1,5 @@
#define BOARD_NAME "NITROKEY-START"
#define BOARD_ID 0x4aa5b5e2
#define BOARD_ID 0xad1e7ebd
#define STM32F10X_MD /* Medium-density device */
@@ -57,5 +57,4 @@
#define RCC_RSTR_IOP_RST \
(RCC_APB2RSTR_IOPARST | RCC_APB2RSTR_IOPBRST | RCC_APB2RSTR_AFIORST)
#define AFIO_MAPR_SWJ_CFG_JTAGDISABLE ((uint32_t)0x02000000)
#define AFIO_MAPR_SOMETHING AFIO_MAPR_SWJ_CFG_JTAGDISABLE

View File

@@ -283,6 +283,7 @@ static struct AFIO *const AFIO = (struct AFIO *const)AFIO_BASE;
#define AFIO_MAPR_TIM3_REMAP_PARTIALREMAP 0x00000800
#define AFIO_MAPR_SWJ_CFG_DISABLE 0x04000000
#define AFIO_MAPR_SWJ_CFG_JTAGDISABLE 0x02000000
struct GPIO {