Follow-up Comment #4, patch #9543 (project avr-libc): With that patch, avr-libc fails to build:
++ Making all in avrxmega3 make[4]: Entering directory '/srv/local/gnu/build/avrlibc-trunk/avr/lib/avrxmega3' Making all in attiny1614 make[5]: Entering directory '/srv/local/gnu/build/avrlibc-trunk/avr/lib/avrxmega3/attiny1614' /local/gnu/install/gcc-8/bin/avr-gcc -DHAVE_CONFIG_H -I. -I../../../../../../source/avrlibc-trunk/avr/lib/avrxmega3/attiny1614 -I../../../.. -I../../../../../../source/avrlibc-trunk/common -I../../../../../../source/avrlibc-trunk/include -I../../../../include -Wall -W -Wstrict-prototypes -mmcu=attiny1614 -mcall-prologues -Os -MT eewr_block_xmega.o -MD -MP -MF .deps/eewr_block_xmega.Tpo -c -o eewr_block_xmega.o ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c: In function 'eeprom_write_page': ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:26:13: error: 'NVM' undeclared (first use in this function) } while ((NVM.STATUS & NVM_NVMBUSY_bm) == NVM_NVMBUSY_bm); ^~~ ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:26:13: note: each undeclared identifier is reported only once for each function it appears in ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:26:26: error: 'NVM_NVMBUSY_bm' undeclared (first use in this function); did you mean 'RTC_CMPBUSY_bm'? } while ((NVM.STATUS & NVM_NVMBUSY_bm) == NVM_NVMBUSY_bm); ^~~~~~~~~~~~~~ RTC_CMPBUSY_bm ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:58:13: error: 'NVM_CMD_ERASE_WRITE_EEPROM_PAGE_gc' undeclared (first use in this function) NVM.CMD = NVM_CMD_ERASE_WRITE_EEPROM_PAGE_gc; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../../source/avrlibc-trunk/libc/misc/eewr_block_xmega.c:59:29: error: 'NVM_CMDEX_bm' undeclared (first use in this function); did you mean 'TCD_CMPDEN_bm'? ccp_write_io (&NVM.CTRLA, NVM_CMDEX_bm); ^~~~~~~~~~~~ TCD_CMPDEN_bm Makefile:632: recipe for target 'eewr_block_xmega.o' failed -- Notice that avr-gcc defines AVR_XMEGA for these devices (in case that matters). _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/patch/?9543> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev