Jump to content

thunderbirds

Members
  • Content Count

    8
  • Joined

  • Last visited

  • Days Won

    2

thunderbirds last won the day on March 9

thunderbirds had the most liked content!

About thunderbirds

  • Rank
    Noob Class

Profile Information

  • Interests
    medical physics

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. thunderbirds

    embedXcode

    thanks, embedXcode+ works perfectly with the 5.6.1 branch.
  2. thunderbirds

    embedXcode

    ok. I'll try and add in the appropriate code to allow an additional i2c configuration in the ~/Library/Energia15/packages/energia/hardware/msp432/3.8.0 branch. I have a Launchpad as well as a mini-M4 MSP432 (which I program from the Launchpad). The mini-M4 doesn't present pins 9/10 == P6_5/P6_4 == EUSCI_B1 which is the default Wire configuration. It presents pins 35/36 == P6_7/P6_6. If I can add these, then I can use Wire.setModule(). Is the ~/Library/Energia15/packages/energia/hardware/msp432r/5.6.1 branch used at all? thanks again.
  3. thunderbirds

    embedXcode

    I have not been able to find an answer to this or determine the solution from the online manuals. The answer is probably there somewhere but I can't 'see it', so apologies in advance, I did try. I am using Launchpad MSP432P401R, Arduino1.8.5, Energia 1.6.10E18, embedXcode-924, Xcode 9.2, macOS 10.13.1. I want to add an extra I2C channel, so I believe the appropriate place to add this is : ~/Library/Energia15/packages/energia/hardware/msp432/3.8.0/variants/MSP_EDXP432P401R or ~/Library/Energia15/packages/energia/hardware/msp432r/5.6.1/variants/MSP_EDXP432P401R with appropriate changes to Board.h, Board_Init.c, WireObjects.cpp. It would seem to me that I should be using msp432r, also the msp432r/5.6.1 code looks easier to modify as it has the dataPin / clkPin as part of the IC2MSP432_HWAttrsV1 structure. But, in the embedXcode configuration, Resources/Energia/msp432-emt/cores/msp432 is referencing 3.8.0 When I look in the Configurations/LaunchPad MSP432P401 EMT.xcconfig, there is a reference to the MSP432_COLOUR. I naively changed this from BLACK_OR_RED to RED, but it made no difference. In the Makefiles/EnergiaMSP432EMT_18.mk, ENERGIA_MSP432_EMT_1 = $(ENERGIA_PACKAGES_PATH)/hardware/msp432/$(ENERGIA_MSP432_EMT_RELEASE) I don't want to go hacking directory names etc. Can you please tell me how I can have make a build against $(ENERGIA_PACKAGES_PATH)/hardware/msp432r/5.6.1?
  4. Hi Ananmore, I probably can't help much because I do not understand the backend requirements of embedXcode. But I'm guessing it's assuming a specific environment, so here is what I have set up: 1/ macOS 10.13.1 2/ Xcode 9.2 3/ Arduino 1.8.5 - installed in /Applications 4/ Energia 1.6.10E18 installed in /Applications 5/ Cut / paste example sketch from Energia. 6/ Select Build target, run. 7/ Select Upload target, run - watch your LEDs start blinking. Hope you have some luck, the embedXcode environment is very impressive. I was getting ready to code at the Code Composer Studio level but the Energia/Arduino Sketch framework makes development so much easier.
  5. Following Rei's advice, I'm using embedXcode. It works very nicely, great work Rei.
  6. The issue seems to be related to the driver selected. If I specify one of the msp430 boards (pre-installed Energie MSP430 boards Built-Ib by Energia version 1.0.1) all compiles fine: /Applications/Energia.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Energia.app/Contents/Java/hardware" -hardware "/Users/gjok/Library/Energia15/packages" -tools "/Applications/Energia.app/Contents/Java/tools-builder" -tools "/Applications/Energia.app/Contents/Java/hardware/tools/msp430" -tools "/Users/gjok/Library/Energia15/packages" -built-in-libraries "/Applications/Energia.app/Contents/Java/libraries" -libraries "/Users/gjok/Documents/Energia/libraries" -fqbn=energia:msp430:MSP-EXP430F5529LP -ide-version=10610 -build-path "/var/folders/_z/w518m88n2hs2clk0nc4n17_80000gn/T/build41bb0049b9729603ac52432ac8ba2562.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/gjok/Documents/Energia/sketch_mar06b/sketch_mar06b.ino" If I specify the post-installed "Energia MSP432 EMT Red boards by Energia version 5.6.1", that's when the build.project_path issue occurs. /Applications/Energia.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Applications/Energia.app/Contents/Java/hardware" -hardware "/Users/gjok/Library/Energia15/packages" -tools "/Applications/Energia.app/Contents/Java/tools-builder" -tools "/Applications/Energia.app/Contents/Java/hardware/tools/msp430" -tools "/Users/gjok/Library/Energia15/packages" -built-in-libraries "/Applications/Energia.app/Contents/Java/libraries" -libraries "/Users/gjok/Documents/Energia/libraries" -fqbn=energia:msp432r:MSP-EXP432P401RR -ide-version=10610 -build-path "/var/folders/_z/w518m88n2hs2clk0nc4n17_80000gn/T/build41bb0049b9729603ac52432ac8ba2562.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/gjok/Documents/Energia/sketch_mar06b/sketch_mar06b.ino"
  7. thanks, MacOS 10.13. I never have any spaces in path/filenames (a habit from old DOS and Unix days). Below is the error message and all the paths / files on the command line exist. "java" "-jar" "/Users/gjok/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2/ino2cpp.jar" -o "/var/folders/_z/w518m88n2hs2clk0nc4n17_80000gn/T/build41bb0049b9729603ac52432ac8ba2562.tmp/sketch/" -T "/Users/gjok/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2/templates/Variables.mk.template" -r "/Users/gjok/Library/Energia15/packages/energia/tools/ino2cpp/1.0.2" -n sketch_mar06b.ino "{build.project_path}" msp432:MSP_EXP432P401R" ino2cpp: error: sketch directory '{build.project_path}' doesn't exist or isn't a directory. The quotes are unbalanced, the last item should be "msp432:MSP_EXP432P401R" but maybe that's an formatting error in the output (?). The source folder of the sketch is : /Users/gjok/Documents/Energia/sketch_mar06b, so it would seem to me that the {build.project_path} should have been expanded to /Users/gjok/Documents/Energia/sketch_mar06b. If I run above with {build.project_path} replaced with /gjok/Documents/Energia/sketch_mar06b, then no error results. Presumably, an upstream process in the compile chain is supposed to know about {build.project_path} but doesn't and so hasn't parsed it. So, the question is, where is {build.project_path} meant to have been set upstream? I don't know where. Apologies for being a newbie.
  8. Hi, I've just started with LaunchPad MSP432 + Energia + Driver MSP432 EMT Red version 5.6.1 LaunchPad rev 2.0, Energia ver 1.6.10E18, MacOS 10.13 I updated arduino.builder with the version from arduino.1.8.5 and that fixed the problem with the MSpanList_Insert error. But I have a java error - ino2cpp: error: sketch directory '{build.project_path}' doesn't exist or isn't a directory Can anyway point me to what files I need to fix to address this? thanks
×