Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add T-HEAD CK802 porting #4

Closed
wants to merge 9 commits into from
Closed

Conversation

xiaoxiacui
Copy link

  1. Add T-HEAD ck802 processor port code under FreeRTOS/Source/portable/CDK/
  2. CDK is our Integerity Development Environment for T-HEAD processsor

@yuhui-zheng
Copy link
Contributor

#3 Previous conversation can be found here.

@yuhui-zheng
Copy link
Contributor

Hi @xiaoxiacui,

I downloaded the source code and attempted to setup environment. At the first attempt, I wasn't able to install CDK (see below for details). Would be nice to get some help from you on this specific matter. I also have a couple of other comments in below.

  • Unable to install CDK.
    FreeRTOS\Demo\T-HEAD_CB2201_CDK\readme.txt mentioned CDK can be downloaded at https://occ.t-head.cn/community/download_detail?spm=a2oza.cdk.0.0.413b180fZ5hVxQ&id=575997419775328256. I've tried both versions available (2.0.2 and 1.18.11), and both do not allow me to change installation destination. Screenshot attached, installation defaulted to D:/, and "change..." button did not work for me.
    Screen Shot 2020-01-02 at 5 07 30 PM

  • system requirement?
    It wasn't clear to me what is the minimum system requirement for your CDK, that I assumed mine would work. (Windows 10, running as virtual machine.) Confirmation would be appreciated.

  • Further resources?
    The download page says more available after login. (Not that I needed, but just out of curiosity.) I could not register since it seems your site asks for a phone number in +86, and login with Alibaba cloud does not work... This is definitely not a blocker for this PR, just mentioning as courtesy. Since customers may run into the same.

Let us know. Thank you.

@yuhui-zheng
Copy link
Contributor

I realize I'm getting into too much details. Is there a general getting started guide for your env setup?

More updates.


Once I worked around installation path issue, I got another issue with failed to unzip cdk-sdk.zip (as attached).
Screen Shot 2020-01-02 at 5 44 19 PM

Proceed without resolving this issue compilation failed for me. Log attached, the first error is
'HOBBIT1_2_GIPO0_PORTCTL_REG' undeclared

RTOSDemo_thead_compile_log.txt

Thanks for any help.

@xiaoxiacui
Copy link
Author

Hi zheng :

Sorry to bring you into the trouble of CDK installation.

  • the firstion problem is caused by the default setup path "D:/csk", there is no D disk in your computer, hence, you can change the install path to C:/ to fix the issue.
  • you need to unzip the install file first, then double click setup.exe to start installtion process. Because we use the inside unZip tool to uncompress other ZIP files. if the installer can't find the Unzip tools, it will prompt the issue.

Hope above can help you !

Vincent

@yuhui-zheng
Copy link
Contributor

yuhui-zheng commented Jan 3, 2020

About the unzip issue -- I unzipped cdk-windows-V2.0.2-20191212-1645.zip, and started installation with setup.exe. The error message is popped during installation (the very last stage).

cdk_sdk.zip is under <drive>\C-Sky\CDK\CSKY\ProjectTemplates\ and <drive>\C-Sky\ is my install destination path. I tried to manually unzip it, which does not work. ("Does not work" -- IDE still can't find right SDK tools. Rerun setup.exe to repair the installation shows the same popup.)

So --

  • which zip tool your install wizard takes dependency on?
  • anything I need to add to PATH?

Thanks.

@xiaoxiacui
Copy link
Author

xiaoxiacui commented Jan 4, 2020 via email

Zhu632cui632 and others added 7 commits January 8, 2020 08:56
1. remove unused head files which cause compile fail
2. Remove compile warning
In FreeRTOS\Demo\T-HEAD_CB2201_CDK\RTOSDemo_CDK\RTOSDemo_CDK.cdkproj, removed reference to "$(ProjectPath)/../../include/cb2201".
Since this port is done by C-SKY, and we do not have hardware/emulator to fully qualify the port.
@yuhui-zheng
Copy link
Contributor

Per offline communication, SVN is synced with the exact content in this PR. https://sourceforge.net/p/freertos/code/2802/. The next sync from SVN to GitHub will pick it up. I'm closing this PR for now.

moninom1 pushed a commit that referenced this pull request Sep 14, 2022
Added contribution guidelines, readme etc.
alfred2g pushed a commit to alfred2g/FreeRTOS that referenced this pull request Feb 22, 2023
* Adding coverage test for xTaskResumeFromISR
* Use mock and variables for coverage test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants