Dryer.cbp 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2. <CodeBlocks_project_file>
  3. <FileVersion major="1" minor="6" />
  4. <Project>
  5. <Option title="Dryer" />
  6. <Option pch_mode="2" />
  7. <Option compiler="avr-gcc" />
  8. <Option virtualFolders="rtos/;ssd1306xled/;tinyavrlib/" />
  9. <Build>
  10. <Target title="Debug">
  11. <Option output="build/bin/Debug/Dryer.elf" prefix_auto="1" extension_auto="0" />
  12. <Option working_dir="" />
  13. <Option object_output="build/obj/Debug/" />
  14. <Option type="5" />
  15. <Option compiler="avr-gcc" />
  16. <Compiler>
  17. <Add option="-g" />
  18. </Compiler>
  19. </Target>
  20. <Target title="Release">
  21. <Option output="build/bin/Release/Dryer.elf" prefix_auto="1" extension_auto="0" />
  22. <Option working_dir="" />
  23. <Option object_output="build/obj/Release/" />
  24. <Option type="5" />
  25. <Option compiler="avr-gcc" />
  26. <Compiler>
  27. <Add option="-Os" />
  28. </Compiler>
  29. </Target>
  30. <Environment>
  31. <Variable name="MCU" value="atmega328p" />
  32. </Environment>
  33. </Build>
  34. <Compiler>
  35. <Add option="-Wall" />
  36. <Add option="-mmcu=atmega328p" />
  37. <Add option="-std=gnu11" />
  38. <Add option="-DF_CPU=16000000UL" />
  39. <Add directory="lib" />
  40. <Add directory="inc" />
  41. </Compiler>
  42. <Linker>
  43. <Add option="-mmcu=atmega328p" />
  44. <Add option="-Wl,-Map=$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).map,--cref" />
  45. </Linker>
  46. <ExtraCommands>
  47. <Add after="avr-size --target=elf32-avr $(TARGET_OUTPUT_FILE)" />
  48. <Add after='cmd /c &quot;avr-objdump -h -S $(TARGET_OUTPUT_FILE) &gt; $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).lss&quot;' />
  49. <Add after="avr-objcopy -R .eeprom -R .fuse -R .lock -R .signature -O ihex $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).hex" />
  50. <Add after="avr-objcopy --no-change-warnings -j .eeprom --change-section-lma .eeprom=0 -O ihex $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).eep" />
  51. <Add after="avr-objcopy --no-change-warnings -j .fuse --change-section-lma .fuse=0 -O ihex $(TARGET_OUTPUT_FILE) $(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).fuse" />
  52. </ExtraCommands>
  53. <Unit filename="inc/i2c.h" />
  54. <Unit filename="inc/main.h" />
  55. <Unit filename="inc/sensor.h" />
  56. <Unit filename="lib/rtos/rtos.c">
  57. <Option compilerVar="CC" />
  58. <Option virtualFolder="rtos/" />
  59. </Unit>
  60. <Unit filename="lib/rtos/rtos.h">
  61. <Option virtualFolder="rtos/" />
  62. </Unit>
  63. <Unit filename="lib/ssd1306xled/font6x8.h">
  64. <Option virtualFolder="ssd1306xled/" />
  65. </Unit>
  66. <Unit filename="lib/ssd1306xled/font8x16.h">
  67. <Option virtualFolder="ssd1306xled/" />
  68. </Unit>
  69. <Unit filename="lib/ssd1306xled/ssd1306xled.c">
  70. <Option compilerVar="CC" />
  71. <Option virtualFolder="ssd1306xled/" />
  72. </Unit>
  73. <Unit filename="lib/ssd1306xled/ssd1306xled.h">
  74. <Option virtualFolder="ssd1306xled/" />
  75. </Unit>
  76. <Unit filename="lib/ssd1306xled/ssd1306xledtx.c">
  77. <Option compilerVar="CC" />
  78. <Option virtualFolder="ssd1306xled/" />
  79. </Unit>
  80. <Unit filename="lib/ssd1306xled/ssd1306xledtx.h">
  81. <Option virtualFolder="ssd1306xled/" />
  82. </Unit>
  83. <Unit filename="lib/tinyavrlib/num2str.c">
  84. <Option compilerVar="CC" />
  85. <Option virtualFolder="tinyavrlib/" />
  86. </Unit>
  87. <Unit filename="lib/tinyavrlib/num2str.h">
  88. <Option virtualFolder="tinyavrlib/" />
  89. </Unit>
  90. <Unit filename="src/fuse.c">
  91. <Option compilerVar="CC" />
  92. </Unit>
  93. <Unit filename="src/i2c.c">
  94. <Option compilerVar="CC" />
  95. </Unit>
  96. <Unit filename="src/main.c">
  97. <Option compilerVar="CC" />
  98. </Unit>
  99. <Unit filename="src/sensor.c">
  100. <Option compilerVar="CC" />
  101. </Unit>
  102. <Extensions>
  103. <lib_finder disable_auto="1" />
  104. </Extensions>
  105. </Project>
  106. </CodeBlocks_project_file>