{"id":9730,"date":"2023-01-27T04:12:54","date_gmt":"2023-01-26T19:12:54","guid":{"rendered":"https:\/\/happytech.jp\/wordpress\/?p=9730"},"modified":"2023-01-27T04:12:54","modified_gmt":"2023-01-26T19:12:54","slug":"how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread","status":"publish","type":"post","link":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/","title":{"rendered":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316"},"content":{"rendered":"<p>\u524d\u6295\u7a3fFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1asci_uart_fpb_ra6e1_ep\u3092\u3001RTOS\u30b9\u30ec\u30c3\u30c9\u5316\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<p>\u591a\u304f\u306e\u30eb\u30cd\u30b5\u30b9RA\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u6d3b\u7528\u3057\u305f\u52b9\u7387\u7684\u306aRTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u304c\u672c\u65b9\u6cd5\u3067\u53ef\u80fd\u3067\u3059\u3002FreeRTOS\u3001Azure RTOS\u4e21\u65b9\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a<\/h2>\n<p>RTOS\u958b\u767a\u306f\u3001\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u3092\u7d44\u5408\u305b\u5168\u4f53\u3092\u52d5\u4f5c\u3055\u305b\u307e\u3059\u3002\u30d9\u30a2\u30e1\u30bf\u30eb\u30b3\u30fc\u30c9\u306b\u6bd4\u3079\u3001\u500b\u3005\u306e\u30b9\u30ec\u30c3\u30c9\u306f\u3001\u72ec\u7acb\u6027\u3084\u79fb\u690d\u6027\u304c\u9ad8\u3044\u7279\u5fb4\u304c\u3042\u308a\u307e\u3059\u3002\u30b9\u30ec\u30c3\u30c9\u512a\u5148\u5ea6\u3084\u30bb\u30de\u30d5\u30a9\u306a\u3069\u306eRTOS\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u5168\u4f53\u51e6\u7406\u3068\u3057\u3066\u30e6\u30fc\u30b6\u6240\u671b\u306e\u30b7\u30b9\u30c6\u30e0\u52d5\u4f5c\u3092\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30ec\u30c3\u30c9\u306f\u3001<strong>\u52dd\u624b\u306b\u56de\u308b\u6b6f\u8eca<\/strong>\u3001\u512a\u5148\u5ea6\u3084RTOS\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001<strong>\u5404\u6b6f\u8eca\u3092\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u3067\u4e0a\u624b\u304f\u52d5\u4f5c\u3055\u305b\u308b\u624b\u6bb5<\/strong>\u3068\u8003\u3048\u308b\u3068\u89e3\u308a\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_9741\" aria-describedby=\"caption-attachment-9741\" style=\"width: 745px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9741\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png\" alt=\"\u30b9\u30ec\u30c3\u30c9\u3068RTOS\u306e\u5f79\u76ee\" width=\"745\" height=\"671\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png 745w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e-300x270.png 300w\" sizes=\"auto, (max-width: 745px) 100vw, 745px\" \/><figcaption id=\"caption-attachment-9741\" class=\"wp-caption-text\">\u30b9\u30ec\u30c3\u30c9\u3068RTOS\u306e\u5f79\u76ee<\/figcaption><\/figure>\n<p>\u30b9\u30ec\u30c3\u30c9\u8a2d\u8a08\u6cd5\u306f\u3001\u6a5f\u80fd\u5225\u3084\u51e6\u7406\u624b\u9806\u5225\u306a\u3069\u69d8\u3005\u3042\u308a\u3001<a href=\"https:\/\/www.tron.org\/ja\/wp-content\/uploads\/sites\/2\/2016\/09\/TEF071-W003-161026_01.pdf\" target=\"_blank\" rel=\"noopener\">\u552f\u4e00\u306e\u65b9\u6cd5\u306f\u7121\u3055\u305d\u3046<\/a>\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u5148\u305a\u306f\u3001\u6b6f\u8eca\u3068\u306a\u308b\u30b9\u30ec\u30c3\u30c9\u3092\u958b\u767a\u3057\u3001\u6b21\u306b\u3001\u958b\u767a\u30b9\u30ec\u30c3\u30c9\u512a\u5148\u5ea6\u3084RTOS\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8abf\u6574\u3057\u306a\u304c\u3089\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u52d5\u4f5c\u3092\u4ed5\u4e0a\u3052\u308b\u306e\u304cRTOS\u958b\u767a\u306e\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u306f\u3001\u30b9\u30ec\u30c3\u30c9\u5358\u4f53\u958b\u767a\u306e\uff11\u65b9\u6cd5\u3068\u3057\u3066\u3001\u30eb\u30cd\u30b5\u30b9RA\u30d5\u30a1\u30df\u30ea\u516c\u5f0fFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u6d3b\u7528\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u6cd5\u3092\u793a\u3057\u307e\u3059\u3002\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u3092\u7d44\u5408\u305b\u305fRTOS\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u9069\u5207\u306a\u8abf\u6574\u3084\u8a2d\u5b9a\u306b\u95a2\u3059\u308b\u5185\u5bb9\u306f\u3001\u542b\u307f\u307e\u305b\u3093\u3002<\/p>\n<p>\u516c\u5f0f\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u306f\u3001\u5404\u30d9\u30f3\u30c0\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8\u304c\u958b\u767a\u3057\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9\u3067\u52d5\u4f5c\u78ba\u8a8d\u6e08\u307f\u306e\u9ad8\u4fe1\u983c\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u3002\u307e\u305f\u3001MCU\u5468\u8fba\u6a5f\u80fd\u6bce\u306b\u591a\u304f\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u63d0\u4f9b\u4e2d\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u3089\u30d9\u30a2\u30e1\u30bf\u30eb\u30b3\u30fc\u30c9\u3092\u6d3b\u7528\u3059\u308b\u672c\u65b9\u6cd5\u306f\u3001FreeRTOS\/Azure RTOS\u3069\u3061\u3089\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u3078\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<h3>RTOS\u30b9\u30ec\u30c3\u30c9\u5316\u65b9\u6cd5<\/h3>\n<p>\u8a73\u7d30\u306f\u3001\u5f8c\u3067\u8aac\u660e\u3057\u307e\u3059\u304c\u3001\u5148\u305a\u3001\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u3092\u30b9\u30ec\u30c3\u30c9\u5316\u3059\u308b\u624b\u9806\u3092\u7c21\u5358\u306b\u793a\u3057\u307e\u3059\u3002\u65b9\u6cd5\u5168\u4f53\u50cf\u304c\u5224\u3063\u3066\u3044\u308b\u3068\u628a\u63e1\u3057\u3084\u3059\u3044\u304b\u3089\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u30b9\u30ec\u30c3\u30c9\u7121\u3057\u3067\u7a7a\u306e\u65b0\u898fRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/li>\n<li>g_ioport\u4ee5\u5916\u306e\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30ebFSP\u30b9\u30bf\u30c3\u30af\u3092\u3001RTOS FSP\u30b9\u30bf\u30c3\u30af\u3078Import<\/li>\n<li>hal_entry.c\u4ee5\u5916\u306e\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30ebsrc\u30d5\u30a1\u30a4\u30eb\u3092\u3001RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8src\u30d5\u30a9\u30eb\u30c0\u3078\u30b3\u30d4\u30fc<\/li>\n<li>\u65b0\u3057\u3044\u30b9\u30ec\u30c3\u30c9\uff1aMyThread\u3092RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u8ffd\u52a0\u5f8c\u3001Gegerare Project Content\u30af\u30ea\u30c3\u30af<\/li>\n<li>MyThread_entry.c\u3078\u3001\u521d\u671f\u8a2d\u5b9a\u3068\u7121\u9650\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u8ffd\u8a18<\/li>\n<\/ol>\n<p>1\u3067\u65b0\u898f\u4f5c\u6210\u3057\u305f\u7a7a\u306eRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u30012\u30683\u3067\u5bfe\u8c61\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u304b\u3089\u5185\u5bb9\u3092\u8ffd\u52a0\u30014\u3067\u30d9\u30a2\u30e1\u30bf\u30ebmain()\u76f8\u5f53\u306e\u65b0\u3057\u3044MyThread\u3092\u8ffd\u52a0\u5f8c\u3001FSP\u3092\u4f7f\u3063\u3066RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u81ea\u52d5\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u751f\u6210\u5f8c\u30015\u3067RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eMyThread_entry.c\u521d\u671f\u8a2d\u5b9a\u3068\u7121\u9650\u30eb\u30fc\u30d7\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002\u8ffd\u8a18\u5185\u5bb9\u306f\u3001\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306e\u521d\u671f\u8a2d\u5b9a\u3068\u7121\u9650\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u30011\uff5e5\u624b\u9806\u5168\u3066<strong>FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u304b\u3089\u306e\u5358\u7d14\u30b3\u30d4\u30fc\u3067RTOS\u30b9\u30ec\u30c3\u30c9\u5316<\/strong>\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u6b21\u7ae0\u304b\u3089\u3001\u524d\u6295\u7a3f\u3067\u7528\u3044\u305f\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\uff1asci_uart_fpb_ra6e1_ep\u3092\u3001FreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u3059\u308b\u5177\u4f53\u4f8b\u3092\u4f7f\u3063\u3066\u3001\u5404\u8a73\u7d30\u624b\u9806\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<h3>1. \u7a7a\u306e\u65b0\u898fFSP freertos_uart\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/h3>\n<figure id=\"attachment_9742\" aria-describedby=\"caption-attachment-9742\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9742\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/9cfee6cb708713c89443580c4a8bf535.png\" alt=\"\u30b9\u30ec\u30c3\u30c9\u7121\u3057\u3067\u7a7a\u306e\u65b0\u898fFreeRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\" width=\"698\" height=\"400\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/9cfee6cb708713c89443580c4a8bf535.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/9cfee6cb708713c89443580c4a8bf535-300x172.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/9cfee6cb708713c89443580c4a8bf535-360x206.png 360w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-9742\" class=\"wp-caption-text\">\u30b9\u30ec\u30c3\u30c9\u7121\u3057\u3067\u7a7a\u306e\u65b0\u898fFreeRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210<\/figcaption><\/figure>\n<p>\u30b9\u30ec\u30c3\u30c9\u7121\u3057\u7a7aFreeRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u65b0\u898f\u4f5c\u6210\u3057\u307e\u3059\u3002\u65b0\u898fRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306f\u3001freertos_uart\u3068\u3067\u3082\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>2. sci_uart_fpb_ra6e1_ep\u306eFSP\u30b9\u30bf\u30c3\u30afImport<\/h3>\n<figure id=\"attachment_9743\" aria-describedby=\"caption-attachment-9743\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9743\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/36f5f7059a91d77ec2b130675e8407cf.png\" alt=\"sci_uart_fpb_ra6e1_ep\u306eFSP\u30b9\u30bf\u30c3\u30afImport\" width=\"698\" height=\"406\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/36f5f7059a91d77ec2b130675e8407cf.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/36f5f7059a91d77ec2b130675e8407cf-300x174.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/36f5f7059a91d77ec2b130675e8407cf-360x209.png 360w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-9743\" class=\"wp-caption-text\">sci_uart_fpb_ra6e1_ep\u306eFSP\u30b9\u30bf\u30c3\u30afImport<\/figcaption><\/figure>\n<p>freertos_uart\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eFSP\u30b9\u30bf\u30c3\u30af\u3078\u3001sci_uart_fpb_ra6e1_ep\u306eg_ioport\u4ee5\u5916\u306eFSP\u30b9\u30bf\u30c3\u30af\u3092\u5168\u3066Import\u3057\u307e\u3059\u3002Import\u3057\u305f\u5404\u30b9\u30bf\u30c3\u30af\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u30aa\u30ea\u30b8\u30ca\u30eb\u30d7\u30ed\u30d1\u30c6\u30a3\u3068\u540c\u3058\u306b\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>3. sci_uart_fpb_ra6e1_ep\u306esrc\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc<\/h3>\n<figure id=\"attachment_9744\" aria-describedby=\"caption-attachment-9744\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9744\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/f180bad71bf97bb65991dddb9e422187.png\" alt=\"sci_uart_fpb_ra6e1_ep\u306esrc\u30d5\u30a9\u30eb\u30c0\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\" width=\"698\" height=\"363\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/f180bad71bf97bb65991dddb9e422187.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/f180bad71bf97bb65991dddb9e422187-300x156.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/f180bad71bf97bb65991dddb9e422187-360x187.png 360w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-9744\" class=\"wp-caption-text\">sci_uart_fpb_ra6e1_ep\u306esrc\u30d5\u30a9\u30eb\u30c0\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc<\/figcaption><\/figure>\n<p>sci_uart_fpb_ra6e1_ep\u306ehal_entry.c\u4ee5\u5916\u306esrc\u30d5\u30a1\u30a4\u30eb\u3092\u5168\u3066\u3001freertos_uart\u306esrc\u3078\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<h3>4. freertos_uart\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u65b0\u3057\u3044Uart Thread\u8ffd\u52a0\u5f8c\u3001Generate Project<\/h3>\n<figure id=\"attachment_9745\" aria-describedby=\"caption-attachment-9745\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9745\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/2bffcfdc79dd29eb87bed9e420705a12.png\" alt=\"\u65b0\u3057\u3044Uart_Thread\u8ffd\u52a0\" width=\"698\" height=\"266\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/2bffcfdc79dd29eb87bed9e420705a12.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/2bffcfdc79dd29eb87bed9e420705a12-300x114.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/2bffcfdc79dd29eb87bed9e420705a12-360x137.png 360w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-9745\" class=\"wp-caption-text\">\u65b0\u3057\u3044Uart_Thread\u8ffd\u52a0<\/figcaption><\/figure>\n<p>\u65b0\u3057\u3044\u30b9\u30ec\u30c3\u30c9\u306eSymbol\u306f\u3001Uart_thread\u3068\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u5148\u982d\u3092\u5927\u6587\u5b57\u306b\u3059\u308b\u76ee\u7684\u306f\u3001FSP\u304c\u81ea\u52d5\u751f\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3084\u30b9\u30ec\u30c3\u30c9\u304c\u4f7f\u3046\u5168\u5c0f\u6587\u5b57\u8868\u8a18\u3068\u30e6\u30fc\u30b6\u8ffd\u52a0\u306e\u305d\u308c\u3089\u3092\u3001\u5927\u5c0f\u6587\u5b57\u3067\u533a\u5225\u3059\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<p>Tips\uff1a\u5927\u6587\u5b57\u5229\u7528\u306f\u3001\u597d\u307f\u306e\u554f\u984c\u3067\u3059\u3002RTOS\u958b\u767a\u306f\u3001\u591a\u6570\u306e\u30b9\u30ec\u30c3\u30c9\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u30bd\u30fc\u30b9\u304c\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30fb\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u306esrc\u30d5\u30a9\u30eb\u30c0\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u81ea\u5206\u304c\u8ffd\u52a0\u3057\u305f\u30bd\u30fc\u30b9\uff08\u30d0\u30b0\u6709\u308a?\uff09\u3068\u7d14FSP\u751f\u6210\u30bd\u30fc\u30b9\u3092\u3001\u4e00\u76ee\u3067\u533a\u5225\u3067\u304d\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306bGenerate Project Content\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001FSP\u306b\u3088\u308aRTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u81ea\u52d5\u751f\u6210\u3057\u307e\u3059\u3002<\/p>\n<h3>5. Uart_Thread_entry.c\u3078\u521d\u671f\u8a2d\u5b9a\u3068\u7121\u9650\u30eb\u30fc\u30d7\u51e6\u7406\u8ffd\u8a18<\/h3>\n<p>RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306esrc\u30d5\u30a9\u30eb\u30c0\u5185\u306b\u3001Uart_thread_entry.c\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u5148\u982d\u306e#include \u201cUart_thread.h\u201d\u306b\u3001sci_uart_fpb_ra6e1_ep\u306esrc\u30d5\u30a1\u30a4\u30eb\u306b\u3042\u308b#include \u201ccommon_utils.h\u201d\u3001 #include \u201cuart_ep.h\u201d\u3001 #include \u201ctimer_pwm.h\u201d\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<br \/>\n\u3053\u308c\u30894\u500b\u306e#include\u6587\u306f\u3001freertos_uart\u306e\u5168src\u30d5\u30a1\u30a4\u30eb\u306b\u624b\u52d5\u3067\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_9747\" aria-describedby=\"caption-attachment-9747\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9747\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/5679842d73e4f4717f7839f93128ee73.png\" alt=\"Uart_thread_entry.c\u306e\u521d\u671f\u8a2d\u5b9a\" width=\"698\" height=\"771\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/5679842d73e4f4717f7839f93128ee73.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/5679842d73e4f4717f7839f93128ee73-272x300.png 272w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/5679842d73e4f4717f7839f93128ee73-244x270.png 244w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-9747\" class=\"wp-caption-text\">Uart_thread_entry.c\u306e\u521d\u671f\u8a2d\u5b9a<\/figcaption><\/figure>\n<p>RTOS\u521d\u671f\u8a2d\u5b9a\u306f\u3001Uart_thread_entry.c \u306eTODO: add your own code here\u4ee5\u4e0b\u3078\u3001sci_uart_fpb_ra6e1_ep\u306e\u521d\u671f\u8a2d\u5b9a\uff1ahal_entry.c\u306eL41\u304b\u3089L93\u307e\u3067\u3092\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>sci_uart_fpb_ra6e1_ep\u306e\u7121\u9650\u30eb\u30fc\u30d7\u51e6\u7406\u306f\u3001\u30b3\u30d4\u30fc\u3057\u305f\u521d\u671f\u8a2d\u5b9a\u306e\u5f8c\u65b9\u306b\u3042\u308buart_ep_demo()\u3067\u3059\u3002<\/p>\n<p>RTOS\u7121\u9650\u30eb\u30fc\u30d7\u5185\u306b\u306f\u3001\u4e0a\u56f3\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u305f\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u304c\u5fc5\u8981\u3067\u3059\u3002\u305d\u3053\u3067\u4eca\u56de\u306f\u3001RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8uart_ep.c\u306euart_ep_demo()\u5185\u3078\u3001\u76f4\u63a5\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u305fFreeRTOS\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\uff1avTaskDeley(1)\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_9748\" aria-describedby=\"caption-attachment-9748\" style=\"width: 698px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-9748\" src=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/c308274622b87c5f94d8ec4710242437.png\" alt=\"uart_ep.c\u306euart_ep_demo()\u3078\u8ffd\u8a18\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\" width=\"698\" height=\"406\" srcset=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/c308274622b87c5f94d8ec4710242437.png 698w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/c308274622b87c5f94d8ec4710242437-300x174.png 300w, https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/c308274622b87c5f94d8ec4710242437-360x209.png 360w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><figcaption id=\"caption-attachment-9748\" class=\"wp-caption-text\">uart_ep.c\u306euart_ep_demo()\u3078\u8ffd\u8a18\u3059\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1<\/figcaption><\/figure>\n<p>Tips\uff1a#include \u201cUart_thread.h\u201d\u304c\u3001FreeRTOS\u95a2\u9023API\uff1a\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u8ffd\u8a18\u3092\u53ef\u80fd\u306b\u3057\u307e\u3059\u3002<\/p>\n<h3>sci_uart_fpb_ra6e1_ep\u3068freertos_uart\u30b9\u30ec\u30c3\u30c9\u540c\u4e00\u52d5\u4f5c\u78ba\u8a8d<\/h3>\n<p>RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30d3\u30eb\u30c9\u3057\u3001\u8a55\u4fa1\u30dc\u30fc\u30c9\u3078\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\u3001\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u524d\u7a3f\u306e\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3068\u5168\u304f\u540c\u3058\u51e6\u7406\u304c\u3001\u958b\u767a\u3057\u305ffreertos_uart\u30b9\u30ec\u30c3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>FreeRTOS\/Azure RTOS\u30b9\u30ec\u30c3\u30c9\u5316\u5dee<\/h3>\n<p>\u672c\u7a3f\u3067\u793a\u3057\u305fFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u3068Azure RTOS\u30b9\u30ec\u30c3\u30c9\u5316\u306e\u5dee\u306f\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u306e\u307f\u3067\u3059\u3002FreeRTOS\u306a\u3089vTaskDelay(1)\u3001Azure RTOS\u306a\u3089tx_thread_sleep(1)\u304c\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u3067\u3059\u3002<\/p>\n<p>Tips\uff1a\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u30b9\u30a4\u30c3\u30c1\u306f\u3001<a href=\"https:\/\/happytech.jp\/wordpress\/2022\/09\/09\/freertos-azure-rtos-software-development-method\/\" target=\"_blank\" rel=\"noopener\">FreeRTOS\/Azure RTOS\u958b\u767a\u624b\u6cd5<\/a>\u306eRTOS\u51e6\u7406\u30d5\u30ed\u30fc\u306a\u3069\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092Azure RTOS\u30b9\u30ec\u30c3\u30c9\u5316\u3059\u308b\u6642\u306f\u3001\u624b\u98061\u3067\u3001\u65b0\u898fAzure RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u624b\u98065\u306evTaskDelay(1)\u306e\u4ee3\u308f\u308a\u306b\u3001tx_thread_sleep(1)\u3092\u4f7f\u3048\u3070OK\u3067\u3059\u3002<\/p>\n<p>Tips\uff1aFSP\u751f\u6210\u30b9\u30ec\u30c3\u30c9MyThread_entry.c\u306e\u7121\u9650\u30eb\u30fc\u30d7\u5185\u306b\u306f\u3001\u4f5c\u6210RTOS\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u5fdc\u3058\u3066\u521d\u3081\u304b\u3089vTaskDelay(1)\u3001\u307e\u305f\u306ftx_thread_sleep(1)\u304c\u5b9f\u88c5\u6e08\u307f\u3067\u3059\u3002<\/p>\n<p>\u672c\u65b9\u6cd5\u304c\u3001FreeRTOS\/Azure RTOS\u3069\u3061\u3089\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u3078\u3082\u4f7f\u3048\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<h4>\u88dc\u8db3<\/h4>\n<p>2023\u5e741\u670816\u65e5\u3001e2 stidio\u306f2022-10\u306e\u307e\u307e\u3001RA\u30d5\u30a1\u30df\u30eaFSP\u304cv4.2.0\u3078<a href=\"https:\/\/www.renesas.com\/us\/en\/document\/tnr\/upgrade-version-e-studio-integrated-development-environment-2023-01?language=ja\" target=\"_blank\" rel=\"noopener\">\u66f4\u65b0<\/a>\u3055\u308c\u307e\u3057\u305f\u3002\u672c\u7a3f\u306f\u3001FSP v4.2.0\/4.1.0\u4e21\u65b9\u3067\u52d5\u4f5c\u78ba\u8a8d\u6e08\u307f\u3067\u3059\u3002<\/p>\n<p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<ins class=\"adsbygoogle\" style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-6224202239761885\" data-ad-slot=\"3310976040\"><\/ins><br \/>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[695,9,114],"tags":[117,125,557,668,700,730],"class_list":["post-9730","post","type-post","status-publish","format-standard","hentry","category-ra-macu","category-mcu","category-cortex-m33-core","tag-rtos","tag-freertos","tag-557","tag-azure-rtos","tag-fsp","tag-fpb-ra6e1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316 - IoT MCU\u306eHappyTech<\/title>\n<meta name=\"description\" content=\"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316 - IoT MCU\u306eHappyTech\" \/>\n<meta property=\"og:description\" content=\"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/\" \/>\n<meta property=\"og:site_name\" content=\"IoT MCU\u306eHappyTech\" \/>\n<meta property=\"article:published_time\" content=\"2023-01-26T19:12:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png\" \/>\n<meta name=\"author\" content=\"WithHappy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316\" \/>\n<meta name=\"twitter:description\" content=\"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/9cfee6cb708713c89443580c4a8bf535.png\" \/>\n<meta name=\"twitter:creator\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:site\" content=\"@HappyTechDigest\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"WithHappy\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/\"},\"author\":{\"name\":\"WithHappy\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\"},\"headline\":\"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316\",\"datePublished\":\"2023-01-26T19:12:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/\"},\"wordCount\":361,\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/3a5d3cecd28027f5e01335a150ce720e.png\",\"keywords\":[\"RTOS\",\"FreeRTOS\",\"\u30d9\u30a2\u30e1\u30bf\u30eb\",\"Azure RTOS\",\"FSP\",\"FPB-RA6E1\"],\"articleSection\":[\"RA\u30de\u30a4\u30b3\u30f3\",\"MCU\uff1a\u30de\u30a4\u30b3\u30f3\",\"Cortex-M33\u30b3\u30a2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/\",\"name\":\"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316 - IoT MCU\u306eHappyTech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/3a5d3cecd28027f5e01335a150ce720e.png\",\"datePublished\":\"2023-01-26T19:12:54+00:00\",\"description\":\"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#primaryimage\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/3a5d3cecd28027f5e01335a150ce720e.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2023\\\/01\\\/3a5d3cecd28027f5e01335a150ce720e.png\",\"width\":745,\"height\":671,\"caption\":\"\u30b9\u30ec\u30c3\u30c9\u3068RTOS\u306e\u5f79\u76ee\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/2023\\\/01\\\/27\\\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"name\":\"IoT MCU\u306eHappyTech\",\"description\":\"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09\",\"publisher\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#organization\",\"name\":\"HappyTech\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"contentUrl\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/cropped-HappyTechBlog.png\",\"width\":1420,\"height\":349,\"caption\":\"HappyTech\"},\"image\":{\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/HappyTechDigest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/happytech.jp\\\/wordpress\\\/#\\\/schema\\\/person\\\/bd5f0f8b26d37eb02da979908ee4d501\",\"name\":\"WithHappy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g\",\"caption\":\"WithHappy\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316 - IoT MCU\u306eHappyTech","description":"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/","og_locale":"ja_JP","og_type":"article","og_title":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316 - IoT MCU\u306eHappyTech","og_description":"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002","og_url":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/","og_site_name":"IoT MCU\u306eHappyTech","article_published_time":"2023-01-26T19:12:54+00:00","og_image":[{"url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png","type":"","width":"","height":""}],"author":"WithHappy","twitter_card":"summary_large_image","twitter_title":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316","twitter_description":"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002","twitter_image":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/9cfee6cb708713c89443580c4a8bf535.png","twitter_creator":"@HappyTechDigest","twitter_site":"@HappyTechDigest","twitter_misc":{"\u57f7\u7b46\u8005":"WithHappy","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#article","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/"},"author":{"name":"WithHappy","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501"},"headline":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316","datePublished":"2023-01-26T19:12:54+00:00","mainEntityOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/"},"wordCount":361,"publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#primaryimage"},"thumbnailUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png","keywords":["RTOS","FreeRTOS","\u30d9\u30a2\u30e1\u30bf\u30eb","Azure RTOS","FSP","FPB-RA6E1"],"articleSection":["RA\u30de\u30a4\u30b3\u30f3","MCU\uff1a\u30de\u30a4\u30b3\u30f3","Cortex-M33\u30b3\u30a2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/","url":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/","name":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316 - IoT MCU\u306eHappyTech","isPartOf":{"@id":"https:\/\/happytech.jp\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#primaryimage"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#primaryimage"},"thumbnailUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png","datePublished":"2023-01-26T19:12:54+00:00","description":"RA\u30d5\u30a1\u30df\u30eaFSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9RTOS\u30b9\u30ec\u30c3\u30c9\u958b\u767a\u8aac\u660e\u3002\u516c\u5f0f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u6d3b\u7528FreeRTOS\u3001Azure RTOS\u3069\u3061\u3089\u306e\u30b9\u30ec\u30c3\u30c9\u5316\u3082\u53ef\u80fd\u3002sci_uart_fpb_ra6e1_ep\u306eFreeRTOS\u30b9\u30ec\u30c3\u30c9\u5316\u4f8b\u3092\u793a\u3057\u305f\u3002","breadcrumb":{"@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#primaryimage","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2023\/01\/3a5d3cecd28027f5e01335a150ce720e.png","width":745,"height":671,"caption":"\u30b9\u30ec\u30c3\u30c9\u3068RTOS\u306e\u5f79\u76ee"},{"@type":"BreadcrumbList","@id":"https:\/\/happytech.jp\/wordpress\/2023\/01\/27\/how-to-convert-fsp-bare-metal-sample-code-into-rtos-thread\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/happytech.jp\/wordpress\/"},{"@type":"ListItem","position":2,"name":"FSP\u30d9\u30a2\u30e1\u30bf\u30eb\u30b5\u30f3\u30d7\u30eb\u306eRTOS\u30b9\u30ec\u30c3\u30c9\u5316"}]},{"@type":"WebSite","@id":"https:\/\/happytech.jp\/wordpress\/#website","url":"https:\/\/happytech.jp\/wordpress\/","name":"IoT MCU\u306eHappyTech","description":"IoT MCU\u958b\u767a\u304a\u5f79\u7acb\u3061\u60c5\u5831\u6e80\u8f09","publisher":{"@id":"https:\/\/happytech.jp\/wordpress\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/happytech.jp\/wordpress\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/happytech.jp\/wordpress\/#organization","name":"HappyTech","url":"https:\/\/happytech.jp\/wordpress\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/","url":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","contentUrl":"https:\/\/happytech.jp\/wordpress\/wp-content\/uploads\/2013\/09\/cropped-HappyTechBlog.png","width":1420,"height":349,"caption":"HappyTech"},"image":{"@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/HappyTechDigest"]},{"@type":"Person","@id":"https:\/\/happytech.jp\/wordpress\/#\/schema\/person\/bd5f0f8b26d37eb02da979908ee4d501","name":"WithHappy","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cf8736d9e6685dd81af92f2abfa76e76a040fc3df1ce7dfd5bd40671f484452c?s=96&d=mm&r=g","caption":"WithHappy"}}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/9730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=9730"}],"version-history":[{"count":2,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/9730\/revisions"}],"predecessor-version":[{"id":9755,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/posts\/9730\/revisions\/9755"}],"wp:attachment":[{"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=9730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=9730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/happytech.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=9730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}