[riot-devel] flash command without compiling

Oleg Hahm oliver.hahm at inria.fr
Tue Apr 18 10:15:49 CEST 2017


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


More information about the devel mailing list