lpac/driver/apdu
Coelacanthus 1cc9090769
refactor: make use system cJSON library possible (#314)
* refactor: move cJSON_ex.* to a new object library

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* refactor: make use system cJSON library possible

* When USE_SYSTEM_DEPS is set, follow it.
* When USE_SYSTEM_DEPS is unset, try use system cJSON first, and 
  fallback to vendor one if not found.

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* refactor: use FetchContent to download cJSON instead of vendor

GIT_REPOSITORY and GIT_TAG SHALL be changed back if [1] was merged and
upstream released new version.

[1]: https://github.com/DaveGamble/cJSON/pull/949

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* chore: remove unneeded vendor version cJSON

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

* chore(ci): more robust license file copy...

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>

---------

Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
2025-09-05 12:55:49 +08:00
..
at.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
at_common.c refactor: make use system cJSON library possible (#314) 2025-09-05 12:55:49 +08:00
at_common.h feat(driver/at.c): add list subcommand to enumerate available serial ports (#269) 2025-08-15 20:26:44 +08:00
at_unix.c refactor(driver): unify APDU AT backend (#301) 2025-08-31 21:59:50 +08:00
at_win32.c refactor: make use system cJSON library possible (#314) 2025-09-05 12:55:49 +08:00
gbinder_hidl.c chore(driver): cleanup dummy function (#296) 2025-08-22 20:11:39 +08:00
gbinder_hidl.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
mbim.c fix(mbim): pass context to mbim_apdu_interface_logic_channel_close (#305) 2025-08-23 18:53:12 +08:00
mbim.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
mbim_helpers.c chore(format): reformat all code 2025-08-15 23:11:39 +08:00
mbim_helpers.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
pcsc.c refactor: make use system cJSON library possible (#314) 2025-09-05 12:55:49 +08:00
pcsc.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
pcsc_win32.c chore(format): reformat all code 2025-08-15 23:11:39 +08:00
pcsc_win32.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
qmi.c fix(qmi): logical channel close null ptr (#306) 2025-08-31 19:23:15 +08:00
qmi.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
qmi_common.c fix(qmi): logical channel close null ptr (#306) 2025-08-31 19:23:15 +08:00
qmi_common.h fix(qmi): logical channel close null ptr (#306) 2025-08-31 19:23:15 +08:00
qmi_helpers.c chore(format): reformat all code 2025-08-15 23:11:39 +08:00
qmi_helpers.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
qmi_qrtr.c fix(qmi): logical channel close null ptr (#306) 2025-08-31 19:23:15 +08:00
qmi_qrtr.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00
stdio.c refactor: make use system cJSON library possible (#314) 2025-09-05 12:55:49 +08:00
stdio.h chore(format): reformat all code 2025-08-15 23:11:39 +08:00