diff --git a/.vscode/settings.json b/.vscode/settings.json index 041f48e8..a9e1b192 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -85,6 +85,7 @@ "system_error": "c", "new": "c", "assert.h": "c", - "iosfwd": "c" + "iosfwd": "c", + "common.h": "c" } } \ No newline at end of file diff --git a/Sconstruct b/Sconstruct index a9fb1de4..0bfbd4d5 100644 --- a/Sconstruct +++ b/Sconstruct @@ -11,26 +11,27 @@ import sys plt = platform.system() # board select platform,选择你要编译的平台 -platform='pc' +# platform='pc' # platform='v3s' -# platform='raspi2' +platform='raspi2' # platform='esp32' # platform='stm32f4xx' - +# platform='raspi3' # gcc path,这里是gcc路径配置 cc_path=''# 'D:\\app\\gcc\\bin\\' cc_prefix='i386-elf-' -cc_lib_path='/opt/local/lib/gcc/i386-elf/9.2.0/' # D:\\app\\gcc\\lib\\gcc\\i686-elf\\7.1.0\\ D:\\Program Files\\gcc-arm-none-eabi-9\\lib\\gcc\\arm-none-eabi\\9.2.1\\ /opt/local/lib/gcc/arm-none-eabi/9.2.0/ /lib/gcc/arm-none-eabi/9.2.1/ +cc_lib_path='D:\\Program Files\\gcc-arm-none-eabi-9\\lib\\gcc\\arm-none-eabi\\9.2.1\\' #/opt/local/lib/gcc/i386-elf/9.2.0/ D:\\app\\gcc\\lib\\gcc\\i686-elf\\7.1.0\\ D:\\Program Files\\gcc-arm-none-eabi-9\\lib\\gcc\\arm-none-eabi\\9.2.1\\ /opt/local/lib/gcc/arm-none-eabi/9.2.0/ /lib/gcc/arm-none-eabi/9.2.1/ # default libc 默认libc 选择 default_libc='libc'# libmusl libc supports_archs={ - 'arm': ['armv5','armv6','armv7','armv7-a'], + 'arm': ['armv5','armv6','armv7','armv7-a','armv8-a'], 'x86': ['x86','x86_64'], - 'xtensa': ['lx6'] + 'xtensa': ['lx6'], + 'riscv':['riscv'] } support_platform={ @@ -38,7 +39,8 @@ support_platform={ 'pc':'x86', 'raspi2':'armv7-a', 'esp32':'xl6', - 'v3s':'armv7-a' + 'v3s':'armv7-a', + 'raspi3':'armv8-a' }