How to create a Hello World project with Kendryte IDE



  • First. Create a emptyr direcotry for your code

    For example: D:\my-projects\hello-world, to prevent some strange issue, we recommend only use alphanumeric, underscore and minus in all part of the path.

    Then, open IDE, drag your new directory into it.

    0_1546414649249_6f26aab2-cf4f-4f1f-a74b-fb45c6f427ea-image.png

    When finish you will see this:

    0_1546415350517_dfaa8fc7-8f9e-4928-932d-1c744e0ef123-image.png

    On this page:
    ① File manager, ⅰ is create new file, and ⅱ is new folder.
    ② The Kendryte menu.
    ③ Log and output switch, if you run into a bug, please send all outputs to us.
    ④ Button to close the bottom panel.
    ⑤ Links for Kendryte menu, and the error&warnning button can be use to open bottom panel.
    ⑥ The serial port monitor button
    ⑦ Preference menu

    In the default state, there is nothing in file manager. (I created a main.c here, you do not need to do that)

    Now click the ⑤create package to start a project

    0_1546415662951_abc573f5-a1ce-422b-9691-4396ba26c769-image.png

    It will create some files, you can see them in the file manager. And it will auto open main.c for editing.
    It will also shows an error, don't worry, this is a dependency error. The default project didn't includes any dependencies. We will install them now.

    Finally, click the Kendryte menu, and them Install dependency

    0_1546415957541_857a1d0b-5ce9-41a2-a761-74b556c54946-image.png

    It will download some packages. After install, a message(②) will show up. All downloaded code will store inside the directory marked with ③.
    Now click the error line at ④, IDE will re-configure.

    If it success, the quick launch buttons will appear, each links to an item in the kendryte menu.

    0_1546416381017_e7445779-6272-4786-8d43-59a34122ade1-image.png

    It's time to coding.

    Note: the default project depends on standalone sdk



  • 有没有更多的说明啊?
    IDE下fpioa config的使用。
    FreeRTOS SDK的使用。
    Jlink的使用。