arm - do_data_abort() warnings

2014-10-14 Thread Joel Sherrill
Hi I have a warning for building it. it is defined in three places: libbsp/arm/nds/start/start.S libbsp/arm/shared/abort/simple_abort.c libbsp/arm/shared/abort/abort.c And invoked from cpukit/score/cpu/arm/arm_exc_handler_low.S Should this be renamed to arm_do_data_abort() and prototyped in rt

Re: Batch of Patches from Joel

2014-10-14 Thread Joel Sherrill
On 10/14/2014 3:28 PM, Chris Johns wrote: > On 14/10/2014 11:24 pm, Joel Sherrill wrote: >> >> On October 14, 2014 1:29:50 AM CDT, Sebastian Huber >> wrote: >>> On 13/10/14 17:48, Joel Sherrill wrote: On 10/13/2014 10:43 AM, Sebastian Huber wrote: > On 10/13/2014 05:18 PM, Joel Sherrill

Re: Batch of Patches from Joel

2014-10-14 Thread Chris Johns
On 14/10/2014 11:24 pm, Joel Sherrill wrote: On October 14, 2014 1:29:50 AM CDT, Sebastian Huber wrote: On 13/10/14 17:48, Joel Sherrill wrote: On 10/13/2014 10:43 AM, Sebastian Huber wrote: On 10/13/2014 05:18 PM, Joel Sherrill wrote: NOTE: For defaults for weak symbols, I am just addin

New rule no prototypes in C sources Was: Re: Batch of Patches from Joel

2014-10-14 Thread Gedare Bloom
On Tue, Oct 14, 2014 at 2:29 AM, Sebastian Huber wrote: > On 13/10/14 17:48, Joel Sherrill wrote: >> >> >> On 10/13/2014 10:43 AM, Sebastian Huber wrote: >>> >>> On 10/13/2014 05:18 PM, Joel Sherrill wrote: NOTE: For defaults for weak symbols, I am just adding a prototype to the C f

[PATCH] libbsp/arm: Adding support for stm32f407

2014-10-14 Thread Мороз Олег
>From 1ca653a9310b1e7e44fd1ac672fd8ca12d1c10db Mon Sep 17 00:00:00 2001 From: "Moroz.Oleg" Date: Tue, 14 Oct 2014 18:29:51 +0400 Subject: [PATCH] Adding support for stm32f407 --- c/src/lib/libbsp/arm/stm32f4/Makefile.am | 2 +- .../libbsp/arm/stm32f4/make/custom/stm32f407.cfg | 7

Re: main_lsof.c Warning

2014-10-14 Thread Sebastian Huber
On 14/10/14 14:25, Joel Sherrill wrote: On October 14, 2014 1:26:00 AM CDT, Sebastian Huber wrote: >On 13/10/14 18:33, Joel Sherrill wrote: >>Is this fixed once we get to tools with your new long long checking >>in newlib? > >No, this is a bug for all 32-bit targets with uintptr_t != > >un

Re: main_lsof.c Warning

2014-10-14 Thread Joel Sherrill
On October 14, 2014 1:26:00 AM CDT, Sebastian Huber wrote: >On 13/10/14 18:33, Joel Sherrill wrote: >> Is this fixed once we get to tools with your new long long checking >> in newlib? > >No, this is a bug for all 32-bit targets with uintptr_t != > >unsigned int. I submitted a patch for that

Re: Batch of Patches from Joel

2014-10-14 Thread Joel Sherrill
On October 14, 2014 1:29:50 AM CDT, Sebastian Huber wrote: >On 13/10/14 17:48, Joel Sherrill wrote: >> >> On 10/13/2014 10:43 AM, Sebastian Huber wrote: >>> On 10/13/2014 05:18 PM, Joel Sherrill wrote: NOTE: For defaults for weak symbols, I am just adding a prototype to the C file. >>

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