Re: Decreasing BSS size for STM32F4

2014-10-30 Thread Sebastian Huber
On 14/10/14 12:47, Мороз Олег wrote: arm-rtems4.11-readelf -l shell.exe Elf file type is EXEC (Executable file) Entry point 0x8000189 There are 4 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align EXIDX 0

Re: Decreasing BSS size for STM32F4

2014-10-30 Thread Sebastian Huber
On 29/10/14 17:49, Chris Nott wrote: Hi, I have a BSP almost identical to STM32F4 except I want a slight change to the linker settings (I want to offset the start location because there is a bootloader at location 0). Two questions: - Is there any way to do this other than to a) duplicate th

Re: Decreasing BSS size for STM32F4

2014-10-29 Thread Chris Nott
Hi, I have a BSP almost identical to STM32F4 except I want a slight change to the linker settings (I want to offset the start location because there is a bootloader at location 0). Two questions: - Is there any way to do this other than to a) duplicate the BSP and change just the linker fil

Re: Decreasing BSS size for STM32F4

2014-10-29 Thread Joel Sherrill
On 10/29/2014 10:03 AM, Мороз Олег wrote: looks like the BSS segment is depend from RAM_SIZE. I'm changing file called linkcmds: MEMORY { RAM_INT : ORIGIN = 0x2000, LENGTH = 128k after building has arm-rtems4.11-size shell.exe text databssdechex

Re: Decreasing BSS size for STM32F4

2014-10-29 Thread Мороз Олег
looks like the BSS segment is depend from RAM_SIZE. I'm changing file called linkcmds: MEMORY { RAM_INT : ORIGIN = 0x2000, LENGTH = 128k after building has arm-rtems4.11-size shell.exe text databssdechexfilename 364756 32256 98824 495

Re: Decreasing BSS size for STM32F4

2014-10-14 Thread Мороз Олег
arm-rtems4.11-readelf -l shell.exe Elf file type is EXEC (Executable file) Entry point 0x8000189 There are 4 program headers, starting at offset 52 Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align EXIDX 0x027aa0 0x080279e8 0x080279e8 0x8 0x

Re: Decreasing BSS size for STM32F4

2014-10-14 Thread Sebastian Huber
On 14/10/14 12:07, Мороз Олег wrote: Hello everyone. I'm trying to start RTEMS on STM32F407. It has only 192KB of Ram. After compile a test program i' executing arm-rtems4.11-size arm-rtems4.11-size shell.exe text databssdechexfilename 162292 1576

Decreasing BSS size for STM32F4

2014-10-14 Thread Мороз Олег
Hello everyone. I'm trying to start RTEMS on STM32F407. It has only 192KB of Ram. After compile a test program i' executing arm-rtems4.11-size arm-rtems4.11-size shell.exe text databssdechexfilename 162292 1576 195016 358884 579e4shell