mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
Update config.md
This commit is contained in:
parent
a08efc0a6a
commit
d2baf1b145
@ -25,8 +25,6 @@ You can do the following to ensure thread safety for `VM` instances:
|
||||
|
||||
### Full config
|
||||
|
||||
You can create a `user_config.h` in the same directory as `pocketpy.h` to override some default settings.
|
||||
You can take a look at `include/pocketpy/config.h` to see all the available configuration macros.
|
||||
|
||||
|
||||
1. Copy [src/config.h](https://github.com/pocketpy/pocketpy/blob/main/include/pocketpy/config.h) and rename it to `user_config.h`.
|
||||
2. Define a macro `PK_USER_CONFIG_H` in `user_config.h`. This invalidates the default `config.h` and enables your `user_config.h`.
|
||||
3. Edit `user_config.h` to override default settings.
|
||||
|
Loading…
x
Reference in New Issue
Block a user