{"id":1063,"date":"2024-06-26T01:33:38","date_gmt":"2024-06-26T01:33:38","guid":{"rendered":"https:\/\/blogs.lcsc.com\/blog\/?p=1063"},"modified":"2025-08-05T08:18:23","modified_gmt":"2025-08-05T08:18:23","slug":"lcsc-liangshan-development-board-getting-started-tutorial-2","status":"publish","type":"post","link":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/","title":{"rendered":"LCSC Liangshan Development Board Getting Started Tutorial (2)"},"content":{"rendered":"<h5><b>Project Template Creation<\/b><\/h5>\n<h5><b>1.1. Device Package Installation<\/b><\/h5>\n<h6><b>1.1.1. Prerequisites<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">This Pack is applicable to Keil V5.27 and above versions.<\/span><\/p>\n<h6><b>1.1.2. Online Installation<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Open Keil5 and click on the Pack Installer, as shown in Figure 1-2-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1064 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png\" alt=\"Figure 1-2-1\" width=\"541\" height=\"82\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png 541w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1-300x45.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After clicking the Pack Installer button, the interface will pop up, click OK, as shown in Figure 1-2-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1065 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-2.png\" alt=\"Figure 1-2-2\" width=\"537\" height=\"301\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-2.png 537w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-2-300x168.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the Devices tab, find the GigaDevice option, select and open it, as shown in Figure 1-2-3.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1066 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-3.png\" alt=\"Figure 1-2-3\" width=\"537\" height=\"301\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-3.png 537w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-3-300x168.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-3<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select the chip model series we use, since we are using the GD32F450ZG, we choose the GD32F4xx Series, as shown in Figure 1-2-4.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1067 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-4.png\" alt=\"Figure 1-2-4\" width=\"567\" height=\"267\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-4.png 567w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-4-300x141.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-4<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After selection, on the right side under the Device Specific drop-down menu, you can see GigaDevice: GD32F4xx_DFP, click the Install button on the right to download the Pack package for the GD32F4xx series products online, as shown in Figure 1-2-5.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1068 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-5.png\" alt=\"Figure 1-2-5\" width=\"554\" height=\"375\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-5.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-5-300x203.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-5<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At the bottom of the window, you can see the download installation progress bar, as shown in Figure 1-2-6.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1069 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-6.png\" alt=\"Figure 1-2-6\" width=\"549\" height=\"19\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-6.png 549w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-6-300x10.png 300w\" sizes=\"auto, (max-width: 549px) 100vw, 549px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-6<\/span><\/p>\n<p><span style=\"font-weight: 400;\">At this time, the Pack will be downloaded online to the Keil5 installation directory (&#8230;\\\\Keil_v5\\\\GigaDevice) and the installation will be completed. We can check its directory, as shown in Figure 1-2-7.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1070 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-7.png\" alt=\"Figure 1-2-7\" width=\"548\" height=\"191\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-7.png 548w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-7-300x105.png 300w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-2-7<\/span><\/p>\n<h6><b>1.1.3. Offline Installation<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Directly download the device package from the official website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Download link: http:\/\/www.gd32mcu.com\/cn\/download\/7?kw=GD32F4<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select the GD32F4XX AddOn, as shown in Figure 1-3-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1071 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-1.png\" alt=\"Figure 1-3-1\" width=\"556\" height=\"95\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-1.png 556w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-1-300x51.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-3-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After the download is complete, unzip it. Under the GD32F4xx_AddOn_V2.2.0\\\\Keil\\\\Keil5 directory, there is a device package, as shown in Figure 1-3-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1072 aligncenter\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-2-300x32.png\" alt=\"Figure 1-3-2\" width=\"300\" height=\"32\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-2-300x32.png 300w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-2.png 566w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-3-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Double-click this to install, and after the installation is complete, it will look like Figure 1-3-3.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1073 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-3.png\" alt=\"Figure 1-3-3\" width=\"557\" height=\"381\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-3.png 557w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-3-3-300x205.png 300w\" sizes=\"auto, (max-width: 557px) 100vw, 557px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 1-3-3<\/span><\/p>\n<h6><b>1.2. Standard Firmware Library Acquisition<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">We can download the standard firmware library from the official website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Download link: http:\/\/www.gd32mcu.com\/cn\/download\/7?kw=<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Find the GD32F4xx Firmware Library package, as shown in Figure 2-1-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1074 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-2-1-1.png\" alt=\"Figure 2-1-1\" width=\"556\" height=\"65\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-2-1-1.png 556w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-2-1-1-300x35.png 300w\" sizes=\"auto, (max-width: 556px) 100vw, 556px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 2-1-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After the download is complete, unzip it. The unzipped directory is shown in Figure 2-1-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1075 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-2-1-2.png\" alt=\"Figure 2-1-2\" width=\"553\" height=\"124\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-2-1-2.png 553w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-2-1-2-300x67.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 2-1-2<\/span><\/p>\n<h5><b>1.3. Introduction to the Standard Firmware Library Directory<\/b><\/h5>\n<h6><b>1.3.1. Folder Introduction<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Open the downloaded GD32F4xx standard firmware library, and the directory inside is shown in Figure 3-1-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1076 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-1-1.png\" alt=\"Figure 3-1-1\" width=\"563\" height=\"162\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-1-1.png 563w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-1-1-300x86.png 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 3-1-1<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\"> Examples: This folder contains example code written by the official, covering most of the chip&#8217;s functions.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Firmware: This folder contains three subfolders, including CMSIS, standard peripheral library, and USB library, storing some library functions packaged by the official for user development and use.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Template: This folder is the project template folder, containing project examples for IAR and Keil.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Utilities: This folder contains some third-party components and <a href=\"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-1\/\" target=\"_blank\" rel=\"noopener\">development board<\/a> files that come with GD32.<\/span><\/li>\n<\/ul>\n<h6><b>1.3.2. Examples<\/b><\/h6>\n<h6><span style=\"font-weight: 400;\">After opening the Examples folder, the contents are shown in Figure 3-2-1.<\/span><\/h6>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1077 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-2-1.png\" alt=\"Figure 3-2-1\" width=\"542\" height=\"360\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-2-1.png 542w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-2-1-300x199.png 300w\" sizes=\"auto, (max-width: 542px) 100vw, 542px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 3-2-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">From the above figure, it can be seen that this folder contains routines for various peripheral resources, and each folder contains more detailed functional examples, which are of high reference value for our development of GD32 chip functions. We must read more and use more.<\/span><\/p>\n<h6><b>1.3.3. Firmware<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">After opening the Firmware folder, the contents are shown in Figure 3-3-1.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1079 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-3-1.png\" alt=\"Figure 3-3-1\" width=\"552\" height=\"176\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-3-1.png 552w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-3-1-300x96.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/span><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 3-3-1<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\"> CMSIS: The Cortex Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex-M processor series.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> GD32F4xx_standard_peripheral: As the name suggests, this is the standard peripheral library for the GD32F4 series, which stores some library functions encapsulated in registers, and we will also rely on this library for development in the later programming.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> GD32F4xx_usb_library: This is the USB library function for the GD32F4 series, which can help us develop some USB applications, such as mice, keyboards, CDC serial ports, simulated USB drives, etc.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Below is a further introduction to the above folders:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The relevant introduction of each file is shown in Figure 3-3-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1080 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-3-2.png\" alt=\"Figure 3-3-2\" width=\"554\" height=\"315\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-3-2.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-3-2-300x171.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 3-3-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">GD32F4xx_standard_peripheral directory structure:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This contains peripheral library files covering most of the functions of the GD32F4 chip, including ADC, CAN, SDIO, SPI, and so on.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">GD32F4xx_usb_library directory structure:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are many contents here, including audio, CDC, DFU, HID, etc. We don&#8217;t need these files for now, and we will study them later if we develop USB devices.<\/span><\/p>\n<h6><b>1.3.4. Template<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">The Template directory structure:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The relevant introduction of each file is shown in Figure 3-4-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1081 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-4-1.png\" alt=\"Figure 3-4-1\" width=\"553\" height=\"183\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-4-1.png 553w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-3-4-1-300x99.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 3-4-1<\/span><\/p>\n<h6><b>1.3.5. Utilities<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">This is a third-party component folder, which we don&#8217;t need to pay much attention to.<\/span><\/p>\n<h5><b>1.4. Creating a Firmware Library Template<\/b><\/h5>\n<h6><b>1.4.1. Prerequisites<\/b><\/h6>\n<ul>\n<li><span style=\"font-weight: 400;\"> Keil software has been installed<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> GD32F4xx Pack package has been installed<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> GD32F4xx standard firmware library has been downloaded<\/span><\/li>\n<\/ul>\n<h6><b>1.4.2. Creating a New Project Directory<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Create a new folder named Template to save the newly created project, as shown in Figure 4-2-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1082 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-2-1.png\" alt=\"Figure 4-2-1\" width=\"554\" height=\"211\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-2-1.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-2-1-300x114.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-2-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then, create six subfolders under this folder, named as follows:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\"> Project: For project files, compilation files, etc.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Firmware: For ARM core files, standard peripheral library files, etc.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Hardware: For <a href=\"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-background-hardware-and-features\/\" target=\"_blank\" rel=\"noopener\">development board hardware<\/a> driver files.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> App: For application layer files.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> User: For main function, gd32f4xx_it files, systick files.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"> Doc: For readme.txt files, project description files.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">The file directory is shown in Figure 4-2-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1083 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-2-1-1.png\" alt=\"Figure 4-2-1\" width=\"554\" height=\"211\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-2-1-1.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-2-1-1-300x114.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-2-2<\/span><\/p>\n<h6><b>1.4.3. Copy Project Files<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Find the download directory of our firmware library and copy all the contents under the GD32F4xx_Firmware_Library_V3.0.0\\GD32F4xx_Firmware_Library\\Firmware folder to the newly created Firmware directory, as shown in Figure 4-3-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1084 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-1.png\" alt=\"Figure 4-3-1\" width=\"554\" height=\"142\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-1.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-1-300x77.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-3-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a new LED folder under Hardware for our future lighting preparation, as shown in Figure 4-3-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1085 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-2.png\" alt=\"Figure 4-3-2\" width=\"554\" height=\"123\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-2.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-2-300x67.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-3-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Copy everything except the project folder and readme.txt file from the Template folder under \\GD32F4xx_Firmware_Library_V3.0.0\\GD32F4xx_Firmware_Library to the newly created User folder, as shown in Figure 4-3-3.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1086 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-3.png\" alt=\"Figure 4-3-3\" width=\"554\" height=\"208\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-3.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-3-300x113.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-3-3<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a new readme.txt file under the Doc folder, as shown in Figure 4-3-4.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1087 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-4.png\" alt=\"Figure 4-3-4\" width=\"554\" height=\"118\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-4.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-3-4-300x64.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-3-4<\/span><\/p>\n<h6><b>1.4.4. Creating a New Keil Project<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Open Keil, click on the Project tab at the top, and select New uVision Project to create a new project, as shown in Figure 4-4-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1088 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-4-1.png\" alt=\"Figure 4-4-1\" width=\"555\" height=\"194\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-4-1.png 555w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-4-1-300x105.png 300w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-4-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select the save path as the Project folder we just created, and the file name as GD32F450, then click Save, as shown in Figure 4-4-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1089 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-4-2.png\" alt=\"Figure 4-4-2\" width=\"554\" height=\"336\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-4-2.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-4-2-300x182.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-4-2<\/span><\/p>\n<h6 style=\"text-align: left;\"><b>1.4.5. Device Selection<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">After saving, a project configuration window will pop up, select the required chip, here select GigaDevice -&gt; GD32F4xx Series -&gt; GD32F450 -&gt; GD32F450ZG in order, and then click OK, as shown in Figure 4-5-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1090 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-5-1.png\" alt=\"Figure 4-5-1\" width=\"554\" height=\"421\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-5-1.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-5-1-300x228.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-5-1<\/span><\/p>\n<h6><b>1.4.6. Component Selection<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">After confirming the required chip, a RTE environment configuration dialog box will pop up, select the components needed for the project, do not configure and click Cancel, as shown in Figure 4-6-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1091 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-6-1.png\" alt=\"Figure 4-6-1\" width=\"460\" height=\"358\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-6-1.png 460w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-6-1-300x233.png 300w\" sizes=\"auto, (max-width: 460px) 100vw, 460px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-6-1<\/span><\/p>\n<h6><b>1.4.7. Create Groups and Add Source Files<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">At this point, our project has been created, but it can be seen that there are no files in the project yet, we can create some groups and add some files, as shown in Figure 4-7-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1092 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-1.png\" alt=\"Figure 4-7-1\" width=\"564\" height=\"137\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-1.png 564w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-1-300x73.png 300w\" sizes=\"auto, (max-width: 564px) 100vw, 564px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a new group by clicking the &#8220;New&#8221; button and then enter the name for the new group, as shown in Figure 4-7-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1093 aligncenter\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-2-300x225.png\" alt=\"Figure 4-7-2\" width=\"300\" height=\"225\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-2-300x225.png 300w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-2.png 554w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After creating the User group, click &#8220;Add Files&#8221; to add files, as shown in Figure 4-7-3.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1094 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-3.png\" alt=\"Figure 4-7-3\" width=\"486\" height=\"359\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-3.png 486w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-3-300x222.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-3<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Then add the following files (in the User directory of the new project):<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; gd32f4xx_it.c<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; main.c<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; systick.c<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Creating groups and adding files is shown in Figure 4-7-4.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1095 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-4.png\" alt=\"Figure 4-7-4\" width=\"486\" height=\"362\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-4.png 486w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-4-300x223.png 300w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-4<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a Firmware group and then add standard peripheral library files. Add them as needed or all at once (which may slow down compilation). The rcu peripheral library must be added as it is related to the clock. Additionally, demonstrate adding a gpio peripheral library file (in the Firmware\/GD32F4xx_standard_peripheral\/Source\/ directory of the new project), as shown in Figure 4-7-5.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1096 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-5.png\" alt=\"Figure 4-7-5\" width=\"435\" height=\"322\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-5.png 435w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-5-300x222.png 300w\" sizes=\"auto, (max-width: 435px) 100vw, 435px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-5<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a CMSIS group and add the startup_gd32f450_470.s startup file (in the Firmware\/CMSIS\/GD\/GD32F4xx\/Source\/ARM\/ directory of the new project) and the system_gd32f4xx.c file (in the Firmware\/CMSIS\/GD\/GD32F4xx\/Source\/ directory of the new project). Note, when adding the startup file, select &#8220;All files (*.)&#8221; as the file type because the startup file ends with .s. This is shown in Figure 4-7-6.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1097 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-6.png\" alt=\"Figure 4-7-6\" width=\"413\" height=\"307\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-6.png 413w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-6-300x223.png 300w\" sizes=\"auto, (max-width: 413px) 100vw, 413px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-6<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a Doc group and then add the readme.txt file (in the Doc\/ directory of the new project). Make sure to select &#8220;All files&#8221; as the file type, otherwise, it will not be displayed, as shown in Figure 4-7-7.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1098 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-7.png\" alt=\"Figure 4-7-7\" width=\"474\" height=\"355\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-7.png 474w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-7-300x225.png 300w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-7<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create a Hardware group and temporarily do not add any files.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Create an App group and temporarily do not add any files.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">All new groups are completed as shown in Figure 4-7-8.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1099 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-8.png\" alt=\"Figure 4-7-8\" width=\"461\" height=\"350\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-8.png 461w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-8-300x228.png 300w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-8<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After clicking OK, the project directory is shown in Figure 4-7-9.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1100 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-9.png\" alt=\"Figure 4-7-9\" width=\"554\" height=\"228\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-9.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-7-9-300x123.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-7-9<\/span><\/p>\n<h6><b>1.4.8. Modify the Project Code<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Open the main.c file and delete some unnecessary code. The remaining part is shown in Figure 4-8-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1101 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-8-1.png\" alt=\"Figure 4-8-1\" width=\"553\" height=\"448\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-8-1.png 553w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-8-1-300x243.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-8-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Open the gd32f4xx_it.c file, scroll to the end, and then delete the code below Systick_Handler. The remaining part is shown in Figure 4-8-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1102 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-8-2.png\" alt=\"Figure 4-8-2\" width=\"554\" height=\"491\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-8-2.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-8-2-300x266.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-8-2<\/span><\/p>\n<h6><b>1.4.9. Add Macros and Header File Paths<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Adding macros is to enable the header files of this chip, which is defined in GD32f4xx.h. Adding header file paths is to allow the compiler to find the corresponding header files.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To add macros:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click &#8220;Options for target&#8221; as shown in Figure 4-9-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1103 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-1.png\" alt=\"Figure 4-9-1\" width=\"553\" height=\"77\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-1.png 553w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-1-300x42.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select the &#8220;C\/C++&#8221; tab as shown in Figure 4-9-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1104 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-2.png\" alt=\"Figure 4-9-2\" width=\"554\" height=\"419\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-2.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-2-300x227.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Enter USE_STDPERIPH_DRIVER,GD32F450 under &#8220;Define&#8221; as shown in Figure 4-9-3.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1105 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-3.png\" alt=\"Figure 4-9-3\" width=\"554\" height=\"415\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-3.png 554w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-3-300x225.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-3<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To add header file paths:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the same tab, click the three dots next to &#8220;Include Paths&#8221; as shown in Figure 4-9-4.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1106 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-4.png\" alt=\"Figure 4-9-4\" width=\"521\" height=\"395\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-4.png 521w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-4-300x227.png 300w\" sizes=\"auto, (max-width: 521px) 100vw, 521px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-4<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click the &#8220;New&#8221; button to add a path as shown in Figure 4-9-5.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1108 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-5.png\" alt=\"Figure 4-9-5\" width=\"537\" height=\"363\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-5.png 537w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-5-300x203.png 300w\" sizes=\"auto, (max-width: 537px) 100vw, 537px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-5<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click the three dots to select the path as shown in Figure 4-9-6.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1109 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-6.png\" alt=\"Figure 4-9-6\" width=\"553\" height=\"284\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-6.png 553w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-6-300x154.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-6<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select in order:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; The User directory of the new project<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; The Firmware\/CMSIS directory of the new project<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; The Firmware\\CMSIS\\GD\\GD32F4xx\\Include directory of the new project<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; The Firmware\\GD32F4xx_standard_peripheral\\Include directory of the new project<\/span><\/p>\n<p><span style=\"font-weight: 400;\">After adding, it is shown in Figure 4-9-7.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1110 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-7.png\" alt=\"Figure 4-9-7\" width=\"503\" height=\"338\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-7.png 503w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-9-7-300x202.png 300w\" sizes=\"auto, (max-width: 503px) 100vw, 503px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-9-7<\/span><\/p>\n<h6><b>1.4.10. Configure the Project<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">Check &#8220;Use MicroLIB&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This is a simple library that comes with Keil and is generally used when redirecting the serial port.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click &#8220;Options for target&#8221; and check &#8220;Use MicroLIB&#8221; under the &#8220;Target&#8221; tab as shown in Figure 4-10-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1111 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-1.png\" alt=\"Figure 4-10-1\" width=\"463\" height=\"312\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-1.png 463w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-1-300x202.png 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-10-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Check &#8220;Create HEX File&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The HEX file is a hexadecimal file compiled from the source code, which can be directly downloaded to the <a href=\"https:\/\/blogs.lcsc.com\/blog\/lcsc-coloreasyduino-development-board\/\" target=\"_blank\" rel=\"noopener\">development board<\/a> via a serial port or DFU.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click &#8220;Options for target&#8221; and check &#8220;Create HEX File&#8221; under the &#8220;Output&#8221; tab as shown in Figure 4-10-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1112 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-2.png\" alt=\"Figure 4-10-2\" width=\"464\" height=\"343\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-2.png 464w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-2-300x222.png 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-10-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Change ARM Compiler version<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Select version 5 for the editor, the default is 6. If version 6 is used, there may be warnings during compilation, which may be due to support issues.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click &#8220;Options for target&#8221; and change the ARM Compiler to &#8220;User default compiler version 5&#8221; under the &#8220;Target&#8221; tab as shown in Figure 4-10-3.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1113 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-3.png\" alt=\"Figure 4-10-3\" width=\"447\" height=\"333\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-3.png 447w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-10-3-300x223.png 300w\" sizes=\"auto, (max-width: 447px) 100vw, 447px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-10-3<\/span><\/p>\n<h6><b>1.4.11. Compile<\/b><\/h6>\n<p><span style=\"font-weight: 400;\">After everything is configured, you can compile.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Click the compile button to compile as shown in Figure 4-11-1.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1114 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-11-2.png\" alt=\"Figure 4-11-1\" width=\"541\" height=\"164\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-11-2.png 541w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-11-2-300x91.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-11-1<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The compilation result is shown in Figure 4-11-2.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1115 size-full\" src=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-11-1.png\" alt=\"Figure 4-11-2\" width=\"553\" height=\"93\" srcset=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-11-1.png 553w, https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-4-11-1-300x50.png 300w\" sizes=\"auto, (max-width: 553px) 100vw, 553px\" \/><\/p>\n<p style=\"text-align: center;\"><span style=\"font-weight: 400;\">Figure 4-11-2<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can see 0 errors and 0 warnings. At this point, the project template creation is complete.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h5><b>Related Articles:<\/b><\/h5>\n<p><a href=\"https:\/\/www.lcsc.com\/blog\/lcsc-liangshan-development-board-background-hardware-and-features\/\"><span style=\"font-weight: 400;\">LCSC Liangshan Development Board:\u00a0 Background, Hardware and\u00a0 Features<\/span><\/a><\/p>\n<p class=\"entry-title\"><a href=\"https:\/\/www.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-1\/\" rel=\"bookmark\">LCSC Liangshan Development Board\u00a0Getting Started Tutorial\u00a0(1)<\/a><\/p>\n<p><a href=\"https:\/\/www.lcsc.com\/blog\/lcsc-coloreasyduino-development-board\/\">LCSC ColorEasyDuino Development Board<\/a><\/p>\n<p class=\"entry-title\"><a href=\"https:\/\/www.lcsc.com\/blog\/raspberry-pi-vs-arduino-a-comprehensive-comparison\/\" rel=\"bookmark\">Raspberry Pi vs Arduino: A Comprehensive Comparison<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Project Template Creation 1.1. Device Package Installation 1.1.1. Prerequisites This Pack is applicable to Keil V5.27 and above versions. 1.1.2. Online Installation Open Keil5 and click on the Pack Installer, as shown in Figure 1-2-1. Figure 1-2-1 After clicking the Pack Installer button, the interface will pop up, click OK, as shown in Figure 1-2-2. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"iawp_total_views":2,"footnotes":""},"categories":[27],"tags":[119,12],"class_list":["post-1063","post","type-post","status-publish","format-standard","hentry","category-electronic-components","tag-development-board","tag-lcsc"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>LCSC Liangshan Development Board Getting Started Tutorial (2) Blog | LCSC Electronics<\/title>\n<meta name=\"description\" content=\"\u00a0LCSC Liangshan Development Board Getting Started Tutorial (2\uff09\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LCSC Liangshan Development Board Getting Started Tutorial (2) Blog | LCSC Electronics\" \/>\n<meta property=\"og:description\" content=\"\u00a0LCSC Liangshan Development Board Getting Started Tutorial (2\uff09\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog | LCSC Electronics\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-26T01:33:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-05T08:18:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png\" \/>\n<meta name=\"author\" content=\"LCSC Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"LCSC Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/\"},\"author\":{\"name\":\"LCSC Editor\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#\\\/schema\\\/person\\\/11d3b92d0208775e62d7f79a0da4e781\"},\"headline\":\"LCSC Liangshan Development Board Getting Started Tutorial (2)\",\"datePublished\":\"2024-06-26T01:33:38+00:00\",\"dateModified\":\"2025-08-05T08:18:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/\"},\"wordCount\":2056,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.lcsc.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Figure-1-2-1.png\",\"keywords\":[\"development board\",\"LCSC\"],\"articleSection\":[\"Electronic Components\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/\",\"url\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/\",\"name\":\"LCSC Liangshan Development Board Getting Started Tutorial (2) Blog | LCSC Electronics\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/blogs.lcsc.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Figure-1-2-1.png\",\"datePublished\":\"2024-06-26T01:33:38+00:00\",\"dateModified\":\"2025-08-05T08:18:23+00:00\",\"description\":\"\u00a0LCSC Liangshan Development Board Getting Started Tutorial (2\uff09\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/blogs.lcsc.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Figure-1-2-1.png\",\"contentUrl\":\"https:\\\/\\\/blogs.lcsc.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/Figure-1-2-1.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/lcsc-liangshan-development-board-getting-started-tutorial-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"LCSC Liangshan Development Board Getting Started Tutorial (2)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/\",\"name\":\"Blog | LCSC Electronics\",\"description\":\"LCSC Electronics Blogs and News\",\"publisher\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#organization\",\"name\":\"Blog | LCSC Electronics\",\"url\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/blogs.lcsc.com\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/blogs.lcsc.com\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/logo.png\",\"width\":939,\"height\":180,\"caption\":\"Blog | LCSC Electronics\"},\"image\":{\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/#\\\/schema\\\/person\\\/11d3b92d0208775e62d7f79a0da4e781\",\"name\":\"LCSC Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c5d2ddc240c300192ecdc04c2d2f7914d4b02bd00ea81b32e98b698c49e357f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c5d2ddc240c300192ecdc04c2d2f7914d4b02bd00ea81b32e98b698c49e357f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0c5d2ddc240c300192ecdc04c2d2f7914d4b02bd00ea81b32e98b698c49e357f?s=96&d=mm&r=g\",\"caption\":\"LCSC Editor\"},\"url\":\"https:\\\/\\\/blogs.lcsc.com\\\/blog\\\/author\\\/lcsc-editor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LCSC Liangshan Development Board Getting Started Tutorial (2) Blog | LCSC Electronics","description":"\u00a0LCSC Liangshan Development Board Getting Started Tutorial (2\uff09","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:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/","og_locale":"en_US","og_type":"article","og_title":"LCSC Liangshan Development Board Getting Started Tutorial (2) Blog | LCSC Electronics","og_description":"\u00a0LCSC Liangshan Development Board Getting Started Tutorial (2\uff09","og_url":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/","og_site_name":"Blog | LCSC Electronics","article_published_time":"2024-06-26T01:33:38+00:00","article_modified_time":"2025-08-05T08:18:23+00:00","og_image":[{"url":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png","type":"","width":"","height":""}],"author":"LCSC Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"LCSC Editor","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#article","isPartOf":{"@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/"},"author":{"name":"LCSC Editor","@id":"https:\/\/blogs.lcsc.com\/blog\/#\/schema\/person\/11d3b92d0208775e62d7f79a0da4e781"},"headline":"LCSC Liangshan Development Board Getting Started Tutorial (2)","datePublished":"2024-06-26T01:33:38+00:00","dateModified":"2025-08-05T08:18:23+00:00","mainEntityOfPage":{"@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/"},"wordCount":2056,"commentCount":0,"publisher":{"@id":"https:\/\/blogs.lcsc.com\/blog\/#organization"},"image":{"@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png","keywords":["development board","LCSC"],"articleSection":["Electronic Components"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/","url":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/","name":"LCSC Liangshan Development Board Getting Started Tutorial (2) Blog | LCSC Electronics","isPartOf":{"@id":"https:\/\/blogs.lcsc.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#primaryimage"},"image":{"@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#primaryimage"},"thumbnailUrl":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png","datePublished":"2024-06-26T01:33:38+00:00","dateModified":"2025-08-05T08:18:23+00:00","description":"\u00a0LCSC Liangshan Development Board Getting Started Tutorial (2\uff09","breadcrumb":{"@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#primaryimage","url":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png","contentUrl":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2024\/05\/Figure-1-2-1.png"},{"@type":"BreadcrumbList","@id":"https:\/\/blogs.lcsc.com\/blog\/lcsc-liangshan-development-board-getting-started-tutorial-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blogs.lcsc.com\/blog\/"},{"@type":"ListItem","position":2,"name":"LCSC Liangshan Development Board Getting Started Tutorial (2)"}]},{"@type":"WebSite","@id":"https:\/\/blogs.lcsc.com\/blog\/#website","url":"https:\/\/blogs.lcsc.com\/blog\/","name":"Blog | LCSC Electronics","description":"LCSC Electronics Blogs and News","publisher":{"@id":"https:\/\/blogs.lcsc.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blogs.lcsc.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blogs.lcsc.com\/blog\/#organization","name":"Blog | LCSC Electronics","url":"https:\/\/blogs.lcsc.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blogs.lcsc.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2023\/10\/logo.png","contentUrl":"https:\/\/blogs.lcsc.com\/wp-content\/uploads\/2023\/10\/logo.png","width":939,"height":180,"caption":"Blog | LCSC Electronics"},"image":{"@id":"https:\/\/blogs.lcsc.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/blogs.lcsc.com\/blog\/#\/schema\/person\/11d3b92d0208775e62d7f79a0da4e781","name":"LCSC Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0c5d2ddc240c300192ecdc04c2d2f7914d4b02bd00ea81b32e98b698c49e357f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0c5d2ddc240c300192ecdc04c2d2f7914d4b02bd00ea81b32e98b698c49e357f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c5d2ddc240c300192ecdc04c2d2f7914d4b02bd00ea81b32e98b698c49e357f?s=96&d=mm&r=g","caption":"LCSC Editor"},"url":"https:\/\/blogs.lcsc.com\/blog\/author\/lcsc-editor\/"}]}},"_links":{"self":[{"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/posts\/1063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/comments?post=1063"}],"version-history":[{"count":18,"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/posts\/1063\/revisions"}],"predecessor-version":[{"id":3087,"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/posts\/1063\/revisions\/3087"}],"wp:attachment":[{"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/media?parent=1063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/categories?post=1063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lcsc.com\/blog\/wp-json\/wp\/v2\/tags?post=1063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}