Menu

#15 Support for GCC

closed
nobody
None
5
2013-03-29
2013-03-22
No

Environment:
FNet 2.0.0 ported to MCF5372, without any OS
Cross compiled with gcc 4.2.3 (WinXP SP3 + Cygwin 1.7.17-1)

Used Protocols:
ARP, UDP with IP Fragmentation

Network Configuration:
One target (MCF5372) and one Windows Host, both configured with static IPs.

Attached You will find the changed files based on FNet 2.3.0:

fnet\fnet_user_config.h
The used user config with a new define:
#define FNET_CFG_COMP_GNUC (1)

fnet\fnet_stack\compiler\fnet_comp.h
Added GNUC specific pargma packed directives

fnet\fnet_stack\compiler\fnet_comp_asm.h
Added GNUC specific assembler macros

fnet\fnet_stack\compiler\fnet_comp_config.h
Extended FNET general compiler config

fnet\fnet_stack\cpu\fnet_cpu.h
Added a function attribute.
This allows a standard c function to be used as an interrupt handler.

All further CPU specific code will be posted in a separate future request.

Discussion

  • Frank Glaser

    Frank Glaser - 2013-03-22

    FNET 2.3.0 ported to be compiled with GCC 4.2.3

     
  • Andrej Butok

    Andrej Butok - 2013-03-29

    Thanks. Accepted.

     
  • Andrej Butok

    Andrej Butok - 2013-03-29
    • status: open --> closed