NIOS 编译问题

1    .../bin/ld.exe: address 0x1043ad0 of dp_demo.elf section `.bss' is not within region `onchip_mem'

      .../bin/ld.exe: address 0x1041084 of dp_demo.elf section `.rwdata' is not within region `onchip_mem'

参考 : https://www.cnblogs.com/yongleili717/p/11253006.html

 

bsp  -  properties  -  Nios 2 Bsp Properties 中下面三项 注意,影响实际 RAM 的使用量

 

2    ...main.c:116: undefined reference to `alt_timestamp_start'

      ...main.c:117: undefined reference to `alt_timestamp_freq'

      ...main.c:118: undefined reference to `alt_timestamp'

  

参考: https://www.cnblogs.com/mark-sun/archive/2012/05/13/2498029.html

bsp  --  右键 NIOS 2  -- BSP editor ...  中注意给 timestamp_timer 指定实际物理设备