AnsweredAssumed Answered

MCUXpresso IDE creating readonly files?

Question asked by Steve Iribarne on Jan 18, 2018
Latest reply on Jan 22, 2018 by Steve Iribarne

Hello.

 

I'm using MCUXpresso IDE v10.1.1 [Build 606] [2018-01-02] and I have two issues.  One of them is the fact that read only files are getting created, so when you commit something into github for example and then you make changes (Using the Peripheral tool or the Pins tool) and you want to back out those changes, you get an error.

 

Maybe I'm just missing something obvious when you install a new project.

 

I created a new project using the "New Project" Quick start panel.

I create a project for my FRDM-K28F

I pull in many fsl modules.

and I create a baremetal with a shell and debug_console etc.  

I pull in essentially everything but FreeRTOS stuff.

 

I build it and then I created a github repo and committed everything.

I then screw up my build and it doesn't work.

So I go to revert my changes (ie using `git checkout `)

And on OSX I get the error...

 

error: unable to unlink old 'board/peripherals.c': Operation not permitted

error: unable to unlink old 'board/peripherals.h': Operation not permitted

error: unable to unlink old 'board/pin_mux.c': Operation not permitted

error: unable to unlink old 'board/pin_mux.h': Operation not permitted

 

So on OSX I need to go and change the rights.  (ie chflags nouchg board/*)

 

I'm SURE I'm missing a preference somewhere... 

 

Thanks in advance.

Steve

Outcomes