diff python/stm32f4/burn.c3 @ 241:ce6d390043a7 burnchain

Added reset and run at end of flashing
author Windel Bouwman
date Mon, 22 Jul 2013 22:56:21 +0200
parents 81752b0f85a5
children 6ed3d3a82a63
line wrap: on
line diff
--- a/python/stm32f4/burn.c3	Mon Jul 22 22:37:33 2013 +0200
+++ b/python/stm32f4/burn.c3	Mon Jul 22 22:56:21 2013 +0200
@@ -1,4 +1,4 @@
-/* 
+/*
 
 This file blinks a LED on the STM32F4 discovery board.
 
@@ -50,7 +50,7 @@
     RCC->AHB1ENR = RCC->AHB1ENR | (1 << 3);
 
     var int pin;
-    pin = 13;
+    pin = 15;
     // PD13 == output (01)
     GPIOD->MODER = (1 << (pin << 1));
     GPIOD->ODR = (1 << pin);