last change here. will test systick timer on maple mini
and then afterward consider the next step.
--- a/Makefile Thu Mar 19 16:41:38 2015 +0000
+++ b/Makefile Thu Mar 19 17:51:23 2015 +0000
@@ -19,7 +19,7 @@
PREFIX = /embedded/arm-cortex/gcc-arm-none-eabi-4_9-2014q4/bin/arm-none-eabi
OPENCM3_DIR = /embedded/arm-cortex
-TTYISP = /dev/ttyCP2102
+TTYISP = /dev/ttyUSB0
BINARY = miniblink
--- a/miniblink.c Thu Mar 19 16:41:38 2015 +0000
+++ b/miniblink.c Thu Mar 19 17:51:23 2015 +0000
@@ -22,8 +22,6 @@
static void gpio_setup(void)
{
- rcc_clock_setup_in_hse_8mhz_out_72mhz();
-
/* Enable GPIOC clock. */
rcc_periph_clock_enable(RCC_GPIOC);
@@ -36,6 +34,8 @@
int main(void)
{
+ rcc_clock_setup_in_hse_8mhz_out_72mhz();
+
gpio_setup();
/* Blink the LED (PC13) on the board. */
--- a/mk/Makefile.rules Thu Mar 19 16:41:38 2015 +0000
+++ b/mk/Makefile.rules Thu Mar 19 17:51:23 2015 +0000
@@ -20,10 +20,10 @@
##
# Be silent per default, but 'make V=1' will show all compiler calls.
-ifneq ($(V),1)
-Q := @
-NULL := 2>/dev/null
-endif
+#ifneq ($(V),1)
+#Q := @
+#NULL := 2>/dev/null
+#endif
###############################################################################
# Executables