GD32F103TB (was: GD32F103CB)
NIIBE Yutaka
gniibe at fsij.org
Fri May 11 23:26:29 CEST 2018
Hello,
It was nice to meet you. And thanks for your board with GD32F103TB, and
the chip of GD32F103TB. Well, I didn't expected you are so young. :-)
This morning, I successfully built and tested Gnuk 1.2.10 with the
board.
It just requires a change like this:
==========================
--- board-fst-01g.h 2018-01-19 22:12:38.736218579 +0900
+++ board-fst-01r.h 2018-05-12 06:11:11.687258627 +0900
@@ -1,12 +1,16 @@
-#define BOARD_NAME "FST-01G"
-#define BOARD_ID 0x8801277f
-/* echo -n "FST-01G" | sha256sum | sed -e 's/^.*\(........\) -$/\1/' */
+#define BOARD_NAME "FST-01R"
+#define BOARD_ID 0x8e8266af
+/* echo -n "FST-01R" | sha256sum | sed -e 's/^.*\(........\) -$/\1/' */
+
+#define MCU_STM32F1_GD32F1 1
+#define STM32_USBPRE STM32_USBPRE_DIV2
+#define STM32_ADCPRE STM32_ADCPRE_DIV8
#define MCU_STM32F1 1
#define STM32F10X_MD /* Medium-density device */
#define STM32_PLLXTPRE STM32_PLLXTPRE_DIV1
-#define STM32_PLLMUL_VALUE 6
+#define STM32_PLLMUL_VALUE 8
#define STM32_HSECLK 12000000
#define GPIO_LED_BASE GPIOB_BASE
--
More information about the Gnuk-users
mailing list