-
Notifications
You must be signed in to change notification settings - Fork 3k
Add support for GD32F307VG #8725
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
Conversation
targets/TARGET_GigaDevice/TARGET_GD32F30X/TATGET_GD32F307VG/PinNames.h
Outdated
Show resolved
Hide resolved
The test results are as follows(WIN10, run "mbed test -t GCC_ARM/ARM/IAR -m GD32_F307VG" directly): |
@ChazJin Could you please rebase this ? |
1. Mainly change TARGET_Gigadevice --> TARGET_GigaDevice 2. Add license header
Add GD32F307VG MCU information to target.json
Hello @adbridge, I have rebased it and keep my own repository(https://github.com/ChazJin/mbed-os) consistent with the remote repository(https://github.com/ARMmbed/mbed-os). Would you please let me know is it the right way of doing it? My previous tests were based on 5.10.1, and I will upload the test results based on the latest 5.10.3 library later. |
@ChazJin we seem to be getting a number of failures:
@ashok-rao can you help? |
Where is this "GD32_F307VG" (with the underscore) coming from? from the logs above, I see: "where 'GD32F307VG' = Target(name=u'GD32_F307VG'," Also, there seems to be a typo TARGET_GD32F30X/TA T GET_GD32F307VG .. not entirely sure if fixing these would help? |
@adbridge Is this related to our current MCU being temporarily not in CMSIS PACK? And our engineers have modified the keil5 pack of GigaDevice MCU, which will be uploaded to the server and will take effect soon. FLM and SVD files of GigaDevice MCU will definitely be found next week at the latest. |
@ChazJin The first error is that your assembly files end with The second error is that your MCU is not in CMSIS Pack yet. You can remove |
CI restarted |
Test run: FAILEDSummary: 3 of 7 test jobs failed Failed test jobs:
|
I'm sorry to say that we can't open these links above and the Details of jenkins-ci/build-ARM/GCC_ARM/IAR, so we can't see the specific errors. Could you please help us? @0xc0170 Thank a lot! |
@ChazJin Do you have access to this page? http://mbed-os-ci.s3-website-eu-west-1.amazonaws.com/?prefix=jenkins-ci/artifacts/8725/11/ It requires javascript (not sure why...), if that helps. |
Delete GD32F450ZI and GD323103VB which are not implemented yet and add them later.
@cmonr Thank you for your advise and I have found the reason for the errors. The "GD32F450ZI" and "GD32E103VB" are the projects we're working on, but they're not finished yet. After I removed the information about these two targets from target.json, I think the result will be OK. The links are as follows. @0xc0170 Please help us to run CI test again, and I really appreciate it. |
Prioritizing RC3 PRs. Will start when able. |
CI started |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
@ChazJin We're working on releasing 5.11.1, and are testing the RC now: #9208 However, this PR gave us quite a bit of trouble. When working on future PRs, please make sure that commits from patch resolutions are not in the commit history. Lines like this 5a15f81#diff-e9bd16efde5b7f92c0dcd845c5cf3619L352 caused us to manually apply this PR to the release. |
We are VERY SORRY to have caused you so much trouble. This is our first PR and we will surely pay attention to it in the future PRs. Once again we would like to apologize for it. @cmonr |
Description
This pull request adds support for GD32F307VG MCU and GD EMAC driver. All the tests were verified on GD32-F307VG board ("detect_code": ["1701"]).
#8713 is the old version and I have closed it. In contrast to the older version, we added the licence of the files, modified some file names, and added the GD EMAC driver files.
Pull request type