Commit Graph

518 Commits

Author SHA1 Message Date
Stéphane Blondon
c302bae2bc doc: search improvement and link to constants
This patch fixes the search for function like __mcount() or gprof_start().
The issue existed for functions with function attribute (__attribute__()): Doxygen didn't parsed it properly. It fixes such warnings:
warning: documented symbol '__mcount' was not declared or defined.

After changing Doxygen configuration to fix it, new warnings appears. For example:
warning: explicit link request to 'PSP_VAUDIO_FORMAT_' could not be resolved

It's fixed by using the full name of the constants. By the way, it also fixes the link to the constants in the documentation.

Initial patch based on:
https://stackoverflow.com/questions/75410662/doxygen-does-not-parse-attribute-correctly
2025-04-03 21:57:55 +02:00
Wouter Wijsman
3826a1ef64 Merge pull request #266 from sblondon/fix-2-warnings
fix: remove two warnings during documentation generation
2025-03-30 11:55:13 +02:00
Stéphane Blondon
653af10004 fix: remove two warnings during documentation generation
Doxygen displays two warnings (among others) because parameters filled in @params are not correct.

The warnings fixed are:
pspsdk/src/user/pspthreadman.h:622: warning: argument 'optionsPTr' of command @param is not found in the argument list of sceKernelCreateLwMutex(SceLwMutexWorkarea *workarea, const char *name, SceUInt32 attr, int initialCount, u32 *optionsPtr)
pspsdk/src/user/pspthreadman.h:622: warning: The following parameter of sceKernelCreateLwMutex(SceLwMutexWorkarea *workarea, const char *name, SceUInt32 attr, int initialCount, u32 *optionsPtr) is not documented:
  parameter 'optionsPtr'
pspsdk/src/user/pspthreadman.h:665: warning: argument 'name' of command @param is not found in the argument list of sceKernelUnlockLwMutex(SceLwMutexWorkarea *workarea, int lockCount)
2025-03-29 22:48:01 +01:00
Diamond Rivero
508220242b Merge pull request #261 from pspdev/fix-dmac
dmac: fix name mangling
2025-03-19 21:35:01 +08:00
Diamond Rivero
6926e59030 dmac: fix name mangling 2025-03-19 20:45:10 +08:00
Wouter Wijsman
166bd49366 Merge pull request #260 from sblondon/add-description-for-modules
doc: add description to libraries
2025-03-19 11:15:32 +01:00
Stéphane Blondon
d3c330f73a doc: add description to libraries
The descriptions are displayed in the documentation generated by Doxygen.
2025-03-19 11:05:35 +01:00
Diamond Rivero
b34b444416 Merge pull request #250 from fjtrujy/improveLibCWeakSuport
Add options to disable some `newlib`functionalities
2025-02-06 15:45:00 +08:00
Diamond Rivero
0bda2cce83 Merge pull request #259 from YUKI2eN3e/fix-glue-PATH_MAX
Added `#include <sys/syslimits.h>` to fix `PATH_MAX` not being define…
2025-02-02 21:04:46 +08:00
Yuki Nagato
1b0f2d7093 Added #include <sys/syslimits.h> to fix PATH_MAX not being defined in libcglue/glue.c. 2025-02-01 19:33:17 -08:00
Wouter Wijsman
68f1094a1d Merge pull request #256 from pspdev/add-create-license-directory-script
Add psp-create-license-directory script
2024-12-24 20:33:24 +01:00
Wouter Wijsman
691f858991 Add psp-create-license-directory script 2024-12-24 13:50:56 +01:00
Wouter Wijsman
560b950687 Merge pull request #255 from thearchivalone/patch-1
pspsdk: zlib dependency update to docs
2024-12-16 14:32:11 +01:00
Brad D
4113470754 pspsdk: zlib dependency update to docs
In relation to this issue: #254
2024-12-16 07:24:01 -06:00
Diamond Rivero
68bfa70127 Merge pull request #253 from pspdev/add-additional-documentation
Add additional documentation from the community
2024-12-15 07:16:36 +08:00
Wouter Wijsman
02bc96db3a Improve documentation context 2024-12-14 21:38:33 +01:00
Wouter Wijsman
396d23faac Add additional documentation from the community 2024-12-14 21:37:14 +01:00
Wouter Wijsman
a79285ce1d Use define to set alignment for vram assignment 2024-12-04 11:01:22 +01:00
Wouter Wijsman
28c294881d Align memory to 16 when giving out vram for textures and buffers 2024-12-04 11:01:22 +01:00
Francisco Javier Trujillo Mata
091ef89a6d A dummy example to show how to make binary smaller 2024-11-29 18:31:42 +01:00
Francisco Javier Trujillo Mata
1e93cff636 Adding options to disable some other newlib support
- Option to disable pipe support
- Option to disable socker support
- Option to disable timezone support
- Option to disable cwd support
2024-11-29 18:31:42 +01:00
Wouter Wijsman
9caeefe9e9 Include license files 2024-11-24 14:42:10 +01:00
Wouter Wijsman
d7d5d75289 Merge pull request #246 from wally4000/sceWlan_type
Add missing psptypes.h
2024-11-01 00:08:27 +01:00
Wally4000
38e6ade7ae Use uint8_t instead of referring to psptypes 2024-11-01 09:44:41 +11:00
Wally4000
befc4d6051 Add missing psptypes.h 2024-11-01 09:15:21 +11:00
Wouter Wijsman
2e2e6bd5bb Fix error with create_pbp_file 2024-10-31 21:58:18 +01:00
Francisco Javier Trujillo Mata
4e67dcf03e Merge pull request #245 from pspdev/improve-output-create-pbp-file
Improve output of create_pbp_file command to specify target
2024-10-31 11:26:17 +01:00
Wouter Wijsman
2a3129cdb8 Fix target in creating directory 2024-10-31 11:20:26 +01:00
Wouter Wijsman
47eb5db43b Merge pull request #244 from pspdev/set-eboot-output-directory
Add support for setting the output directory to create_pbp_file macro
2024-10-31 11:13:41 +01:00
Wouter Wijsman
6544b80356 Only create output directory if it was set 2024-10-31 10:57:00 +01:00
Wouter Wijsman
7a57149eff Improve output of create_pbp_file command to specify target
Right now it's a bit of a mess when running builds in parallel.
2024-10-31 10:42:48 +01:00
Wouter Wijsman
64ea2da258 Add support for setting the output directory to create_pbp_file macro 2024-10-31 10:39:39 +01:00
Wouter Wijsman
3bdfee4297 Merge pull request #243 from pspdev/make-add-prx-module-into-function
Use function with easier input for generating PRX module files
2024-10-31 09:54:24 +01:00
Wouter Wijsman
7b0fb05c5d Use STREQUAL instead of MATCHES 2024-10-31 09:41:50 +01:00
Wouter Wijsman
380ca62c52 Add target to output of psp-build-exports command 2024-10-31 09:37:11 +01:00
Wouter Wijsman
d1ca1d6b5c Make sure psp-build-exports is actually run 2024-10-31 09:32:49 +01:00
Wouter Wijsman
388c583718 Improved output for calling prxgen and fixup imports 2024-10-31 09:32:17 +01:00
Wouter Wijsman
af86b6445d Use function with easier input for generating PRX module files 2024-10-31 08:56:55 +01:00
Francisco Javier Trujillo Mata
6638c67f71 Merge pull request #242 from pspdev/add-px-module-support-to-cmake
Add add_prx_module macro to psp-cmake
2024-10-30 23:55:35 +01:00
Wouter Wijsman
6571d6ba5a Add add_prx_module macro to psp-cmake 2024-10-30 23:25:16 +01:00
Francisco Javier Trujillo Mata
4a03c9076f Merge pull request #239 from radusalagean/master
Fix: Use sce_stat->st_mode in io_to_posix_mode (glue.c) so it can also work for files stored in ISOs
2024-10-24 08:31:25 +02:00
Diamond Rivero
5aeb5e8c14 Merge pull request #241 from pspdev/mipmapping-sample-build
Make sure gu/mipmapping sample is build in workflow
2024-10-24 07:04:59 +08:00
Wouter Wijsman
cc6515e0cd Make sure gu/mipmapping sample is build in workflow 2024-10-23 22:27:58 +02:00
Radu Salagean
3c8302eb59 Fix: Use sce_stat->st_mode in io_to_posix_mode (glue.c) so it can also work for files stored in ISOs 2024-10-23 20:12:23 +03:00
Wouter Wijsman
9bf58639cc Merge pull request #238 from sharkwouter/master
Display build date instead of unchanged version number
2024-10-11 14:51:38 +02:00
Wouter Wijsman
65b82e3742 Create version file in bootstrap
It is being used in the build process
2024-10-11 14:33:01 +02:00
Wouter Wijsman
e680457a60 Display build date instead of unchanged version number 2024-10-11 14:10:55 +02:00
Wouter Wijsman
cfc0e5f9e2 Merge pull request #237 from sblondon/display-controller-example-improvement
More readable pad values
2024-10-02 12:07:38 +02:00
Stéphane Blondon
22efd363db More readable pad values
When the SceCtrlData.Lx value changes, the length of the value can change (from 1 character to 3 characters) so the string for Ly moves to the right by one or two characters.
The SceCtrlData.Lx and Ly are `unsigned char` so the value are between 0 (one character length) and 255 (3 characters length).
It's more readable by fixing the size for the value to 3 characters wide so the string to Ly does not move.
2024-10-01 22:59:45 +02:00
Wouter Wijsman
d9aaa8771d Merge pull request #224 from tpimh/master
add gethostname implementation
2024-09-30 10:24:54 +02:00