Re: [riot-devel] flash command without compiling

2017-04-18 Thread Kaspar Schleiser

Hey,

On 04/18/2017 10:15 AM, Oleg Hahm wrote:

I remember that (years ago) I thought that this would be a bad idea, but got
overruled.


Probably the newbie friendlyness is to be blamed...

Anyhow, I have a branch for on-hardware CI testing, where I've added 
another flash target that doesn't have the dependency. Find the commit 
here [1].


Kaspar

[1] 
https://github.com/kaspar030/RIOT/commit/c183d152bf36a1e4f2d6ac3ea3b172047dd43eee

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] flash command without compiling

2017-04-18 Thread Oleg Hahm
Hi!

On Tue, Apr 18, 2017 at 10:12:13AM +0200, Kaspar Schleiser wrote:
> On 04/17/2017 04:47 PM, Jose Alamos wrote:
> > I noticed the 'make flash' recompiles everything before flashing. What's
> > the reason behind this?
> 
> Does it actually recompile?
> 
> The flash target in Makefile.include depends on the "all" target, ensuring
> that the build is up-to-date. I guess at some point we thought that is a
> good idea.

I remember that (years ago) I thought that this would be a bad idea, but got
overruled. IIRC the reasoning was that otherwise `make flash` may fail.

Cheers,
Oleg
-- 
printk(KERN_ERR "msp3400: chip reset failed, penguin on i2c bus?\n");
linux-2.2.16/drivers/char/msp3400.c
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] flash command without compiling

2017-04-18 Thread Kaspar Schleiser

Hey,

On 04/17/2017 04:47 PM, Jose Alamos wrote:

I noticed the 'make flash' recompiles everything before flashing. What's
the reason behind this?


Does it actually recompile?

The flash target in Makefile.include depends on the "all" target, 
ensuring that the build is up-to-date. I guess at some point we thought 
that is a good idea.


Removing that dependency stops the forced update.

Kaspar

___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


Re: [riot-devel] flash command without compiling

2017-04-17 Thread Ludwig Knüpfer
Hi,

In general this should not be the case. I'd imagine one of the packages messes 
up the build system's dependencies. Hard to say without seeing the project.

Cheers,
Ludwig

Am 17. April 2017 16:47:12 MESZ schrieb Jose Alamos :
>Dear RIOTers,
>
>I noticed the 'make flash' recompiles everything before flashing.
>What's
>the reason behind this?
>
>I'm working with some packages that require some time to
>configure/compile,
>and everytime I run 'flash' I have to wait the whole process to finish.
>I
>cannot even flash 2 boards at the same time because the compile process
>is
>concurrent.
>
>As always, any ideas would be appreciated :)
>
>Cheers!
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel


[riot-devel] flash command without compiling

2017-04-17 Thread Jose Alamos
Dear RIOTers,

I noticed the 'make flash' recompiles everything before flashing. What's
the reason behind this?

I'm working with some packages that require some time to configure/compile,
and everytime I run 'flash' I have to wait the whole process to finish. I
cannot even flash 2 boards at the same time because the compile process is
concurrent.

As always, any ideas would be appreciated :)

Cheers!
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel