Micro Motor Community

Silverware Tools for macOS - new version!

#65

I usually have NFE_Silverware checked out in a git repository and keep the different configurations in different branches.

You are right, the Docker container keeps being linked to whatever folder it was created with.

1 Like

#66

Okay, thanks, Chaotix and sier. I’ll make sure to keep the compile directory constant one of those two ways.

0 Likes

#67

is there any version of this code for linux? i use ubuntu specifically

1 Like

#68

@wallieonline and @jocejrod

Hello,

I’m under linux too and also interested in a way of compiling without hard time under linux. I can compile only on ubuntu 16 as ubuntu 18 come with newer gcc version and it doesn’t work with that one.

Wallieonline, you said you’re now compiling with the “official” compiler instead of gcc… what do you mean ?

Could you explain your way of doing ?

cheers,

1 Like

#69

Using this compiler: https://developer.arm.com/products/software-development-tools/compilers/arm-compiler/downloads/version-5

I send my custom CentOS7 Dockerfile to @sier he started the project for mac.
Put the files DS500-PA-00003-r5p0-25rel0.tgz and mdk_lite.elmap in the same folder as the Dockerfile.
Make a “work” folder and copy the ruby script and silverware project in work folder
Run the container with the “it” and -v (for work folder) parameter en start the ruby script in the work folder.
You need to make some (path) changes on the ruby script to make it work.
All credits for @sier… he showed me how to transfer license… Thanks a lot for that… using this for all my other stm projects now!

0 Likes

#70

Hi !

Thanks for your answer.
Maybe it is to complicated for me… I don’t know about CentOS7 and Dockerfile.
I’ve downloaded the DS500-PA… file but where can i find mdk_lite.elmap ?
I would be pleased if you would give me some hints, but understand that it can be long for you if I’m to far away…

0 Likes

#71

You can install without docker if you want. mdk_lite.elmap is the (limited) demo license file from keil.

And you need some commandline build commands, you can find the build commands in de ruby file from @sier download and extract the project… search… and you will find… all you need :grinning:

0 Likes

#72

Hey thanks again @wallieonline !
I extracted the DS500-PA… folder and run the install script. looks like I have now armcc installed !
I downloaded and extract @sier 's folder. I just don’t see the “ruby file” : )

1 Like

#73

Ruby is the language its written in.
File is named build.rb
You can find it here: silverware-tools-1.0.1.zip/Installer.app/Contents/Resources/Compiler.app/Contents/Resources/docker/build.rb

0 Likes

#74

There is now a makefile (instead of the ruby file): https://github.com/NotFastEnuf/NFE_Silverware/pull/9
Tested this one… and it works.

2 Likes

#75

Sweet! Thanks for the pointer :wink:

0 Likes

#76

Ooops ! I just noticed you aswered, I’m sorry.

Thanks @wallieonline for the help, but I don’t manage it yet. Unfortunately I miss some basic knowledge, and don’t know how to treat simple errors.

Running the ruby file returns me an :

Error: A9511E: Unable to determine the current toolkit. Check that ARM_TOOL_VARIANT is set correctly…

and I’m lost here…

I’m trying now with the makefile following the advices of ghostface from github.

Cheers,

0 Likes

#77

@nezo Better use “makefile” now (instead of build.rb)… more easy… read the message from ghostface (in the link). Don’t forget to install the mdk_lite.elmap file!

@sier Your welcome!

0 Likes

#78

Wow !
I managed to compile it ! Thanks for your guidance ! Now I can go further.

:blush:

0 Likes

#79

Good work! Glad I could help.

0 Likes

B03 FC + fishpepper ESC set up problem
#80

Dear all, I’m a beginner of silverware and I tried to compile with this tools for H67. but it didn’t success , silverware.hex didn’t in the same directory as the tools. It’s shown “
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?“. What can I do to be able to compile? Please help me. Thanks.

0 Likes