{"id":983,"date":"2002-04-20T00:59:59","date_gmt":"2002-04-19T15:59:59","guid":{"rendered":"http:\/\/farine.orz.hm\/~tapo\/blog\/?p=983"},"modified":"2002-04-20T00:59:59","modified_gmt":"2002-04-19T15:59:59","slug":"avr-gcc","status":"publish","type":"post","link":"https:\/\/www.tapoblog.0t0.jp\/?p=983","title":{"rendered":"<a href=\"http:\/\/www.avrfreaks.com\/AVRGCC\/index.php\">AVR-GCC<\/a>"},"content":{"rendered":"<p>AVRStudio \u304b\u3089\u4f7f\u3048\u308b\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u308b\u306e\u3067<br \/>\nCygwin (mingw?) \u5165\u308a\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3064\u304d\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u4f7f\u3063\u3066\u307f\u305f\uff0e<br \/>\n\u3057\u304b\u3057 AVR Stduio 4 \u3067\u306f<br \/>\n<a href=\"http:\/\/www.avrfreaks.com\/phorum\/read.php?f=8&amp;i=195&amp;t=195#195\">\u307e\u3060\u4f7f\u3048\u306a\u3044\u3088\u3046\u3060\uff0e<\/a> \u3057\u3087\u3046\u304c\u306a\u3044\u306e\u3067 AVR Studio 3 \u3082\u843d\u3068\u3057\u3066\u307f\u305f\uff0e<\/p>\n<p><a href=\"http:\/\/www.toshu-ltd.co.jp\/gaki\/electronics\/AVR\/gcc\/FAQ\/FAQ13.html\">avr-objcopy: not found<\/a> :<br \/>\n\u4e0a\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306b\u542b\u307e\u308c\u308b bin\\sh.exe \u304c\u304a\u304b\u3057\u304f\u3066<br \/>\n\u30ef\u30a4\u30eb\u30c9\u30ab\u30fc\u30c9\u306e\u5c55\u958b\u304c\u3067\u304d\u306a\u3044\u3063\u307d\u3044\uff0e<br \/>\n\u3053\u306e\u30da\u30fc\u30b8\u306e\u6307\u793a\u3069\u304a\u308a bin\\sh.exe \u3092\u6d88\u3057\u305f\u3089<br \/>\n<a href=\"http:\/\/www.example.ne.jp\/~hoge\/diary\/?200204b&amp;to=200204201F1#200204201F1\"><small>*1<\/small><\/a>\u3046\u307e\u304f\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u305f\uff0e<br \/>\n\u305f\u3060\u3057\uff0cCygwin \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\uff0cCygwin \u306e bin \u306b\u30d1\u30b9\u304c\u5207\u3063\u3066\u3042\u308b<br \/>\n<a href=\"http:\/\/www.example.ne.jp\/~hoge\/diary\/?200204b&amp;to=200204201F2#200204201F2\"><small>*2<\/small><\/a>\u306e\u3067\uff0c\u305d\u3063\u3061\u306e sh.exe \u304c\u547c\u3070\u308c\u3066\u308b\u306f\u305a\uff0e<br \/>\n<a href=\"http:\/\/www.avrfreaks.net\/phorum\/read.php?f=2&amp;i=2352&amp;t=2352#2352\">AVRFreaks \u306e\u63b2\u793a\u677f<\/a> \u306b Makefile (avr_make) \u306e\u4fee\u6b63\u3067\u56de\u907f\u3067\u304d\u308b\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u3063\u305f\u3051\u3069\uff0c\u7121\u99c4\u3060\u3063\u305f\uff0e\n<\/p>\n<p><a href=\"http:\/\/ww2.tiki.ne.jp\/~maro\/AVR\/programing\/index.html#inlineasm\">\u30bd\u30d5\u30c8\u30a6\u30a7\u30a4\u30c8\u306f\u6700\u9069\u5316\u3067\u6d88\u3055\u308c\u308b<\/a> :<br \/>\n\u51fa\u529b\u30dd\u30fc\u30c8\u3092\u9806\u756a\u306bHigh\u306b\u3059\u308b\u3088\u3046\u306a\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u304c\uff0c<br \/>\nLED \u306e\u70b9\u6ec5\u304c\u65e9\u3059\u304e\u308b\u306e\u3067\u30a6\u30a7\u30a4\u30c8\u3092\u5897\u3084\u3057\u305f\u304c\u305c\u3093\u305c\u3093\u5909\u308f\u3089\u305a\uff0c<br \/>\n\u306a\u3093\u3068\u306a\u304f\u305d\u3093\u306a\u4e88\u611f\u306f\u3057\u305f\u3093\u3060\u304c\uff0c\u898b\u4e8b\u306b gcc \u304c\u6700\u9069\u5316\u3057\u3066\u304f\u308c\u3061\u3083\u3063\u3066\u305f\uff0e\u3067\uff0c<br \/>\n<a href=\"http:\/\/ww2.tiki.ne.jp\/~maro\/AVR\/programing\/index.html#inlineasm\">\u30a4\u30f3\u30e9\u30a4\u30f3\u30a2\u30bb\u30f3\u30d6\u30e9\u3067\u30a6\u30a7\u30a4\u30c8<\/a> \u3092\u304b\u3051\u308b\u65b9\u6cd5\u3092\u898b\u3064\u3051\u305f\uff0e\u60c5\u5831\u6e90\u304c\u6d88\u3048\u3061\u3083\u3063\u305f\u3068\u304d\u306e\u305f\u3081\u306b\u30b3\u30d4\u30da\uff0e<\/p>\n<pre>void CPU_wait(unsigned int time){\nregister unsigned char lpcnt;\n__asm__ __volatile__(\"\\n\"\n\"CPU_wait_entry:\\n\\t\"\n\"ldi %0,200\\n\"\n\"CPU_wait_lp:\\n\\t\"\n\"nop\\n\\t\"\n\"dec %0\\n\\t\"\n\"brne CPU_wait_lp\\n\\t\"\n\"sbiw %1,1\\n\\t\"\n\"brne CPU_wait_entry\\n\\t\"\n:\"=&amp;a\"(lpcnt)\n:\"w\"(time)\n);\nreturn;\n}\n<\/pre>\n<\/p>\n<hr width=\"40%\" align=\"left\">\n<dt><small><\/p>\n<dd><a name=\"200204201F2\" href=\"http:\/\/www.example.ne.jp\/~hoge\/diary\/?200204b&amp;to=200204201F2#200204201F2\"><br \/>\n<small>*1<\/small><\/a>:\u307b\u3093\u3068\u306f\uff0c\u5ff5\u306e\u305f\u3081\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5909\u3048\u305f\u3060\u3051<\/p>\n<dd><a name=\"200204201F2\" href=\"http:\/\/www.example.ne.jp\/~hoge\/diary\/?200204b&amp;to=200204201F2#200204201F2\"><br \/>\n<small>*2<\/small><\/a>: Cygwin \u306e inetd \u3092\u7acb\u3061\u4e0a\u3052\u305f\u3068\u304d\u306e\u540d\u6b8b\u308a\uff0e<br \/>\n<\/small><\/dd>\n","protected":false},"excerpt":{"rendered":"<p>AVRStudio \u304b\u3089\u4f7f\u3048\u308b\u3088\u3046\u306a\u3053\u3068\u304c\u66f8\u3044\u3066\u3042\u308b\u306e\u3067 Cygwin (mingw?) \u5165\u308a\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3064\u304d\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u4f7f\u3063\u3066\u307f\u305f\uff0e \u3057\u304b\u3057 AVR Stduio 4 \u3067\u306f \u307e\u3060\u4f7f\u3048\u306a\u3044\u3088\u3046\u3060\uff0e \u3057\u3087 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[],"class_list":{"0":"post-983","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-8"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/posts\/983","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=983"}],"version-history":[{"count":0,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=\/wp\/v2\/posts\/983\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=983"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=983"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tapoblog.0t0.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=983"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}