From c2a926ce6fb4374e1b5b484653980b86c7a88bfc Mon Sep 17 00:00:00 2001 From: rtel Date: Mon, 27 Apr 2015 15:23:29 +0000 Subject: [PATCH] Add CCS project for MSP430FR5969 demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2348 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- .../.ccsproject | 14 + .../.cproject | 240 +++++++++++++ .../.project | 175 ++++++++++ .../org.eclipse.cdt.codan.core.prefs | 3 + .../org.eclipse.cdt.debug.core.prefs | 2 + .../org.eclipse.core.resources.prefs | 24 ++ .../Blinky_Demo/main_blinky.c | 0 .../CCS_Only/RegTest.asm | 200 +++++++++++ .../FreeRTOSConfig.h | 7 +- .../Full_Demo/main_full.c | 9 +- .../Full_Demo/serial.c | 8 +- .../IAR_Only}/RegTest.s43 | 0 .../IAR_Only}/low_level_init_iar.c | 0 .../LEDs.c | 2 +- .../RTOSDemo.ewd | 0 .../RTOSDemo.ewp | 4 +- .../RTOSDemo.eww | 0 .../driverlib/MSP430FR5xx_6xx/adc12_b.c | 0 .../driverlib/MSP430FR5xx_6xx/adc12_b.h | 0 .../driverlib/MSP430FR5xx_6xx/aes256.c | 0 .../driverlib/MSP430FR5xx_6xx/aes256.h | 0 .../driverlib/MSP430FR5xx_6xx/comp_e.c | 0 .../driverlib/MSP430FR5xx_6xx/comp_e.h | 0 .../driverlib/MSP430FR5xx_6xx/crc.c | 0 .../driverlib/MSP430FR5xx_6xx/crc.h | 0 .../driverlib/MSP430FR5xx_6xx/crc32.c | 0 .../driverlib/MSP430FR5xx_6xx/crc32.h | 0 .../driverlib/MSP430FR5xx_6xx/cs.c | 0 .../driverlib/MSP430FR5xx_6xx/cs.h | 0 .../deprecated/CCS/msp430fr5xx_6xxgeneric.h | 0 .../deprecated/IAR/msp430fr5xx_6xxgeneric.h | 0 .../driverlib/MSP430FR5xx_6xx/dma.c | 0 .../driverlib/MSP430FR5xx_6xx/dma.h | 0 .../driverlib/MSP430FR5xx_6xx/driverlib.h | 0 .../driverlib/MSP430FR5xx_6xx/esi.c | 0 .../driverlib/MSP430FR5xx_6xx/esi.h | 0 .../driverlib/MSP430FR5xx_6xx/eusci_a_spi.c | 0 .../driverlib/MSP430FR5xx_6xx/eusci_a_spi.h | 0 .../driverlib/MSP430FR5xx_6xx/eusci_a_uart.c | 0 .../driverlib/MSP430FR5xx_6xx/eusci_a_uart.h | 0 .../driverlib/MSP430FR5xx_6xx/eusci_b_i2c.c | 0 .../driverlib/MSP430FR5xx_6xx/eusci_b_i2c.h | 0 .../driverlib/MSP430FR5xx_6xx/eusci_b_spi.c | 0 .../driverlib/MSP430FR5xx_6xx/eusci_b_spi.h | 0 .../driverlib/MSP430FR5xx_6xx/framctl.c | 0 .../driverlib/MSP430FR5xx_6xx/framctl.h | 0 .../driverlib/MSP430FR5xx_6xx/gpio.c | 0 .../driverlib/MSP430FR5xx_6xx/gpio.h | 0 .../driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h | 0 .../MSP430FR5xx_6xx/inc/hw_regaccess.h | 0 .../driverlib/MSP430FR5xx_6xx/inc/hw_types.h | 0 .../driverlib/MSP430FR5xx_6xx/inc/version.h | 0 .../driverlib/MSP430FR5xx_6xx/lcd_c.c | 0 .../driverlib/MSP430FR5xx_6xx/lcd_c.h | 0 .../driverlib/MSP430FR5xx_6xx/mpu.c | 0 .../driverlib/MSP430FR5xx_6xx/mpu.h | 0 .../driverlib/MSP430FR5xx_6xx/mpy32.c | 0 .../driverlib/MSP430FR5xx_6xx/mpy32.h | 0 .../driverlib/MSP430FR5xx_6xx/pmm.c | 0 .../driverlib/MSP430FR5xx_6xx/pmm.h | 0 .../driverlib/MSP430FR5xx_6xx/ram.c | 0 .../driverlib/MSP430FR5xx_6xx/ram.h | 0 .../driverlib/MSP430FR5xx_6xx/ref_a.c | 0 .../driverlib/MSP430FR5xx_6xx/ref_a.h | 0 .../driverlib/MSP430FR5xx_6xx/rtc_b.c | 0 .../driverlib/MSP430FR5xx_6xx/rtc_b.h | 0 .../driverlib/MSP430FR5xx_6xx/rtc_c.c | 0 .../driverlib/MSP430FR5xx_6xx/rtc_c.h | 0 .../driverlib/MSP430FR5xx_6xx/sfr.c | 0 .../driverlib/MSP430FR5xx_6xx/sfr.h | 0 .../driverlib/MSP430FR5xx_6xx/sysctl.c | 0 .../driverlib/MSP430FR5xx_6xx/sysctl.h | 0 .../driverlib/MSP430FR5xx_6xx/timer_a.c | 0 .../driverlib/MSP430FR5xx_6xx/timer_a.h | 0 .../driverlib/MSP430FR5xx_6xx/timer_b.c | 0 .../driverlib/MSP430FR5xx_6xx/timer_b.h | 0 .../driverlib/MSP430FR5xx_6xx/tlv.c | 0 .../driverlib/MSP430FR5xx_6xx/tlv.h | 0 .../driverlib/MSP430FR5xx_6xx/wdt_a.c | 0 .../driverlib/MSP430FR5xx_6xx/wdt_a.h | 0 .../lnk_msp430fr5969.cmd | 321 ++++++++++++++++++ .../main.c | 23 +- .../main.h | 0 83 files changed, 1018 insertions(+), 14 deletions(-) create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.ccsproject create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.cproject create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.project create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.codan.core.prefs create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.debug.core.prefs create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.core.resources.prefs rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/Blinky_Demo/main_blinky.c (100%) create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/CCS_Only/RegTest.asm rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/FreeRTOSConfig.h (95%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/Full_Demo/main_full.c (96%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/Full_Demo/serial.c (94%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad/Full_Demo => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/IAR_Only}/RegTest.s43 (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/IAR_Only}/low_level_init_iar.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/LEDs.c (96%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/RTOSDemo.ewd (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/RTOSDemo.ewp (96%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/RTOSDemo.eww (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/adc12_b.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/adc12_b.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/aes256.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/aes256.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/comp_e.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/comp_e.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/crc.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/crc.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/crc32.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/crc32.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/cs.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/cs.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/deprecated/CCS/msp430fr5xx_6xxgeneric.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/deprecated/IAR/msp430fr5xx_6xxgeneric.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/dma.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/dma.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/driverlib.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/esi.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/esi.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_a_spi.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_a_spi.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_a_uart.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_a_uart.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_b_spi.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/eusci_b_spi.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/framctl.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/framctl.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/gpio.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/gpio.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/inc/hw_regaccess.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/inc/hw_types.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/inc/version.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/lcd_c.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/lcd_c.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/mpu.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/mpu.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/mpy32.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/mpy32.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/pmm.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/pmm.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/ram.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/ram.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/ref_a.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/ref_a.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/rtc_b.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/rtc_b.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/rtc_c.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/rtc_c.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/sfr.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/sfr.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/sysctl.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/sysctl.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/timer_a.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/timer_a.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/timer_b.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/timer_b.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/tlv.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/tlv.h (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/wdt_a.c (100%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/driverlib/MSP430FR5xx_6xx/wdt_a.h (100%) create mode 100644 FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/lnk_msp430fr5969.cmd rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/main.c (93%) rename FreeRTOS/Demo/{MSP430X_MSP430FR5969_LaunchPad => MSP430X_MSP430FR5969_LaunchPad_IAR_CCS}/main.h (100%) diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.ccsproject b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.ccsproject new file mode 100644 index 000000000..7e5b14831 --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.ccsproject @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.cproject b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.cproject new file mode 100644 index 000000000..8366b953d --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.cproject @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.project b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.project new file mode 100644 index 000000000..3f917ed7b --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.project @@ -0,0 +1,175 @@ + + + RTOSDemo + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + com.ti.ccstudio.core.ccsNature + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + FreeRTOS_Source + 2 + FREERTOS_ROOT/FreeRTOS/Source + + + Full_Demo/FreeRTOS+CLI + 2 + FREERTOS_ROOT/FreeRTOS-Plus/Source/FreeRTOS-Plus-CLI + + + Full_Demo/Sample-CLI-commands.c + 1 + FREERTOS_ROOT/FreeRTOS-Plus/Demo/Common/FreeRTOS_Plus_CLI_Demos/Sample-CLI-commands.c + + + Full_Demo/Standard_Demo_Tasks + 2 + FREERTOS_ROOT/FreeRTOS/Demo/Common/Minimal + + + Full_Demo/UARTCommandConsole.c + 1 + FREERTOS_ROOT/FreeRTOS-Plus/Demo/Common/FreeRTOS_Plus_CLI_Demos/UARTCommandConsole.c + + + Full_Demo/Standard_Demo_Tasks/include + 2 + FREERTOS_ROOT/FreeRTOS/Demo/Common/include + + + + + 1430137400309 + + 10 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-Debug_* + + + + 1430136451456 + FreeRTOS_Source/portable + 9 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-MemMang + + + + 1430136451469 + FreeRTOS_Source/portable + 9 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-CCS + + + + 1430137210901 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-blocktim.c + + + + 1430137210906 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-countsem.c + + + + 1430137210911 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-dynamic.c + + + + 1430137210918 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-EventGroupsDemo.c + + + + 1430137210942 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-GenQTest.c + + + + 1430137210942 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-recmutex.c + + + + 1430137210952 + Full_Demo/Standard_Demo_Tasks + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-TaskNotify.c + + + + 1430136552434 + FreeRTOS_Source/portable/CCS + 9 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-MSP430X + + + + 1430136529897 + FreeRTOS_Source/portable/MemMang + 5 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-heap_4.c + + + + + + FREERTOS_ROOT + $%7BPARENT-3-PROJECT_LOC%7D + + + diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.codan.core.prefs b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.codan.core.prefs new file mode 100644 index 000000000..98b635027 --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.codan.core.prefs @@ -0,0 +1,3 @@ +eclipse.preferences.version=1 +inEditor=false +onBuild=false diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.debug.core.prefs b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.debug.core.prefs new file mode 100644 index 000000000..58d4fb29d --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.cdt.debug.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.cdt.debug.core.toggleBreakpointModel=com.ti.ccstudio.debug.CCSBreakpointMarker diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.core.resources.prefs b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 000000000..a3e220f57 --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,24 @@ +eclipse.preferences.version=1 +encoding//Debug/Blinky_Demo/subdir_rules.mk=UTF-8 +encoding//Debug/Blinky_Demo/subdir_vars.mk=UTF-8 +encoding//Debug/CCS_Only/subdir_rules.mk=UTF-8 +encoding//Debug/CCS_Only/subdir_vars.mk=UTF-8 +encoding//Debug/FreeRTOS_Source/portable/CCS/MSP430X/subdir_rules.mk=UTF-8 +encoding//Debug/FreeRTOS_Source/portable/CCS/MSP430X/subdir_vars.mk=UTF-8 +encoding//Debug/FreeRTOS_Source/portable/MemMang/subdir_rules.mk=UTF-8 +encoding//Debug/FreeRTOS_Source/portable/MemMang/subdir_vars.mk=UTF-8 +encoding//Debug/FreeRTOS_Source/subdir_rules.mk=UTF-8 +encoding//Debug/FreeRTOS_Source/subdir_vars.mk=UTF-8 +encoding//Debug/Full_Demo/FreeRTOS+CLI/subdir_rules.mk=UTF-8 +encoding//Debug/Full_Demo/FreeRTOS+CLI/subdir_vars.mk=UTF-8 +encoding//Debug/Full_Demo/Standard_Demo_Tasks/subdir_rules.mk=UTF-8 +encoding//Debug/Full_Demo/Standard_Demo_Tasks/subdir_vars.mk=UTF-8 +encoding//Debug/Full_Demo/subdir_rules.mk=UTF-8 +encoding//Debug/Full_Demo/subdir_vars.mk=UTF-8 +encoding//Debug/driverlib/MSP430FR5xx_6xx/subdir_rules.mk=UTF-8 +encoding//Debug/driverlib/MSP430FR5xx_6xx/subdir_vars.mk=UTF-8 +encoding//Debug/makefile=UTF-8 +encoding//Debug/objects.mk=UTF-8 +encoding//Debug/sources.mk=UTF-8 +encoding//Debug/subdir_rules.mk=UTF-8 +encoding//Debug/subdir_vars.mk=UTF-8 diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Blinky_Demo/main_blinky.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Blinky_Demo/main_blinky.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Blinky_Demo/main_blinky.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Blinky_Demo/main_blinky.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/CCS_Only/RegTest.asm b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/CCS_Only/RegTest.asm new file mode 100644 index 000000000..46fe4f1e5 --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/CCS_Only/RegTest.asm @@ -0,0 +1,200 @@ +; +;/* +; FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd. +; +; +; *************************************************************************** +; * * +; * FreeRTOS tutorial books are available in pdf and paperback. * +; * Complete, revised, and edited pdf reference manuals are also * +; * available. * +; * * +; * Purchasing FreeRTOS documentation will not only help you, by * +; * ensuring you get running as quickly as possible and with an * +; * in-depth knowledge of how to use FreeRTOS, it will also help * +; * the FreeRTOS project to continue with its mission of providing * +; * professional grade, cross platform, de facto standard solutions * +; * for microcontrollers - completely free of charge! * +; * * +; * >>> See http://www.FreeRTOS.org/Documentation for details. <<< * +; * * +; * Thank you for using FreeRTOS, and thank you for your support! * +; * * +; *************************************************************************** +; +; +; This file is part of the FreeRTOS distribution. +; +; FreeRTOS is free software; you can redistribute it and/or modify it under +; the terms of the GNU General Public License (version 2) as published by the +; Free Software Foundation AND MODIFIED BY the FreeRTOS exception. +; >>>NOTE<<< The modification to the GPL is included to allow you to +; distribute a combined work that includes FreeRTOS without being obliged to +; provide the source code for proprietary components outside of the FreeRTOS +; kernel. FreeRTOS is distributed in the hope that it will be useful, but +; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +; more details. You should have received a copy of the GNU General Public +; License and the FreeRTOS license exception along with FreeRTOS; if not it +; can be viewed here: http://www.freertos.org/a00114.html and also obtained +; by writing to Richard Barry, contact details for whom are available on the +; FreeRTOS WEB site. +; +; 1 tab == 4 spaces! +; +; http://www.FreeRTOS.org - Documentation, latest information, license and +; contact details. +; +; http://www.SafeRTOS.com - A version that is certified for use in safety +; critical systems. +; +; http://www.OpenRTOS.com - Commercial support, development, porting, +; licensing and training services. +;*/ + +; * The definition of the "register test" tasks, as described at the top of +; * main.c + + .include data_model.h + + .if $DEFINED( __LARGE_DATA_MODEL__ ) + .define "cmp.a", cmp_x + .define "incx.w", inc_x + .else + .define "cmp.w", cmp_x + .define "inc.w", inc_x + .endif + + + .global usRegTest1LoopCounter + .global usRegTest2LoopCounter + .global vPortYield + + .def vRegTest1Implementation + .def vRegTest2Implementation + + .text + + .align 2 +vRegTest1Implementation: .asmfunc + + ; Fill each general purpose register with a known value. + mov_x #0x4444, r4 + mov_x #0x5555, r5 + mov_x #0x6666, r6 + mov_x #0x7777, r7 + mov_x #0x8888, r8 + mov_x #0x9999, r9 + mov_x #0xaaaa, r10 + mov_x #0xbbbb, r11 + mov_x #0xcccc, r12 + mov_x #0xdddd, r13 + mov_x #0xeeee, r14 + mov_x #0xffff, r15 + +prvRegTest1Loop: + + ; Test each general purpose register to check that it still contains the + ; expected known value, jumping to vRegTest1Error if any register contains + ; an unexpected value. + cmp_x #0x4444, r4 + jne vRegTest1Error + cmp_x #0x5555, r5 + jne vRegTest1Error + cmp_x #0x6666, r6 + jne vRegTest1Error + cmp_x #0x7777, r7 + jne vRegTest1Error + cmp_x #0x8888, r8 + jne vRegTest1Error + cmp_x #0x9999, r9 + jne vRegTest1Error + cmp_x #0xaaaa, r10 + jne vRegTest1Error + cmp_x #0xbbbb, r11 + jne vRegTest1Error + cmp_x #0xcccc, r12 + jne vRegTest1Error + cmp_x #0xdddd, r13 + jne vRegTest1Error + cmp_x #0xeeee, r14 + jne vRegTest1Error + cmp_x #0xffff, r15 + jne vRegTest1Error + + ; This task is still running without jumping to vRegTest1Error, so increment + ; the loop counter so the check task knows the task is running error free. + inc_x &usRegTest1LoopCounter + + ; Loop again, performing the same tests. + jmp prvRegTest1Loop + nop + +vRegTest1Error: + jmp vRegTest1Error + nop + .endasmfunc +; ----------------------------------------------------------- + +; See the comments in vRegTest1Implementation. This task is the same, it just uses +; different values in its registers. + .align 2 +vRegTest2Implementation: .asmfunc + + mov_x #0x4441, r4 + mov_x #0x5551, r5 + mov_x #0x6661, r6 + mov_x #0x7771, r7 + mov_x #0x8881, r8 + mov_x #0x9991, r9 + mov_x #0xaaa1, r10 + mov_x #0xbbb1, r11 + mov_x #0xccc1, r12 + mov_x #0xddd1, r13 + mov_x #0xeee1, r14 + mov_x #0xfff1, r15 + +prvRegTest2Loop: + + cmp_x #0x4441, r4 + jne vRegTest2Error + cmp_x #0x5551, r5 + jne vRegTest2Error + cmp_x #0x6661, r6 + jne vRegTest2Error + cmp_x #0x7771, r7 + jne vRegTest2Error + cmp_x #0x8881, r8 + jne vRegTest2Error + cmp_x #0x9991, r9 + jne vRegTest2Error + cmp_x #0xaaa1, r10 + jne vRegTest2Error + cmp_x #0xbbb1, r11 + jne vRegTest2Error + cmp_x #0xccc1, r12 + jne vRegTest2Error + cmp_x #0xddd1, r13 + jne vRegTest2Error + cmp_x #0xeee1, r14 + jne vRegTest2Error + cmp_x #0xfff1, r15 + jne vRegTest2Error + + ; Also perform a manual yield, just to increase the scope of the test. + call_x #vPortYield + + inc_x &usRegTest2LoopCounter + jmp prvRegTest2Loop + nop + + +vRegTest2Error: + jmp vRegTest2Error + nop + .endasmfunc +; /*----------------------------------------------------------- + + + .end + diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/FreeRTOSConfig.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/FreeRTOSConfig.h similarity index 95% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/FreeRTOSConfig.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/FreeRTOSConfig.h index f531c5e35..f2f52e370 100644 --- a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/FreeRTOSConfig.h +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/FreeRTOSConfig.h @@ -124,13 +124,14 @@ __persistent keyword to be used. See http://www.freertos.org/a00111.html#heap_4 /* Event group related definitions. */ #define configUSE_EVENT_GROUPS 0 -/* Prevent the following line being included from asm files. */ -#ifdef __ICC430__ +/* Prevent the following line being included from IAR asm files. */ +#ifndef __IAR_SYSTEMS_ASM__ + void vConfigureTimerForRunTimeStats( void ); + extern volatile uint32_t ulRunTimeCounterOverflows; void vConfigureTimerForRunTimeStats( void ); #endif /* Run time stats gathering definitions. */ -extern volatile uint32_t ulRunTimeCounterOverflows; #define configGENERATE_RUN_TIME_STATS 1 #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() vConfigureTimerForRunTimeStats() /* Return the current timer counter value + the overflow counter. */ diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/main_full.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Full_Demo/main_full.c similarity index 96% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/main_full.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Full_Demo/main_full.c index 0ca1f3b32..77f734bd3 100644 --- a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/main_full.c +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Full_Demo/main_full.c @@ -192,10 +192,15 @@ stops incrementing, then an error has been found. */ volatile uint16_t usRegTest1LoopCounter = 0UL, usRegTest2LoopCounter = 0UL; /* cOutputBuffer is used by FreeRTOS+CLI. It is declared here so the -__persistent qualifier can be used. For the buffer to be declared here, rather +persistent qualifier can be used. For the buffer to be declared here, rather than in FreeRTOS_CLI.c, configAPPLICATION_PROVIDES_cOutputBuffer must be set to 1 in FreeRTOSConfig.h. */ -__persistent char cOutputBuffer[ configCOMMAND_INT_MAX_OUTPUT_SIZE ]; +#ifdef __ICC430__ + __persistent /* IAR version. */ +#else + #pragma PERSISTENT( cOutputBuffer ) /* CCS version. */ +#endif +char cOutputBuffer[ configCOMMAND_INT_MAX_OUTPUT_SIZE ] = { 0 }; /* Used for maintaining a 32-bit run time stats counter from a 16-bit timer. */ volatile uint32_t ulRunTimeCounterOverflows = 0; diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/serial.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Full_Demo/serial.c similarity index 94% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/serial.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Full_Demo/serial.c index e2c455497..9cf590261 100644 --- a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/serial.c +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/Full_Demo/serial.c @@ -102,7 +102,7 @@ static QueueHandle_t xCharsForTx; /*-----------------------------------------------------------*/ -xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, UBaseType_t uxQueueLength ) +xComPortHandle xSerialPortInitMinimal( unsigned long ulWantedBaud, unsigned portBASE_TYPE uxQueueLength ) { unsigned long ulBaudRateCount; @@ -144,7 +144,7 @@ unsigned long ulBaudRateCount; } /*-----------------------------------------------------------*/ -BaseType_t xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime ) +signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickType_t xBlockTime ) { /* Get the next character from the buffer. Return false if no characters are available, or arrive before xBlockTime expires. */ @@ -159,7 +159,7 @@ BaseType_t xSerialGetChar( xComPortHandle pxPort, signed char *pcRxedChar, TickT } /*-----------------------------------------------------------*/ -BaseType_t xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime ) +signed portBASE_TYPE xSerialPutChar( xComPortHandle pxPort, signed char cOutChar, TickType_t xBlockTime ) { BaseType_t xReturn; @@ -202,7 +202,7 @@ of the DMA. Or, as a minimum, transmission and reception could use a simple RAM ring buffer, and synchronise with a task using a semaphore when a complete message has been received or transmitted. */ #pragma vector=USCI_A0_VECTOR -static __interrupt void prvUSCI_A0_ISR( void ) +__interrupt void prvUSCI_A0_ISR( void ) { signed char cChar; BaseType_t xHigherPriorityTaskWoken = pdFALSE; diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/RegTest.s43 b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/IAR_Only/RegTest.s43 similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/Full_Demo/RegTest.s43 rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/IAR_Only/RegTest.s43 diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/low_level_init_iar.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/IAR_Only/low_level_init_iar.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/low_level_init_iar.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/IAR_Only/low_level_init_iar.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/LEDs.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/LEDs.c similarity index 96% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/LEDs.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/LEDs.c index cab40defc..284a7cefd 100644 --- a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/LEDs.c +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/LEDs.c @@ -105,7 +105,7 @@ void vParTestSetLED( UBaseType_t uxLED, BaseType_t xValue ) } /*-----------------------------------------------------------*/ -void vParTestToggleLED( unsigned portBASE_TYPE uxLED ) +void vParTestToggleLED( UBaseType_t uxLED ) { if( uxLED < partstNUM_LEDS ) { diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.ewd b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.ewd similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.ewd rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.ewd diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.ewp b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.ewp similarity index 96% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.ewp rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.ewp index 7d80e25d0..e3370d027 100644 --- a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.ewp +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.ewp @@ -2551,7 +2551,7 @@ $PROJ_DIR$\Full_Demo\main_full.c - $PROJ_DIR$\Full_Demo\RegTest.s43 + $PROJ_DIR$\IAR_Only\RegTest.s43 $PROJ_DIR$\..\..\..\FreeRTOS-Plus\Demo\Common\FreeRTOS_Plus_CLI_Demos\Sample-CLI-commands.c @@ -2567,7 +2567,7 @@ $PROJ_DIR$\LEDs.c - $PROJ_DIR$\low_level_init_iar.c + $PROJ_DIR$\IAR_Only\low_level_init_iar.c $PROJ_DIR$\main.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.eww b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.eww similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/RTOSDemo.eww rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/RTOSDemo.eww diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/adc12_b.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/adc12_b.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/adc12_b.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/adc12_b.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/adc12_b.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/adc12_b.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/adc12_b.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/adc12_b.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/aes256.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/aes256.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/aes256.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/aes256.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/aes256.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/aes256.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/aes256.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/aes256.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/comp_e.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/comp_e.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/comp_e.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/comp_e.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/comp_e.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/comp_e.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/comp_e.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/comp_e.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc32.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc32.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc32.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc32.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc32.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc32.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/crc32.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/crc32.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/cs.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/cs.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/cs.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/cs.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/cs.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/cs.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/cs.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/cs.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/deprecated/CCS/msp430fr5xx_6xxgeneric.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/deprecated/CCS/msp430fr5xx_6xxgeneric.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/deprecated/CCS/msp430fr5xx_6xxgeneric.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/deprecated/CCS/msp430fr5xx_6xxgeneric.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/deprecated/IAR/msp430fr5xx_6xxgeneric.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/deprecated/IAR/msp430fr5xx_6xxgeneric.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/deprecated/IAR/msp430fr5xx_6xxgeneric.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/deprecated/IAR/msp430fr5xx_6xxgeneric.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/dma.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/dma.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/dma.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/dma.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/dma.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/dma.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/dma.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/dma.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/driverlib.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/driverlib.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/driverlib.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/driverlib.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/esi.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/esi.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/esi.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/esi.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/esi.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/esi.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/esi.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/esi.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_spi.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_spi.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_spi.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_spi.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_spi.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_spi.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_spi.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_spi.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_uart.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_uart.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_uart.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_uart.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_uart.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_uart.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_a_uart.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_a_uart.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_i2c.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_spi.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_spi.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_spi.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_spi.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_spi.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_spi.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/eusci_b_spi.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/eusci_b_spi.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/framctl.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/framctl.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/framctl.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/framctl.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/framctl.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/framctl.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/framctl.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/framctl.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/gpio.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/gpio.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/gpio.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/gpio.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/gpio.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/gpio.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/gpio.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/gpio.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/hw_memmap.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/hw_regaccess.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/hw_regaccess.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/hw_regaccess.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/hw_regaccess.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/hw_types.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/hw_types.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/hw_types.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/hw_types.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/version.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/version.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/inc/version.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/inc/version.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/lcd_c.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/lcd_c.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/lcd_c.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/lcd_c.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/lcd_c.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/lcd_c.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/lcd_c.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/lcd_c.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpu.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpu.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpu.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpu.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpu.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpu.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpu.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpu.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpy32.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpy32.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpy32.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpy32.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpy32.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpy32.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/mpy32.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/mpy32.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/pmm.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/pmm.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/pmm.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/pmm.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/pmm.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/pmm.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/pmm.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/pmm.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ram.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ram.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ram.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ram.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ram.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ram.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ram.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ram.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ref_a.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ref_a.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ref_a.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ref_a.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ref_a.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ref_a.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/ref_a.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/ref_a.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_b.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_b.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_b.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_b.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_b.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_b.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_b.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_b.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_c.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_c.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_c.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_c.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_c.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_c.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/rtc_c.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/rtc_c.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sfr.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sfr.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sfr.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sfr.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sfr.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sfr.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sfr.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sfr.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sysctl.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sysctl.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sysctl.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sysctl.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sysctl.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sysctl.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/sysctl.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/sysctl.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_a.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_a.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_a.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_a.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_a.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_a.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_a.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_a.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_b.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_b.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_b.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_b.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_b.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_b.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/timer_b.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/timer_b.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/tlv.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/tlv.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/tlv.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/tlv.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/tlv.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/tlv.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/tlv.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/tlv.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/wdt_a.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/wdt_a.c similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/wdt_a.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/wdt_a.c diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/wdt_a.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/wdt_a.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/driverlib/MSP430FR5xx_6xx/wdt_a.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/driverlib/MSP430FR5xx_6xx/wdt_a.h diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/lnk_msp430fr5969.cmd b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/lnk_msp430fr5969.cmd new file mode 100644 index 000000000..5bacb5cb8 --- /dev/null +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/lnk_msp430fr5969.cmd @@ -0,0 +1,321 @@ +/* ============================================================================ */ +/* Copyright (c) 2014, Texas Instruments Incorporated */ +/* All rights reserved. */ +/* */ +/* Redistribution and use in source and binary forms, with or without */ +/* modification, are permitted provided that the following conditions */ +/* are met: */ +/* */ +/* * Redistributions of source code must retain the above copyright */ +/* notice, this list of conditions and the following disclaimer. */ +/* */ +/* * Redistributions in binary form must reproduce the above copyright */ +/* notice, this list of conditions and the following disclaimer in the */ +/* documentation and/or other materials provided with the distribution. */ +/* */ +/* * Neither the name of Texas Instruments Incorporated nor the names of */ +/* its contributors may be used to endorse or promote products derived */ +/* from this software without specific prior written permission. */ +/* */ +/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" */ +/* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, */ +/* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ +/* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR */ +/* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, */ +/* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, */ +/* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; */ +/* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, */ +/* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR */ +/* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */ +/* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* ============================================================================ */ + +/******************************************************************************/ +/* lnk_msp430fr5969.cmd - LINKER COMMAND FILE FOR LINKING MSP430FR5969 PROGRAMS */ +/* */ +/* Usage: lnk430 -o -m lnk.cmd */ +/* cl430 -z -o -m lnk.cmd */ +/* */ +/*----------------------------------------------------------------------------*/ +/* These linker options are for command line linking only. For IDE linking, */ +/* you should set your linker options in Project Properties */ +/* -c LINK USING C CONVENTIONS */ +/* -stack 0x0100 SOFTWARE STACK SIZE */ +/* -heap 0x0100 HEAP AREA SIZE */ +/* */ +/*----------------------------------------------------------------------------*/ +/* Version: 1.159 */ +/*----------------------------------------------------------------------------*/ + +/****************************************************************************/ +/* Specify the system memory map */ +/****************************************************************************/ + +MEMORY +{ + SFR : origin = 0x0000, length = 0x0010 + PERIPHERALS_8BIT : origin = 0x0010, length = 0x00F0 + PERIPHERALS_16BIT : origin = 0x0100, length = 0x0100 + RAM : origin = 0x1C00, length = 0x0800 + INFOA : origin = 0x1980, length = 0x0080 + INFOB : origin = 0x1900, length = 0x0080 + INFOC : origin = 0x1880, length = 0x0080 + INFOD : origin = 0x1800, length = 0x0080 + FRAM : origin = 0x4400, length = 0xBB80 + FRAM2 : origin = 0x10000,length = 0x4000 + JTAGSIGNATURE : origin = 0xFF80, length = 0x0004, fill = 0xFFFF + BSLSIGNATURE : origin = 0xFF84, length = 0x0004, fill = 0xFFFF + IPESIGNATURE : origin = 0xFF88, length = 0x0008, fill = 0xFFFF + INT00 : origin = 0xFF90, length = 0x0002 + INT01 : origin = 0xFF92, length = 0x0002 + INT02 : origin = 0xFF94, length = 0x0002 + INT03 : origin = 0xFF96, length = 0x0002 + INT04 : origin = 0xFF98, length = 0x0002 + INT05 : origin = 0xFF9A, length = 0x0002 + INT06 : origin = 0xFF9C, length = 0x0002 + INT07 : origin = 0xFF9E, length = 0x0002 + INT08 : origin = 0xFFA0, length = 0x0002 + INT09 : origin = 0xFFA2, length = 0x0002 + INT10 : origin = 0xFFA4, length = 0x0002 + INT11 : origin = 0xFFA6, length = 0x0002 + INT12 : origin = 0xFFA8, length = 0x0002 + INT13 : origin = 0xFFAA, length = 0x0002 + INT14 : origin = 0xFFAC, length = 0x0002 + INT15 : origin = 0xFFAE, length = 0x0002 + INT16 : origin = 0xFFB0, length = 0x0002 + INT17 : origin = 0xFFB2, length = 0x0002 + INT18 : origin = 0xFFB4, length = 0x0002 + INT19 : origin = 0xFFB6, length = 0x0002 + INT20 : origin = 0xFFB8, length = 0x0002 + INT21 : origin = 0xFFBA, length = 0x0002 + INT22 : origin = 0xFFBC, length = 0x0002 + INT23 : origin = 0xFFBE, length = 0x0002 + INT24 : origin = 0xFFC0, length = 0x0002 + INT25 : origin = 0xFFC2, length = 0x0002 + INT26 : origin = 0xFFC4, length = 0x0002 + INT27 : origin = 0xFFC6, length = 0x0002 + INT28 : origin = 0xFFC8, length = 0x0002 + INT29 : origin = 0xFFCA, length = 0x0002 + INT30 : origin = 0xFFCC, length = 0x0002 + INT31 : origin = 0xFFCE, length = 0x0002 + INT32 : origin = 0xFFD0, length = 0x0002 + INT33 : origin = 0xFFD2, length = 0x0002 + INT34 : origin = 0xFFD4, length = 0x0002 + INT35 : origin = 0xFFD6, length = 0x0002 + INT36 : origin = 0xFFD8, length = 0x0002 + INT37 : origin = 0xFFDA, length = 0x0002 + INT38 : origin = 0xFFDC, length = 0x0002 + INT39 : origin = 0xFFDE, length = 0x0002 + INT40 : origin = 0xFFE0, length = 0x0002 + INT41 : origin = 0xFFE2, length = 0x0002 + INT42 : origin = 0xFFE4, length = 0x0002 + INT43 : origin = 0xFFE6, length = 0x0002 + INT44 : origin = 0xFFE8, length = 0x0002 + INT45 : origin = 0xFFEA, length = 0x0002 + INT46 : origin = 0xFFEC, length = 0x0002 + INT47 : origin = 0xFFEE, length = 0x0002 + INT48 : origin = 0xFFF0, length = 0x0002 + INT49 : origin = 0xFFF2, length = 0x0002 + INT50 : origin = 0xFFF4, length = 0x0002 + INT51 : origin = 0xFFF6, length = 0x0002 + INT52 : origin = 0xFFF8, length = 0x0002 + INT53 : origin = 0xFFFA, length = 0x0002 + INT54 : origin = 0xFFFC, length = 0x0002 + RESET : origin = 0xFFFE, length = 0x0002 +} + +/****************************************************************************/ +/* Specify the sections allocation into memory */ +/****************************************************************************/ + +SECTIONS +{ + GROUP(READ_WRITE_MEMORY) + { + .TI.persistent : {} /* For #pragma persistent */ + .cio : {} /* C I/O Buffer */ + .sysmem : {} /* Dynamic memory allocation area */ + } PALIGN(0x0400), RUN_END(fram_rx_start) > 0x4400 + + .cinit : {} > FRAM /* Initialization tables */ + .pinit : {} > FRAM /* C++ Constructor tables */ + .init_array : {} > FRAM /* C++ Constructor tables */ + .mspabi.exidx : {} > FRAM /* C++ Constructor tables */ + .mspabi.extab : {} > FRAM /* C++ Constructor tables */ +#ifndef __LARGE_DATA_MODEL__ + .const : {} >> FRAM /* Constant data */ +#else + .const : {} >> FRAM | FRAM2 /* Constant data */ +#endif + + .text:_isr : {} > FRAM /* Code ISRs */ +#ifndef __LARGE_DATA_MODEL__ + .text : {} >> FRAM /* Code */ +#else + .text : {} >> FRAM2 | FRAM /* Code */ +#endif + + GROUP(IPENCAPSULATED_MEMORY) + { + .ipestruct : {} /* IPE Data structure */ + .ipe : {} /* IPE */ + .ipe:_isr : {} /* IPE ISRs */ + } PALIGN(0x0400), RUN_START(fram_ipe_start) RUN_END(fram_ipe_end) > FRAM + + .jtagsignature : {} > JTAGSIGNATURE /* JTAG Signature */ + .bslsignature : {} > BSLSIGNATURE /* BSL Signature */ + + GROUP(SIGNATURE_SHAREDMEMORY) + { + .ipesignature : {} /* IPE Signature */ + .jtagpassword : {} /* JTAG Password */ + } > IPESIGNATURE + + .bss : {} > RAM /* Global & static vars */ + .data : {} > RAM /* Global & static vars */ + .TI.noinit : {} > RAM /* For #pragma noinit */ + .stack : {} > RAM (HIGH) /* Software system stack */ + + .infoA : {} > INFOA /* MSP430 INFO FRAM Memory segments */ + .infoB : {} > INFOB + .infoC : {} > INFOC + .infoD : {} > INFOD + + /* MSP430 Interrupt vectors */ + .int00 : {} > INT00 + .int01 : {} > INT01 + .int02 : {} > INT02 + .int03 : {} > INT03 + .int04 : {} > INT04 + .int05 : {} > INT05 + .int06 : {} > INT06 + .int07 : {} > INT07 + .int08 : {} > INT08 + .int09 : {} > INT09 + .int10 : {} > INT10 + .int11 : {} > INT11 + .int12 : {} > INT12 + .int13 : {} > INT13 + .int14 : {} > INT14 + .int15 : {} > INT15 + .int16 : {} > INT16 + .int17 : {} > INT17 + .int18 : {} > INT18 + .int19 : {} > INT19 + .int20 : {} > INT20 + .int21 : {} > INT21 + .int22 : {} > INT22 + .int23 : {} > INT23 + .int24 : {} > INT24 + .int25 : {} > INT25 + .int26 : {} > INT26 + .int27 : {} > INT27 + .int28 : {} > INT28 + .int29 : {} > INT29 + AES256 : { * ( .int30 ) } > INT30 type = VECT_INIT + RTC : { * ( .int31 ) } > INT31 type = VECT_INIT + PORT4 : { * ( .int32 ) } > INT32 type = VECT_INIT + PORT3 : { * ( .int33 ) } > INT33 type = VECT_INIT + TIMER3_A1 : { * ( .int34 ) } > INT34 type = VECT_INIT + TIMER3_A0 : { * ( .int35 ) } > INT35 type = VECT_INIT + PORT2 : { * ( .int36 ) } > INT36 type = VECT_INIT + TIMER2_A1 : { * ( .int37 ) } > INT37 type = VECT_INIT + TIMER2_A0 : { * ( .int38 ) } > INT38 type = VECT_INIT + PORT1 : { * ( .int39 ) } > INT39 type = VECT_INIT + TIMER1_A1 : { * ( .int40 ) } > INT40 type = VECT_INIT + TIMER1_A0 : { * ( .int41 ) } > INT41 type = VECT_INIT + DMA : { * ( .int42 ) } > INT42 type = VECT_INIT + USCI_A1 : { * ( .int43 ) } > INT43 type = VECT_INIT + TIMER0_A1 : { * ( .int44 ) } > INT44 type = VECT_INIT + TIMER0_A0 : { * ( .int45 ) } > INT45 type = VECT_INIT + ADC12 : { * ( .int46 ) } > INT46 type = VECT_INIT + USCI_B0 : { * ( .int47 ) } > INT47 type = VECT_INIT + USCI_A0 : { * ( .int48 ) } > INT48 type = VECT_INIT + WDT : { * ( .int49 ) } > INT49 type = VECT_INIT + TIMER0_B1 : { * ( .int50 ) } > INT50 type = VECT_INIT + TIMER0_B0 : { * ( .int51 ) } > INT51 type = VECT_INIT + COMP_E : { * ( .int52 ) } > INT52 type = VECT_INIT + UNMI : { * ( .int53 ) } > INT53 type = VECT_INIT + SYSNMI : { * ( .int54 ) } > INT54 type = VECT_INIT + .reset : {} > RESET /* MSP430 Reset vector */ +} + +/****************************************************************************/ +/* MPU/IPE Specific memory segment definitons */ +/****************************************************************************/ + +#ifdef _IPE_ENABLE + #define IPE_MPUIPLOCK 0x0080 + #define IPE_MPUIPENA 0x0040 + #define IPE_MPUIPPUC 0x0020 + + // Evaluate settings for the control setting of IP Encapsulation + #if defined(_IPE_ASSERTPUC1) + #if defined(_IPE_LOCK ) && (_IPE_ASSERTPUC1 == 0x08)) + fram_ipe_enable_value = (IPE_MPUIPENA | IPE_MPUIPPUC |IPE_MPUIPLOCK); + #elif defined(_IPE_LOCK ) + fram_ipe_enable_value = (IPE_MPUIPENA | IPE_MPUIPLOCK); + #elif (_IPE_ASSERTPUC1 == 0x08) + fram_ipe_enable_value = (IPE_MPUIPENA | IPE_MPUIPPUC); + #else + fram_ipe_enable_value = (IPE_MPUIPENA); + #endif + #else + #if defined(_IPE_LOCK ) + fram_ipe_enable_value = (IPE_MPUIPENA | IPE_MPUIPLOCK); + #else + fram_ipe_enable_value = (IPE_MPUIPENA); + #endif + #endif + + // Segment definitions + #ifdef _IPE_MANUAL // For custom sizes selected in the GUI + fram_ipe_border1 = (_IPE_SEGB1>>4); + fram_ipe_border2 = (_IPE_SEGB2>>4); + #else // Automated sizes generated by the Linker + fram_ipe_border2 = (fram_ipe_end + 0x400)>> 4; + fram_ipe_border1 = fram_ipe_start >> 4; + #endif + + fram_ipe_settings_struct_address = Ipe_settingsStruct >> 4; + fram_ipe_checksum = ~((fram_ipe_enable_value & fram_ipe_border2 & fram_ipe_border1) | (fram_ipe_enable_value & ~fram_ipe_border2 & ~fram_ipe_border1) | (~fram_ipe_enable_value & fram_ipe_border2 & ~fram_ipe_border1) | (~fram_ipe_enable_value & ~fram_ipe_border2 & fram_ipe_border1)); +#endif + +#ifdef _MPU_ENABLE + #define MPUPW (0xA500) /* MPU Access Password */ + #define MPUENA (0x0001) /* MPU Enable */ + #define MPULOCK (0x0002) /* MPU Lock */ + #define MPUSEGIE (0x0010) /* MPU Enable NMI on Segment violation */ + + __mpu_enable = 1; + // Segment definitions + #ifdef _MPU_MANUAL // For custom sizes selected in the GUI + mpu_segment_border1 = _MPU_SEGB1 >> 4; + mpu_segment_border2 = _MPU_SEGB2 >> 4; + mpu_sam_value = (_MPU_SAM0 << 12) | (_MPU_SAM3 << 8) | (_MPU_SAM2 << 4) | _MPU_SAM1; + #else // Automated sizes generated by Linker + mpu_segment_border1 = fram_rx_start >> 4; + mpu_segment_border2 = fram_rx_start >> 4; + mpu_sam_value = 0x1513; // Info R, Seg3 RX, Seg2 R, Seg1 RW + #endif + #ifdef _MPU_LOCK + #ifdef _MPU_ENABLE_NMI + mpu_ctl0_value = MPUPW | MPUENA | MPULOCK | MPUSEGIE; + #else + mpu_ctl0_value = MPUPW | MPUENA | MPULOCK; + #endif + #else + #ifdef _MPU_ENABLE_NMI + mpu_ctl0_value = MPUPW | MPUENA | MPUSEGIE; + #else + mpu_ctl0_value = MPUPW | MPUENA; + #endif + #endif +#endif + +/****************************************************************************/ +/* Include peripherals memory map */ +/****************************************************************************/ + +-l msp430fr5969.cmd + diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/main.c b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/main.c similarity index 93% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/main.c rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/main.c index 6fcd16dca..e4503d50a 100644 --- a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/main.c +++ b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/main.c @@ -126,10 +126,15 @@ void vApplicationIdleHook( void ); void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName ); void vApplicationTickHook( void ); -/* The heap is allocated here so the __persistent qualifier can be used. This +/* The heap is allocated here so the "persistent" qualifier can be used. This requires configAPPLICATION_ALLOCATED_HEAP to be set to 1 in FreeRTOSConfig.h. See http://www.freertos.org/a00111.html for more information. */ -__persistent uint8_t ucHeap[ configTOTAL_HEAP_SIZE ]; +#ifdef __ICC430__ + __persistent /* IAR version. */ +#else + #pragma PERSISTENT( ucHeap ) /* CCS version. */ +#endif +uint8_t ucHeap[ configTOTAL_HEAP_SIZE ] = { 0 }; /*-----------------------------------------------------------*/ @@ -238,6 +243,9 @@ const unsigned short usACLK_Frequency_Hz = 32768; static void prvSetupHardware( void ) { + /* Stop Watchdog timer. */ + WDT_A_hold( __MSP430_BASEADDRESS_WDT_A__ ); + /* Set all GPIO pins to output and low. */ GPIO_setOutputLowOnPin( GPIO_PORT_P1, GPIO_PIN0 | GPIO_PIN1 | GPIO_PIN2 | GPIO_PIN3 | GPIO_PIN4 | GPIO_PIN5 | GPIO_PIN6 | GPIO_PIN7 ); GPIO_setOutputLowOnPin( GPIO_PORT_P2, GPIO_PIN0 | GPIO_PIN1 | GPIO_PIN2 | GPIO_PIN3 | GPIO_PIN4 | GPIO_PIN5 | GPIO_PIN6 | GPIO_PIN7 ); @@ -281,3 +289,14 @@ static void prvSetupHardware( void ) PMM_unlockLPM5(); } /*-----------------------------------------------------------*/ + +int _system_pre_init( void ) +{ + /* Stop Watchdog timer. */ + WDT_A_hold( __MSP430_BASEADDRESS_WDT_A__ ); + + /* Return 1 for segments to be initialised. */ + return 1; +} + + diff --git a/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/main.h b/FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/main.h similarity index 100% rename from FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad/main.h rename to FreeRTOS/Demo/MSP430X_MSP430FR5969_LaunchPad_IAR_CCS/main.h -- 2.39.5