goplus / goplus/llcppg

Allow to convert third part deps

Open
#501 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
33
Forks
11
Avg merge
1h 17m
Merged PRs (30d)
51

Description

We're converting a batch of esp32 libs with llcppg automatically.

However, during the conversion, llcppg restricts to convert the third part deps, which causes we need to convert libs manually and slow donw the whole conversion progress.

I proposal to add an option to allow converting third part deps.

example like that:

panic: NewTypedefDecl:fail to convert type portMUX_TYPE: convert /Users/xxx/esp/esp-idf/components/esp_hw_support/include/spinlock.h first, declare converted package in llcppg.cfg deps for load [spinlock_t]. See: https://github.com/goplus/llcppg#dependency

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with llcppg's dependency handling and the llcppg.cfg dependency configuration described in the linked documentation. Reproduce the portMUX_TYPE conversion failure with the ESP32 libraries, then trace where third-party dependencies are restricted. Done means an option can enable their conversion without requiring each dependency to be converted manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, go
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.