[ 
https://issues.apache.org/jira/browse/MYNEWT-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15182348#comment-15182348
 ] 

William San Filippo commented on MYNEWT-224:
--------------------------------------------

Final testing performed on f3disc. Partial success.

1) The documentation (the tutorial) for getting blinky on f3disc needs to be 
updated as we have made some tool changes that have not been reflected here. 
Should we presume a bootloader is on the board or should we describe building 
and downloading a bootloader? We need to describe building an image at the 
least here.

2) I was able to build an image (using newt target create-image blink_f3disc 
1.2.3.4), download it, and run it on a f3disc with a bootloader. We be 
blinking, so that is good.

3) I was not able to build the bootloader for the f3disc. Below is the build 
output showing linker failure and also the target I used. Build failed due to 
linker: we ran out of flash space by 2880 bytes.

Linking boot.elf
/usr/local/Cellar/gcc-arm-none-eabi-49/20150306/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld:
 /Users/wes/dev/larva/project/boot//bin/boot_f3disc/boot.elf section `.text' 
will not fit in region `FLASH'
/usr/local/Cellar/gcc-arm-none-eabi-49/20150306/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld:
 region `FLASH' overflowed by 2880 bytes
collect2: error: ld returned 1 exit status
Error: exit status 1

wes@~/dev/larva$ newt target show boot_f3disc
boot_f3disc
        arch=cortex_m4
        bsp=hw/bsp/stm32f3discovery
        compiler=arm-none-eabi-m4
        compiler_def=optimized
        name=boot_f3disc
        project=boot
        vers=0.0.1

> Run blinky using the merged master on multiple boards
> -----------------------------------------------------
>
>                 Key: MYNEWT-224
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-224
>             Project: Mynewt
>          Issue Type: Sub-task
>            Reporter: Aditi Hilbert
>            Assignee: William San Filippo
>             Fix For: v0_8_0_beta2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to