MohaimenH / K32L2B3-MIDI2

0 stars 0 forks source link

Build issue after import #1

Closed onnimikki closed 3 months ago

onnimikki commented 3 months ago

[not asking you to solve this Mohaimen. Just making a note to try to 1. figure out if this is the right way to tag issues and 2. to document hiccups.]

Cloned the GitHub repository locally. Then imported from filesystem within MCUXpresso.

Import worked. Trying a build. Get this error:

_Errors occurred during the build. Errors running builder 'CDT Builder' on project 'K32L2B31A_Project_TUSBUMP'. Cannot invoke "org.eclipse.cdt.managedbuilder.core.IManagedBuildInfo.getDefaultConfiguration()" because "info" is null

Not sure why. Will have to check again later.

![Uploading Screenshot 2024-07-09 at 8.32.02 AM.png…]()

MohaimenH commented 3 months ago

Did a quick Google search and it seems to be Eclipse project settings related. Can you try deleting the project, downloading the ZIP from release and importing it?

onnimikki commented 3 months ago

Yes. Tried fresh. This time I used the Eclipse Git tool directly (Projects from Git (with smart import) to clone the repository to a local folder. ("local destination"). All of that was similar to using the command line clone tool yesterday, but just from the Eclipse GUI. It then did the import from the local copy ("Import Projects from a File System or Archive")... still from within the eGit tool. The project that shows up in Eclipse does show, in dark orange text, the name of the local copy of the repository (in K32L2B3-MIDI2) [K32L2B3-MIDI2 Main]

Screenshot 2024-07-10 at 6 50 00 AM

but build and run are still greyed out.

Screenshot 2024-07-10 at 6 45 26 AM
MohaimenH commented 3 months ago

I am certain it has to do with project settings being configured to my machine...

Can you try without using Git and downloading the release zip? https://github.com/MohaimenH/K32L2B3-MIDI2/releases/tag/v0.1-beta

onnimikki commented 3 months ago

Never mind. It's working now. I suspected that I simply wasn't selecting the project right. So I installed an SDK example. Built it. Erased and removed it and the other projects that were there, too. Except for the GitHub clone. Restart and it defaulted to selecting the GitHub project. So Build was now available. Newbie mistake.

Have connected up the board now, programmed it and now the Mac ID'd it when I connected via the regular USB (not SDA), like this:

Screenshot 2024-07-10 at 7 35 38 AM

That's pretty cool to see.

MohaimenH commented 3 months ago

This is amazing! Mac is also reading the Manufacturer name (RE Lab), which is nice.