gcc.rtebuild 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. options:
  2. optimize : [ O1, O2, O3, Ofast, Os ]
  3. import:
  4. - bootloader.rtebuild
  5. targets:
  6. arm:
  7. csettings : [ "-mcpu=${mcpu}${features}", "-mfloat-abi=${float}", "-mfpu=auto", "-%{optimize}", -gdwarf-2, -ffunction-sections, -fdata-sections ]
  8. cwarnings : [ -Wall, -Wextra, -Wshadow, -Wundef, -Wstrict-prototypes, -Wpedantic ]
  9. mapinfo : [ "-Xlinker -Map=${builddir}/${targetName}.map" ]
  10. armcm:
  11. toolchain : GCC
  12. features : ""
  13. cflags : [ "${csettings}", "${cwarnings}", -c, -xc, -std=gnu99 ]
  14. asmflags : [ "${csettings}", "${cwarnings}", -c ]
  15. linkflags : [ "${csettings}", "${cwarnings}", "${mapinfo}", --specs=nano.specs, --specs=rdimon.specs ]
  16. linkscript : "config/core_m/rtebuild.ld"
  17. armcm23ns:
  18. mcpu : cortex-m23
  19. float : soft
  20. cflags : [ -mcmse ]
  21. armcm33ns:
  22. mcpu : cortex-m33
  23. float : hard
  24. cflags : [ -mcmse ]
  25. armcm35pns:
  26. mcpu : cortex-m35p
  27. float : hard
  28. cflags : [ -mcmse ]
  29. armcm55ns:
  30. mcpu : cortex-m55
  31. float : hard
  32. cflags : [ -mcmse ]