Jump to content
Rei Vilo


Recommended Posts

New release 3.0 of embedXcode supports and runs on Xcode 7 with Mac OS X 10.10.

Release 3.0.1 improves the stability of the installation process. Release 3.0.2 fixes two bugs for Arduino Due and LaunchPad CC3200. Release 3.0.3 fixes a bug for mbed.

Share this post

Link to post
Share on other sites

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 :




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?


Share this post

Link to post
Share on other sites

I haven't implemented yet the support for the MSP432 red board on the standard edition of embedXcode, as the available option LaunchPad MSP432P401 EMT supports both boards, black and red. 

Share this post

Link to post
Share on other sites


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.

Share this post

Link to post
Share on other sites

The available option LaunchPad MSP432P401 EMT on the standard edition of embedXcode uses ~/Library/Energia15/packages/energia/hardware/msp432/3.8.0.

The embedXcode+ edition features both LaunchPad MSP432P401 EMT with ~/Library/Energia15/packages/energia/hardware/msp432/3.8.0 and LaunchPad MSP432P401 Red EMT with ~/Library/Energia15/packages/energia/hardware/msp432r/5.6.1.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now