Skip to main content
Oahme.1
Associate III
August 2, 2020
Solved

Hi, I want to load my value into the SRAM by using the command STR , So I declared a READ-WRITE section in file2 but it always gives me a build error, I'm using the stm32f1 series.I believe this has something to do with the scatter file .

  • August 2, 2020
  • 3 replies
  • 1208 views

Ive also tried reading the linker documentation but didnt understand much.

This topic has been closed for replies.
Best answer by Tesla DeLorean

can't edit screenshots

AREA needs a space in front, where as BLOCK does not, assembler sensitive to line position of labels vs keywords.​

3 replies

S.Ma
Principal
August 2, 2020

explain what is the application need instead of one way of implementation

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
August 2, 2020

can't edit screenshots

AREA needs a space in front, where as BLOCK does not, assembler sensitive to line position of labels vs keywords.​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Oahme.1
Oahme.1Author
Associate III
August 4, 2020

Yes Thankyou @Community member​  I forgot about line position.The code runs now