cancel
Showing results for 
Search instead for 
Did you mean: 

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 .

Oahme.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions

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 Venmo Up vote any posts that you find helpful, it shows what's working..

View solution in original post

3 REPLIES 3
S.Ma
Principal

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

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 Venmo Up vote any posts that you find helpful, it shows what's working..
Oahme.1
Associate III

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