contributions from Vincent Stehle: M3 support and better specification for A8.
diff --git a/exports/arm_targets.zip b/exports/arm_targets.zip
index 3eb8c49..1f662cf 100644
--- a/exports/arm_targets.zip
+++ b/exports/arm_targets.zip
Binary files differ
diff --git a/exports/arm_targets_rts.zip b/exports/arm_targets_rts.zip
index cd193c6..26fd412 100644
--- a/exports/arm_targets_rts.zip
+++ b/exports/arm_targets_rts.zip
Binary files differ
diff --git a/makefile b/makefile
index 783f22c..df1f399 100644
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-XDCROOT = $(TOOLS)/vendors/xdc/xdctools_3_15_00_36/$(BUILD_HOST_OS)
+XDCROOT = $(TOOLS)/vendors/xdc/xdctools_3_15_00_50/$(BUILD_HOST_OS)
all:
@$(XDCROOT)/xdc release -PR src
diff --git a/src/arm/targets/CortexA8.xdc b/src/arm/targets/CortexA8.xdc
index 937f11d..fb58e6e 100644
--- a/src/arm/targets/CortexA8.xdc
+++ b/src/arm/targets/CortexA8.xdc
@@ -29,9 +29,32 @@
*
* - `--littleend`
* force little endian compile implied by this target
+ *
+ * - `--cpu=Cortex-A8`
+ * Specify architecture.
+ *
+ * - `--fpu=vfpv3`
+ * Specify FPU.
*/
override readonly config arm.targets.ITarget.Command cc = {
cmd: "$(rootDir)/Programs/$(VERS)/$(TARG)/armcc",
- opts: "-c --depend=$@.dep --depend-format=unix --littleend"
+ opts: "-c --depend=$@.dep --depend-format=unix --littleend --cpu=Cortex-A8 --fpu=vfpv3"
+ };
+
+ /*
+ * The command used to assemble assembly source files into object files
+ * @p(dlist)
+ * - `--littleend`
+ * force little endian compile implied by this target
+ *
+ * - `--cpu=Cortex-A8`
+ * Specify architecture.
+ *
+ * - `--fpu=vfpv3`
+ * Specify FPU.
+ */
+ override readonly config arm.targets.ITarget.Command asm = {
+ cmd: "$(rootDir)/Programs/$(VERS)/$(TARG)/armasm",
+ opts: "--littleend --cpu=Cortex-A8 --fpu=vfpv3"
};
}
diff --git a/src/arm/targets/package.xdc b/src/arm/targets/package.xdc
index 3ea399c..77ca2a3 100644
--- a/src/arm/targets/package.xdc
+++ b/src/arm/targets/package.xdc
@@ -1,3 +1,4 @@
package arm.targets {
module CortexA8;
+ module CortexM3;
}