Revision eaef5bd1

View differences:

examples/CC3200/Makefile
1
SDK ?= $(shell cat sdk.version)
2
SRC_DIR ?= $(realpath ../../..)
3
PORT ?= auto
4

  
5
.PHONY: all clean
6

  
7
MAKEFLAGS += w
8

  
9
all clean:
10
	docker run --rm -i -v $(SRC_DIR):/src $(SDK) \
11
		/bin/bash -c "\
12
			make -C /src/mongoose mongoose.c mongoose.h && \
13
			make -C /src/mongoose/examples/CC3200 -f Makefile.build $@ -$(MAKEFLAGS) \
14
		"
15

  
16
ifeq ("$(PORT)", "auto")
17
PORT = $(shell ls -1 /dev/ttyUSB* | tail -n 1)
18
endif
19
flash:
20
	docker run --rm -it --privileged -v $(SRC_DIR):/src $(SDK) /bin/bash -c "\
21
		cd /usr/local/bin; \
22
		./cc3200prog $(PORT) /src/fw/platforms/cc3200/firmware/fw.bin \
23
	"
24

  
25
debug:
26
	docker run --rm -it --privileged -v $(SRC_DIR):/src $(SDK) \
27
		/bin/bash -c "cd /src/fw/platforms/cc3200 && tools/gdb.sh"
examples/CC3200/Makefile.build
1
# -*- mode: makefile -*-
2
# This file is executed inside Docker build container.
3
# It can be used without container too if SDK_PATH is configured.
4

  
5
PLATFORM = CC3200
6
SDK_PATH ?= /cc3200-sdk
7
REPO_PATH ?= ../../..
8
BUILD_DIR ?= ./.build
9
FW_DIR ?= ./out
10
SLFS_PATH ?= ./slfs
11

  
12
BINDIR = $(FW_DIR)
13
OBJDIR = $(BUILD_DIR)
14

  
15
include $(SDK_PATH)/tools/gcc_scripts/makedefs
16

  
17
.PHONY: all clean flash
18

  
19
PROG = cc3200_example
20

  
21
IPATH = . ../.. $(REPO_PATH)
22

  
23
VPATH = ../..
24

  
25
MONGOOSE_FEATURES = -DMG_ENABLE_SSL -DMG_ENABLE_HTTP_STREAMING_MULTIPART
26

  
27
SDK_FLAGS = -DUSE_FREERTOS -DSL_PLATFORM_MULTI_THREADED
28
# -DTARGET_IS_CC3200 would reduce code size by using functions in ROM
29
# but then the code won't work on pre-release chips (XCC3200HZ).
30

  
31
CFLAGS += -Os -Wall -Werror \
32
          $(SDK_FLAGS) -DCS_PLATFORM=4 -DCC3200_FS_SLFS \
33
          $(MONGOOSE_FEATURES) $(CFLAGS_EXTRA)
34

  
35
FW_ELF = $(FW_DIR)/$(PROG).axf
36
FW_BIN = $(FW_DIR)/$(PROG).bin
37
FW_MANIFEST = $(FW_DIR)/manifest.json
38
FW_ZIP = $(FW_DIR)/firmware.zip
39
BUILD_INFO_JSON = $(OBJDIR)/build_info.json
40
SLFS_FILES = $(wildcard $(SLFS_PATH)/*)
41

  
42
.PHONY: all clean flash
43

  
44
all: $(OBJDIR) $(FW_DIR) $(FW_ZIP)
45

  
46
clean:
47
	@rm -rf $(OBJDIR) $(wildcard *~)
48
	@rm -rf $(FW_DIR) $(wildcard *~)
49

  
50
$(OBJDIR):
51
	@echo "  MKDIR $@"
52
	@mkdir -p $(OBJDIR) $(FS_BUILD_DIR)
53

  
54
$(FW_DIR):
55
	@echo "  MKDIR $@"
56
	@mkdir -p $(FW_DIR)
57

  
58
$(FW_ZIP): $(FW_ELF) $(FW_BIN) $(SLFS_FILES)
59
	@echo "    Code size: $(shell ls -l $(FW_BIN) | awk '{print $$5}')"
60
	@echo "  GEN   $(FW_MANIFEST)"
61
	@fw_meta gen_build_info \
62
	  --json_output=$(BUILD_INFO_JSON)
63
	@cp -v $(SLFS_FILES) out/
64
	@cp $(CC3200_SP_FILE)* $(FW_DIR)
65
	@fw_meta create_manifest \
66
	  --name=$(PROG) --platform=$(PLATFORM) \
67
	  --build_info=$(BUILD_INFO_JSON) \
68
	  --output=$(FW_MANIFEST) \
69
	  --src_dir=$(FW_DIR) \
70
	  /sys/servicepack.ucf:type=slfile,src=$(CC3200_SP_FILE),falloc=60416,sign=$(notdir $(CC3200_SP_FILE)).sign \
71
	  $(notdir $(CC3200_SP_FILE)).sign:type=signature,src=$(CC3200_SP_FILE).sign \
72
	  /sys/mcuimg.bin:type=app,src=$(notdir $(FW_BIN)) \
73
	  $(foreach f,$(SLFS_FILES), $(notdir $(f)):type=slfile,src=$(notdir $(f)))
74
	@echo "  ZIP   $@"
75
	@fw_meta create_fw \
76
	  --manifest=$(FW_MANIFEST) \
77
	  --src_dir=$(FW_DIR) \
78
	  --output=$@
79

  
80
FREERTOS_SRCS = timers.c list.c queue.c tasks.c port.c heap_3.c osi_freertos.c
81
DRIVER_SRCS = cpu.c gpio.c gpio_if.c i2c.c i2c_if.c interrupt.c pin.c prcm.c spi.c uart.c udma.c utils.c
82
SL_SRCS = socket.c wlan.c driver.c device.c netapp.c netcfg.c network_common.c cc_pal.c fs.c
83
SDK_SRCS = startup_gcc.c $(FREERTOS_SRCS) $(DRIVER_SRCS) $(SL_SRCS)
84
IPATH += $(SDK_PATH) $(SDK_PATH)/inc $(SDK_PATH)/driverlib \
85
         $(SDK_PATH)/example/common $(SDK_PATH)/oslib \
86
         $(SDK_PATH)/simplelink $(SDK_PATH)/simplelink/include \
87
         $(SDK_PATH)/simplelink_extlib/provisioninglib \
88
         $(SDK_PATH)/third_party/FreeRTOS/source \
89
         $(SDK_PATH)/third_party/FreeRTOS/source/include \
90
         $(SDK_PATH)/third_party/FreeRTOS/source/portable/GCC/ARM_CM4
91
VPATH += $(SDK_PATH)/driverlib $(SDK_PATH)/example/common $(SDK_PATH)/oslib \
92
         $(SDK_PATH)/simplelink $(SDK_PATH)/simplelink/source \
93
         $(SDK_PATH)/third_party/FreeRTOS/source \
94
         $(SDK_PATH)/third_party/FreeRTOS/source/portable/GCC/ARM_CM4 \
95
         $(SDK_PATH)/third_party/FreeRTOS/source/portable/MemMang \
96

  
97
APP_SRCS = main.c bm222.c data.c mongoose.c tmp006.c wifi.c $(SDK_SRCS)
98
APP_OBJS = $(addprefix $(OBJDIR)/,$(patsubst %.c,%.o,$(APP_SRCS)))
99

  
100
$(FW_ELF): $(APP_OBJS)
101

  
102
SCATTERgcc_$(PROG) = $(PROG).ld
103
ENTRY_$(PROG) = ResetISR
104

  
105
# Disable certain warnings on SDK sources, we have no control over them anyway.
106

  
107
SDK_OBJS = $(addprefix $(OBJDIR)/,$(patsubst %.c,%.o,$(SDK_SRCS)))
108
$(SDK_OBJS): CFLAGS += -include mongoose.h -Wno-missing-braces -Wno-strict-aliasing -Wno-parentheses -Wno-unused-variable
examples/CC3200/bm222.c
1
/*
2
 * Copyright (c) 2014-2016 Cesanta Software Limited
3
 * All rights reserved
4
 */
5

  
6
#include "bm222.h"
7

  
8
#include "mongoose.h"
9
#include "cs_dbg.h"
10

  
11
#include "i2c_if.h"
12

  
13
#define BM222_REG_FIFO_STATUS 0x0e
14

  
15
#define BM222_REG_PMU_BW 0x10
16
#define BM222_PMU_BW_7_81_HZ 0x8
17
#define BM222_PMU_BW_31_25_HZ 0xA
18
#define BM222_PMU_BW_62_5_HZ 0xB
19
#define BM222_PMU_BW_125_HZ 0xC
20

  
21
#define BM222_REG_BGW_SOFTRESET 0x14
22
#define BM222_DO_SOFT_RESET 0xB6
23

  
24
#define BM222_REG_FIFO_CONFIG_1 0x3e
25
#define BM222_FIFO_MODE_FIFO 0x40
26
#define BM222_FIFO_DATA_ALL 0
27

  
28
#define BM222_REG_FIFO_DATA 0x3f
29

  
30
struct bm222_ctx *bm222_init(uint8_t addr) {
31
  struct bm222_ctx *ctx = (struct bm222_ctx *) calloc(1, sizeof(*ctx));
32
  if (ctx == NULL) return NULL;
33
  ctx->addr = addr;
34
  {
35
    unsigned char val[2] = {BM222_REG_BGW_SOFTRESET, BM222_DO_SOFT_RESET};
36
    if (I2C_IF_Write(addr, val, 2, 1) != 0) goto out_err;
37
    osi_Sleep(2 /* ms */); /* t_w,up1 = 1.8 ms */
38
  }
39
  if (!bm222_fifo_init(ctx)) return false;
40
  {
41
    unsigned char val[2] = {BM222_REG_PMU_BW, BM222_PMU_BW_125_HZ};
42
    if (I2C_IF_Write(addr, val, 2, 1) != 0) goto out_err;
43
  }
44
  return ctx;
45
out_err:
46
  free(ctx);
47
  return NULL;
48
}
49

  
50
bool bm222_fifo_init(struct bm222_ctx *ctx) {
51
  unsigned char val[2] = {BM222_REG_FIFO_CONFIG_1,
52
                          BM222_FIFO_MODE_FIFO | BM222_FIFO_DATA_ALL};
53
  return (I2C_IF_Write(ctx->addr, val, 2, 1) == 0);
54
}
55

  
56
bool bm222_get_data(struct bm222_ctx *ctx) {
57
  unsigned char reg = BM222_REG_FIFO_STATUS;
58
  unsigned char val;
59
  if (I2C_IF_ReadFrom(ctx->addr, &reg, 1, &val, 1) < 0) return false;
60
  unsigned char len = (val & 0x7f);
61
  unsigned char overflow = (val & 0x80 ? 1 : 0);
62
  LOG(LL_DEBUG, ("FIFO len: %d (ovf? %d)", len, overflow));
63
  reg = BM222_REG_FIFO_DATA;
64
  int8_t fifo[32 * 6], *v = fifo;
65
  if (I2C_IF_ReadFrom(ctx->addr, &reg, 1, (unsigned char *) fifo, len * 6) <
66
      0) {
67
    return false;
68
  }
69
  double now = mg_time();
70
  /* Of potentially multiple samples, pick one with maximum difference. */
71
  int32_t max_d = 0;
72
  bool sampled = false;
73
  struct bm222_sample *ls = ctx->data + ctx->last_index, *s = NULL;
74
  if (ls->ts == 0) {
75
    /* The very first sample. */
76
    ls->ts = now;
77
    ls->x = v[1];
78
    ls->y = v[3];
79
    ls->z = v[5];
80
    v += 6;
81
    len--;
82
    sampled = true;
83
    s = ls;
84
  }
85
  for (; len > 0; v += 6, len--) {
86
    int32_t dx = ((int32_t) v[1]) - ((int32_t) ls->x);
87
    int32_t dy = ((int32_t) v[3]) - ((int32_t) ls->y);
88
    int32_t dz = ((int32_t) v[5]) - ((int32_t) ls->z);
89
    int32_t d = dx * dx + dy * dy + dz * dz;
90
    if ((d > 2 && d > max_d) || (!sampled && now - ls->ts > 1.0)) {
91
      if (!sampled) {
92
        ctx->last_index = (ctx->last_index + 1) % BM222_NUM_SAMPLES;
93
        s = ctx->data + ctx->last_index;
94
        sampled = true;
95
      }
96
      s->ts = now;
97
      s->x = v[1];
98
      s->y = v[3];
99
      s->z = v[5];
100
      if (d > max_d) max_d = d;
101
      LOG(LL_VERBOSE_DEBUG, ("dx %d dy %d dz %d d %d", dx, dy, dz, d));
102
    }
103
  }
104
  return (overflow ? bm222_fifo_init(ctx) : true); /* Clear the ovf flag. */
105
}
examples/CC3200/bm222.h
1
/*
2
 * Copyright (c) 2014-2016 Cesanta Software Limited
3
 * All rights reserved
4
 */
5

  
6
#ifndef CS_MONGOOSE_EXAMPLES_CC3200_BM222_H_
7
#define CS_MONGOOSE_EXAMPLES_CC3200_BM222_H_
8

  
9
#include <inttypes.h>
10
#include <stdbool.h>
11

  
12
#define BM222_NUM_SAMPLES 64
13
struct bm222_ctx {
14
  uint8_t addr;
15
  struct bm222_sample {
16
    double ts;
17
    int8_t x;
18
    int8_t y;
19
    int8_t z;
20
  } data[BM222_NUM_SAMPLES];
21
  int last_index;
22
};
23

  
24
struct bm222_ctx *bm222_init(uint8_t addr);
25
bool bm222_fifo_init(struct bm222_ctx *ctx);
26
bool bm222_get_data(struct bm222_ctx *ctx);
27

  
28
#endif /* CS_MONGOOSE_EXAMPLES_CC3200_BM222_H_ */
examples/CC3200/cc3200_example.ld
1
/*****************************************************************************
2
* app.ld
3
*
4
* GCC Linker script for Mongoose OS. Based on TI's example "blinky.ld".
5
*
6
* Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 
7
* 
8
* 
9
*  Redistribution and use in source and binary forms, with or without 
10
*  modification, are permitted provided that the following conditions 
11
*  are met:
12
*
13
*    Redistributions of source code must retain the above copyright 
14
*    notice, this list of conditions and the following disclaimer.
15
*
16
*    Redistributions in binary form must reproduce the above copyright
17
*    notice, this list of conditions and the following disclaimer in the 
18
*    documentation and/or other materials provided with the   
19
*    distribution.
20
*
21
*    Neither the name of Texas Instruments Incorporated nor the names of
22
*    its contributors may be used to endorse or promote products derived
23
*    from this software without specific prior written permission.
24
*
25
*  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
26
*  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
27
*  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
*  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
29
*  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
30
*  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
31
*  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
*  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
*  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
34
*  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
35
*  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
*
37
******************************************************************************/
38

  
39

  
40
HEAP_SIZE = 0xB000;
41

  
42
MEMORY
43
{
44
    /* SRAM size of 240KB (0x3C000) for cc3200 ES 1.33 device onward,
45
     * 176KB (0x2C000) for XCC3200HZ (pre-release device). */
46
    SRAM (rwx) : ORIGIN = 0x20004000, LENGTH = 0x3C000
47
}
48

  
49
SECTIONS
50
{
51
    .text :
52
    {
53
        _text = .;
54
        KEEP(*(.intvecs))
55
        *(.text*)
56
        *(.rodata*)
57
        *(.ARM.extab* .gnu.linkonce.armextab.*)
58
        . = ALIGN(8);
59
        _etext = .;
60
    } > SRAM
61

  
62
    .ARM : {
63
    __exidx_start = .;
64
      *(.ARM.exidx*)
65
      __exidx_end = .;
66
    } > SRAM
67

  
68
    __init_data = .;
69

  
70
    .data : AT(__init_data)
71
    {
72
        _data = .;
73
        *(.data*)
74
        . = ALIGN (8);
75
        _edata = .;
76
    } > SRAM
77

  
78
    .bss :
79
    {
80
        _bss = .;
81
        *(.bss*)
82
        *(COMMON)
83
        _ebss = .;
84
    } > SRAM
85

  
86
    .heap :
87
    {
88
        _heap = .;
89
        . = . + HEAP_SIZE;
90
        . = ALIGN(8);
91
        _eheap = .;
92

  
93
    }
94
}
examples/CC3200/ccs/MG_hello/.ccsproject
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<?ccsproject version="1.0"?>
3
<projectOptions>
4
	<deviceVariant value="Cortex M.CC3200"/>
5
	<deviceFamily value="TMS470"/>
6
	<deviceEndianness value="little"/>
7
	<codegenToolVersion value="5.2.7"/>
8
	<isElfFormat value="true"/>
9
	<connection value="common/targetdb/connections/Stellaris_ICDI_Connection.xml"/>
10
	<linkerCommandFile value="cc3200v1p32.cmd"/>
11
	<rts value="libc.a"/>
12
	<createSlaveProjects value=""/>
13
	<templateProperties value="id=com.ti.common.project.core.emptyProjectWithMainTemplate,"/>
14
	<isTargetManual value="false"/>
15
</projectOptions>
examples/CC3200/ccs/MG_hello/.cproject
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
3
	<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
4
		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143">
5
			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143" moduleId="org.eclipse.cdt.core.settings" name="Debug">
6
				<externalSettings/>
7
				<extensions>
8
					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
9
					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
10
					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
11
					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
12
				</extensions>
13
			</storageModule>
14
			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
15
				<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postbuildStep="" prebuildStep="">
16
					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143." name="/" resourcePath="">
17
						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.929985441" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.273728804">
18
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.258663176" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
19
								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC3200"/>
20
								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
21
								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
22
								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
23
								<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=cc3200v1p32.cmd"/>
24
								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
25
								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
26
							</option>
27
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.324606890" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.8" valueType="string"/>
28
							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.1595303251" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug"/>
29
							<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug.664577987" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
30
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.239238133" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug">
31
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.1334773591" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
32
									<listOptionValue builtIn="false" value="MG_ENABLE_FILESYSTEM=1"/>
33
									<listOptionValue builtIn="false" value="MG_ENABLE_HTTP_STREAMING_MULTIPART=1"/>
34
									<listOptionValue builtIn="false" value="SL_PLATFORM_MULTI_THREADED=1"/>
35
									<listOptionValue builtIn="false" value="MG_FS_SLFS=1"/>
36
									<listOptionValue builtIn="false" value="USE_FREERTOS"/>
37
									<listOptionValue builtIn="false" value="cc3200"/>
38
								</option>
39
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.731249297" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M4" valueType="enumerated"/>
40
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1786958507" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.16" valueType="enumerated"/>
41
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.1146878710" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.eabi" valueType="enumerated"/>
42
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.627547538" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.vfplib" valueType="enumerated"/>
43
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1274157874" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
44
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1258458633" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
45
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
46
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink_extlib/provisioninglib&quot;"/>
47
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib&quot;"/>
48
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/&quot;"/>
49
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/&quot;"/>
50
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/&quot;"/>
51
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/include&quot;"/>
52
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/inc&quot;"/>
53
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/example/common&quot;"/>
54
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../Mongoose&quot;"/>
55
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../..&quot;"/>
56
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../../../..&quot;"/>
57
								</option>
58
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.441599099" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
59
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1882962798" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
60
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.988736284" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
61
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.108721469" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
62
									<listOptionValue builtIn="false" value="225"/>
63
								</option>
64
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.1654856947" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
65
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.610557791" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
66
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.82765394" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.on" valueType="enumerated"/>
67
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1309113096" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS"/>
68
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS.637644727" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS"/>
69
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS.1237578949" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS"/>
70
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS.1197212538" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
71
							</tool>
72
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.273728804" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
73
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1521937237" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="0x100" valueType="string"/>
74
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.384792165" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE" value="0xB000" valueType="string"/>
75
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.1759256980" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
76
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.223170305" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
77
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.941567896" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
78
									<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
79
									<listOptionValue builtIn="false" value="&quot;${PROJECT_ROOT}/../Mongoose/Debug/Mongoose.lib&quot;"/>
80
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/ccs/OS/simplelink.a&quot;"/>
81
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/ccs/Release/driverlib.a&quot;"/>
82
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib/ccs/free_rtos/free_rtos.a&quot;"/>
83
								</option>
84
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1487719636" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
85
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
86
								</option>
87
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.527313065" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
88
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.470008330" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
89
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO.1060401668" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
90
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.1518364136" name="Eliminate sections not needed in the executable (--unused_section_elimination)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
91
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.703137823" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS"/>
92
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS.1106081123" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS"/>
93
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS.1215238770" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS"/>
94
							</tool>
95
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex.537525921" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
96
						</toolChain>
97
					</folderInfo>
98
				</configuration>
99
			</storageModule>
100
			<storageModule moduleId="org.eclipse.cdt.core.externalSettings">
101
				<externalSettings containerId="Mongoose;com.ti.ccstudio.buildDefinitions.TMS470.Debug.491265557" factoryId="org.eclipse.cdt.core.cfg.export.settings.sipplier"/>
102
			</storageModule>
103
		</cconfiguration>
104
		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039">
105
			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039" moduleId="org.eclipse.cdt.core.settings" name="Release">
106
				<externalSettings/>
107
				<extensions>
108
					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
109
					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
110
					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
111
					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
112
				</extensions>
113
			</storageModule>
114
			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
115
				<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039" name="Release" parent="com.ti.ccstudio.buildDefinitions.TMS470.Release" postbuildStep="" prebuildStep="">
116
					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039." name="/" resourcePath="">
117
						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.ReleaseToolchain.203807862" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease.603260672">
118
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1946983343" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
119
								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC3200"/>
120
								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
121
								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
122
								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
123
								<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=cc3200v1p32.cmd"/>
124
								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
125
								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
126
							</option>
127
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.541661556" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.8" valueType="string"/>
128
							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformRelease.1731528219" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformRelease"/>
129
							<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderRelease.1517621311" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderRelease"/>
130
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerRelease.1511107079" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerRelease">
131
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.709446512" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
132
									<listOptionValue builtIn="false" value="MG_ENABLE_FILESYSTEM=1"/>
133
									<listOptionValue builtIn="false" value="MG_ENABLE_HTTP_STREAMING_MULTIPART=1"/>
134
									<listOptionValue builtIn="false" value="SL_PLATFORM_MULTI_THREADED=1"/>
135
									<listOptionValue builtIn="false" value="MG_FS_SLFS=1"/>
136
									<listOptionValue builtIn="false" value="USE_FREERTOS"/>
137
									<listOptionValue builtIn="false" value="cc3200"/>
138
								</option>
139
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.25059129" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M4" valueType="enumerated"/>
140
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1599303984" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.16" valueType="enumerated"/>
141
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.462249516" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.eabi" valueType="enumerated"/>
142
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.628710870" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.vfplib" valueType="enumerated"/>
143
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1313521771" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
144
									<listOptionValue builtIn="false" value="225"/>
145
								</option>
146
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.1137425146" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
147
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1217155594" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
148
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1877995914" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
149
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
150
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink_extlib/provisioninglib&quot;"/>
151
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib&quot;"/>
152
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/&quot;"/>
153
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/&quot;"/>
154
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/&quot;"/>
155
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/include&quot;"/>
156
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/inc&quot;"/>
157
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/example/common&quot;"/>
158
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../Mongoose&quot;"/>
159
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../..&quot;"/>
160
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../../../..&quot;"/>
161
								</option>
162
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1313166043" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
163
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.release.1366420658" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.release" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
164
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.1169603203" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
165
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.884396305" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS"/>
166
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS.1552076672" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS"/>
167
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS.1932242817" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS"/>
168
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS.564471106" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
169
							</tool>
170
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease.603260672" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease">
171
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.999455186" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="0x512" valueType="string"/>
172
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.1142745068" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE" value="0x0" valueType="string"/>
173
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.592894575" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
174
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.767606951" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
175
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO.88933399" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
176
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.670906651" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
177
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.69171285" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
178
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.2058160037" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
179
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
180
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
181
								</option>
182
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.1140912133" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
183
									<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
184
									<listOptionValue builtIn="false" value="&quot;${PROJECT_ROOT}/../Mongoose/Release/Mongoose.lib&quot;"/>
185
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/ccs/OS/simplelink.a&quot;"/>
186
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/ccs/Release/driverlib.a&quot;"/>
187
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib/ccs/free_rtos/free_rtos.a&quot;"/>
188
								</option>
189
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.852025912" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS"/>
190
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS.445406552" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS"/>
191
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS.1688064227" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS"/>
192
							</tool>
193
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex.1751465904" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
194
						</toolChain>
195
					</folderInfo>
196
				</configuration>
197
			</storageModule>
198
			<storageModule moduleId="org.eclipse.cdt.core.externalSettings">
199
				<externalSettings containerId="Mongoose;com.ti.ccstudio.buildDefinitions.TMS470.Release.900958360" factoryId="org.eclipse.cdt.core.cfg.export.settings.sipplier"/>
200
			</storageModule>
201
		</cconfiguration>
202
	</storageModule>
203
	<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
204
	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
205
		<project id="MG_hello.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.218900570" name="ARM" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
206
	</storageModule>
207
	<storageModule moduleId="scannerConfiguration"/>
208
	<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
209
		<project-mappings>
210
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
211
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
212
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
213
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
214
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
215
		</project-mappings>
216
	</storageModule>
217
	<storageModule moduleId="refreshScope"/>
218
</cproject>
examples/CC3200/ccs/MG_hello/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>MG_hello</name>
4
	<comment></comment>
5
	<projects>
6
		<project>Mongoose</project>
7
	</projects>
8
	<buildSpec>
9
		<buildCommand>
10
			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
11
			<arguments>
12
			</arguments>
13
		</buildCommand>
14
		<buildCommand>
15
			<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
16
			<triggers>full,incremental,</triggers>
17
			<arguments>
18
			</arguments>
19
		</buildCommand>
20
	</buildSpec>
21
	<natures>
22
		<nature>com.ti.ccstudio.core.ccsNature</nature>
23
		<nature>org.eclipse.cdt.core.cnature</nature>
24
		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
25
		<nature>org.eclipse.cdt.core.ccnature</nature>
26
		<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
27
	</natures>
28
	<linkedResources>
29
		<link>
30
			<name>gpio_if.c</name>
31
			<type>1</type>
32
			<locationURI>CC3200_SDK_ROOT/example/common/gpio_if.c</locationURI>
33
		</link>
34
		<link>
35
			<name>network_common.c</name>
36
			<type>1</type>
37
			<locationURI>CC3200_SDK_ROOT/example/common/network_common.c</locationURI>
38
		</link>
39
		<link>
40
			<name>startup_ccs.c</name>
41
			<type>1</type>
42
			<locationURI>CC3200_SDK_ROOT/example/common/startup_ccs.c</locationURI>
43
		</link>
44
		<link>
45
			<name>wifi.c</name>
46
			<type>1</type>
47
			<locationURI>PARENT-2-PROJECT_LOC/wifi.c</locationURI>
48
		</link>
49
		<link>
50
			<name>wifi.h</name>
51
			<type>1</type>
52
			<locationURI>PARENT-2-PROJECT_LOC/wifi.h</locationURI>
53
		</link>
54
	</linkedResources>
55
	<variableList>
56
		<variable>
57
			<name>CC3200_SDK_ROOT</name>
58
			<value>$%7BTI_PRODUCTS_DIR%7D/CC3200SDK_1.2.0/cc3200-sdk</value>
59
		</variable>
60
	</variableList>
61
</projectDescription>
examples/CC3200/ccs/MG_hello/cc3200v1p32.cmd
1
//*****************************************************************************
2
// cc3200v1p32.cmd
3
//
4
// CCS linker configuration file for cc3200 ES 1.32.
5
//
6
// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 
7
// 
8
// 
9
//  Redistribution and use in source and binary forms, with or without 
10
//  modification, are permitted provided that the following conditions 
11
//  are met:
12
//
13
//    Redistributions of source code must retain the above copyright 
14
//    notice, this list of conditions and the following disclaimer.
15
//
16
//    Redistributions in binary form must reproduce the above copyright
17
//    notice, this list of conditions and the following disclaimer in the 
18
//    documentation and/or other materials provided with the   
19
//    distribution.
20
//
21
//    Neither the name of Texas Instruments Incorporated nor the names of
22
//    its contributors may be used to endorse or promote products derived
23
//    from this software without specific prior written permission.
24
//
25
//  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
26
//  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
27
//  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
//  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
29
//  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
30
//  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
31
//  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
//  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
//  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
34
//  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
35
//  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
//
37
//*****************************************************************************
38

  
39

  
40
--retain=g_pfnVectors
41

  
42
//*****************************************************************************
43
// The following command line options are set as part of the CCS project.  
44
// If you are building using the command line, or for some reason want to    
45
// define them here, you can uncomment and modify these lines as needed.     
46
// If you are using CCS for building, it is probably better to make any such 
47
// modifications in your CCS project and leave this file alone.              
48
//*****************************************************************************
49

  
50

  
51
//*****************************************************************************
52
// The starting address of the application.  Normally the interrupt vectors  
53
// must be located at the beginning of the application.                      
54
//*****************************************************************************
55
#define RAM_BASE 0x20004000
56

  
57
/* System memory map */
58

  
59
MEMORY
60
{
61
    /* Application uses internal RAM for program and data */
62
    SRAM_CODE (RWX) : origin = 0x20004000, length = 0x20000
63
    SRAM_DATA (RWX) : origin = 0x20024000, length = 0x1C000
64
}
65

  
66
/* Section allocation in memory */
67

  
68
SECTIONS
69
{
70
    .intvecs:   > RAM_BASE
71
    .init_array : > SRAM_CODE
72
    .vtable :   > SRAM_CODE
73
    .text   :   > SRAM_CODE
74
    .const  :   > SRAM_CODE
75
    .cinit  :   > SRAM_CODE
76
    .pinit  :   > SRAM_CODE
77
    .data   :   > SRAM_DATA
78
    .bss    :   > SRAM_DATA
79
    .sysmem :   > SRAM_DATA
80
    .stack  :   > SRAM_DATA(HIGH)
81
}
82

  
examples/CC3200/ccs/MG_hello/main.c
1
/*
2
 * Copyright (c) 2014-2016 Cesanta Software Limited
3
 * All rights reserved
4
 */
5

  
6
/* Set up an AP or connect to existing WiFi network. */
7
#define WIFI_AP_SSID "Mongoose"
8
#define WIFI_AP_PASS ""
9
#define WIFI_AP_CHAN 6
10
// #define WIFI_STA_SSID "YourWiFi"
11
// #define WIFI_STA_PASS "YourPass"
12

  
13
#define MGOS_TASK_PRIORITY 3
14
#define MG_TASK_STACK_SIZE 8192
15

  
16
#include <stdbool.h>
17
#include <stdio.h>
18
#include <string.h>
19

  
20
#include <stdbool.h>
21
#include <stdio.h>
22
#include <stdlib.h>
23
#include <string.h>
24

  
25
#include <inc/hw_types.h>
26
#include <inc/hw_ints.h>
27
#include <inc/hw_memmap.h>
28

  
29
#include <driverlib/gpio.h>
30
#include <driverlib/interrupt.h>
31
#include <driverlib/pin.h>
32
#include <driverlib/prcm.h>
33
#include <driverlib/rom.h>
34
#include <driverlib/rom_map.h>
35

  
36
#include <example/common/gpio_if.h>
37

  
38
/* Mongoose.h brings in SimpleLink support. Do not include simplelink.h. */
39
#include <mongoose.h>
40

  
41
#include <simplelink/include/device.h>
42

  
43
#include "cs_dbg.h"
44
#include "wifi.h"
45

  
46
void fs_slfs_set_new_file_size(const char *name, size_t size);
47

  
48
static const char *upload_form =
49
    "\
50
<h1>Upload file</h1> \
51
<form action='/upload' method='POST' enctype='multipart/form-data'> \
52
  <input type='file' name='file'> \
53
  <input type='submit' value='Upload'> \
54
</form>";
55

  
56
static struct mg_str upload_fname(struct mg_connection *nc,
57
                                  struct mg_str fname) {
58
  struct mg_str lfn;
59
  char *fn = malloc(fname.len + 4);
60
  memcpy(fn, "SL:", 3);
61
  memcpy(fn + 3, fname.p, fname.len);
62
  fn[3 + fname.len] = '\0';
63
  if (nc->user_data != NULL) {
64
    intptr_t cl = (intptr_t) nc->user_data;
65
    if (cl >= 0) {
66
      fs_slfs_set_new_file_size(fn + 3, cl);
67
    }
68
  }
69
  lfn.len = fname.len + 4;
70
  lfn.p = fn;
71
  return lfn;
72
}
73

  
74
void mg_ev_handler(struct mg_connection *nc, int ev, void *ev_data) {
75
  LOG(LL_DEBUG, ("%p ev %d", nc, ev));
76

  
77
  switch (ev) {
78
    case MG_EV_ACCEPT: {
79
      char addr[32];
80
      mg_sock_addr_to_str(&nc->sa, addr, sizeof(addr),
81
                          MG_SOCK_STRINGIFY_IP | MG_SOCK_STRINGIFY_PORT);
82
      LOG(LL_INFO, ("Connection %p from %s", nc, addr));
83
      break;
84
    }
85
    case MG_EV_HTTP_REQUEST: {
86
      char addr[32];
87
      struct http_message *hm = (struct http_message *) ev_data;
88
      cs_stat_t st;
89
      mg_sock_addr_to_str(&nc->sa, addr, sizeof(addr),
90
                          MG_SOCK_STRINGIFY_IP | MG_SOCK_STRINGIFY_PORT);
91
      LOG(LL_INFO,
92
          ("HTTP request from %s: %.*s %.*s", addr, (int) hm->method.len,
93
           hm->method.p, (int) hm->uri.len, hm->uri.p));
94
      if (mg_vcmp(&hm->uri, "/upload") == 0 ||
95
          (mg_vcmp(&hm->uri, "/") == 0 && mg_stat("SL:index.html", &st) != 0)) {
96
        mg_send(nc, upload_form, strlen(upload_form));
97
        nc->flags |= MG_F_SEND_AND_CLOSE;
98
        break;
99
      }
100
      struct mg_serve_http_opts opts;
101
      memset(&opts, 0, sizeof(opts));
102
      opts.document_root = "SL:";
103
      mg_serve_http(nc, hm, opts);
104
      break;
105
    }
106
    case MG_EV_CLOSE: {
107
      LOG(LL_INFO, ("Connection %p closed", nc));
108
      break;
109
    }
110
    /* SimpleLink FS requires pre-declaring max file size. We use Content-Length
111
     * for that purpose - it will not exactly match file size, but is guaranteed
112
     * to exceed it and should be close enough. */
113
    case MG_EV_HTTP_MULTIPART_REQUEST: {
114
      struct http_message *hm = (struct http_message *) ev_data;
115
      struct mg_str *cl_header = mg_get_http_header(hm, "Content-Length");
116
      intptr_t cl = -1;
117
      if (cl_header != NULL && cl_header->len < 20) {
118
        char buf[20];
119
        memcpy(buf, cl_header->p, cl_header->len);
120
        buf[cl_header->len] = '\0';
121
        cl = atoi(buf);
122
        if (cl < 0) cl = -1;
123
      }
124
      nc->user_data = (void *) cl;
125
      break;
126
    }
127
    case MG_EV_HTTP_PART_BEGIN:
128
    case MG_EV_HTTP_PART_DATA:
129
    case MG_EV_HTTP_PART_END: {
130
      struct mg_http_multipart_part *mp =
131
          (struct mg_http_multipart_part *) ev_data;
132
      if (ev == MG_EV_HTTP_PART_BEGIN) {
133
        LOG(LL_INFO, ("Begin file upload: %s", mp->file_name));
134
      } else if (ev == MG_EV_HTTP_PART_END) {
135
        LOG(LL_INFO, ("End file upload: %s", mp->file_name));
136
      }
137
      mg_file_upload_handler(nc, ev, ev_data, upload_fname);
138
    }
139
  }
140
}
141

  
142
static void mg_init(struct mg_mgr *mgr) {
143
  LOG(LL_INFO, ("MG task running"));
144

  
145
  stop_nwp(); /* See function description in wifi.c */
146
  LOG(LL_INFO, ("Starting NWP..."));
147
  int role = sl_Start(0, 0, 0);
148
  if (role < 0) {
149
    LOG(LL_ERROR, ("Failed to start NWP"));
150
    return;
151
  }
152

  
153
  LOG(LL_INFO, ("NWP started"));
154

  
155
  sl_fs_init();
156

  
157
#if defined(WIFI_STA_SSID)
158
  if (!wifi_setup_sta(WIFI_STA_SSID, WIFI_STA_PASS)) {
159
    LOG(LL_ERROR, ("Error setting up WiFi station"));
160
  }
161
#elif defined(WIFI_AP_SSID)
162
  if (!wifi_setup_ap(WIFI_AP_SSID, WIFI_AP_PASS, WIFI_AP_CHAN)) {
163
    LOG(LL_ERROR, ("Error setting up WiFi AP"));
164
  }
165
#else
166
#error WiFi not configured
167
#endif
168

  
169
  /* We don't need SimpleLink's web server. */
170
  sl_NetAppStop(SL_NET_APP_HTTP_SERVER_ID);
171

  
172
  const char *err = "";
173
  struct mg_bind_opts opts;
174
  memset(&opts, 0, sizeof(opts));
175
  opts.error_string = &err;
176

  
177
  struct mg_connection *nc = mg_bind(mgr, "80", mg_ev_handler);
178
  if (nc != NULL) {
179
    mg_set_protocol_http_websocket(nc);
180
  } else {
181
    LOG(LL_ERROR, ("Failed to create listener: %s", err));
182
  }
183
}
184

  
185
#ifndef USE_TIRTOS
186
/* Int vector table, defined in startup_gcc.c */
187
extern void (*const g_pfnVectors[])(void);
188
#endif
189

  
190
int main(void) {
191
#ifndef USE_TIRTOS
192
  MAP_IntVTableBaseSet((unsigned long) &g_pfnVectors[0]);
193
#endif
194
  MAP_IntEnable(FAULT_SYSTICK);
195
  MAP_IntMasterEnable();
196
  PRCMCC3200MCUInit();
197

  
198
  setvbuf(stdout, NULL, _IOLBF, 0);
199
  setvbuf(stderr, NULL, _IOLBF, 0);
200
  cs_log_set_level(LL_INFO);
201
  cs_log_set_file(stdout);
202

  
203
  LOG(LL_INFO, ("Hello, world!"));
204

  
205
  /* Set up the red LED. Note that amber and green cannot be used as they share
206
   * pins with I2C. */
207
  MAP_PRCMPeripheralClkEnable(PRCM_GPIOA1, PRCM_RUN_MODE_CLK);
208
  MAP_PinTypeGPIO(PIN_64, PIN_MODE_0, false);
209
  MAP_GPIODirModeSet(GPIOA1_BASE, 0x2, GPIO_DIR_MODE_OUT);
210
  GPIO_IF_LedConfigure(LED1);
211
  GPIO_IF_LedOn(MCU_RED_LED_GPIO);
212

  
213
  if (VStartSimpleLinkSpawnTask(8) != 0) {
214
    LOG(LL_ERROR, ("Failed to create SL task"));
215
  }
216

  
217
  if (!mg_start_task(MGOS_TASK_PRIORITY, MG_TASK_STACK_SIZE, mg_init)) {
218
    LOG(LL_ERROR, ("Failed to create MG task"));
219
  }
220

  
221
  osi_start();
222

  
223
  return 0;
224
}
225

  
226
/* These are FreeRTOS hooks for various life situations. */
227
void vApplicationMallocFailedHook(void) {
228
}
229

  
230
void vApplicationIdleHook(void) {
231
}
232

  
233
void vApplicationStackOverflowHook(OsiTaskHandle *th, signed char *tn) {
234
}
235

  
236
void SimpleLinkHttpServerCallback(SlHttpServerEvent_t *e,
237
                                  SlHttpServerResponse_t *resp) {
238
}
239

  
240
void SimpleLinkSockEventHandler(SlSockEvent_t *e) {
241
}
242

  
243
void SimpleLinkGeneralEventHandler(SlDeviceEvent_t *e) {
244
  LOG(LL_ERROR, ("status %d sender %d", e->EventData.deviceEvent.status,
245
                 e->EventData.deviceEvent.sender));
246
}
examples/CC3200/ccs/MG_hello/targetConfigs/CC3200.ccxml
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<configurations XML_version="1.2" id="configurations_0">
3
    <configuration XML_version="1.2" id="configuration_0">
4
        <instance XML_version="1.2" desc="Stellaris In-Circuit Debug Interface" href="connections/Stellaris_ICDI_Connection.xml" id="Stellaris In-Circuit Debug Interface" xml="Stellaris_ICDI_Connection.xml" xmlpath="connections"/>
5
        <connection XML_version="1.2" id="Stellaris In-Circuit Debug Interface">
6
            <instance XML_version="1.2" href="drivers/cc3200_cs_icepick.xml" id="drivers" xml="cc3200_cs_icepick.xml" xmlpath="drivers"/>
7
            <instance XML_version="1.2" href="drivers/stellaris_cs_dap.xml" id="drivers" xml="stellaris_cs_dap.xml" xmlpath="drivers"/>
8
            <instance XML_version="1.2" href="drivers/cc3200_cortex_m4.xml" id="drivers" xml="cc3200_cortex_m4.xml" xmlpath="drivers"/>
9
            <platform XML_version="1.2" id="platform_0">
10
                <instance XML_version="1.2" desc="CC3200" href="devices/CC3200.xml" id="CC3200" xml="CC3200.xml" xmlpath="devices"/>
11
            </platform>
12
        </connection>
13
    </configuration>
14
</configurations>
examples/CC3200/ccs/MG_hello/targetConfigs/readme.txt
1
The 'targetConfigs' folder contains target-configuration (.ccxml) files, automatically generated based
2
on the device and connection settings specified in your project on the Properties > General page.
3

  
4
Please note that in automatic target-configuration management, changes to the project's device and/or
5
connection settings will either modify an existing or generate a new target-configuration file. Thus,
6
if you manually edit these auto-generated files, you may need to re-apply your changes. Alternatively,
7
you may create your own target-configuration file for this project and manage it manually. You can
8
always switch back to automatic target-configuration management by checking the "Manage the project's
9
target-configuration automatically" checkbox on the project's Properties > General page.
examples/CC3200/ccs/MG_sensor_demo/.ccsproject
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<?ccsproject version="1.0"?>
3
<projectOptions>
4
	<deviceVariant value="Cortex M.CC3200"/>
5
	<deviceFamily value="TMS470"/>
6
	<deviceEndianness value="little"/>
7
	<codegenToolVersion value="5.2.7"/>
8
	<isElfFormat value="true"/>
9
	<connection value="common/targetdb/connections/Stellaris_ICDI_Connection.xml"/>
10
	<linkerCommandFile value="cc3200v1p32.cmd"/>
11
	<rts value="libc.a"/>
12
	<createSlaveProjects value=""/>
13
	<templateProperties value="id=com.ti.common.project.core.emptyProjectWithMainTemplate,"/>
14
	<isTargetManual value="false"/>
15
</projectOptions>
examples/CC3200/ccs/MG_sensor_demo/.cproject
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
3
	<storageModule configRelations="2" moduleId="org.eclipse.cdt.core.settings">
4
		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143">
5
			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143" moduleId="org.eclipse.cdt.core.settings" name="Debug">
6
				<externalSettings/>
7
				<extensions>
8
					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
9
					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
10
					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
11
					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
12
				</extensions>
13
			</storageModule>
14
			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
15
				<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143" name="Debug" parent="com.ti.ccstudio.buildDefinitions.TMS470.Debug" postbuildStep="" prebuildStep="">
16
					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Debug.2139411143." name="/" resourcePath="">
17
						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain.929985441" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.273728804">
18
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.258663176" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
19
								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC3200"/>
20
								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
21
								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
22
								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
23
								<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=cc3200v1p32.cmd"/>
24
								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
25
								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
26
							</option>
27
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.324606890" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.8" valueType="string"/>
28
							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug.1595303251" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformDebug"/>
29
							<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug.664577987" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderDebug"/>
30
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug.239238133" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerDebug">
31
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.1334773591" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
32
									<listOptionValue builtIn="false" value="MG_ENABLE_FILESYSTEM=1"/>
33
									<listOptionValue builtIn="false" value="MG_ENABLE_HTTP_STREAMING_MULTIPART=1"/>
34
									<listOptionValue builtIn="false" value="SL_PLATFORM_MULTI_THREADED=1"/>
35
									<listOptionValue builtIn="false" value="MG_FS_SLFS=1"/>
36
									<listOptionValue builtIn="false" value="USE_FREERTOS"/>
37
									<listOptionValue builtIn="false" value="cc3200"/>
38
								</option>
39
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.731249297" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M4" valueType="enumerated"/>
40
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1786958507" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.16" valueType="enumerated"/>
41
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.1146878710" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.eabi" valueType="enumerated"/>
42
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.627547538" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.vfplib" valueType="enumerated"/>
43
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1274157874" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
44
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1258458633" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
45
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
46
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink_extlib/provisioninglib&quot;"/>
47
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib&quot;"/>
48
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/&quot;"/>
49
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/&quot;"/>
50
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/&quot;"/>
51
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/include&quot;"/>
52
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/inc&quot;"/>
53
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/example/common&quot;"/>
54
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../Mongoose&quot;"/>
55
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../..&quot;"/>
56
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../../../..&quot;"/>
57
								</option>
58
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.441599099" name="Debugging model" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEBUGGING_MODEL.SYMDEBUG__DWARF" valueType="enumerated"/>
59
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1882962798" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
60
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.988736284" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
61
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.108721469" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
62
									<listOptionValue builtIn="false" value="225"/>
63
								</option>
64
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.1654856947" name="Optimization level (--opt_level, -O)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
65
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.610557791" name="Speed vs. size trade-offs (--opt_for_speed, -mf)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
66
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.1171949946" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.GEN_FUNC_SUBSECTIONS.on" valueType="enumerated"/>
67
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.1309113096" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS"/>
68
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS.637644727" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS"/>
69
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS.1237578949" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS"/>
70
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS.1197212538" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
71
							</tool>
72
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug.273728804" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerDebug">
73
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.1521937237" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="0x100" valueType="string"/>
74
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.384792165" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE" value="0xB000" valueType="string"/>
75
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.1759256980" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
76
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.223170305" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
77
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.941567896" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
78
									<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
79
									<listOptionValue builtIn="false" value="&quot;${PROJECT_ROOT}/../Mongoose/Debug/Mongoose.lib&quot;"/>
80
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/ccs/OS/simplelink.a&quot;"/>
81
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/ccs/Release/driverlib.a&quot;"/>
82
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib/ccs/free_rtos/free_rtos.a&quot;"/>
83
								</option>
84
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.1487719636" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
85
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
86
								</option>
87
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.527313065" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
88
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.470008330" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
89
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO.1060401668" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
90
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.1575545300" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.UNUSED_SECTION_ELIMINATION.on" valueType="enumerated"/>
91
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.703137823" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS"/>
92
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS.1106081123" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS"/>
93
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS.1215238770" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS"/>
94
							</tool>
95
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex.537525921" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
96
						</toolChain>
97
					</folderInfo>
98
				</configuration>
99
			</storageModule>
100
			<storageModule moduleId="org.eclipse.cdt.core.externalSettings">
101
				<externalSettings containerId="Mongoose;com.ti.ccstudio.buildDefinitions.TMS470.Debug.491265557" factoryId="org.eclipse.cdt.core.cfg.export.settings.sipplier"/>
102
			</storageModule>
103
		</cconfiguration>
104
		<cconfiguration id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039">
105
			<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039" moduleId="org.eclipse.cdt.core.settings" name="Release">
106
				<externalSettings/>
107
				<extensions>
108
					<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
109
					<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
110
					<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
111
					<extension id="com.ti.ccstudio.binaryparser.CoffParser" point="org.eclipse.cdt.core.BinaryParser"/>
112
				</extensions>
113
			</storageModule>
114
			<storageModule moduleId="cdtBuildSystem" version="4.0.0">
115
				<configuration artifactExtension="out" artifactName="${ProjName}" buildProperties="" cleanCommand="${CG_CLEAN_CMD}" description="" id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039" name="Release" parent="com.ti.ccstudio.buildDefinitions.TMS470.Release" postbuildStep="" prebuildStep="">
116
					<folderInfo id="com.ti.ccstudio.buildDefinitions.TMS470.Release.2030896039." name="/" resourcePath="">
117
						<toolChain id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.ReleaseToolchain.203807862" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease.603260672">
118
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS.1946983343" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_TAGS" valueType="stringList">
119
								<listOptionValue builtIn="false" value="DEVICE_CONFIGURATION_ID=Cortex M.CC3200"/>
120
								<listOptionValue builtIn="false" value="DEVICE_ENDIANNESS=little"/>
121
								<listOptionValue builtIn="false" value="OUTPUT_FORMAT=ELF"/>
122
								<listOptionValue builtIn="false" value="CCS_MBS_VERSION=5.5.0"/>
123
								<listOptionValue builtIn="false" value="LINKER_COMMAND_FILE=cc3200v1p32.cmd"/>
124
								<listOptionValue builtIn="false" value="RUNTIME_SUPPORT_LIBRARY=libc.a"/>
125
								<listOptionValue builtIn="false" value="OUTPUT_TYPE=executable"/>
126
							</option>
127
							<option id="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION.541661556" name="Compiler version" superClass="com.ti.ccstudio.buildDefinitions.core.OPT_CODEGEN_VERSION" value="5.2.8" valueType="string"/>
128
							<targetPlatform id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformRelease.1731528219" name="Platform" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.targetPlatformRelease"/>
129
							<builder buildPath="${BuildDirectory}" id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderRelease.1517621311" keepEnvironmentInBuildfile="false" name="GNU Make" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.builderRelease"/>
130
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerRelease.1511107079" name="ARM Compiler" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.compilerRelease">
131
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE.709446512" name="Pre-define NAME (--define, -D)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DEFINE" valueType="definedSymbols">
132
									<listOptionValue builtIn="false" value="MG_ENABLE_FILESYSTEM=1"/>
133
									<listOptionValue builtIn="false" value="MG_ENABLE_HTTP_STREAMING_MULTIPART=1"/>
134
									<listOptionValue builtIn="false" value="SL_PLATFORM_MULTI_THREADED=1"/>
135
									<listOptionValue builtIn="false" value="MG_FS_SLFS=1"/>
136
									<listOptionValue builtIn="false" value="USE_FREERTOS"/>
137
									<listOptionValue builtIn="false" value="cc3200"/>
138
								</option>
139
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.25059129" name="Target processor version (--silicon_version, -mv)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.SILICON_VERSION.7M4" valueType="enumerated"/>
140
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.1599303984" name="Designate code state, 16-bit (thumb) or 32-bit (--code_state)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.CODE_STATE.16" valueType="enumerated"/>
141
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.462249516" name="Application binary interface. [See 'General' page to edit] (--abi)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.ABI.eabi" valueType="enumerated"/>
142
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.628710870" name="Specify floating point support (--float_support)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.FLOAT_SUPPORT.vfplib" valueType="enumerated"/>
143
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING.1313521771" name="Treat diagnostic &lt;id&gt; as warning (--diag_warning, -pdsw)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WARNING" valueType="stringList">
144
									<listOptionValue builtIn="false" value="225"/>
145
								</option>
146
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER.1137425146" name="Emit diagnostic identifier numbers (--display_error_number, -pden)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
147
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.1217155594" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.DIAG_WRAP.off" valueType="enumerated"/>
148
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH.1877995914" name="Add dir to #include search path (--include_path, -I)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.INCLUDE_PATH" valueType="includePath">
149
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
150
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink_extlib/provisioninglib&quot;"/>
151
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib&quot;"/>
152
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/&quot;"/>
153
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/&quot;"/>
154
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/&quot;"/>
155
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/include&quot;"/>
156
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/inc&quot;"/>
157
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/example/common&quot;"/>
158
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../Mongoose&quot;"/>
159
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../..&quot;"/>
160
									<listOptionValue builtIn="false" value="&quot;${PROJECT_LOC}/../../../..&quot;"/>
161
								</option>
162
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN.1313166043" name="Little endian code [See 'General' page to edit] (--little_endian, -me)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.LITTLE_ENDIAN" value="true" valueType="boolean"/>
163
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.release.1366420658" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.release" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_LEVEL.4" valueType="enumerated"/>
164
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.1169603203" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compilerID.OPT_FOR_SPEED.0" valueType="enumerated"/>
165
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS.884396305" name="C Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__C_SRCS"/>
166
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS.1552076672" name="C++ Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__CPP_SRCS"/>
167
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS.1932242817" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM_SRCS"/>
168
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS.564471106" name="Assembly Sources" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.compiler.inputType__ASM2_SRCS"/>
169
							</tool>
170
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease.603260672" name="ARM Linker" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exe.linkerRelease">
171
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE.999455186" name="Set C system stack size (--stack_size, -stack)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.STACK_SIZE" value="0x512" valueType="string"/>
172
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE.1142745068" name="Heap size for C/C++ dynamic memory allocation (--heap_size, -heap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.HEAP_SIZE" value="0x0" valueType="string"/>
173
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE.592894575" name="Specify output file name (--output_file, -o)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.OUTPUT_FILE" value="&quot;${ProjName}.out&quot;" valueType="string"/>
174
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE.767606951" name="Link information (map) listed into &lt;file&gt; (--map_file, -m)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.MAP_FILE" value="&quot;${ProjName}.map&quot;" valueType="string"/>
175
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO.88933399" name="Detailed link information data-base into &lt;file&gt; (--xml_link_info, -xml_link_info)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.XML_LINK_INFO" value="&quot;${ProjName}_linkInfo.xml&quot;" valueType="string"/>
176
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER.670906651" name="Emit diagnostic identifier numbers (--display_error_number)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DISPLAY_ERROR_NUMBER" value="true" valueType="boolean"/>
177
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.69171285" name="Wrap diagnostic messages (--diag_wrap)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP" value="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.DIAG_WRAP.off" valueType="enumerated"/>
178
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH.2058160037" name="Add &lt;dir&gt; to library search path (--search_path, -i)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.SEARCH_PATH" valueType="libPaths">
179
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/lib&quot;"/>
180
									<listOptionValue builtIn="false" value="&quot;${CG_TOOL_ROOT}/include&quot;"/>
181
								</option>
182
								<option id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY.1140912133" name="Include library file or command file as input (--library, -l)" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.linkerID.LIBRARY" valueType="libs">
183
									<listOptionValue builtIn="false" value="&quot;libc.a&quot;"/>
184
									<listOptionValue builtIn="false" value="&quot;${PROJECT_ROOT}/../Mongoose/Release/Mongoose.lib&quot;"/>
185
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/simplelink/ccs/OS/simplelink.a&quot;"/>
186
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/driverlib/ccs/Release/driverlib.a&quot;"/>
187
									<listOptionValue builtIn="false" value="&quot;${CC3200_SDK_ROOT}/oslib/ccs/free_rtos/free_rtos.a&quot;"/>
188
								</option>
189
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS.852025912" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD_SRCS"/>
190
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS.445406552" name="Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__CMD2_SRCS"/>
191
								<inputType id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS.1688064227" name="Generated Linker Command Files" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.exeLinker.inputType__GEN_CMDS"/>
192
							</tool>
193
							<tool id="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex.1751465904" name="ARM Hex Utility" superClass="com.ti.ccstudio.buildDefinitions.TMS470_5.2.hex"/>
194
						</toolChain>
195
					</folderInfo>
196
				</configuration>
197
			</storageModule>
198
			<storageModule moduleId="org.eclipse.cdt.core.externalSettings">
199
				<externalSettings containerId="Mongoose;com.ti.ccstudio.buildDefinitions.TMS470.Release.900958360" factoryId="org.eclipse.cdt.core.cfg.export.settings.sipplier"/>
200
			</storageModule>
201
		</cconfiguration>
202
	</storageModule>
203
	<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
204
	<storageModule moduleId="cdtBuildSystem" version="4.0.0">
205
		<project id="MG_sensor_demo.com.ti.ccstudio.buildDefinitions.TMS470.ProjectType.218900570" name="ARM" projectType="com.ti.ccstudio.buildDefinitions.TMS470.ProjectType"/>
206
	</storageModule>
207
	<storageModule moduleId="scannerConfiguration"/>
208
	<storageModule moduleId="org.eclipse.cdt.core.language.mapping">
209
		<project-mappings>
210
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.asmSource" language="com.ti.ccstudio.core.TIASMLanguage"/>
211
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cHeader" language="com.ti.ccstudio.core.TIGCCLanguage"/>
212
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cSource" language="com.ti.ccstudio.core.TIGCCLanguage"/>
213
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxHeader" language="com.ti.ccstudio.core.TIGPPLanguage"/>
214
			<content-type-mapping configuration="" content-type="org.eclipse.cdt.core.cxxSource" language="com.ti.ccstudio.core.TIGPPLanguage"/>
215
		</project-mappings>
216
	</storageModule>
217
	<storageModule moduleId="refreshScope"/>
218
</cproject>
examples/CC3200/ccs/MG_sensor_demo/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>MG_sensor_demo</name>
4
	<comment></comment>
5
	<projects>
6
		<project>Mongoose</project>
7
	</projects>
8
	<buildSpec>
9
		<buildCommand>
10
			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
11
			<arguments>
12
			</arguments>
13
		</buildCommand>
14
		<buildCommand>
15
			<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
16
			<triggers>full,incremental,</triggers>
17
			<arguments>
18
			</arguments>
19
		</buildCommand>
20
	</buildSpec>
21
	<natures>
22
		<nature>com.ti.ccstudio.core.ccsNature</nature>
23
		<nature>org.eclipse.cdt.core.cnature</nature>
24
		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
25
		<nature>org.eclipse.cdt.core.ccnature</nature>
26
		<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
27
	</natures>
28
	<linkedResources>
29
		<link>
30
			<name>bm222.c</name>
31
			<type>1</type>
32
			<locationURI>PARENT-2-PROJECT_LOC/bm222.c</locationURI>
33
		</link>
34
		<link>
35
			<name>bm222.h</name>
36
			<type>1</type>
37
			<locationURI>PARENT-2-PROJECT_LOC/bm222.h</locationURI>
38
		</link>
39
		<link>
40
			<name>data.c</name>
41
			<type>1</type>
42
			<locationURI>PARENT-2-PROJECT_LOC/data.c</locationURI>
43
		</link>
44
		<link>
45
			<name>data.h</name>
46
			<type>1</type>
47
			<locationURI>PARENT-2-PROJECT_LOC/data.h</locationURI>
48
		</link>
49
		<link>
50
			<name>gpio_if.c</name>
51
			<type>1</type>
52
			<locationURI>CC3200_SDK_ROOT/example/common/gpio_if.c</locationURI>
53
		</link>
54
		<link>
55
			<name>i2c_if.c</name>
56
			<type>1</type>
57
			<locationURI>CC3200_SDK_ROOT/example/common/i2c_if.c</locationURI>
58
		</link>
59
		<link>
60
			<name>main.c</name>
61
			<type>1</type>
62
			<locationURI>PARENT-2-PROJECT_LOC/main.c</locationURI>
63
		</link>
64
		<link>
65
			<name>network_common.c</name>
66
			<type>1</type>
67
			<locationURI>CC3200_SDK_ROOT/example/common/network_common.c</locationURI>
68
		</link>
69
		<link>
70
			<name>startup_ccs.c</name>
71
			<type>1</type>
72
			<locationURI>CC3200_SDK_ROOT/example/common/startup_ccs.c</locationURI>
73
		</link>
74
		<link>
75
			<name>tmp006.c</name>
76
			<type>1</type>
77
			<locationURI>PARENT-2-PROJECT_LOC/tmp006.c</locationURI>
78
		</link>
79
		<link>
80
			<name>tmp006.h</name>
81
			<type>1</type>
82
			<locationURI>PARENT-2-PROJECT_LOC/tmp006.h</locationURI>
83
		</link>
84
		<link>
85
			<name>wifi.c</name>
86
			<type>1</type>
87
			<locationURI>PARENT-2-PROJECT_LOC/wifi.c</locationURI>
88
		</link>
89
		<link>
90
			<name>wifi.h</name>
91
			<type>1</type>
92
			<locationURI>PARENT-2-PROJECT_LOC/wifi.h</locationURI>
93
		</link>
94
	</linkedResources>
95
	<variableList>
96
		<variable>
97
			<name>CC3200_SDK_ROOT</name>
98
			<value>$%7BTI_PRODUCTS_DIR%7D/CC3200SDK_1.2.0/cc3200-sdk</value>
99
		</variable>
100
	</variableList>
101
</projectDescription>
examples/CC3200/ccs/MG_sensor_demo/cc3200v1p32.cmd
1
//*****************************************************************************
2
// cc3200v1p32.cmd
3
//
4
// CCS linker configuration file for cc3200 ES 1.32.
5
//
6
// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/ 
7
// 
8
// 
9
//  Redistribution and use in source and binary forms, with or without 
10
//  modification, are permitted provided that the following conditions 
11
//  are met:
12
//
13
//    Redistributions of source code must retain the above copyright 
14
//    notice, this list of conditions and the following disclaimer.
15
//
16
//    Redistributions in binary form must reproduce the above copyright
17
//    notice, this list of conditions and the following disclaimer in the 
18
//    documentation and/or other materials provided with the   
19
//    distribution.
20
//
21
//    Neither the name of Texas Instruments Incorporated nor the names of
22
//    its contributors may be used to endorse or promote products derived
23
//    from this software without specific prior written permission.
24
//
25
//  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
26
//  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
27
//  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28
//  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 
29
//  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
30
//  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 
31
//  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
//  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33
//  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
34
//  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
35
//  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
//
37
//*****************************************************************************
38

  
39

  
40
--retain=g_pfnVectors
41

  
42
//*****************************************************************************
43
// The following command line options are set as part of the CCS project.  
44
// If you are building using the command line, or for some reason want to    
45
// define them here, you can uncomment and modify these lines as needed.     
46
// If you are using CCS for building, it is probably better to make any such 
47
// modifications in your CCS project and leave this file alone.              
48
//*****************************************************************************
49

  
50

  
51
//*****************************************************************************
52
// The starting address of the application.  Normally the interrupt vectors  
53
// must be located at the beginning of the application.                      
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff