diff --git a/examples/CC3200/ccs/MG_sensor_demo/.ccsproject b/examples/CC3200/ccs/MG_sensor_demo/.ccsproject new file mode 100644 index 00000000..e5975ba8 --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.ccsproject @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/examples/CC3200/ccs/MG_sensor_demo/.cproject b/examples/CC3200/ccs/MG_sensor_demo/.cproject new file mode 100644 index 00000000..1cf62a46 --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.cproject @@ -0,0 +1,209 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/CC3200/ccs/MG_sensor_demo/.project b/examples/CC3200/ccs/MG_sensor_demo/.project new file mode 100644 index 00000000..e8c4a2de --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.project @@ -0,0 +1,105 @@ + + + MG_sensor_demo + + + Mongoose + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.ti.ccstudio.core.ccsNature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + bm222.c + 1 + copy_PARENT/bm222.c + + + bm222.h + 1 + copy_PARENT/bm222.h + + + data.c + 1 + copy_PARENT/data.c + + + data.h + 1 + copy_PARENT/data.h + + + gpio_if.c + 1 + CC3200_SDK_ROOT/example/common/gpio_if.c + + + i2c_if.c + 1 + CC3200_SDK_ROOT/example/common/i2c_if.c + + + main.c + 1 + copy_PARENT/main.c + + + network_common.c + 1 + CC3200_SDK_ROOT/example/common/network_common.c + + + startup_ccs.c + 1 + CC3200_SDK_ROOT/example/common/startup_ccs.c + + + tmp006.c + 1 + copy_PARENT/tmp006.c + + + tmp006.h + 1 + copy_PARENT/tmp006.h + + + wifi.c + 1 + copy_PARENT/wifi.c + + + wifi.h + 1 + copy_PARENT/wifi.h + + + + + CC3200_SDK_ROOT + $%7BTI_PRODUCTS_DIR%7D/CC3200SDK_1.2.0/cc3200-sdk + + + copy_PARENT + file:/Z:/cesanta/dev/mongoose/examples/CC3200 + + + diff --git a/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.codan.core.prefs b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.codan.core.prefs new file mode 100644 index 00000000..f653028c --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.codan.core.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +inEditor=false +onBuild=false diff --git a/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.core.prefs b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.core.prefs new file mode 100755 index 00000000..b22c31ed --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.core.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +environment/project/com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039/append=true +environment/project/com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039/appendContributed=true diff --git a/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.debug.core.prefs b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.debug.core.prefs new file mode 100644 index 00000000..2adc7b1d --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.cdt.debug.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker diff --git a/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.core.resources.prefs b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..37af3674 --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,11 @@ +eclipse.preferences.version=1 +encoding//Debug/makefile=UTF-8 +encoding//Debug/objects.mk=UTF-8 +encoding//Debug/sources.mk=UTF-8 +encoding//Debug/subdir_rules.mk=UTF-8 +encoding//Debug/subdir_vars.mk=UTF-8 +encoding//Release/makefile=UTF-8 +encoding//Release/objects.mk=UTF-8 +encoding//Release/sources.mk=UTF-8 +encoding//Release/subdir_rules.mk=UTF-8 +encoding//Release/subdir_vars.mk=UTF-8 diff --git a/examples/CC3200/ccs/MG_sensor_demo/cc3200v1p32.cmd b/examples/CC3200/ccs/MG_sensor_demo/cc3200v1p32.cmd new file mode 100644 index 00000000..9532c611 --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/cc3200v1p32.cmd @@ -0,0 +1,82 @@ +//***************************************************************************** +// cc3200v1p32.cmd +// +// CCS linker configuration file for cc3200 ES 1.32. +// +// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ +// +// +// Redistribution and use in source and binary forms, with or without +// modification, are permitted provided that the following conditions +// are met: +// +// Redistributions of source code must retain the above copyright +// notice, this list of conditions and the following disclaimer. +// +// Redistributions in binary form must reproduce the above copyright +// notice, this list of conditions and the following disclaimer in the +// documentation and/or other materials provided with the +// distribution. +// +// Neither the name of Texas Instruments Incorporated nor the names of +// its contributors may be used to endorse or promote products derived +// from this software without specific prior written permission. +// +// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +// +//***************************************************************************** + + +--retain=g_pfnVectors + +//***************************************************************************** +// The following command line options are set as part of the CCS project. +// If you are building using the command line, or for some reason want to +// define them here, you can uncomment and modify these lines as needed. +// If you are using CCS for building, it is probably better to make any such +// modifications in your CCS project and leave this file alone. +//***************************************************************************** + + +//***************************************************************************** +// The starting address of the application. Normally the interrupt vectors +// must be located at the beginning of the application. +//***************************************************************************** +#define RAM_BASE 0x20004000 + +/* System memory map */ + +MEMORY +{ + /* Application uses internal RAM for program and data */ + SRAM_CODE (RWX) : origin = 0x20004000, length = 0x20000 + SRAM_DATA (RWX) : origin = 0x20024000, length = 0x1C000 +} + +/* Section allocation in memory */ + +SECTIONS +{ + .intvecs: > RAM_BASE + .init_array : > SRAM_CODE + .vtable : > SRAM_CODE + .text : > SRAM_CODE + .const : > SRAM_CODE + .cinit : > SRAM_CODE + .pinit : > SRAM_CODE + .data : > SRAM_DATA + .bss : > SRAM_DATA + .sysmem : > SRAM_DATA + .stack : > SRAM_DATA(HIGH) +} + diff --git a/examples/CC3200/ccs/MG_sensor_demo/targetConfigs/CC3200.ccxml b/examples/CC3200/ccs/MG_sensor_demo/targetConfigs/CC3200.ccxml new file mode 100755 index 00000000..0d9d92f1 --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/targetConfigs/CC3200.ccxml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/examples/CC3200/ccs/MG_sensor_demo/targetConfigs/readme.txt b/examples/CC3200/ccs/MG_sensor_demo/targetConfigs/readme.txt new file mode 100755 index 00000000..af97b62d --- /dev/null +++ b/examples/CC3200/ccs/MG_sensor_demo/targetConfigs/readme.txt @@ -0,0 +1,9 @@ +The 'targetConfigs' folder contains target-configuration (.ccxml) files, automatically generated based +on the device and connection settings specified in your project on the Properties > General page. + +Please note that in automatic target-configuration management, changes to the project's device and/or +connection settings will either modify an existing or generate a new target-configuration file. Thus, +if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively, +you may create your own target-configuration file for this project and manage it manually. You can +always switch back to automatic target-configuration management by checking the "Manage the project's +target-configuration automatically" checkbox on the project's Properties > General page. \ No newline at end of file