Re: stm32 external SRAM

2019-06-17 Thread Christian Mauderer
On 18/06/2019 07:17, Jython wrote: > void SRAM_fsmc_setup(void) > { > unsigned char FSMC_Bank; >     int i = 0; > >     // enable port clk >     RCC_AHB1ENR |= 0x0f << 3; >     RCC_AHB3ENR |= 1;  // enable fsmc clock > >     // af A0-A18 >     stm32f4_gpio_conf

Re: stm32 external SRAM

2019-06-17 Thread Jython
> > void SRAM_fsmc_setup(void) > { > unsigned char FSMC_Bank; > int i = 0; > > // enable port clk > RCC_AHB1ENR |= 0x0f << 3; > RCC_AHB3ENR |= 1; // enable fsmc clock > > // af A0-A18 > stm32f4_gpio_config temp = STM32F4_PIN_FSMC(5, 0, > STM32F4_GPIO_AF_FSMC); > > > for

Re: stm32 external SRAM

2019-06-17 Thread Christian Mauderer
On 18/06/2019 03:25, Jython wrote: > my linkscmd is https://gist.github.com/goog/aad6dae4c418255dd6fb2b23bf2e6f08 > > void BSP_START_TEXT_SECTION bsp_start_hook_1(void) > { >   SRAM_fsmc_setup(); >   bsp_start_copy_sections(); >   bsp_start_clear_bss(); > >   /* At this po

Re: stm32 external SRAM

2019-06-17 Thread Jython
my linkscmd is https://gist.github.com/goog/aad6dae4c418255dd6fb2b23bf2e6f08 void BSP_START_TEXT_SECTION bsp_start_hook_1(void) > { > SRAM_fsmc_setup(); > bsp_start_copy_sections(); > bsp_start_clear_bss(); > > /* At this point we can use objects outside the .start section */ > } > but no

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-17 Thread Chris Johns
On 17/6/19 5:48 pm, Jiri Gaisler wrote: > I don't know if it is of any help, but I managed to build gdb-8.2.1 on > MacOSX 10.10 using gcc-9. The trick was to install gcc with 'brew > install gcc', and then configure and compile with CC=gcc-9 and CXX=g++-9 > . I'm doing this in a KVM virtual machine

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-17 Thread Chris Johns
On 18/6/19 2:56 am, Gedare Bloom wrote: > On Sat, Jun 8, 2019 at 8:25 PM Chris Johns wrote: >> >> On 8/6/19 1:45 am, Christian Mauderer wrote: >>> Note that basically all device tree files that I have found yet are forked >>> from the Linux ones. >> >> Yes, I understand this is the case. >> >>> T

Re: BeagleBone Black Networking (wifi and/or wired)

2019-06-17 Thread Gedare Bloom
On Sat, Jun 8, 2019 at 8:25 PM Chris Johns wrote: > > On 8/6/19 1:45 am, Christian Mauderer wrote: > > Note that basically all device tree files that I have found yet are forked > > from the Linux ones. > > Yes, I understand this is the case. > > > They are all GPL. > > We need to work with these

Re: gdb-8.2.1 build failed on macos 10.11.6

2019-06-17 Thread Jiri Gaisler
I don't know if it is of any help, but I managed to build gdb-8.2.1 on MacOSX 10.10 using gcc-9. The trick was to install gcc with 'brew install gcc', and then configure and compile with CC=gcc-9 and CXX=g++-9 . I'm doing this in a KVM virtual machine, but I don't think it matters. The resulting gd