Wanda Chiu created MYNEWT-563:
---------------------------------

             Summary: Compilation Error when Enabling all Newt Manager commands 
for bletiny app
                 Key: MYNEWT-563
                 URL: https://issues.apache.org/jira/browse/MYNEWT-563
             Project: Mynewt
          Issue Type: Bug
    Affects Versions: v1_0_0_beta1
            Reporter: Wanda Chiu
            Assignee: Wanda Chiu
            Priority: Minor
             Fix For: v1_0_0_rel


In the "Enabling Newt Manager in any app" Tutorial, we show the user how  to 
add all Newt Manager Commands to the bletiny app. We get two compilation errors 
when compiling the app to test against the documentation:
1) Adding <mgmt/mgmt.h> to bletiny/src/main.c results in duplicate 
   #define STR(x) error, as it is defined in both <mgmt/mgmt.h> and main.c. 
main.c does not use STR so can be removed from main.c

2) Adding test/runtest package gets error when compiling runtest_nmgr.c because 
it cannot find "testutil/testutil.h". Need to add test/testutil package to 
test/runtest pkg.yml




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to