Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-16 Thread Juan Rafael García Blanco
Hi, I have installed macOS 10.9.5, for which Xcode includes the following compiler: Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix Compilation of gdb 8.2 fails also with this setup, although the error seems to be caused by the

Re: stm32 external SRAM

2019-06-16 Thread Jython
STM32: 112KB at 2000 16KB at 2001 C000 external sram : 1MB at 0x6800 does MEMORY layout support RAM2? On Fri, Jun 14, 2019 at 10:13 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > If you have already added the chip and it is initialized during startup,

Re: stm32 external SRAM

2019-06-16 Thread Christian Mauderer
On 17/06/2019 03:05, Jython wrote: > STM32: >     112KB at 2000 >     16KB at 2001 C000 > > external sram : 1MB at 0x6800 > >  does MEMORY layout support RAM2? Hello Jython, you can distribute the regions to the two RAMs. For example this BSP does that: https://git.rtems.org/rtems/tre

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-16 Thread Chris Johns
On 17/6/19 5:31 am, Juan Rafael García Blanco wrote: > Hi, > > I have installed macOS 10.9.5, for which Xcode includes the following > compiler: > Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn) > Target: x86_64-apple-darwin13.4.0 > Thread model: posix > > Compilation of gdb 8.2 f

Re: stm32 external SRAM

2019-06-16 Thread Jython
Thank you and the example! that is to say put extern sram init in bsp_start( void ) function? On Mon, Jun 17, 2019 at 1:04 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > On 17/06/2019 03:05, Jython wrote: > > STM32: > > 112KB at 2000 > > 16KB at 2001 C000 > >

Re: stm32 external SRAM

2019-06-16 Thread Christian Mauderer
If you put any sections into the external RAM that need initialization, you have to init the RAM before the BSP copies it's sections. The STM32 BSP copies it's sections in bsp_start_hook_1(). So either put it in bsp_start_hook_0 or in bsp_start_hook_1 before the copy_section calls. Attention: You c