706 Commits

Author SHA1 Message Date
Michael Ossmann
328cf2a2b7 I2C register definitions 2012-05-29 11:52:08 -06:00
Michael Ossmann
0d3fbc154b basic usb.h (only USB0 registers so far) 2012-05-29 11:23:14 -06:00
Michael Ossmann
8b98d63c5d better? names in creg.h 2012-05-28 17:05:50 -06:00
Michael Ossmann
5585e41311 remembered to use MMIO32() everywhere 2012-05-28 16:59:18 -06:00
Michael Ossmann
98bb0b5c91 started nvic.h with some interrupt IDs 2012-05-28 16:52:12 -06:00
Michael Ossmann
a0a646d4a5 basic rgu.h 2012-05-28 16:27:08 -06:00
Michael Ossmann
79e46f0ca8 typographical fix 2012-05-28 16:15:53 -06:00
Michael Ossmann
130a579a59 basic ccu.h 2012-05-28 16:15:33 -06:00
Michael Ossmann
281e2291ce basic cgu.h 2012-05-28 15:32:51 -06:00
Michael Ossmann
8666905e3a basic creg.h 2012-05-28 15:02:33 -06:00
Michael Ossmann
8f19691438 completed LPC43xx memorymap.h 2012-05-28 14:45:03 -06:00
Michael Ossmann
713a210b59 basic SGPIO header 2012-05-28 14:02:39 -06:00
Michael Ossmann
38abe9f01f replaced linker script I accidentally deleted 2012-05-27 23:07:13 -06:00
Michael Ossmann
3e036a107f added diolan-lpc-4350-db1 examples 2012-05-27 23:02:56 -06:00
Michael Ossmann
82181c2cda trying to rm again 2012-05-27 23:02:18 -06:00
Michael Ossmann
24cc217d10 lpcvtcksum: a simple Python program for generating LPC43xx vector table signatures 2012-05-27 22:57:56 -06:00
Michael Ossmann
27b1597c1a rm renamed file 2012-05-27 20:33:18 -06:00
Michael Ossmann
9645172453 lpc43xx example, copied from lpc17xx and modified 2012-05-22 14:47:27 -06:00
Michael Ossmann
4c37af55f4 renamed linker script 2012-05-22 14:46:05 -06:00
Michael Ossmann
50999194d2 added lpc43xx to target list 2012-05-22 14:23:57 -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
7d434c3ebc typo fix 2012-05-22 14:19:45 -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
Michael Ossmann
3a3c306ee3 #include fix 2012-05-22 10:39:29 -06:00
Michael Ossmann
95224dbc5e finished gpio.h and memorymap.h changes for LPC43xx but still much to fill in 2012-05-22 10:38:49 -06:00
Michael Ossmann
ba35602e3d started gpio.h lpc43xx changes 2012-05-21 22:39:21 -06:00
Michael Ossmann
b6d1dc06d1 started include/lpc43xx with copy of lpc17xx 2012-05-21 22:38:24 -06: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
c3038bc876 Added rcc.h include, needed for osc_t. 2012-04-24 09:08:49 +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
0d50b97ed5 Correct DMA_CCR_MSIZE and PSIZE bit masks. Thanks Tomas Solic. 2012-04-20 21:16:23 -07:00
Piotr Esden-Tempski
b97c59e462 Initial implementation of DAC registers for stm32 by Felix Held 2012-04-20 21:08:38 -07:00
Piotr Esden-Tempski
b8086b4ee2 Merge remote-tracking branch 'gsmcmullin/timer_input' 2012-04-20 16:41:16 -07: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
Gareth McMullin
3be6cd8f76 Corrected bit definitions for capture/compare input selection.
Thanks to Linux Casassa.
2012-04-07 09:01:39 +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
9eb77c9fd7 Wrote miniblink.c for Blueboard-LPC1768-H, cleaned up gpio.h. 2012-03-22 16:22:22 -07:00