uart_updata_beken.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. ROOT 0x0004000 ;PRO ENTRTY = 0X4000 | FLASH ADDR = ( 0X4400 )0X4000 * 34 / 32
  2. {
  3. BOOT 0x0004000 ALIGNALL 32
  4. {
  5. uart_updata_sys.o (SYS_Boot, +First)
  6. ; *(+RO)
  7. }
  8. ;if u want to modify the base address of section, you may pay attention to
  9. PRIMARY_START 0x0004F00 FIXED EMPTY 0x20
  10. {
  11. }
  12. FAST_CALL_SEG 0x0004F20 FIXED ALIGNALL 32
  13. {
  14. ;Do not change the section order, for update image;
  15. * (aentry0) ;0x0004F20 main entry
  16. * (aentry1) ;0x0004F40 FIQ entry
  17. * (aentry2) ;0x0004F60 irq entry
  18. * (fastcall) ;0x0004F80
  19. }
  20. BLE_ENTRY_CALL_SEG 0x009200 FIXED ALIGNALL 32
  21. {
  22. *(ble_entry)
  23. LE_advertise.o
  24. LE_connection.o
  25. LE_link_layer.o
  26. LE_frequency.o
  27. }
  28. ROM_SEG +0 FIXED ALIGNALL 32
  29. {
  30. * (+RO)
  31. }
  32. ;FLASH +0 ALIGNALL 32
  33. ;{
  34. ;*.o(+RO)
  35. ;}
  36. ;if u want to modify the base address of section, you may pay attention toupdate_image.h
  37. PEND_FOR_FLASH 0x00400000 EMPTY 0x20
  38. {
  39. }
  40. RAM 0x00400020 NOCOMPRESS
  41. {
  42. *(+RW,+ZI)
  43. }
  44. }