support STBEE mini

This commit is contained in:
NIIBE Yutaka
2013-11-27 12:47:25 +09:00
parent a635b626f5
commit a39c8ee878
4 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2013-11-27 Niibe Yutaka <gniibe@fsij.org>
* src/stm32f103.h (AFIO_MAPR_SWJ_CFG_DISABLE): New.
* src/sys.c: Likewise.
2013-11-26 Niibe Yutaka <gniibe@fsij.org>
* src/usb_desc.c (hid_report_desc): New.

Submodule chopstx updated: 2327cd9013...f344d926c1

View File

@@ -697,3 +697,4 @@ static struct AFIO *const AFIO = (struct AFIO *const)AFIO_BASE;
#define AFIO_EXTICR2_EXTI7_PD 0x3000
#define AFIO_MAPR_TIM3_REMAP_PARTIALREMAP 0x00000800
#define AFIO_MAPR_SWJ_CFG_DISABLE 0x04000000

View File

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