Jared Boone
536c922577
Modified SSP driver to wait for data to be sent before returning. This is critical when controlling device CS# pins via GPIO. Long-term, it might be better to have a different API that permits this level of control.
2012-06-15 17:20:50 -07:00
Ken Sarkies
0fabe4462b
Fix Typo
2012-06-14 19:45:46 +09:30
Ken Sarkies
2f4cd29324
Code for iwdg module STM32F series
2012-06-13 22:14:53 +09:30
TitanMKD
c65ca01044
Fix Linker bug copy ROM to RAM & exec from RAM (need more test).
2012-06-13 01:05:49 +02:00
Karl Palsson
62849f043c
Add helper function for max clock on HSI for f100
...
Based on existing HSI code. Tested with f100c8, on custom board with no
external crystals or resonators.
2012-06-12 20:56:34 +00:00
Karl Palsson
71a3a7f2b1
Add Device Electronic Signature support.
...
Working unique id support, but not 100% convinced that this is the "least surprise"
path. ST's docs provide the bits from low to high, in 2xu16 and 2xu32.
But to get it back as a "u96" the highest bits should be first?
2012-06-12 20:53:59 +00:00
TitanMKD
3c8e76f679
Added ROM to RAM code copy & exec with example of how to use it (miniblink_rom_to_ram).
2012-06-10 11:44:36 +02:00
TitanMKD
8d97dbc7c3
Work on scs.h register and also nvic.h.
...
ARM Interrupt API (see nvic.h).
ARM SysTick API (see systick.h).
Example using both Interrupt and SysTick and blink LED1/2/3 see systickdemo.c.
2012-06-09 18:27:42 +02:00
Michael Ossmann
251687fe37
changed I2C to run directly from IRC
2012-06-06 22:05:03 -06:00
TitanMKD
8adc873e84
Fixed SSP, tested with Oscilloscope Write work fine (tested SPI Mode).
...
For more details on tests see ssp/README.
2012-06-06 00:30:25 +02:00
Michael Ossmann
3a4a6b75de
resolved minor conflict
2012-06-04 18:00:20 -06:00
Michael Ossmann
e7941eace9
added i2c.c that I forgot earlier
2012-06-04 17:57:49 -06:00
TitanMKD
d7a7fd9d30
* Added SSP Driver (Not Tested).
...
* Replaced leading space by tabulations.
2012-06-05 01:41:54 +02:00
Michael Ossmann
5698016877
moved stuff out of i2cdemo.c and into drivers/headers
2012-06-04 17:30:08 -06:00
TitanMKD
686c0cf050
Minor fix
2012-06-04 19:13:53 +02:00
TitanMKD
646e8f20f1
Merge branch 'master' of git://github.com/libopencm3/libopencm3
2012-06-03 18:55:42 +02:00
TitanMKD
cb1cd9d9d6
Merge branch 'master' of git://github.com/libopencm3/libopencm3
2012-06-02 09:47:52 +02:00
TitanMKD
e7fbc2220b
Added JellyBean Configuration for PinMux, GPIO In/Out (work in progress).
...
Added scu driver file scu.c.
Modified Makefile/Makefile.include to generate .map file and use -O2 as optimization.
Modified hackrf-jellybean miniblink.c to enable 1V8 and blink LED1,2&3 with configuration of PinMux and GPIO.
2012-06-02 09:45:03 +02:00
Nicolas Schodet
12a73ce052
Use ODR instead of IDR to toggle an output GPIO
...
IDR represents the level on pin input while ODR is the value requested by the
programmer. This makes a difference for example when using the output as open
drain.
2012-05-31 00:08:23 +02:00
Ken Sarkies
06620040aa
Header files for Doxygen group structure, layout changes to headings, example markup in stm32f1/ rcc
2012-05-28 21:38:55 +09:30
Michael Ossmann
38abe9f01f
replaced linker script I accidentally deleted
2012-05-27 23:07:13 -06:00
Michael Ossmann
82181c2cda
trying to rm again
2012-05-27 23:02:18 -06:00
Michael Ossmann
27b1597c1a
rm renamed file
2012-05-27 20:33:18 -06:00
Gareth McMullin
154f67598b
Fixed setting of interrupt priorities.
2012-05-26 20:47:47 +12:00
Piotr Esden-Tempski
7011d47c70
Mark reg32 variables as used. So that the compiler does not complain.
2012-05-25 17:56:15 -07:00
Michael Ossmann
4c37af55f4
renamed linker script
2012-05-22 14:46:05 -06:00
Michael Ossmann
3a9d48923a
semicolons might help
2012-05-22 14:21:11 -06:00
Michael Ossmann
61e162e3d2
Makefile updates
2012-05-22 14:20:39 -06:00
Michael Ossmann
ce14f4c077
updated linker script
2012-05-22 14:15:20 -06:00
Michael Ossmann
5e1bcaa582
gpio.c, vector.c updated for LPC43xx
2012-05-22 13:55:50 -06:00
Michael Ossmann
9439ce9d69
new lib/lpc43xx, starting with copy of lpc17xx
2012-05-22 10:59:27 -06:00
chrysn
282891f8a6
Merge branch 'master' into efm32
2012-05-01 13:49:34 +02:00
Piotr Esden-Tempski
3596075ee0
Fixed the linker scripts to be the way Tomaz Solc proposed.
...
Something went wrong when cherrypicking his commits in the pull request.
Sorry about that. :(
2012-04-25 17:34:07 +02:00
Piotr Esden-Tempski
3b20a5e34e
Removed the load address statement from the .bss section.
...
Otherwise the linker will complain: "section has both a load address and
a load region"
2012-04-24 09:34:39 +02:00
Tomaz Solc
bf65589183
Support for exception handling in linker scripts.
...
This is needed even in plain C when 64 bit variable (e.g. long long int)
arithmetic is used. For example it is required when newlib is compiled with
--enable-newlib-io-long-long.
Conflicts:
lib/stm32/f1/libopencm3_stm32f1.ld
lib/stm32/f2/libopencm3_stm32f2.ld
2012-04-24 09:16:22 +02:00
Tomaz Solc
5510e1fe3b
Wait for writes to finish upon exiting RTC config
...
This fixes race condition when rtc_get_counter_val() call immediately follows
rtc_set_counter_val().
2012-04-24 09:06:32 +02:00
Piotr Esden-Tempski
b8086b4ee2
Merge remote-tracking branch 'gsmcmullin/timer_input'
2012-04-20 16:41:16 -07:00
chrysn
09fea0bc1b
Merge branch 'master' into efm32
...
Conflicts:
Makefile
2012-04-19 17:28:55 +02:00
Gareth McMullin
8820277f09
Added functions for configuring timers in slave mode.
2012-04-08 14:12:21 +12:00
Gareth McMullin
a8ec86a527
Added functions for timer input capture polarity and enable/disable.
2012-04-08 13:55:16 +12:00
Gareth McMullin
4b041697f4
Added convenience function for timer input selection.
2012-04-08 11:56:42 +12:00
Gareth McMullin
a62473fbdf
Added convenience funcions for timer input capture filter and prescaler.
2012-04-08 11:11:52 +12:00
Gareth McMullin
567faa9b61
Corrected parameters of timer_set_mode() to u32.
2012-04-07 20:31:56 +12:00
Taylor Vesely
66c5f91a87
Implemented gpio_clear() for LPC17xx.
2012-03-27 16:42:36 -06:00
Taylor Vesely
f7bf15343d
Produced build system for Blueboard-LPC1768-H miniblink.
2012-03-27 08:55:19 -06:00
Taylor Vesely
bf2b8aad2f
Added a bunch of register definitions and gpio_set() to LPC17xx gpio.
2012-03-26 16:43:43 -06:00
Taylor Vesely
fa1c6bc632
Successfully compiled and ran miniblink.c for the Blueboard-LPC1768-H.
2012-03-22 16:22:22 -07:00
Taylor Vesely
caade97299
Created vector.c by example. Added reset_handler entry to linker script.
2012-03-22 16:22:22 -07:00
Taylor Vesely
968557dfbb
Copy-pasted linker script from LPC13xx to LPC17XX. Set up the ram and
...
rom regions for the Blueboard-LPC1768-H.
2012-03-22 16:22:22 -07:00
Taylor Vesely
60788fd9d2
Started porting to LPC17xx. Created file stubs and started conversion.
2012-03-22 16:22:21 -07:00
Piotr Esden-Tempski
26de4cb9d6
Constand value for resetting CAN_TDTxR was too big. Fixed.
2012-03-19 23:09:18 -07:00
Piotr Esden-Tempski
ec34e21ead
Changed parameter size for trigger enable.
2012-03-19 20:20:05 -07:00
Piotr Esden-Tempski
451a5e227d
Started some cleanup in the ADC headers and convenience code.
2012-03-19 17:38:24 -07:00
Piotr Esden-Tempski
4fbd42148a
Added basic exception handling to the stm32 linker scripts. Thanks Mike Smith!
2012-03-18 22:59:31 -07:00
Piotr Esden-Tempski
06d6f3e0e6
Made spi_init_master ignore CRC and SPE bits.
2012-03-14 21:00:53 -07:00
Piotr Esden-Tempski
789ae97212
Some additional LGPL3+ license change cleanups.
...
Changed the license to LGPL3+ for some makefiles that got ommited in the
previous big patch commit.
Corrected a find and replace error in a linker file.
2012-03-02 15:39:15 -08:00
chrysn
78c93dc779
add missed license headers to efm32 files
...
some files had nonstandard shared copyright lines, fixed them too
2012-03-03 00:26:55 +01:00
chrysn
4668adcf1f
follow the license change to lgpl3 in efm32
...
this follows the license change of the master branches in [43561de
]. all
files whose copyright is not my own are originally based on files whose
license has been changed in master.
the expression used for the conversion was:
sed -i -e 's/This program is free software: you can redistribute/This library is free software: you can redistribute/g' -e 's/under the terms of the GNU General Public License as published/under the terms of the GNU Lesser General Public License as published/' -e 's/This program is distributed in the hope that/This library is distributed in the hope that/g' -e 's/You should have received a copy of the GNU General/You should have received a copy of the GNU Lesser General/' -e 's/along with this program. If not/along with this library. If not/' -e 's/GNU General Public License for more details/GNU Lesser General Public License for more details/' */**/efm32/**/*(.)
[43561de
] 43561de329
2012-03-03 00:21:21 +01:00
chrysn
563586c072
Merge branch 'master' into efm32
2012-03-02 23:59:52 +01:00
Piotr Esden-Tempski
43561de329
License change of the library to LGPL, version 3 or later.
...
Agreed to by all the significant contributors to the library.
2012-03-02 14:44:49 -08:00
chrysn
541fded753
convenience functions for efm32 gpio
...
also, the whole gpio header file is now a big doxygen group, structuring
the convenience functions and the register/value definitions
2012-03-01 02:18:22 +01:00
Piotr Esden-Tempski
ec904f176b
Cleaned up and streamlined DMA support for f1. Definitely needs a bunch of testing!
2012-02-29 16:02:51 -08:00
Piotr Esden-Tempski
20c5e56234
Fixed spi convenience reset function to compile properly.
2012-02-29 12:02:36 -08:00
Piotr Esden-Tempski
c49f505df4
Added spi reset convenience function.
2012-02-28 11:28:29 -08:00
chrysn
d6a314bed7
efm32: make all interrupts usable in vector table
...
* define weak symbol for ${irq_name}_isr
* put them in the rom vector table
* declare reset_vector weak in case someone wants to insert code there
* remove null_handler (null handlers should be only requested
explicitly, and finding out why the chip gets stuck is easier than
determining whether or not a no-op interrupt handler was executed)
2012-02-27 14:00:34 +01:00
chrysn
2275ed7b0c
overhauled documentation
...
includes minor refactoring in example code and modification of how the
generic and the tinygecko specific vector.h go together (bringing it in
line with stm32/f1's memorymap.h)
2012-02-26 03:42:25 +01:00
chrysn
2180a02e2f
first attempt at porting libopencm3 to energymicro
...
unless sources are explicitly given, the linker scripts and make files
were copied over from the stm32/f1 port.
2012-02-25 23:22:37 +01:00
Piotr Esden-Tempski
2b3f07ee08
Added reset function to i2c convenience functions.
2012-02-24 17:14:50 -08:00
Piotr Esden-Tempski
cbef43ddd8
Added set priority group convenience function.
2012-02-24 16:43:37 -08:00
Gareth McMullin
03e44e91e3
Linker scripts provide stack pointer at the top of RAM.
...
Thanks to Tomaz Solc.
2012-02-12 15:00:09 -08:00
Mike Smith
7da1967056
Add an interface for soft disconnection, and hook it up in the F107 driver.
2012-02-12 15:00:08 -08:00
Mike Smith
5310cd1b57
Flash sector erase requires the FLASH_SER bit set.
2012-02-12 15:00:08 -08:00
Piotr Esden-Tempski
1a3ad6e998
Added the entry point definiton to all stm32 linker scripts. This allows gdb to reset the target correctly on exit.
2012-02-11 22:24:41 -08:00
Uwe Hermann
9532195e65
More coding-style and cosmetic fixes.
2012-02-06 23:39:06 +01:00
Fergus Noble
3e47a46c5c
Fix numerous bugs in NVIC convenience functions, doing an |= on a clear register will clear ALL currently enabled irqs, not just the one you specified and other things of that sort. Also changed to support the full range of irq numbers supported by ARMv7M, not just the first 68 used in the STM32F1 series.
2012-02-06 23:08:07 +01:00
Fergus Noble
477c410be4
Added functions to enable and disable DMA from stm32 USART.
2012-02-06 23:08:07 +01:00
Fergus Noble
7c67322f75
Change stm32 usart baud rate generation to round rather than floor for more accurate divisor selection.
2012-02-06 23:08:07 +01:00
Fergus Noble
ac29b654a9
Fix nasty bug with GPIO alternate function setup on F2/F4 (sorry guys).
2012-02-06 23:08:06 +01:00
Fergus Noble
5dce4172a8
Fix bug with F4 clock settings, change HPRE to PPRE.
2012-02-06 23:08:06 +01:00
Fergus Noble
fae83c43c1
Discard .ARM.exidx section to make newlib 64bit (long long) printf support work. This may need to be fixed if using C++.
2012-02-06 23:08:06 +01:00
Fergus Noble
8cc888a030
Fixing small bug/typo in F2 rcc code.
2012-02-06 23:08:06 +01:00
Gareth McMullin
0731bba610
usb: Added support for Interface Association descriptors.
2011-12-28 21:05:41 +13:00
Gareth McMullin
651917aeb4
Added USB example for stm32f4.
...
Moved clock enable for OTG_FS back into applications. This and gpio config
are the only differences between f107 and f2xx/f4xx.
2011-12-17 14:11:39 +13:00
Piotr Esden-Tempski
8af809a12a
Reverted the api of the usart_set_baudrate function to hide the clock rail selection again.
2011-11-16 18:41:48 -08:00
Piotr Esden-Tempski
bf4f8480a6
Added address legend to the interrupt vector. Made it easier to crosscheck for correctness.
2011-11-16 18:41:48 -08:00
Piotr Esden-Tempski
c6f30043fd
Added UART4 and UART5 gpio definitions for stm32f1. Also corrected the naming everywhere. Both peripherals are UARTS not U_S_ARTS.
2011-11-16 18:17:56 -08:00
Uwe Hermann
608ca2a811
stm32/f1/gpio.c: Add some Doxygen comments.
2011-11-17 00:12:47 +01:00
Uwe Hermann
373794ab68
usb: Fix some Doxygen comments.
2011-11-17 00:12:47 +01:00
Uwe Hermann
3e9b9cb345
usb: Coding-style fixes.
2011-11-17 00:12:43 +01:00
Uwe Hermann
d97c937b8e
lib: More small fixes.
2011-11-17 00:09:29 +01:00
Uwe Hermann
0d25aa3fcd
lib/stm32/f4: Coding-style fixes.
2011-11-17 00:09:28 +01:00
Uwe Hermann
50f680f3f7
lib/stm32/f2: Coding-style fixes.
2011-11-17 00:09:27 +01:00
Uwe Hermann
8725bc5171
lib/stm32/f1: Coding-style fixes.
2011-11-17 00:09:27 +01:00
Uwe Hermann
6e7403f769
lib/stm32/*.c: Coding-style fixes.
2011-11-17 00:09:26 +01:00
Gareth McMullin
30e188cf07
Only allow one packet in TX fifos.
...
This fixes a problem where packets were written too quickly.
The hardware disabled the endpoint after the fist packet is sent,
and others just waited in the queue.
2011-11-12 21:44:37 +13:00
Gareth McMullin
7546ad9736
Fixed loading of .data in linker scripts.
...
This fixes a problem where the linker included some padding
bytes between the end of the .text section (_etext) and the
start of the .data section.
The C runtime copies from _etext, so all static initialised data
was corrupted. This change forces the .data section to be written
at _etext to avoid this problem.
2011-11-12 21:29:41 +13:00
Uwe Hermann
6462a646d1
stm32/spi.c: Coding style fixes and typo fixes.
2011-11-10 22:45:56 +01:00
Stephen Caudle
4c18313da6
Fix alignment issue in data section
2011-11-07 23:23:16 -05:00
Stephen Caudle
d9a76c75c2
Add timer support for STM32F2 & STM32F4
2011-11-02 14:26:36 -04:00
Stephen Caudle
62c105abeb
Fix APB1 & APB2 frequencies in STM32F4 RCC table
2011-11-02 14:26:33 -04:00
Stephen Caudle
c26abb6c25
Add pwr to STM32F4 makefile
2011-11-02 14:26:31 -04:00
Gareth McMullin
e0fe43357d
usb_f107: Fixed lost 4 bytes on control OUT transaction.
2011-10-31 14:09:41 -07:00
Stephen Caudle
5a89d44591
Add initial support for STM32F4
2011-10-31 00:41:19 -04:00
Stephen Caudle
05bc9d10f1
Add generic STM32F2 RCC clock function
2011-10-31 00:17:53 -04:00
Stephen Caudle
68d2e0d1e3
Fix stm32f2 RCC PLL values for 120MHz
2011-10-30 18:17:33 -04:00
Stephen Caudle
eb47f0cfc0
Add SCB from stm32f1
2011-10-30 17:42:49 -04:00
Stephen Caudle
1dc4645732
Update makefiles to reflect stm32 lib folder name changes
2011-10-30 17:42:49 -04:00
Stephen Caudle
b3a710b0bc
Rename stm32 lib folders to be consistent with include
2011-10-30 17:42:49 -04:00
Uwe Hermann
788f3870c4
Merge remote-tracking branch 'fnoble/stm32f2'
2011-10-29 22:19:12 +02:00
Gareth McMullin
284be93037
Restored OTG clock enable in RCC in f107 usb init.
2011-10-29 23:57:10 +13:00
Gareth McMullin
b05a5dcf2a
Fixed some F105/F107 USB issues. Added user callback on SOF.
...
Made examples depend on lib.
2011-10-29 21:30:26 +13:00
Stephen Caudle
fd2524beb0
Merge remote-tracking branch 'fnoble/stm32f2' into stm32fx
...
Conflicts:
lib/stm32f2/Makefile
2011-10-27 23:39:16 -04:00
Stephen Caudle
36cff03af1
Add RCC and FLASH support for STM32F2
2011-10-27 23:34:52 -04:00
Fergus Noble
0f6a0276aa
Merge branch 'stm32f2' of github.com:fnoble/libopenstm32 into stm32f2
2011-10-26 13:33:40 -07:00
Fergus Noble
869a0df701
Adding new EXTI stuff to F2 makefile.
2011-10-26 13:30:44 -07:00
Fergus Noble
7877aaeebc
Better way to toggle a pin.
2011-10-26 13:30:27 -07:00
Fergus Noble
8974be7435
Added convenience function code for EXTI on F2.
2011-10-26 13:29:52 -07:00
Fergus Noble
ae44add1b6
Merge branch 'stm32fx' of https://github.com/doceme/libopenstm32 into stm32f2
...
Conflicts:
Makefile
examples/stm32/lisa-m/fancyblink/fancyblink.ld
examples/stm32/lisa-m/usb_hid/usbhid.ld
examples/stm32/mb525/fancyblink/fancyblink.ld
examples/stm32/obldc/usart_irq/usart_irq.ld
examples/stm32/other/usb_dfu/usbdfu.c
examples/stm32/stm32-h103/fancyblink/fancyblink.ld
examples/stm32/stm32-h103/usart_irq/usart_irq.ld
examples/stm32/stm32-h103/usb_dfu/usbdfu.c
examples/stm32/stm32-h103/usb_hid/usbhid.ld
examples/stm32f1/Makefile.include
examples/stm32f1/lisa-m/fancyblink/fancyblink.ld
examples/stm32f1/lisa-m/usb_hid/usbhid.ld
examples/stm32f1/mb525/fancyblink/fancyblink.ld
examples/stm32f1/obldc/usart_irq/usart_irq.ld
examples/stm32f1/other/usb_dfu/usbdfu.c
examples/stm32f1/stm32-h103/fancyblink/fancyblink.ld
examples/stm32f1/stm32-h103/usart_irq/usart_irq.ld
examples/stm32f1/stm32-h103/usb_dfu/usbdfu.c
examples/stm32f1/stm32-h103/usb_hid/usbhid.ld
examples/stm32f2/jobygps/usart_printf/usart_printf.ld
lib/lm3s/Makefile
lib/lpc13xx/Makefile
lib/stm32f1/Makefile
2011-10-13 00:11:32 -07:00
Fergus Noble
82768447c8
Merge branch 'stm32f2' of github.com:fnoble/libopenstm32 into stm32f2
2011-10-12 23:59:16 -07:00
Fergus Noble
2095715eb1
I think we want to wait before we send the UART byte rather than after...
2011-10-12 23:58:37 -07:00
Fergus Noble
878c094871
Added alternative function for doing an SPI transfer.
2011-10-12 22:20:22 -04:00
Fergus Noble
14dcda91b0
Fixing some more header references
2011-10-12 22:20:22 -04:00
Fergus Noble
7518bc83c1
Fixing some header references
2011-10-12 22:20:22 -04:00
Fergus Noble
e772992f4c
Some more silly bugs in GPIO fixed for F2.
2011-10-12 22:18:44 -04:00
Fergus Noble
e7f909c502
Minor fixes to the SPI code, mainly you should check that the TX buffer is empty before rather than after sending.
2011-10-12 22:18:44 -04:00
Fergus Noble
53f1c75c53
Fixed bug in F2 GPIO code.
2011-10-12 22:18:43 -04:00
Fergus Noble
d1272acaad
Initial move of USART code to common, still needs some work.
2011-10-12 22:18:43 -04:00
Fergus Noble
7133e79239
Change default prefix in Makefiles to arm-none-eabi for compatability with summon toolchain out the box.
2011-10-12 22:18:43 -04:00
Fergus Noble
4d02d36d6b
Moving nvic code to common, adding F1 and F2 specific user interrupt definition headers.
2011-10-12 22:17:16 -04:00
Fergus Noble
010ee53298
Moved SPI to stm32 common.
2011-10-12 22:17:16 -04:00
Fergus Noble
72baa300ab
Moved I2C to stm32 common.
2011-10-12 22:17:16 -04:00
Fergus Noble
ca412a9ed2
Move systick to stm32 common.
2011-10-12 22:17:16 -04:00
Fergus Noble
ce7dd46aef
Update F1 libs with new header file locations.
2011-10-12 22:13:02 -04:00
Fergus Noble
a4935eef57
Add family define for the F1 Makefile and add a Makefile for the F2.
2011-10-12 22:13:02 -04:00
Fergus Noble
7524b0f4c5
Adding vector table for F2.
2011-10-12 22:13:02 -04:00
Fergus Noble
8a2cf9dd4b
Copying F1 linker script over to the F2 target, hopefully it should be the same!
2011-10-12 22:13:02 -04:00
Fergus Noble
775288bc13
Renaming things in the F1 target Makefile.
2011-10-12 22:13:02 -04:00
Fergus Noble
60dcacccb7
Some updates to the F2 GPIO header plus implementation of GPIO convenience functions.
2011-10-12 22:13:01 -04:00
Fergus Noble
424b094ce8
Renaming lib code for stm32 f1 series.
2011-10-12 22:13:01 -04:00
Fergus Noble
c63001c6cd
Henry is a grammar nazi.
2011-10-04 17:13:49 -07:00
Fergus Noble
4809f7dacf
Added alternative function for doing an SPI transfer.
2011-10-04 16:06:01 -07:00
Piotr Esden-Tempski
03a4a18ed6
Switched all makefiles to arm-none-eabi default.
2011-10-04 13:08:35 -07:00
Fergus Noble
71909482de
Fixing some more header references
2011-09-27 17:19:24 -07:00
Fergus Noble
59c1c40e2c
Fixing some header references
2011-09-27 17:18:15 -07:00
Fergus Noble
d4d7370963
Some more silly bugs in GPIO fixed for F2.
2011-09-23 13:05:12 -07:00
Fergus Noble
3c67ef7d07
Minor fixes to the SPI code, mainly you should check that the TX buffer is empty before rather than after sending.
2011-09-23 13:04:54 -07:00
Fergus Noble
25ed4d5af0
Fixed bug in F2 GPIO code.
2011-09-22 14:23:25 -07:00
Fergus Noble
508e18b26b
Initial move of USART code to common, still needs some work.
2011-09-22 13:52:43 -07:00
Fergus Noble
551d069ed3
Change default prefix in Makefiles to arm-none-eabi for compatability with summon toolchain out the box.
2011-09-16 23:14:07 -07:00
Fergus Noble
3a426b34aa
Moving nvic code to common, adding F1 and F2 specific user interrupt definition headers.
2011-09-15 16:26:39 -07:00