Commit Graph

20 Commits

Author SHA1 Message Date
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
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