<div dir="ltr">Can I create a new BSP by copying a very similar BSP (such as stm32f4) and then adding the new directory to the acinclude.m4 file in c/src/lib/libbsp/arm, then running bootstrap from the top level directory?<div>
<br></div><div>As far as I can remember this is the procedure I used to create a BSP for the STM32F3Discovery board; however, now that I need to use a STM32F4Discovery (with really different pinouts than the current BSP) I'm having trouble getting the system to configure. My configure output ends with ...</div>
<div><br></div><div><div>checking whether gmake sets $(MAKE)... yes</div><div>checking whether gmake supports nested variables... yes</div><div>checking whether to enable maintainer-specific portions of Makefiles... yes</div>
<div>checking that generated files are newer than configure... done</div><div>configure: creating ./config.status</div><div>config.status: creating Makefile</div><div>config.status: creating Makefile</div></div><div><br></div>
<div><br></div><div>My STM32F3Discovery configuration output ends with ...</div><div><br></div><div><div>configure: creating ./config.status</div><div>config.status: creating Makefile</div><div><br></div><div>target architecture: arm.</div>
<div>available BSPs: stm32f3.</div><div>'gmake all' will build the following BSPs: stm32f3.</div><div>other BSPs can be built with 'gmake RTEMS_BSP="bsp1 bsp2 ..."'</div><div><br></div><div>config.status: creating Makefile</div>
</div><div><br></div><div><br></div><div><br></div><div>My best guess is that I've forgotten to update a file but I haven't been able to figure out which file. Any suggestions would be appreciated.</div><div><br>
</div><div>My development system is Fedora 20, I'm using recent "arm-rtems4.11-xxx" tools from yum and my source code is from GIT HEAD (albeit a while ago).</div><div><br></div><div>My configuration commands are:</div>
<div><br></div><div><div>../rtems/configure --prefix=/home/rtems/rtems-411 --target=arm-rtems4.11 --enable-posix --enable-networking --enable-cxx --enable-maintainer-mode --enable-rtemsbsp="stm32f3"</div></div><div>
<br></div><div><div>../rtems/configure --prefix=/home/rtems/rtems-411 --target=arm-rtems4.11 --enable-posix --enable-networking --enable-cxx --enable-maintainer-mode --enable-rtemsbsp="m4robot"</div></div><div><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Steven G.</div></div>