logs archiveBotHelp.net / Freenode / #43oh / 2015 / September / 15 / 1
Rickta59
seems like this latest version of Oracle Virtuabox ( 5.0 ) allows me to create a windows 32 vm that is actually usable
i installed the windows version of CCS 6.1 on there and I can use it with the old g2 launchpad
i could tell it was going to be better when I launched windows xp and the sound didn't warble
Spirilis
so one thing I've been futzing with this morning, is trying to get my renesas C++ projects to build without -fno-rtti
why ...... no good reason, just because
every single time it bi**hes about vtable for __cxxabiv1::__class_type_info or __vmi_class_type_info or whatever being missing
Rickta59
you might have to implement those special functions
funny .. that i s what I meant
Spirilis
the thing is, gcc's libstdc++ does include them, I've verified that by examining the .o files in libstdc++.a
although I would never want those to be run
they use _write()
hmmm
actually maybe that's it
my code doesn't include an implementation for _write_r() et al
Rickta59
make dummy ones
Spirilis
what do they do anyhow?
the default implementation just writes something stupid
Rickta59
you could put the data in a circular buffer
so at least you could look at the last thing printed
* often used by me in another life developing dos interrupt handlers
Spirilis
ah actually I realized I was thinking of __cxa_pure_virtual, which does end up coming through
Rickta59
* then use dos debug to look at a specific memory location
Spirilis
the type_info's are fairly large
Rickta59
often the way to spot what is actually needed is to link without any startup or stdlib
and then see what is undefined
Spirilis
yeah
so that's basically what GNURX's project generator does
Rickta59
when you link with some of it ..
Spirilis
it uses -nostdlib and then adds -lgcc, -lstdc++ et al
Rickta59
you get false missing stuff
yeah dump the -l part also
and that will show you what it really needs
Spirilis
ah
right cause then it's not spamming you with dependencies from libgcc, libstdc++ etc
Rickta59
the -lgcc gets you the mul/div stuff
the stdc++ .. lots of crap in there
Spirilis
anyway so far it looks like disincluding exceptions and rtti is a standard procedure for me
and I guess until I wrap my head around that crap it will continue to be so :)
Rickta59
are you using any of the stl stuff?
maps, vectors etc ..
Spirilis
nope
Rickta59
do you have the option of using a nanospec newlib ?
anyways the virtualbox 5 thing actually allows me to use a g2 launchpad on CCS 6.1 and linux. Sadly a day late and a dollar short now
* i was actually getting the windows xp thing going so i could run the stm32cubemx stuff
the CCS thing was just a whimsical test
Spirilis
nah it doesn't appear so
so the nanospec newlib...
Rickta59
it probably ran fine all along for you people with newer pc boxes
Spirilis
that's a configure option when building newlib I take it?
Rickta59
yeah
Spirilis
aye
so with -fno-exceptions -fno-rtti a simple template test builds fine without -lstdc++
guess that's good to know
Rickta59
that is going to build the most compact and fastest code anyways
Spirilis
yeah
Rickta59
btw modern.ie ..
interesting site
Spirilis
alrighty, got the barebones skeleton Serial code running... not doing anything besides filling up its buffer and waiting, but running nonetheless
in the process I had to make ALL that wiring cruft work, Print, Stream, new, WMath, WCharacter, the *toa and dtostrf's that don't ship with newlib...
well
haven't confirmed they work yet, but compile ;)
that's at least half the battle here is getting the wiring base libraries to compile correctly so you can start working out the kinks in actual projects
Rickta59
yep
ike
so guys did I tell you to drop msp430 LP because it's expensive and use cheaper chinise routers with linux for $7
well you can drop routers too
now you should use this http://www.aliexpress.com/store/product/Orange-Pi-PC-ubuntu-linux-and-android-mini-PC-Beyond-and-Compatible-with-Raspberry-Pi-2/1553371_32448079125.html
it's $19
I pay $19 for arduino clone 5 years ago
Rickta59
isn't that amazing
ike
imagine what can I get after another 5 years
maybe 8 core cortex A72 with 8GB of ram for $20
Moore's Law never sleep
Rickta59
i thought that was done?
Moore's law
ike
it's not about preformance
it's about cost and preformance
when intel stoped making faster chips
Rickta59
wasn't that based on the constantly growing speed?
ike
chinise started making cheaper ones
it's speed per $
Rickta59
so Moore's law .. where did the Chinese factor fit into that?
ike
8 core phone http://www.minideal.net/lenovo-a916-4g-fdd-dual-sim-smartphone-mtk6592-octa-core-5-5inch-hd-screen-ram-2gb-13-0mp-2234.html
for unter $100
btw Moore's law is running for millennia
remember the dinosaurs?
well mammals are cheaper dinosaurs made by chinise
cambazz
hello, if i want to do embedded development but on a fast mcu, like >800mhz, however without linux or any o/s just like embedded c++ what would i use?
ike
FPGA ;)
cambazz
have no fpga experience.
ike
anyway what are you going to do with 800MHz cpu
linux is good, because you get ton of software and stacks for free
like USB, Ethernet,TCP/IP, ATA
cambazz
well i started experimenting with rtc's and setup two different rtc on a breadboard with 2 different Tiva-C boards
and I set them with same time from usb, with a python script, and then measure the deviation between clocks
to find how many days it will take to make a 1 sec between clocks
so as it turns out, quartz technology is crap. 45sec change per year for a DS3231 which is 2-3ppm.
ike
for $10 you can buy time sync
cambazz
the RTCs on mcu boards are 10-25ppm
ike: you mean gps time sync? I will look into that, i have a gps module, hooked it up, at 9600bps, and it does send time signals, but I was wondering if all gps'es get all those messages exactly at the same time
ike
it depends
« prev 1 2 next »