memory opt for Linux build signed

This commit is contained in:
Arul
2019-01-08 20:17:33 +05:30
parent 2706f6d8f3
commit af1e100e75
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ CFLAGS += -isystem$(XDC_PATH) -isystem$(BIOS_PATH) -isystem$(TIDRIVER_PATH) -isy
LD = $(TOOLCHAIN)/bin/arm-none-eabi-gcc
LFLAGS = -nostartfiles -static -Wl,--gc-sections -march=armv7e-m -Wl,-T,OC_CONNECT1.lds
LFLAGS += --specs=nosys.specs -mfloat-abi=hard -mfpu=fpv4-sp-d16
LFLAGS += --specs=nosys.specs --specs=nano.specs -mfloat-abi=hard -mfpu=fpv4-sp-d16
LFLAGS += -Wl,--print-memory-usage #Optional
LFLAGS += -Xlinker -Map=$(OUT)/main.map #Optional
LLIBS = -L$(TIVAWARE_DIR)/driverlib/gcc/

View File

@@ -45,10 +45,10 @@ Queue_Handle uartTxMsgQueue;
/* Global Task Configuration Variables */
Task_Struct ocUARTDMATask;
Char ocUARTDMATaskStack[OCUARTDMA_TASK_STACK_SIZE];
static Char ocUARTDMATaskStack[OCUARTDMA_TASK_STACK_SIZE];
Task_Struct ocUARTDMATxTask;
Char ocUARTDMATxTaskStack[OCUARTDMATX_TASK_STACK_SIZE];
static Char ocUARTDMATxTaskStack[OCUARTDMATX_TASK_STACK_SIZE];
/*****************************************************************************
* The transmit and receive buffers used for the UART transfers. There is one
@@ -70,7 +70,7 @@ static uint8_t ui8uartdmaRxBuf[UART_RXBUF_SIZE];
#elif defined(__GNUC__)
__attribute__((aligned(1024)))
#endif
uint8_t pui8ControlTable[1024];
static uint8_t pui8ControlTable[1024];
/*****************************************************************************
*