289 Commits

Author SHA1 Message Date
chrysn
4a6f4c0f7d remove the support libraries for efm32
i don't plan to extend or support them, and they'll just grow stale
2012-09-15 01:29:31 +02:00
chrysn
50b3c92d7f removed efm32lib examples
they would have needed migration work from efm32lib to emlib, and depend
on non-free cmsis anyway.
2012-09-13 23:41:52 +02:00
chrysn
0508f30d2d Merge branch 'master' into efm32
Conflicts:
	Doxyfile
	Makefile
2012-09-13 22:32:28 +02:00
Piotr Esden-Tempski
dcd98dde86 Renamed adc example to be more descriptive. 2012-09-10 14:01:24 -07:00
Piotr Esden-Tempski
d1cc8ca2b3 Added simple adc example for lisa/m 2. 2012-09-10 14:01:23 -07:00
Thomas Waldecker
5604182467 added a make target stlink-flash to use the stlink on the stm32f4-disovery 2012-09-06 11:33:01 +02:00
Piotr Esden-Tempski
11727f56c9 Minor build system fixes. 2012-08-25 19:53:15 -07:00
Piotr Esden-Tempski
fa5d689f78 Use make wildcard command for source dir detect. Library path fix.
Thanks ni!
2012-08-14 17:48:23 -07:00
Piotr Esden-Tempski
b82e7eee52 Examples detect if they are being built in src dir.
If an example is in the libopencm3 source directory it will use the
locally built library instead of the system library.

When you copy an example out of the libopencm3 tree it will
automatically detect it and build using the system wide installation.
2012-08-13 15:29:01 -07:00
Piotr Esden-Tempski
3441bba1c4 Changed local build target for library and linker files.
- The library files are now being built into the lib subdirectory of the
  source.
- The linker files for each library are being copied into the lib source
  subdirectory.

Motivation: The relative locations of files in the source directory after make
are now the same as after make install now. This makes it easier to
reuse examples with their makefiles outside of the libopencm3
sourcecode directory.
2012-08-13 15:19:57 -07:00
Karl Palsson
6574baa767 Fix link flags to specify cpu instead of (wrong) arch.
-march=armv7 is NOT right for cortex-m3, and results in unexpected
arm code being linked in when using multilib toolchains
2012-06-29 02:09:50 -07:00
TitanMKD
c65ca01044 Fix Linker bug copy ROM to RAM & exec from RAM (need more test). 2012-06-13 01:05:49 +02: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
161aad0139 quick comment fix 2012-06-07 07:14:17 -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
a39df46db4 removed some unused SCU config 2012-06-05 07:33:22 -06:00
Michael Ossmann
3a4a6b75de resolved minor conflict 2012-06-04 18:00:20 -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
Michael Ossmann
44db38301c fixed i2cdemo to supply 1V8 for Si5351C output supply 2012-06-04 16:41:12 -06:00
TitanMKD
23ad036ed6 Merge branch 'master' of git://github.com/mossmann/libopencm3 2012-06-03 23:49:00 +02:00
Michael Ossmann
b55d006d02 got I2C demo working but stuff still needs to be moved out of here and into drivers 2012-06-03 14:55:51 -06:00
TitanMKD
67a048b5b0 Added SCU I2C0 specific configuration. 2012-06-03 18:57:33 +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
Michael Ossmann
10e71edb82 started i2c example, still incomplete and much will be moved to drivers/headers elsewhere 2012-05-30 10:08:04 -06:00
Michael Ossmann
3e036a107f added diolan-lpc-4350-db1 examples 2012-05-27 23:02:56 -06:00
Michael Ossmann
9645172453 lpc43xx example, copied from lpc17xx and modified 2012-05-22 14:47:27 -06:00
chrysn
282891f8a6 Merge branch 'master' into efm32 2012-05-01 13:49:34 +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
chrysn
8359caff3b moved core_cm3.h to more general location 2012-04-22 22:07:01 +02:00
chrysn
09fea0bc1b Merge branch 'master' into efm32
Conflicts:
	Makefile
2012-04-19 17:28:55 +02:00
chrysn
705cdab7d7 extend the cmsis emulation layer to compile with the complete efm32lib
most of this is non-functional but just a list of stubs that are
absolutely required to make it compile
2012-04-19 13:15:34 +02:00
chrysn
43acfc531a use eacommander instead of jlink for example uploading 2012-04-17 00:38:42 +02:00
chrysn
fac680ecf4 very simple demo for other board
using efm32lib and hacked-together makefiles
2012-04-17 00:07:26 +02:00
chrysn
0e62b15125 added lcd example
the way text is generated is currently rather awkward, looking for a
better solution.
2012-04-04 19:59:47 +02: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
chrysn
48b3cd49fb first working example utilizing efm32lib
this *does* include hardcoded paths of my local machine; that will be
fixed with the next commits.
2012-03-23 01:18:16 +01:00
Taylor Vesely
9eb77c9fd7 Wrote miniblink.c for Blueboard-LPC1768-H, cleaned up gpio.h. 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
b7875d0230 Added dma based usart IO example. 2012-03-14 13:17:43 -07:00
Piotr Esden-Tempski
1b7cd12f20 Added irq usart example for lisa/m 2.0 2012-03-12 00:01:48 -07:00
Piotr Esden-Tempski
b41987dc7a Added blocking usart printf for lisa/m 2.0 2012-03-11 23:55:24 -07:00
Piotr Esden-Tempski
22706613d9 Added usart irq example for lisa/m 2.0 2012-03-11 23:26:28 -07:00
Piotr Esden-Tempski
7e9425bdac Added usart example to lisa/m 2.0 2012-03-11 23:12:26 -07:00
Uwe Hermann
7907b29113 Fix search-replace left-over. 2012-03-03 00:46:07 +01: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