Calypso/Compal_e86 update from Craig Comstock

This commit is contained in:
Gregory Nutt
2015-04-16 09:11:47 -06:00
parent 6c17a4978d
commit 1f193dd515
3 changed files with 9 additions and 6 deletions
+6 -1
View File
@@ -43,6 +43,7 @@
#include <unistd.h>
#include <semaphore.h>
#include <debug.h>
#include <errno.h>
#include "up_arch.h"
#include "calypso_spi.h"
@@ -66,8 +67,12 @@ struct calypso_spidev_s
};
/* STUBS! */
#ifndef CONFIG_SPI_OWNBUS
static int spi_lock(FAR struct spi_dev_s *dev, bool lock);
static int spi_lock(FAR struct spi_dev_s *dev, bool lock)
{
return -ENOSYS;
}
#endif
static void spi_select(FAR struct spi_dev_s *dev, enum spi_dev_e devid,
+2 -2
View File
@@ -15,8 +15,8 @@ MEMORY
/* E86 stacked flash 32mbit flash, 4mbit sram, DBB internal 256kb SRAM */
/* 0x800000-0x87ffff */ /* bump up because we have 32mbit instead of 16mbit */
/* compal-loaded binary: our text, initialized data */
LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00040000
TRAM (rw) : ORIGIN = 0x00840000, LENGTH = 0x00020000
LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00020000
TRAM (rw) : ORIGIN = 0x00820000, LENGTH = 0x00040000
/* compal-loaded binary: our unitialized data, stacks, heap */
IRAM (rw) : ORIGIN = 0x00860000, LENGTH = 0x00020000
+1 -3
View File
@@ -60,9 +60,7 @@ $(COBJS) $(LINKOBJS): %$(OBJEXT): %.c
$(call COMPILE, $<, $@)
libboard$(LIBEXT): $(OBJS)
@( for obj in $(OBJS) ; do \
$(call ARCHIVE, $@, $${obj}); \
done ; )
$(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS)
@$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep