mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 12:00:18 +00:00
11 lines
465 B
Markdown
11 lines
465 B
Markdown
---
|
|
icon: dot
|
|
label: 'Advanced config'
|
|
order: -2
|
|
---
|
|
|
|
You can create a `user_config.h` in the same directory as `pocketpy.h` to override some default settings.
|
|
|
|
1. Copy [src/config.h](https://github.com/blueloveTH/pocketpy/blob/main/src/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. |