![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
gcc makefile avr
roger107
这个作者很懒,什么都没留下…
展开
-
WINAVR通过makefile给一个函数指定地址
题目:为什么下面的函数被指定到来0xff00,函数如下:void BOOTLOADER_SECTION boot_program_page(uint32_t address, uint8_t *buf){uint16_t i;uint8_t sreg;// Disable interrupts.sreg = SREG;cli();// eeprom_busy_wait (...原创 2019-12-27 16:21:22 · 270 阅读 · 0 评论 -
AVR-GCC WinAVR Makefile
两个project在一个solution下边,靠makefile与AVR-GCC,并分配2个project的地址,一个是boot loader 一个是app如下:## Assembly specific flagsASMFLAGS = $(COMMON)ASMFLAGS += $(CFLAGS)ASMFLAGS += -x assembler-with-cpp -Wa,-gdwarf...原创 2019-11-05 13:27:57 · 664 阅读 · 0 评论