RE: Language Reference

2016-05-23 Thread David Baker
@mynewt.incubator.apache.org Subject: Re: Language Reference Hi David, Compiler options are in the compiler directory: $ more compiler/arm-none-eabi-m4/compiler.yml compiler.path.cc: arm-none-eabi-gcc compiler.path.archive: arm-none-eabi-ar compiler.path.as: arm-none-eabi-gcc -x assembler-with-cpp

Re: Language Reference

2016-05-23 Thread Sterling Hughes
ssage- From: David G. Simmons [mailto:santa...@mac.com] Sent: Monday, May 23, 2016 12:14 PM To: dev@mynewt.incubator.apache.org; sterl...@apache.org Subject: Re: Language Reference Poking around in bsp.h I figured out that the LED pins are 72 - 79 on this board, so I #DEFINEd them all as

Re: Language Reference

2016-05-23 Thread David G. Simmons
day, May 23, 2016 12:14 PM > To: dev@mynewt.incubator.apache.org; sterl...@apache.org > Subject: Re: Language Reference > > Poking around in bsp.h I figured out that the LED pins are 72 - 79 on this > board, so I #DEFINEd them all as LED_BLINK_PIN_x so I could blink them all > round-robin,

RE: Language Reference

2016-05-23 Thread David Baker
org; sterl...@apache.org Subject: Re: Language Reference Poking around in bsp.h I figured out that the LED pins are 72 - 79 on this board, so I #DEFINEd them all as LED_BLINK_PIN_x so I could blink them all round-robin, just as an exercise. I then changed int g_led_pin to int g_led_pin

Re: Language Reference

2016-05-23 Thread Sterling Hughes
Standard C stuff should be acceptable. What's not working -- note: we do compile with -Wall -Werror as the default setting. Sterling On 5/23/16 9:27 AM, David G. Simmons wrote: Another N00B question … Is there a language reference for mynewt? I’m seeing that standard C stuff

Language Reference

2016-05-23 Thread David G. Simmons
Another N00B question … Is there a language reference for mynewt? I’m seeing that standard C stuff is not acceptable, so I’m wondering if there is a language reference for how to do stuff in mynewt. specifically things like arrays, initializing arrays, for lops, etc. I’m playing around