Yes I have done all the above exactly as you have given and have the
execpected results.

Then from my reading here
http://mynewt.apache.org/os/get_started/project1/#build-test-code-on-simulator

it says I should run the following

$ cd ~/dev/larva/hw/bsp/olimex_stm32-e407_devboard
$ diff olimex_stm32-e407_devboard.ld run_from_sram.ld
$ cp run_from_sram.ld olimex_stm32-e407_devboard.ld
$ cd ~/dev/larva/project/blinky/

all the above commands give me expected output.
now when I run

$ newt target build blinky

I get the following error

Error: No configuration section exists

so I do not understand what the error is.


On 3/4/16, Christopher Collins <[email protected]> wrote:
> Hi Nges,
>
> Did you create the 'blinky' target using newt?  This process is a bit of
> a hassle at the moment, but you only have to do it once.
>
> The following set of commands should do the trick:
>
>     $ newt target create blinky
>     $ newt target set blinky arch=cortex_m4
>     $ newt target set blinky compiler=arm-none-eabi-m4
>     $ newt target set blinky project=blinky
>     $ newt target set blinky compiler_def=debug
>     $ newt target set blinky bsp=hw/bsp/olimex_stm32-e407_devboard
>
>
> From http://mynewt.apache.org/os/get_started/project1/ :
>
>     $ newt target create blinky
>     Creating target blinky
>     Target blinky sucessfully created!
>     $ newt target set blinky arch=cortex_m4
>     Target blinky successfully set arch to arm
>     $ newt target set blinky compiler=arm-none-eabi-m4
>     Target blinky successfully set compiler to arm-none-eabi-m4
>     $ newt target set blinky project=blinky
>     Target blinky successfully set project to blinky
>     $ newt target set blinky compiler_def=debug
>     Target blinky successfully set compiler_def to debug
>     $ newt target set blinky bsp=hw/bsp/olimex_stm32-e407_devboard
>     Target blinky successfully set bsp to hw/bsp/olimex_stm32-e407_devboard
>     $ newt target show blinky
>     blinky
>         arch=cortex_m4
>         bsp=hw/bsp/olimex_stm32-e407_devboard
>         compiler=arm-none-eabi-m4
>         compiler_def=debug
>         name=blinky
>         project=blinky
>
> Chris
>
> On Fri, Mar 04, 2016 at 02:04:56AM +0100, Nges B wrote:
>> Have successfully run all the commands needed for the blinky project.
>> Now wen I run  $ newt target build blinky
>> i get the error "Error: No configuration section exists"
>> Please can somebody help me and Identify where I went wrong or I need
>> to to to get the Configuration section exists?
>> Thanks in advance
>


-- 
"it is good to dream and work for the dreams than not to dream"

Reply via email to