16 Replies Latest reply on May 3, 2017 10:01 AM by shabaz

    Imported Arduino Project Not Working

    kas.lewis

      Hello,

       

      I am attempting to run an Arduino project on on of my TI boards. I have a Maxim 1-Wire demo board that uses an Arduino for as its platform, not having one I decided to try a TI board. I load the required Libraries but I get an interesting issue. Even though there are two OneWire and I point it to the one I want to use it only finds some header files and not others. I have tried pointing to teh needed files with exact paths with no luck. To be sure I tried complaining teh same project in the Arduino IDE and there are no issues at all, include the needed libraries and it compiles. If someone could help explain what I am missing and why it finds some library files and not others that would be great.

       

      Thanks

      Kas

       

      I know this is a repost but as I was unsure where to post it I have reposted it, If you could clarify the correct place I would be more than happy to remove any duplicate posts.

       

      C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
      C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
      Using board 'MSP-EXP430F5529LP' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
      Using core 'msp430' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
      Detecting libraries used...
      "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
      "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
      Generating function prototypes...
      "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
      In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0,

                       from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

      C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\/Masters/Masters.h:38:42: fatal error: Masters/DS248x/DS2484/DS2484.h: No such file or directory

      compilation terminated.

      exit status 1
      Error compiling for board  MSP-EXP430F5529LPMSP-EXP430F5529LP

        • Re: Imported Arduino Project Not Working
          balearicdynamics

          Hello Kas,

           

          I have used in past (and already I have it installed on my computer) both energia (developed by TI from the original Arduino IDE) and the original Arduino IDE. Please edit your post and set the report with Syntax highlighting / Plain to make it more readable else it is almost impossible to see what happens.

          You find this features in the post edit menu as shown in the image below.

           

          Thank you. Enrico

           

          Screen Shot 2017-05-01 at 06.45.49.png

          1 of 1 people found this helpful
            • Re: Imported Arduino Project Not Working
              kas.lewis

              Hello Enrico,

               

              I would agree that the syntax highlighting helps, unfortunately in this case it's just output text from the "debugger" there is no code there at all. Thank you for the suggestion though.

               

              Kas

                • Re: Imported Arduino Project Not Working
                  balearicdynamics

                  Hello Kas,

                   

                  thank you for the answer. When there is just a compilation output or similar, you can use the syntax highlighting "plan" mode. This helps a lot showing text as it is send to the terminal output. Now I have just copied and pasted your text below. The result is not 100% satisfactory as probably the E14 edito has already done its job with CSS but if you copy and paste as plain formatting I think you can get better results. It's not an option as I found very difficult to read your output.

                   

                  Enrico

                   

                  C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
                  C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino"
                  Using board 'MSP-EXP430F5529LP' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
                  Using core 'msp430' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
                  Detecting libraries used...
                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
                  Generating function prototypes...
                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
                  In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0,
                                   from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:
                  C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\/Masters/Masters.h:38:42: fatal error: Masters/DS248x/DS2484/DS2484.h: No such file or directory
                  compilation terminated.
                  exit status 1
                  Error compiling for board
                  
                  1 of 1 people found this helpful
              • Re: Imported Arduino Project Not Working
                koudelad

                Based on the error message provided:

                 

                "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"

                In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0,

                                 from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

                C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\/Masters/Masters.h:38:42: fatal error: Masters/DS248x/DS2484/DS2484.h: No such file or directory

                 

                It seems that MAXREFDES131_GUI_Firmware.ino includes OneWire.h and that header file includes DS2484.h, which is missing or not readable to the compiler.

                Try to locate all the files and make sure the include directive is used correctly and looks in the correct path (local vs. global includes folders).

                1 of 1 people found this helpful
                  • Re: Imported Arduino Project Not Working
                    kas.lewis

                    Hello David,

                     

                    Thank for the suggestion, I have tried using the #include directive to point directly to all the needed files with no success. I have compiled the exact same code with the same libraries etc, in the Arduino IDE with no issues. I can see that there is a DS2484.h file and I have pointed to it and still it won't compile. If you have any further suggestions I would be happy to try them. I would really like to get this working on a TI platform if it is at all possible.

                     

                    Kas

                      • Re: Imported Arduino Project Not Working
                        balearicdynamics

                        Kas this may depend on the libraries that are provided for Arduino and not another board; please is possible to ask you to post the source to see what librarie you are using? Maybe something wrong goes when you are using another board. What is the board you are using from TI instead of the expected Arduino ?

                         

                        I ask this because I suppose that the problem is not strictly related to the wrong include file; it seems not missing but the problem is some king of incompatibility. Maybe I am wrong but I refer to the following line in your compilation listing:

                        1. In file included from C:\Users\Kas\Documents\Energia\libraries\OneWire-master\src\OneWire.h:37:0, 
                        2.                  from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_976722\MAXREFDES131_GUI_Firmware.ino:40:

                        It says that there is a problem in the include file, not a file missing (file OneWire.h line 37). I am curious to see what is in this file.

                         

                        Enrico

                        1 of 1 people found this helpful
                          • Re: Imported Arduino Project Not Working
                            kas.lewis

                            Hello balearicdynamics,

                             

                            Thank you for the pointers as to the libraries I'm looking to use I'm working with Maxim 1-Wire Arduino demo found here. The demo for the main board can also be found here. All this being said I have managed to borrow an Arduino Uno. I would still like to be able to use either a TI MSP430F5529, MSP430FR5969, MSP432P401R or a EK-LM4F120XL. There are two OneWire.h files and to combat this I have tried pointing directly to the header files needed, but this didn't seem to help or as you say there are other issues. I have also looked into trying to rename the libraries but was not sure nor was it clear how to go about doing so while still maintaining the integrity of the library and its dependant files.

                             

                            If you have any further pointers based on looking on the actual demo's provided I would be very interested in hearing them.

                             

                            Kas

                              • Re: Imported Arduino Project Not Working
                                balearicdynamics

                                Hi Kas,

                                 

                                thank you for the coordinates of your project. For a couple of days I am on fly and on travel so I can't check systematically this problems trying to replicate it or investigate on the problems but I will try next days. In the meantime I suggest to take a look to an article I published time ago related to the MSP432 (the same family); I have found issues in the Energia IDE from Teas and some libraries was wrong so I had to make corrections and some changes. The article is here: TI Educational Boosterpack MK II and Energia

                                 

                                I hope that in the meantime this can be helpful to solve the problems. as I always save the IDE old versions I install (just because it is not always true that the ugprades makes things better in all the cases) I can try to search the IDE version I used mentioned in that article. I have no idea in this moment if the issues I found in the article have been corrected. I was not using specifically 1-wire protocol but maybe something similar or at least comparable is related to your case. Keep me updated so I can support you trying to solve this issue.

                                 

                                Enrico

                        • Re: Imported Arduino Project Not Working
                          shabaz

                          Hi Kas,

                           

                          I reckon possibly what's going on is that the path should be DS248x/... in the #include if the #include is using double-quotes, otherwise it is expecting the folder path to have two 'Masters' folders nested. If the #include is using less-than/greater-than symbols (i.e. #include <Masters/....>) then there could be a missing include path in Energia compared to Arduino.

                          I think it would be worth trying just as an experiment, to change the #include line from (say) less-than/greater-than to double-quotes to see if it makes a difference. Also, try removing the 'Masters' bit off it when you try it.

                          So, maybe something like #include "DS248x/...."  instead of #include <Masters/DS...> or #include "Masters/DS...".

                          2 of 2 people found this helpful
                          • Re: Imported Arduino Project Not Working
                            rsc

                            There's a typo in this line

                            "master\src\/Masters/Masters.h:38:42: fatal error:"

                            look at "src\/"

                            Scott

                            2 of 2 people found this helpful
                              • Re: Imported Arduino Project Not Working
                                kas.lewis

                                Hello rsc,

                                 

                                I have looked into that, nowhere in my code (at least the main file) is there a "src\/Masters". I'm going to try narrow this one down because this is interesting and peculiar. I'll keep you posted as to my findings and my progress.

                                 

                                Kas

                                • Re: Imported Arduino Project Not Working
                                  kas.lewis

                                  Hello Scott, Enrico and Shabaz

                                   

                                  It appears the issue is based on the file system and how file locations are referenced. After directly referencing the header files and getting some of them to work I end up with the output below. More specifically the warning on line 14. I would still like to try get a bit further and the only way I can see that happening is to rename the library and place it with all the other libraries. The issue I am unsure of is 1) how to rename a library (but I'm sure I can look this up) 2) how do I ensure that by renaming a library I don't mess up all links within it (other #include that may point to it. If there are pointers to help with issue #2 I would be happy to hear them.

                                   

                                  Thanks for the help so far

                                  Kas

                                   

                                   

                                  
                                  C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_726814\MAXREFDES131_GUI_Firmware.ino"
                                  C:\Users\Kas\Desktop\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware" -hardware "C:\Users\Kas\AppData\Local\Energia15\packages" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\tools-builder" -tools "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\Kas\AppData\Local\Energia15\packages" -built-in-libraries "C:\Users\Kas\Desktop\energia-1.6.10E18\libraries" -libraries "C:\Users\Kas\Documents\Energia\libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp" -warnings=default -prefs=build.warn_data_percentage=75 -verbose "C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_726814\MAXREFDES131_GUI_Firmware.ino"
                                  Using board 'MSP-EXP430F5529LP' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
                                  Using core 'msp430' from platform in folder: C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430
                                  Detecting libraries used...
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "-IC:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "-IC:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src" "C:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src\API_Level_1\grideye_api_lv1.c" -o "nul"
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "-IC:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src" "C:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src\API_Level_2\grideye_api_lv2.c" -o "nul"
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "-IC:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src" "C:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src\OWGridEye.cpp" -o "nul"
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "-IC:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "nul"
                                  WARNING: library OWGridEye-master claims to run on [avr] architecture(s) and may be incompatible with your current board which runs on [msp430] architecture(s).
                                  Generating function prototypes...
                                  "C:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/bin/msp430-g++" -c -g -O2  -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -w -x c++ -E -CC -mmcu=msp430f5529 -DF_CPU=16000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP-EXP430F5529LP -DENERGIA_ARCH_MSP430 -IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\tools\msp430/include  "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\cores\msp430" "-IC:\Users\Kas\Desktop\energia-1.6.10E18\hardware\energia\msp430\variants\MSP-EXP430F5529LP" "-IC:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src" "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\sketch\MAXREFDES131_GUI_Firmware.ino.cpp" -o "C:\Users\Kas\AppData\Local\Temp\builda12a5302e2fbcba7b0882b591878e19b.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
                                  In file included from C:\Users\Kas\Downloads\RoadTest\OneWire-master\OneWire-master\src\Slaves\Bridges\DS28E17\DS28E17.h:38:0,
                                  
                                  
                                                   from C:\Users\Kas\Downloads\RoadTest\OneWire-master\OneWire-master\src\Slaves\Bridges\Bridges.h:37,
                                  
                                  
                                                   from C:\Users\Kas\Documents\Energia\libraries\OWGridEye-master\src/OWGridEye.h:38,
                                  
                                  
                                                   from C:\Users\Kas\AppData\Local\Temp\arduino_modified_sketch_726814\MAXREFDES131_GUI_Firmware.ino:42:
                                  
                                  
                                  C:\Users\Kas\Downloads\RoadTest\OneWire-master\OneWire-master\src\Slaves\OneWireSlave.h:38:25: fatal error: RomId/RomId.h: No such file or directory
                                  
                                  
                                  compilation terminated.
                                  
                                  
                                  Using library OWGridEye-master at version 1.0.0 in folder: C:\Users\Kas\Documents\Energia\libraries\OWGridEye-master 
                                  exit status 1
                                  Error compiling for board  MSP-EXP430F5529LP 
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  
                                  1 of 1 people found this helpful
                                    • Re: Imported Arduino Project Not Working
                                      shabaz

                                      Hi Kas,

                                       

                                      It sounds like it is moving further, but there seem to be a couple of issues. One of them, the 'RomId.h not found' issue might have a similar solution as the earlier one, if there is some #include that uses '<>' instead of double-quotes. However, the other problem is more worrisome, because it states that some pre-compiled library is for AVR architecture. It means that either the source code is not present, or (more likely and more hopefully) that the source code is present but the make system didn't think it needed building.

                                      If the former (source code not present) then that is fairly unsolvable without finding where that code came from. If the latter, then there are two scenarios. The first is that you just need to remove (e.g. rename it temporarily) the library built for AVR, or select 'make clean' if you can find it anywhere in the settings (no idea if this is possible with Energia, but hopefully it is). The other scenario (worse) is that there is no makefile and then that is quite hard to figure out how to build the library.

                                      1 of 1 people found this helpful