59 lines
1.4 KiB
Markdown
59 lines
1.4 KiB
Markdown
# pec930_sdk
|
|
|
|
PEC930_SDK (RISC-V 32-bits)
|
|
> `Tools/markdown/MarkdownEditor.exe` is a markdown viewer
|
|
and it assists user to view markdown file friendly (e.g. readme.md)
|
|
|
|
|
|
## Naming directory and file
|
|
|
|
+ only use ASCII `a-z`, `A-Z`, `0-9`, and `_` (DONOT use white-space)
|
|
|
|
## Development
|
|
|
|
### Linux platform
|
|
|
|
SDK uses Makefile to compile in Ubuntu and type `make help` to get message
|
|
|
|
### Windows 10/11 platform
|
|
|
|
[Nuclei-Studio IDE 20224.06](https://www.nucleisys.com/download.php#tools) is used to compile SDK in Windows 10/11.
|
|
> User opens `Project.nuproject` file of exmples with Nuclei-Studio
|
|
|
|
+ Build with ICE
|
|
|
|

|
|
|
|
+ Debug with IDE
|
|
|
|

|
|
|
|
+ Delete the recent project before open the other project (Recommend)
|
|
> Avoid IDE automatically appends suffix serial number
|
|
|
|
|
|
- Close project
|
|
|
|

|
|
|
|
- Delete the recent project of IDE
|
|
|
|

|
|
|
|
### Log message
|
|
|
|
For code size, default only support 32-bits integer.
|
|
|
|
User should enable the other features manually
|
|
|
|
```
|
|
// at Common/printf.c
|
|
|
|
/* mark to enable feature */
|
|
#define PRINTF_DISABLE_SUPPORT_FLOAT
|
|
#define PRINTF_DISABLE_SUPPORT_EXPONENTIAL
|
|
#define PRINTF_DISABLE_SUPPORT_LONG_LONG
|
|
#define PRINTF_DISABLE_SUPPORT_PTRDIFF_T
|
|
|
|
```
|