diff --git a/OAT.xml b/OAT.xml new file mode 100755 index 0000000..c76dc84 --- /dev/null +++ b/OAT.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md index 0eadae6..58e0bfe 100755 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ GR5515 Starter Kit(以下简称GR5515 SK)套件是基于GR551x芯片(支 | 器件类别 | 开发板 | | ---------- | -------------------------------- | -| CPU | ARM Cortex-M4 (64Mhz) | +| CPU | ARM Cortex-M4F (64Mhz) | | RAM | 256KB SRAM | | Flash | 1MB片内Flash + 8MB SPI Flash | | GPIO | 45 | @@ -177,3 +177,5 @@ sudo pip3 install --upgrade pip ## 联系 如果您在开发过程中有问题,请在仓库issues提问,或[开发社区](https://developers.goodix.com/zh/bbs/list?orderType=answer)提问。 + +[开发板更多信息获取](https://product.goodix.com/zh/kit/gr5515_starter_kit) \ No newline at end of file diff --git a/gr5515_sk/liteos_m/BUILD.gn b/gr5515_sk/liteos_m/BUILD.gn index dfd3136..457a526 100755 --- a/gr5515_sk/liteos_m/BUILD.gn +++ b/gr5515_sk/liteos_m/BUILD.gn @@ -15,5 +15,5 @@ import("//kernel/liteos_m/liteos.gni") module_name = get_path_info(rebase_path("."), "name") kernel_module(module_name) { - deps = [ "$product_path/hdf_config:hdf_hcs" ] + # deps = [ "$product_path/hdf_config:hdf_hcs" ] } diff --git a/gr5515_sk/liteos_m/config.gni b/gr5515_sk/liteos_m/config.gni index 0ed897a..8aa868b 100755 --- a/gr5515_sk/liteos_m/config.gni +++ b/gr5515_sk/liteos_m/config.gni @@ -57,7 +57,9 @@ board_cflags = [ "-MD", "-fno-stack-protector", "-DLOSCFG_BASE_CORE_HILOG=1", + "-Dbool=BOOL", ] + board_cxx_flags = [] board_ld_flags = [ "-nostartfiles", @@ -79,10 +81,12 @@ board_ld_flags = [ "-lhiview_lite", "-lutils_kv_store", "-lkernel", + "-lgcc", "-lble_sdk", "-Wl,--no-whole-archive", "-Wl,--end-group", - "-Tbin/link.ld", + "-Wl,-Tbin/link.ld", + "-nostdlib", "-Trom_symbol_gcc.txt", "-Wl,-Map=bin/application.map", ] diff --git a/hcs/BUILD.gn b/hcs/BUILD.gn index f90c56c..b3896a1 100755 --- a/hcs/BUILD.gn +++ b/hcs/BUILD.gn @@ -12,8 +12,13 @@ # limitations under the License. if (ohos_kernel_type == "liteos_m") { - import("//kernel/liteos_m/liteos.gni") + import("//drivers/adapter/khdf/liteos_m/hdf.gni") module_name = get_path_info(rebase_path("."), "name") - kernel_module(module_name) { + hdf_driver(module_name) { + hcs_sources = [ "gr5515_sk.hcs" ] + visibility += [ + "$device_path", + ".", + ] } } diff --git a/hcs/gr5515_sk.hcs b/hcs/gr5515_sk.hcs index 29b3c75..b0eae80 100755 --- a/hcs/gr5515_sk.hcs +++ b/hcs/gr5515_sk.hcs @@ -12,6 +12,6 @@ # limitations under the License. */ -#include "../../../soc/goodix/gr551x/hcs/device_info/device_info.hcs" +#include "../../../soc/goodix/gr551x/hcs/hdf.hcs" + - \ No newline at end of file