HI all,
i needed efl support for STM32F072 so i ported STM32F1 efl code to F0. I have no other F0 Hardware here so only tested on F072.
Regards
Tec
F0 EFL Patch
-
- Posts: 124
- Joined: Tue Jan 10, 2012 8:42 am
- Has thanked: 21 times
- Been thanked: 5 times
-
- Posts: 124
- Joined: Tue Jan 10, 2012 8:42 am
- Has thanked: 21 times
- Been thanked: 5 times
Re: F0 EFL Patch
Is it needed to take the sectors used in EFL MFS out of the linker script? So my device is 32 sectors and i use sector 30 and 31. From a first look it makes no difference if i use the stock .ld file or a modified one where the last 2 sectors are not in flash like below?
Code: Select all
/*
* STM32F072xB memory setup.
*/
MEMORY
{
flash0 (rx) : org = 0x08000000, len = 120k
flash1 (rx) : org = 0x00000000, len = 0
flash2 (rx) : org = 0x00000000, len = 0
flash3 (rx) : org = 0x00000000, len = 0
flash4 (rx) : org = 0x00000000, len = 0
flash5 (rx) : org = 0x00000000, len = 0
flash6 (rx) : org = 0x00000000, len = 0
flash7 (rx) : org = 0x00000000, len = 0
ram0 (wx) : org = 0x20000000, len = 16k
ram1 (wx) : org = 0x00000000, len = 0
ram2 (wx) : org = 0x00000000, len = 0
ram3 (wx) : org = 0x00000000, len = 0
ram4 (wx) : org = 0x00000000, len = 0
ram5 (wx) : org = 0x00000000, len = 0
ram6 (wx) : org = 0x00000000, len = 0
ram7 (wx) : org = 0x00000000, len = 0
eeprom (rw) : org = 0x0801E000, len = 8k
}
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: F0 EFL Patch
Hi,
Default ld files do not need to be "aware" of the rest of SW. If you use MFS on internal flash it is your responsibility to create ad-hoc ld files.
Different layers in the architectures.
Giovanni
Default ld files do not need to be "aware" of the rest of SW. If you use MFS on internal flash it is your responsibility to create ad-hoc ld files.
Different layers in the architectures.
Giovanni
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 35 guests