Search found 240 matches

by Nutsy
Sat Oct 14, 2017 9:54 pm
Forum: General discussion
Topic: [SOLVED] OSX. Back again new problem... cant upload :p
Replies: 4
Views: 82

Re: Back again new problem... cant upload :p

Fixed, had to install libusb using homebrew
by Nutsy
Sat Oct 14, 2017 4:00 pm
Forum: General discussion
Topic: [SOLVED] OSX. Back again new problem... cant upload :p
Replies: 4
Views: 82

Re: Back again new problem... cant upload :p

That makes utterly no sense to me D:

I also just checked, the bin file is where the compiler puts it... Just the dfu doesnt see it or something?
by Nutsy
Sat Oct 14, 2017 2:46 pm
Forum: General discussion
Topic: [SOLVED] OSX. Back again new problem... cant upload :p
Replies: 4
Views: 82

[SOLVED] OSX. Back again new problem... cant upload :p

So im about to have another huge update on my project... but im struggling to get the project to upload to the board.

I had a HD failure before and I had to reinstall everything... But since then I cant upload and I dont know what im missing...

https://hastebin.com/abigosisiv.bash

Any ideas?
by Nutsy
Mon Jul 31, 2017 2:40 pm
Forum: Libraries & Hardware
Topic: best way to construct dynamic strings/char arrays?
Replies: 8
Views: 390

Re: best way to construct dynamic strings/char arrays?

did find this method which is a bit long winded... char tmpSign = (foo < 0) ? "-" : ""; float tmpVal = (foo < 0) ? -foo : foo; int tmpInt1 = tmpVal; // Get the integer (678). float tmpFrac = tmpVal - tmpInt1; // Get fraction (0.0123). int tmpInt2 = trunc(tmpFrac * 100); // Turn into integer (123). s...
by Nutsy
Mon Jul 31, 2017 12:12 pm
Forum: Libraries & Hardware
Topic: best way to construct dynamic strings/char arrays?
Replies: 8
Views: 390

Re: best way to construct dynamic strings/char arrays?

Yeah i realise that memory limits is the real reason why strings arent widely supported. And yes %f doesnt work with sprintf, just get a ? as a result . I was also told I should use snprintf rather than sprintf, not sure of the reasons why. So building into allocated char arrays is the done thing? :...
by Nutsy
Sun Jul 30, 2017 1:50 pm
Forum: Libraries & Hardware
Topic: best way to construct dynamic strings/char arrays?
Replies: 8
Views: 390

best way to construct dynamic strings/char arrays?

In maple whats the best way to construct dynamic strings and char arrays? As you know im upgrading my speedo graphics to EVE. And i need to build some dynamic strings to show things like worded dates " Wed 15th july 2017" for instance. I need to be able to convert floats and doubles to strings and w...
by Nutsy
Thu Jul 27, 2017 10:01 am
Forum: IDE's
Topic: Getting Eclipse to work? A proper guide?
Replies: 12
Views: 500

Re: Getting Eclipse to work? A proper guide?

lol ahhh :D yeah later version would be f4 but still on the f1 at the moment
by Nutsy
Wed Jul 26, 2017 4:53 pm
Forum: IDE's
Topic: Getting Eclipse to work? A proper guide?
Replies: 12
Views: 500

Re: Getting Eclipse to work? A proper guide?

I must admit I couldnt find that line in the platform.txt file...

Another bug ive always had as well is even though Im on a mac eclipse kept trying to trigger the windows tools...

i just gave the mac url into the windows flags in the config
by Nutsy
Wed Jul 26, 2017 9:42 am
Forum: IDE's
Topic: Getting Eclipse to work? A proper guide?
Replies: 12
Views: 500

Re: Getting Eclipse to work? A proper guide?

well back on Neon3 as of yesterday and its till not perfect but i can at least code again... I still have the issue with custom function calls throwing faulse errors about the call... But i do a index rebuild and it works again for a while... If i ass several more functions or details it looses it a...
by Nutsy
Tue Jul 25, 2017 10:35 am
Forum: IDE's
Topic: Getting Eclipse to work? A proper guide?
Replies: 12
Views: 500

Re: Getting Eclipse to work? A proper guide?

ahh so it is the oxygen version thats causing the faults...
It really has been causing so much headache for me...