Skip to content

[BUG]warnings when LARGE DATA MODEL used on MSP430 CCS port #671

@dimitrovand

Description

@dimitrovand

Describe the bug
Warnings in portext.asm from portSAVE_CONTEXT and portRESTORE_CONTEXT dew to usage of mov.w in large data model. Using mov_x resolves all warnings.

Target

  • Development board: MSP-EXP430FR5994
  • IDE and version: Code Composer Studio 12.1.0.00007
  • Toolchain and version: Default for the IDE version

Host

  • Host OS: Windows
  • Version: 11

To Reproduce

  • Use any project containing the FreeRTOS port
  • In linker script select data and code to be moved to higher FRAM (FRAM2)
  • In project settings select Properties->Build->MSP430 Compiler->Processor Options and select large data/code models + --near_data = none
  • Add LARGE_DATA_MODEL in Properties->Build->MSP430 Compiler->Predefined Symbols

Expected behavior
No warnings

Screenshots
freertos

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions