CUNO2 mit V.1.61 kein IR Empfang oder Senden

Begonnen von Mitch, 12 August 2014, 18:31:25

Vorheriges Thema - Nächstes Thema

Mitch

Hallo,

habe gerade meinen CUNO auf 1.61 gezogen.

Leider habe ich kein IR mehr, obwohl ich entsprechend die Dateien geändert habe?

Hier die board.h:
#ifndef _BOARD_H
#define _BOARD_H

#define HAS_FHT_8v                      // PROGMEM:  434b, RAM: 19b
#define HAS_FHT_80b                     // PROGMEM: 1158b, RAM:  5b

#undef  FULL_CC1100_PA                  // PROGMEM:  108b

#undef  HAS_RAWSEND                     // PROGMEM:  198b     RAM:  4b
#undef  HAS_FASTRF                      // PROGMEM:  362+106  RAM:  1b
#undef  HAS_RF_ROUTER                   // PROGMEM:  920b  RAM: 38b
#undef  HAS_LONGMSG                     // CUR support     RAM: 20b
#undef  HAS_ONEWIRE                     // OneWire Support

#define SPI_PORT        PORTB
#define SPI_DDR         DDRB
#define SPI_SS          4
#define SPI_MISO        6
#define SPI_MOSI        5
#define SPI_SCLK        7

#define CC1100_CS_DDR       SPI_DDR
#define CC1100_CS_PORT          SPI_PORT
#define CC1100_CS_PIN       SPI_SS

#define CC1100_OUT_DDR      DDRB
#define CC1100_OUT_PORT         PORTB
#define CC1100_OUT_PIN          1

#define CC1100_IN_DDR       DDRB
#define CC1100_IN_PORT          PINB
#define CC1100_IN_PIN           2
#define CC1100_INT      INT2
#define CC1100_INTVECT          INT2_vect
#define CC1100_ISC      ISC20
#define CC1100_EICR             EICRA

#define LED_DDR                 DDRB
#define LED_PORT                PORTB
#define LED_PIN                 0

#define USART_RX_vect           USART0_RX_vect
#define USART_UDRE_vect         USART0_UDRE_vect

#define ENC28J60_CONTROL_PORT   PORTA
#define ENC28J60_CONTROL_DDR    DDRA
#define ENC28J60_CONTROL_CS     4
#define ENC28J60_RESET_PORT     PORTD
#define ENC28J60_RESET_DDR      DDRD
#define ENC28J60_RESET_BIT      4
#define ENC28J60_SPI_PORT       SPI_PORT
#define ENC28J60_SPI_DDR        SPI_DDR
#define ENC28J60_SPI_SCK        SPI_SCLK
#define ENC28J60_SPI_MOSI       SPI_MOSI
#define ENC28J60_SPI_MISO       SPI_MISO
#define ENC28J60_SPI_SS         SPI_SS

#define USB_MAX_POWER           250

#define FHTBUF_SIZE          174      //                 RAM: 174b
#define RCV_BUCKETS            4      //                 RAM: 25b * bucket
#define HAS_RF_ROUTER          1      // PROGMEM: 1106b, RAM: 43b
#define RFR_DEBUG                     // PROGMEM:  354b  RAM: 14b
#define FULL_CC1100_PA                // PROGMEM:  108b
#define HAS_RAWSEND                   //
#define HAS_FASTRF                    // PROGMEM:  468b  RAM:  1b
#define HAS_ASKSIN
#define HAS_ASKSIN_FUP
#define HAS_ESA
#define HAS_TX3
#define HAS_INTERTECHNO
#define HAS_HOERMANN
#define HAS_MORITZ
#define HAS_CC1101_RX_PLL_LOCK_CHECK_TASK_WAIT
#define HAS_CC1101_PLL_LOCK_CHECK_MSG
#define HAS_CC1101_PLL_LOCK_CHECK_MSG_SW

#define HAS_IRRX                                //IR Receiption
#define F_INTERRUPTS            15625   // interrupts per second, min: 10000, max: 20000
#define IRMP_PORT               PORTA
#define IRMP_DDR                DDRA
#define IRMP_PIN                PINA
#define IRMP_BIT                2       // use PA2 as IR input on AVR
#define HAS_IRRX

#define HAS_IRTX                                //IR-Transmission
#define IRSND_OCx               IRSND_OC2A          // use OC2A
#ifndef F_INTERRUPTS           
#define F_INTERRUPTS            15625   // interrupts per second, min: 10000, max: 20000
#endif
#define HAS_IRTX

#define HAS_MDNS "CUNO2"  // this has to be a unique id per network
#undef  HAS_MDNS                         // disable Bonjour at present

#define MULTI_FREQ_DEVICE       // available in multiple versions: 433MHz,868MHz,915MHz
#define BOARD_ID_STR            "CUNO868"
#define BOARD_ID_STR433         "CUNO433"
#define BOARD_ID_STR915         "CUNO915"

#define MARK433_PORT PORTD
#define MARK433_PIN PIND
#define MARK433_BIT 5
#define MARK915_PORT PORTD
#define MARK915_PIN PIND
#define MARK915_BIT 6

#define HAS_XRAM                1

#define HAS_UART                1
#define UART_BAUD_RATE          38400
#define HAS_ETHERNET            1   
#define HAS_NTP                 1   

#define HAS_ONEWIRE         10      // OneWire Device Buffer, RAM: 10 * 8 Byte
#define OW_SPU     // enable StrongPullUp

#define HAS_VZ     // Volkszaehler IR-Head
#define VZ_MSG_SIZE 512             // required space to cache a complete message
#undef  HAS_VZ     // disable at present

#define HAS_HM485     // HM485 "Homematic Wired" support

#define HAS_DMX
#define DMX_CHANNELS           16
#define DMX_RESTING            1      // idle DMX for unsued channels (512-DMX_CHANNELS) bit times, rather than start over immediately
#define DMX_FS20EMU_HC         "2822" // This is the house code used to address DMX space while using F... commands
#undef  HAS_DMX

#define HAS_HELIOS
#define HELIOS_EMU_HC          "2823" // This is the house code used to address HELIOS space while using F... commands
#undef  HAS_HELIOS

#ifdef HAS_DMX
#undef  HAS_HM485
#undef  HAS_HELIOS
#endif

#define TTY_BUFSIZE             1024

#define BUSWARE_CUNO2

#ifndef eeprom_update_byte
#define eeprom_update_byte eeprom_write_byte
#endif

#endif


Zusätzlich habe ich in der irmpconfig.h und irsndconfig.h noch ein paar Protokolle aktiviert.

Habe ich etwas vergessen, oder warum geht das nicht?

Leider habe ich beim Compilieren auch eine Menge Fehler gehabt:
[code]make: Entering directory '/Users/Markus/Documents/AVR/culfw/Devices/CUNO2'
Compiling C: CUNO2.c
Compiling C: ../../clib/cc1100.c
Compiling C: ../../clib/cc1101_pllcheck.c
Compiling C: ../../clib/clock.c
Compiling C: ../../clib/delay.c
Compiling C: ../../clib/display.c
Compiling C: ../../clib/stringfunc.c
Compiling C: ../../clib/fncollection.c
Compiling C: ../../clib/ringbuffer.c
Compiling C: ../../clib/rf_send.c
Compiling C: ../../clib/rf_asksin.c
Compiling C: ../../clib/rf_receive.c
Compiling C: ../../clib/rf_router.c
Compiling C: ../../clib/rf_moritz.c
Compiling C: ../../clib/fht.c
Compiling C: ../../clib/fastrf.c
Compiling C: ../../clib/memory.c
Compiling C: ../../clib/serial.c
Compiling C: ../../clib/vz.c
Compiling C: ../../clib/ttydata.c
Compiling C: ../../clib/ethernet.c
Compiling C: ../../clib/tcplink.c
Compiling C: ../../avr-uip/drivers/ethersex/enc28j60.c
Compiling C: ../../avr-uip/drivers/ethersex/network.c
Compiling C: ../../avr-uip/uip/uip.c
../../avr-uip/uip/uip.c: In function 'upper_layer_chksum':
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:337:31: note: in expansion of macro 'BUF'
   upper_layer_len = (((u16_t)(BUF->len[0]) << 8) + BUF->len[1]) - UIP_IPH_LEN;
                               ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:337:52: note: in expansion of macro 'BUF'
   upper_layer_len = (((u16_t)(BUF->len[0]) << 8) + BUF->len[1]) - UIP_IPH_LEN;
                                                    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:345:30: note: in expansion of macro 'BUF'
   sum = chksum(sum, (u8_t *)&BUF->srcipaddr[0], 2 * sizeof(uip_ipaddr_t));
                              ^
../../avr-uip/uip/uip.c: In function 'uip_process':
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:754:6: note: in expansion of macro 'BUF'
      BUF->flags = TCP_RST | TCP_ACK;
      ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:841:6: note: in expansion of macro 'BUF'
   if(BUF->vhl != 0x45)  { /* IP version and header length. */
      ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:856:7: note: in expansion of macro 'BUF'
   if((BUF->len[0] << 8) + BUF->len[1] <= uip_len) {
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:856:27: note: in expansion of macro 'BUF'
   if((BUF->len[0] << 8) + BUF->len[1] <= uip_len) {
                           ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:857:16: note: in expansion of macro 'BUF'
     uip_len = (BUF->len[0] << 8) + BUF->len[1];
                ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:857:36: note: in expansion of macro 'BUF'
     uip_len = (BUF->len[0] << 8) + BUF->len[1];
                                    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:876:7: note: in expansion of macro 'BUF'
   if((BUF->ipoffset[0] & 0x3f) != 0 ||
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:877:6: note: in expansion of macro 'BUF'
      BUF->ipoffset[1] != 0) {
      ^
In file included from ../../avr-uip/uip/uip.c:82:0:
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:911:49: note: in definition of macro 'uip_ipaddr_cmp'
#define uip_ipaddr_cmp(addr1, addr2) (((u16_t *)addr1)[0] == ((u16_t *)addr2)[0] && \
                                                 ^
../../avr-uip/uip/uip.c:927:24: note: in expansion of macro 'BUF'
     if(!uip_ipaddr_cmp(BUF->destipaddr, uip_hostaddr)) {
                        ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:911:49: note: in definition of macro 'uip_ipaddr_cmp'
#define uip_ipaddr_cmp(addr1, addr2) (((u16_t *)addr1)[0] == ((u16_t *)addr2)[0] && \
                                                 ^
../../avr-uip/uip/uip.c:927:24: note: in expansion of macro 'BUF'
     if(!uip_ipaddr_cmp(BUF->destipaddr, uip_hostaddr)) {
                        ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:912:21: note: in definition of macro 'uip_ipaddr_cmp'
           ((u16_t *)addr1)[1] == ((u16_t *)addr2)[1])
                     ^
../../avr-uip/uip/uip.c:927:24: note: in expansion of macro 'BUF'
     if(!uip_ipaddr_cmp(BUF->destipaddr, uip_hostaddr)) {
                        ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:912:21: note: in definition of macro 'uip_ipaddr_cmp'
           ((u16_t *)addr1)[1] == ((u16_t *)addr2)[1])
                     ^
../../avr-uip/uip/uip.c:927:24: note: in expansion of macro 'BUF'
     if(!uip_ipaddr_cmp(BUF->destipaddr, uip_hostaddr)) {
                        ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:959:6: note: in expansion of macro 'BUF'
   if(BUF->proto == UIP_PROTO_TCP) { /* Check for TCP packet. If so,
      ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:966:6: note: in expansion of macro 'BUF'
   if(BUF->proto == UIP_PROTO_UDP) {
      ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:973:6: note: in expansion of macro 'BUF'
   if(BUF->proto != UIP_PROTO_ICMP) { /* We only allow ICMP packets from
      ^
../../avr-uip/uip/uip.c:228:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ICMPBUF ((struct uip_icmpip_hdr *)&uip_buf[UIP_LLH_LEN])
                          ^
../../avr-uip/uip/uip.c:989:6: note: in expansion of macro 'ICMPBUF'
   if(ICMPBUF->type != ICMP_ECHO) {
      ^
../../avr-uip/uip/uip.c:228:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ICMPBUF ((struct uip_icmpip_hdr *)&uip_buf[UIP_LLH_LEN])
                          ^
../../avr-uip/uip/uip.c:1006:3: note: in expansion of macro 'ICMPBUF'
   ICMPBUF->type = ICMP_ECHO_REPLY;
   ^
../../avr-uip/uip/uip.c:228:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ICMPBUF ((struct uip_icmpip_hdr *)&uip_buf[UIP_LLH_LEN])
                          ^
../../avr-uip/uip/uip.c:1008:6: note: in expansion of macro 'ICMPBUF'
   if(ICMPBUF->icmpchksum >= HTONS(0xffff - (ICMP_ECHO << 8))) {
      ^
../../avr-uip/uip/uip.c:228:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ICMPBUF ((struct uip_icmpip_hdr *)&uip_buf[UIP_LLH_LEN])
                          ^
../../avr-uip/uip/uip.c:1009:5: note: in expansion of macro 'ICMPBUF'
     ICMPBUF->icmpchksum += HTONS(ICMP_ECHO << 8) + 1;
     ^
../../avr-uip/uip/uip.c:228:26: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define ICMPBUF ((struct uip_icmpip_hdr *)&uip_buf[UIP_LLH_LEN])
                          ^
../../avr-uip/uip/uip.c:1011:5: note: in expansion of macro 'ICMPBUF'
     ICMPBUF->icmpchksum += HTONS(ICMP_ECHO << 8);
     ^
In file included from ../../avr-uip/uip/uip.c:82:0:
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1015:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1015:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:53: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                                     ^
../../avr-uip/uip/uip.c:1015:36: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                                    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:53: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                                     ^
../../avr-uip/uip/uip.c:1015:36: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                                    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1015:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1015:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:53: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                                     ^
../../avr-uip/uip/uip.c:1015:36: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                                    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:53: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                                     ^
../../avr-uip/uip/uip.c:1015:36: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, BUF->srcipaddr);
                                    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1016:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1016:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1016:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1016:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:229:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define UDPBUF ((struct uip_udpip_hdr *)&uip_buf[UIP_LLH_LEN])
                         ^
../../avr-uip/uip/uip.c:1123:8: note: in expansion of macro 'UDPBUF'
        UDPBUF->destport == uip_udp_conn->lport &&
        ^
../../avr-uip/uip/uip.c:229:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define UDPBUF ((struct uip_udpip_hdr *)&uip_buf[UIP_LLH_LEN])
                         ^
../../avr-uip/uip/uip.c:1125:9: note: in expansion of macro 'UDPBUF'
         UDPBUF->srcport == uip_udp_conn->rport) &&
         ^
In file included from ../../avr-uip/uip/uip.c:82:0:
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:911:49: note: in definition of macro 'uip_ipaddr_cmp'
#define uip_ipaddr_cmp(addr1, addr2) (((u16_t *)addr1)[0] == ((u16_t *)addr2)[0] && \
                                                 ^
../../avr-uip/uip/uip.c:1128:17: note: in expansion of macro 'BUF'
  uip_ipaddr_cmp(BUF->srcipaddr, uip_udp_conn->ripaddr))) {
                 ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:911:49: note: in definition of macro 'uip_ipaddr_cmp'
#define uip_ipaddr_cmp(addr1, addr2) (((u16_t *)addr1)[0] == ((u16_t *)addr2)[0] && \
                                                 ^
../../avr-uip/uip/uip.c:1128:17: note: in expansion of macro 'BUF'
  uip_ipaddr_cmp(BUF->srcipaddr, uip_udp_conn->ripaddr))) {
                 ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:912:21: note: in definition of macro 'uip_ipaddr_cmp'
           ((u16_t *)addr1)[1] == ((u16_t *)addr2)[1])
                     ^
../../avr-uip/uip/uip.c:1128:17: note: in expansion of macro 'BUF'
  uip_ipaddr_cmp(BUF->srcipaddr, uip_udp_conn->ripaddr))) {
                 ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:912:21: note: in definition of macro 'uip_ipaddr_cmp'
           ((u16_t *)addr1)[1] == ((u16_t *)addr2)[1])
                     ^
../../avr-uip/uip/uip.c:1128:17: note: in expansion of macro 'BUF'
  uip_ipaddr_cmp(BUF->srcipaddr, uip_udp_conn->ripaddr))) {
                 ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1153:3: note: in expansion of macro 'BUF'
   BUF->len[0] = (uip_len >> 8);
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1154:3: note: in expansion of macro 'BUF'
   BUF->len[1] = (uip_len & 0xff);
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1157:3: note: in expansion of macro 'BUF'
   BUF->ttl = uip_udp_conn->ttl;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1158:3: note: in expansion of macro 'BUF'
   BUF->proto = UIP_PROTO_UDP;
   ^
../../avr-uip/uip/uip.c:229:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define UDPBUF ((struct uip_udpip_hdr *)&uip_buf[UIP_LLH_LEN])
                         ^
../../avr-uip/uip/uip.c:1160:3: note: in expansion of macro 'UDPBUF'
   UDPBUF->udplen = HTONS(uip_slen + UIP_UDPH_LEN);
   ^
../../avr-uip/uip/uip.c:229:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define UDPBUF ((struct uip_udpip_hdr *)&uip_buf[UIP_LLH_LEN])
                         ^
../../avr-uip/uip/uip.c:1161:3: note: in expansion of macro 'UDPBUF'
   UDPBUF->udpchksum = 0;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1163:3: note: in expansion of macro 'BUF'
   BUF->srcport  = uip_udp_conn->lport;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1164:3: note: in expansion of macro 'BUF'
   BUF->destport = uip_udp_conn->rport;
   ^
In file included from ../../avr-uip/uip/uip.c:82:0:
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1166:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1166:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1166:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1166:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->srcipaddr, uip_hostaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1167:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, uip_udp_conn->ripaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:883:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[0] = ((u16_t *)src)[0]; \
                                ^
../../avr-uip/uip/uip.c:1167:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, uip_udp_conn->ripaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1167:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, uip_udp_conn->ripaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:884:32: note: in definition of macro 'uip_ipaddr_copy'
                      ((u16_t *)dest)[1] = ((u16_t *)src)[1]; \
                                ^
../../avr-uip/uip/uip.c:1167:19: note: in expansion of macro 'BUF'
   uip_ipaddr_copy(BUF->destipaddr, uip_udp_conn->ripaddr);
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1202:8: note: in expansion of macro 'BUF'
        BUF->destport == uip_connr->lport &&
        ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1203:8: note: in expansion of macro 'BUF'
        BUF->srcport == uip_connr->rport &&
        ^
In file included from ../../avr-uip/uip/uip.c:82:0:
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:911:49: note: in definition of macro 'uip_ipaddr_cmp'
#define uip_ipaddr_cmp(addr1, addr2) (((u16_t *)addr1)[0] == ((u16_t *)addr2)[0] && \
                                                 ^
../../avr-uip/uip/uip.c:1204:23: note: in expansion of macro 'BUF'
        uip_ipaddr_cmp(BUF->srcipaddr, uip_connr->ripaddr)) {
                       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:911:49: note: in definition of macro 'uip_ipaddr_cmp'
#define uip_ipaddr_cmp(addr1, addr2) (((u16_t *)addr1)[0] == ((u16_t *)addr2)[0] && \
                                                 ^
../../avr-uip/uip/uip.c:1204:23: note: in expansion of macro 'BUF'
        uip_ipaddr_cmp(BUF->srcipaddr, uip_connr->ripaddr)) {
                       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:912:21: note: in definition of macro 'uip_ipaddr_cmp'
           ((u16_t *)addr1)[1] == ((u16_t *)addr2)[1])
                     ^
../../avr-uip/uip/uip.c:1204:23: note: in expansion of macro 'BUF'
        uip_ipaddr_cmp(BUF->srcipaddr, uip_connr->ripaddr)) {
                       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.h:912:21: note: in definition of macro 'uip_ipaddr_cmp'
           ((u16_t *)addr1)[1] == ((u16_t *)addr2)[1])
                     ^
../../avr-uip/uip/uip.c:1204:23: note: in expansion of macro 'BUF'
        uip_ipaddr_cmp(BUF->srcipaddr, uip_connr->ripaddr)) {
                       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1213:7: note: in expansion of macro 'BUF'
   if((BUF->flags & TCP_CTL) != TCP_SYN) {
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1217:11: note: in expansion of macro 'BUF'
   tmp16 = BUF->destport;
           ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1229:6: note: in expansion of macro 'BUF'
   if(BUF->flags & TCP_RST) {
      ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1235:3: note: in expansion of macro 'BUF'
   BUF->flags = TCP_RST | TCP_ACK;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1237:3: note: in expansion of macro 'BUF'
   BUF->tcpoffset = 5 << 4;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1240:7: note: in expansion of macro 'BUF'
   c = BUF->seqno[3];
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1241:3: note: in expansion of macro 'BUF'
   BUF->seqno[3] = BUF->ackno[3];
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1241:19: note: in expansion of macro 'BUF'
   BUF->seqno[3] = BUF->ackno[3];
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1242:3: note: in expansion of macro 'BUF'
   BUF->ackno[3] = c;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1244:7: note: in expansion of macro 'BUF'
   c = BUF->seqno[2];
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1245:3: note: in expansion of macro 'BUF'
   BUF->seqno[2] = BUF->ackno[2];
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1245:19: note: in expansion of macro 'BUF'
   BUF->seqno[2] = BUF->ackno[2];
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1246:3: note: in expansion of macro 'BUF'
   BUF->ackno[2] = c;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1248:7: note: in expansion of macro 'BUF'
   c = BUF->seqno[1];
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1249:3: note: in expansion of macro 'BUF'
   BUF->seqno[1] = BUF->ackno[1];
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1249:19: note: in expansion of macro 'BUF'
   BUF->seqno[1] = BUF->ackno[1];
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1250:3: note: in expansion of macro 'BUF'
   BUF->ackno[1] = c;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1252:7: note: in expansion of macro 'BUF'
   c = BUF->seqno[0];
       ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1253:3: note: in expansion of macro 'BUF'
   BUF->seqno[0] = BUF->ackno[0];
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1253:19: note: in expansion of macro 'BUF'
   BUF->seqno[0] = BUF->ackno[0];
                   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1254:3: note: in expansion of macro 'BUF'
   BUF->ackno[0] = c;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1259:8: note: in expansion of macro 'BUF'
   if(++BUF->ackno[3] == 0) {
        ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1260:10: note: in expansion of macro 'BUF'
     if(++BUF->ackno[2] == 0) {
          ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1261:12: note: in expansion of macro 'BUF'
       if(++BUF->ackno[1] == 0) {
            ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1262:4: note: in expansion of macro 'BUF'
  ++BUF->ackno[0];
    ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1268:11: note: in expansion of macro 'BUF'
   tmp16 = BUF->srcport;
           ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1269:3: note: in expansion of macro 'BUF'
   BUF->srcport = BUF->destport;
   ^
../../avr-uip/uip/uip.c:226:22: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
#define BUF ((struct uip_tcpip_hdr *)&uip_buf[UIP_LLH_LEN])
                      ^
../../avr-uip/uip/uip.c:1269:18: note: in expansion of macro 'BUF'
   BUF->srcport = BU
FHEM im Proxmox Container