clough42 / electronic-leadscrew

Lathe electronic leadscrew controller
MIT License
322 stars 117 forks source link

Make is missing #227

Open lesrhorer opened 2 years ago

lesrhorer commented 2 years ago

As fsar as I know, the IDE install should have included the make executable or at least made sure it existed and was in the path. It does not exist, so I cannot build the code and install it to the MCU.

pmelevende commented 2 years ago

Hi Les - Open the IDE, Open the project in the project explorer, Select 'els-f280049c' as active project, then click on the little hammer icon. That should build the project for you. Also https://github.com/clough42/electronic-leadscrew/wiki/Programming-The-Microcontroller

rak306 commented 2 years ago

I'm having the same problem. Error - no make file. also warning - no include path. downloaded latest version of CCstudio (version 12 on 2022-10-14). Downloaded electronic-leadscrew1.4 from github.

in CCstudio File-Open projects-the electronic v1.4. in CCstudio click on els-f280049c - it goes bold click on hammer - 1 error - no make file, nothing to build also warning - no include path

tomvikse commented 2 years ago

From Wiki..

NOTE: The code for this project was developed in Code Composer Studio version 9.1. It has not yet been migrated to version 10 or later

https://www.ti.com/tool/download/CCSTUDIO/9.3.0.00012

rak306 commented 2 years ago

I take it back - I did not find the download from TI of version 9. Thank you for your information.

Comment deleted.

clough42 commented 2 years ago

For people coming along later and finding this thread click "View All Versions" on the TI CCS download page, and you'll see a listing for previous versions, all the way back to version 4.

Porting the project to newer versions of CCS is something that's on my list of things to do, but since it doesn't actually add new value to the ELS project, it has not come to the top of my list.

James

On Fri, Oct 14, 2022 at 2:58 PM rak306 @.***> wrote:

And TI only has version 12 of CCStudio available on their website. So if the project doesn’t compile on the version 12, the project is not available to newcomers.

Now I was able to find CCStudio 9 by using the wayback machine. And that worked. But it was difficult because the download kept failing after a few hundred megabytes.

— Reply to this email directly, view it on GitHub https://github.com/clough42/electronic-leadscrew/issues/227#issuecomment-1279458773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZLSHFXOTVA3NAR6ZWZA2LWDHCOJANCNFSM6AAAAAAQIFFKU4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pmelevende commented 2 years ago

Hi James,

Maybe then, it's close to time to 'add some value' :-) (not that it isn't already extremely valuable!)

rak306 commented 2 years ago

Thanks for the response. I completely understand. If its not there already, I would suggest a note on the wiki, explaining that you need version 9.

I hope to have this up and running soon. I just got a notice that you have shipped my display and interface board.

I have a suggestion for a future feature - add a mode where the display acts as a DRO. While absolute position would not be possible, a relative position would be. You could find a reference point, push a “zero the DRO” button, then (as long as the half nut remained engaged), drive to any position relative to it. The accuracy would be as good as your lead screw.

But even if there are no more versions, your electronic-leadscrew project is fantastic, and a great contribution to the community. I wish I had your knowledge and energy.

Thank you for it very much!

Rick Kellogg

On Sun, Oct 16, 2022 at 6:45 PM clough42 @.***> wrote:

For people coming along later and finding this thread click "View All Versions" on the TI CCS download page, and you'll see a listing for previous versions, all the way back to version 4.

Porting the project to newer versions of CCS is something that's on my list of things to do, but since it doesn't actually add new value to the ELS project, it has not come to the top of my list.

James

On Fri, Oct 14, 2022 at 2:58 PM rak306 @.***> wrote:

And TI only has version 12 of CCStudio available on their website. So if the project doesn’t compile on the version 12, the project is not available to newcomers.

Now I was able to find CCStudio 9 by using the wayback machine. And that worked. But it was difficult because the download kept failing after a few hundred megabytes.

— Reply to this email directly, view it on GitHub < https://github.com/clough42/electronic-leadscrew/issues/227#issuecomment-1279458773 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAZLSHFXOTVA3NAR6ZWZA2LWDHCOJANCNFSM6AAAAAAQIFFKU4

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/clough42/electronic-leadscrew/issues/227#issuecomment-1280074378, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGGOZMW26W62BKMBDZTDT5LWDSAPBANCNFSM6AAAAAAQIFFKU4 . You are receiving this because you commented.Message ID: @.***>

pmelevende commented 2 years ago

Hi again,

It's been a while but something was nagging me in the back of my mind that I'd updated and got it to work - So - I checked the version of CCS I'm running - It's 10.4.0 and it successfully compiles and loads the project. Wish I could remember how I made it work!

Maybe it was Project->Import CCS project oh - and in the project->properties->General tab, my compiler is set to "TI v18.12.1.LTS", and Output format 'Legacy COFF' ...and.... Project->Properties->C200 Linker 'summary of flags set' is as follows... -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -O3 --opt_for_speed=3 --fp_mode=strict --define=_INLINE --define=_FLASH --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi -z -m"els-f280049c.map" --heap_size=0x100 --stack_size=0x200 --warn_sections -i"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-c2000_20.2.5.LTS/lib" -i"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-c2000_20.2.5.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="els-f280049c_linkInfo.xml" --rom_model

All I can say is that 10.4.0 works for me. I hope some of you may find a solution using the above.

Thanks Pauly