aboutsummaryrefslogtreecommitdiff
path: root/lib/lpc13xx
diff options
context:
space:
mode:
authorUwe Hermann2010-12-31 18:18:39 +0100
committerUwe Hermann2010-12-31 18:18:39 +0100
commit8f251e8a9d46634be4741f7f1aef3d52fb1b7dba (patch)
treefb3c17756e0b18fe19ca28f0f67b2ae636cac807 /lib/lpc13xx
parent95793aa6cedeef06db9592602ecf3dc00edec610 (diff)
Some more file/path restructuring.
All #includes now explicitly use the "<libopencm3/stm32/rcc.h>" format. If you want to get rid of the "libopencm3" prefix in your local project you can add a respective -I entry in your Makefile (not recommended though). All .ld files and .a libs are installed in $(TOOLCHAIN_DIR)/lib directly (as before), but are now renamed to avoid potential conflicts now or in the future. Examples: libopencm3_lpc13xx.a libopencm3_lpc13xx.ld libopencm3_stm32.a libopencm3_stm32.ld
Diffstat (limited to 'lib/lpc13xx')
-rw-r--r--lib/lpc13xx/gpio.c2
-rw-r--r--lib/lpc13xx/libopencm3_lpc13xx.ld (renamed from lib/lpc13xx/lpc13xx.ld)0
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/lpc13xx/gpio.c b/lib/lpc13xx/gpio.c
index 5fe4ea7..9eb057e 100644
--- a/lib/lpc13xx/gpio.c
+++ b/lib/lpc13xx/gpio.c
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <lpc13xx/gpio.h>
+#include <libopencm3/lpc13xx/gpio.h>
void gpio_set(u32 gpioport, u16 gpios)
{
diff --git a/lib/lpc13xx/lpc13xx.ld b/lib/lpc13xx/libopencm3_lpc13xx.ld
index c709a8c..c709a8c 100644
--- a/lib/lpc13xx/lpc13xx.ld
+++ b/lib/lpc13xx/libopencm3_lpc13xx.ld