初学者:AVR C ++ Atmel Studio 6

时间:2012-11-11 06:59:30

标签: microcontroller atmel atmega

我在解决我可以访问的库时遇到问题。我知道我可以使用Atmel Studio 6 IDE用C ++编写微控制器(Atmega328p);但是,我无法确定记录我可以访问的库的位置。例如,我可以使用STL(所以,矢量,deques ......)?如果有人能指出我的某些文件,那就太好了。

感谢。

1 个答案:

答案 0 :(得分:1)

Atmel Studio 6没有实现STL。 avr-gcc附带了一些库 - 请查看:

C:\Program Files (x86)\Atmel\Atmel Toolchain\AVR8 GCC\Native\3.4.2.1002\avr8-gnu-toolchain\avr\include\

不包含<vector><deques>,但确实包含<string> 将许多STL实现移植到Atmel Studio:看看:

http://www.gammon.com.au/forum/?id=11119

http://andybrown.me.uk/wk/2011/01/15/the-standard-template-library-stl-for-avr-with-c-streams/