View Single Post
Old Oct 19, 2012, 12:39 PM
rcjose is offline
Find More Posts by rcjose
Registered User
United States, TX, Richmond
Joined Aug 2010
1,283 Posts
Originally Posted by kapteinkuk View Post
Some updates:

I am going to rewrite the whole thing in C. Yep, I'm getting old!

It is so much easier to develop, debug and maintain. Also my math-library is not up to the task of rotating 3D vectors, needed for better self-level.

Due to the small program memory some features probably have to go.

In worst case it will have to be multicopter type specific hex files, like on the KK1.

I'm going to use AVR-GCC.

After writing a few arduino (C) programs, I went back to assembly to fix my brushed motor ESC firmware.

Then it hit me: "What the truck am I doing? I have to be bat-shlt-crazy to write large programs in assembly! This thing is so cryptic that I have to reverse-engineer my own source code!"

I think your idea of creating specific hex files for each multirotor type is a brilliant idea. This way you can max out the code space for each type. Thanks for all your work on this flight controller!
rcjose is offline Find More Posts by rcjose
Reply With Quote