Mercurial > lcfOS
diff python/stm32f4/blink.c3 @ 220:3f6c30a5d234
Major change in expression parsing to enable pointers and structs
author | Windel Bouwman |
---|---|
date | Sat, 06 Jul 2013 21:32:20 +0200 |
parents | 1fa3e0050b49 |
children | 848c4b15fd0b |
line wrap: on
line diff
--- a/python/stm32f4/blink.c3 Sat Jul 06 12:38:09 2013 +0200 +++ b/python/stm32f4/blink.c3 Sat Jul 06 21:32:20 2013 +0200 @@ -31,6 +31,7 @@ var int* RCC_AHB1ENR; RCC_AHB1ENR = 0x40003022; + *RCC_AHB1ENR = *RCC_AHB1ENR | 8943; /* RCC->AHB1ENR |= RCC_AHB1ENR_GPIODEN; RCC->APB1ENR |= RCC_APB1ENR_TIM2EN;