[riot-users] DEVELHELP flag in Makefiles

Bas Stottelaar basstottelaar at gmail.com
Tue May 14 20:38:19 CEST 2019


Hi Joel,

It enables additional debug output and sanity checks. You can find more information at [1].

Kind regards,
Bas

[1] https://riot-os.org/api/group__utils.html <https://riot-os.org/api/group__utils.html>

> Op 14 mei 2019, om 19:40 heeft Joel Carron <joel.carron at heig-vd.ch> het volgende geschreven:
> 
> Hi everyone,
> 
> Can someone explain me what this flag in Makefile examples do ?
> 
> I just finished an app for a custom board. As my Makefile was based on an example, there was still this flag present. As its comment suggests, it's for development so I decided to remove it.
> 
> After removing it, my application starts normally right after flashing my board but as soon as I unplug it from power supply and plug it again, the app doesn't start anymore. I flashed the app on a Nucleo-F303RE to get some console output but I just get garbage from pyterm. I decided to keep this flag as it works flawlessly with it and takes only 4kB more in ROM but it could be great if someone knows a little more about it.
> 
> What could cause my app on two boards to fail starting without this flag ? In my app, I use some DEBUG() macros, I start two threads, do some UDP packets exchanges with another boards and that's it.
> 
> Best regards
> 
> Joel
> 
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20190514/63e0d544/attachment.html>


More information about the users mailing list