Re: WxEuphoria on ARM

new topic     » goto parent     » topic index » view thread      » older message » newer message
jimcbrown said...
Jerome said...

BRyan,

Thanks for the reply! To clarify the problem:

The first snippet which uses event.GetPosition(&fx, &fy) is from a wxWidgets demo program and does work on my ARM platform.

The second snippet which uses e->GetX() is from the wxEuphoria source code and does not work, crashing with segmentation faults.

wxWidgets provides several ways to access the mouse position for a wxMouseEvent but these methods do not work inside of wxEuphoria programs for some reason. Could there be a problem with the type conversion for some reason?

wxMouseEvent * e = (wxMouseEvent*) event 

Thanks,
Ira

I have no idea what I am talking about here. However, from ARM9 onwards ARM uses the Harvard architecture (as opposed to the von Neumann one we are used to).

This being the case, I would not be suprised to find out that some special porting effort is required to get wxEuphoria to run on ARM. (For example, http://www.nongnu.org/avr-libc/user-manual/porting.html#iar_porting_flash says that C was not designed for Harvard architectures.)

Keep in mind, I have no idea what I'm talking about here.

ARM as always been Harvard architecture and ARM9 is not new it is in fact a classic core. And as for C language, there is many C compilers that work with Harvard architecture microcontroller. I program Microchip PIC which are Harvard architecture too and there is many C compilers for PIC.

Jacques

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu