Skip to content

Add wrap files for gd32f4xx_spl-3.3.3-3#2762

Open
wjjsn wants to merge 1 commit into
mesonbuild:masterfrom
wjjsn:master
Open

Add wrap files for gd32f4xx_spl-3.3.3-3#2762
wjjsn wants to merge 1 commit into
mesonbuild:masterfrom
wjjsn:master

Conversation

@wjjsn
Copy link
Copy Markdown

@wjjsn wjjsn commented Apr 25, 2026

I already fix known wrong.Please review again

@wjjsn
Copy link
Copy Markdown
Author

wjjsn commented Apr 25, 2026

It seems naming convention has some problem.I will fix later

@bgilbert
Copy link
Copy Markdown
Collaborator

Do not spam the repository. Leave your pull request open, rewrite your commits with your changes, and force-push them to the same branch.

@wjjsn
Copy link
Copy Markdown
Author

wjjsn commented Apr 25, 2026

Do not spam the repository. Leave your pull request open, rewrite your commits with your changes, and force-push them to the same branch.

Sorry, I was not aware of this rule. I will not close PRs arbitrarily in the future.

@wjjsn
Copy link
Copy Markdown
Author

wjjsn commented Apr 25, 2026

I tried using this warp, and it ran well on my computer. However, it failed to pass the multi-platform compilation test because cross-compilation support is required

ubuntu@MYJGMC /workspace (main) [1]> meson setup build --cross-file meson_cross_file.ini -Dgd32f4xx-spl:chip=GD32F470_xE
The Meson build system
Version: 1.7.0
Source dir: /workspace
Build dir: /workspace/build
Build type: cross build
Project name: gd32f4_spl_test
Project version: 0.1
C compiler for the host machine: arm-none-eabi-gcc (gcc 14.2.1 "arm-none-eabi-gcc (15:14.2.rel1-1) 14.2.1 20241119")
C linker for the host machine: arm-none-eabi-gcc ld.bfd 2.42-1ubuntu1
C compiler for the build machine: cc (gcc 15.2.0 "cc (Ubuntu 15.2.0-4ubuntu4) 15.2.0")
C linker for the build machine: cc ld.bfd 2.45
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: arm
Host machine cpu: cortex-m4
Target machine cpu family: arm
Target machine cpu: cortex-m4
Found pkg-config: NO
Found CMake: NO
Run-time dependency gd32f4xx_spl found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency gd32f4xx_spl
Downloading gd32f4xx-spl source from https://github.com/wjjsn/GD32F4xx_SPL/archive/refs/tags/3.3.3-4.tar.gz
Downloading file of unknown size.

Executing subproject gd32f4xx-spl 

gd32f4xx-spl| Project name: GD32F4xx_Firmware
gd32f4xx-spl| Project version: 3.3.3
gd32f4xx-spl| C compiler for the host machine: arm-none-eabi-gcc (gcc 14.2.1 "arm-none-eabi-gcc (15:14.2.rel1-1) 14.2.1 20241119")
gd32f4xx-spl| C linker for the host machine: arm-none-eabi-gcc ld.bfd 2.42-1ubuntu1
gd32f4xx-spl| C compiler for the build machine: cc (gcc 15.2.0 "cc (Ubuntu 15.2.0-4ubuntu4) 15.2.0")
gd32f4xx-spl| C linker for the build machine: cc ld.bfd 2.45
gd32f4xx-spl| Build targets in project: 0
gd32f4xx-spl| Subproject gd32f4xx-spl finished.

Dependency gd32f4xx_spl found: YES 3.3.3 (overridden)
Build targets in project: 1

gd32f4_spl_test 0.1

  Subprojects
    gd32f4xx-spl     : YES

  User defined options
    Cross files      : meson_cross_file.ini
    gd32f4xx-spl:chip: GD32F470_xE

Found ninja-1.12.1 at /usr/bin/ninja
ubuntu@MYJGMC /workspace (main)> meson compile -C build
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /workspace/build
ninja: Entering directory `/workspace/build'
[33/33] Linking target gd32f4_spl_test
Memory region         Used Size  Region Size  %age Used
           FLASH:        1364 B       512 KB      0.26%
             RAM:          3 KB       192 KB      1.56%
          TCMRAM:           0 B        64 KB      0.00%

@wjjsn
Copy link
Copy Markdown
Author

wjjsn commented May 7, 2026

Hello, @bgilbert ,Is there still a problem with my change?

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.

2 participants