diff options
Diffstat (limited to 'cmake/intel')
-rw-r--r-- | cmake/intel/d2000.cmake | 11 | ||||
-rw-r--r-- | cmake/intel/gdb.cmake | 4 | ||||
-rw-r--r-- | cmake/intel/openocd.cmake | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/cmake/intel/d2000.cmake b/cmake/intel/d2000.cmake new file mode 100644 index 0000000..2ddca80 --- /dev/null +++ b/cmake/intel/d2000.cmake @@ -0,0 +1,11 @@ +function(d2000_init) + list(APPEND includes "${ISSM_DIR}/firmware/bsp/1.0/soc/quark_d2000/include") + set(includes "${includes}" PARENT_SCOPE) + set(ld_file "${ISSM_DIR}/firmware/bsp/1.0/soc/quark_d2000/quark_d2000.ld" PARENT_SCOPE) + + list(APPEND mcu_text_areas 0x00180000:20k) + export_variable(mcu_text_areas) + + list(APPEND mcu_data_areas 0x00280000:5k) + export_variable(mcu_data_areas) +endfunction() diff --git a/cmake/intel/gdb.cmake b/cmake/intel/gdb.cmake new file mode 100644 index 0000000..b6840cb --- /dev/null +++ b/cmake/intel/gdb.cmake @@ -0,0 +1,4 @@ +function(gdb_init) + set(gdb_bin "${ISSM_DIR}/tools/debugger/gdb/gdb-ia") + export_variable(gdb_bin) +endfunction() diff --git a/cmake/intel/openocd.cmake b/cmake/intel/openocd.cmake new file mode 100644 index 0000000..e7ce892 --- /dev/null +++ b/cmake/intel/openocd.cmake @@ -0,0 +1,6 @@ +function(openocd_init) + set(openocd_bin "${ISSM_DIR}/tools/debugger/openocd/bin/openocd") + export_variable(openocd_bin) + set(openocd_scripts "${ISSM_DIR}/tools/debugger/openocd/scripts") + export_variable(openocd_scripts) +endfunction() |