aboutsummaryrefslogtreecommitdiff
path: root/targets/baremetal-sdk/curie-bsp/jerry_app/include/project_mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'targets/baremetal-sdk/curie-bsp/jerry_app/include/project_mapping.h')
-rw-r--r--targets/baremetal-sdk/curie-bsp/jerry_app/include/project_mapping.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/targets/baremetal-sdk/curie-bsp/jerry_app/include/project_mapping.h b/targets/baremetal-sdk/curie-bsp/jerry_app/include/project_mapping.h
new file mode 100644
index 00000000..2182d88b
--- /dev/null
+++ b/targets/baremetal-sdk/curie-bsp/jerry_app/include/project_mapping.h
@@ -0,0 +1,30 @@
+/* Copyright JS Foundation and other contributors, http://js.foundation
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * Allow project to override this partition scheme
+ * The following variables are allowed to be defined:
+ *
+ * QUARK_START_PAGE the first page where the QUARK code is located
+ * QUARK_NB_PAGE the number of pages reserved for the QUARK. The ARC gets the
+ * remaining pages (out of 148).
+ */
+#ifndef PROJECT_MAPPING_H
+#define PROJECT_MAPPING_H
+
+#define QUARK_NB_PAGE 125
+#include "machine/soc/intel/quark_se/quark_se_mapping.h"
+
+#endif /* !PROJECT_MAPPING_H */