bitdump / BLHeli

BLHeli for brushless ESC firmware
GNU General Public License v3.0
1.98k stars 1.09k forks source link

Building BLHeli_S without purchasing Simplicity Studio #447

Open okalachev opened 4 years ago

okalachev commented 4 years ago

I barely managed to compile it on MacOS with free version of Simplicity Studio. That's what I get now:

*** ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
    LIMIT:   0800H BYTES

How it's possible to fix that?

mikeller commented 4 years ago

@okalachev: What you need to do is to start Simplicity Studio, open the project in it, and build it - there will be an error message, and a popup with a link allowing you to register for a free license of Keil, and instructions on how to install the license. Once you are able to build the project in Simplicity Studio, building with make will work as well.

okalachev commented 4 years ago

Hi! Thanks for the help. But I don't completely get, how should open BLHeli project in Simplicity since I cannot find any project files in this repo.

I tried to create a new project on Keli 8051 platform, and then I received and submitted to Simplicity the free registration key, and compiled my project. But I still get the same error when I try to compile BLHeli_S SiLabs with Makefile

mikeller commented 4 years ago

@okalachev:

I tried to create a new project on Keli 8051 platform, and then I received and submitted to Simplicity the free registration key, and compiled my project. But I still get the same error when I try to compile BLHeli_S SiLabs with Makefile

Ok, then I can not help you much more - this worked for me.

okalachev commented 4 years ago

@mikeller, is it possible to open BLHeli_S SiLabs as a Simplicity Studio project?

mikeller commented 4 years ago

@okalachev: I think building it in Simplicity Studio is possible, yes.

okalachev commented 4 years ago

But is there a ready project for this?

mikeller commented 4 years ago

@okalachev: No.

thijses commented 3 years ago

this worked for me (but it took me about 4-5 hours to get to this point, so maybe this information should be noted in the readme file? (for other idiots like me))