Code Monkey home page Code Monkey logo

awtk-aworks-rt1052's Introduction

Welcome to GitHub Pages

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.

Markdown

Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for

Syntax highlighted code block

# Header 1
## Header 2
### Header 3

- Bulleted
- List

1. Numbered
2. List

**Bold** and _Italic_ and `Code` text

[Link](url) and ![Image](src)

For more details see GitHub Flavored Markdown.

Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your repository settings. The name of this theme is saved in the Jekyll _config.yml configuration file.

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

awtk-aworks-rt1052's People

Contributors

soyzhct avatar xianjimli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awtk-aworks-rt1052's Issues

fatal error: aw_prj_params.h: No such file or directory

按照README里面的操作,图像引擎是cairo,Eclipse下编译时报错如下:
make all
Building file: ../awtk/src/xml/xml_builder.c
Invoking: Cross GCC Compiler
arm-none-eabi-gcc -DHAS_AWTK_CONFIG -I"/home/kevin/mywork/awtk/awtk/src" -I"/home/kevin/mywork/awtk/awtk/3rd" -I"/home/kevin/mywork/awtk/awtk/3rd/cairo" -I"/home/kevin/mywork/awtk/awtk/3rd/pixman" -I"/home/kevin/mywork/awtk/awtk/src/ext_widgets" -I"/home/kevin/mywork/awtk/awtk/3rd/gpinyin/include" -I"/home/kevin/mywork/awtk/awtk/3rd/libunibreak" -I"/home/kevin/mywork/awtk/awtk-port" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"awtk/src/xml/xml_builder.d" -MT"awtk/src/xml/xml_builder.o" -o "awtk/src/xml/xml_builder.o" "../awtk/src/xml/xml_builder.c"
In file included from /home/kevin/mywork/awtk/awtk/src/tkc/types_def.h:38,
from /home/kevin/mywork/awtk/awtk/src/xml/xml_builder.h:22,
from ../awtk/src/xml/xml_builder.c:22:
/home/kevin/mywork/awtk/awtk-port/awtk_config.h:106:12: fatal error: aw_prj_params.h: No such file or directory
106 | #include "aw_prj_params.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [awtk/src/xml/xml_builder.o] Error 1
awtk/src/xml/subdir.mk:21: recipe for target 'awtk/src/xml/xml_builder.o' failed

Keil(ARMCC)环境下math库效率低的问题

编译器都在O3,打开硬浮点的情况下
测试同一段调用math函数的运算,GCC比ARMCC快一倍左右
测试同一段纯数学运算,GCC与ARMCC效率差不多

这样会导致awtk在keil环境使用时,部分动态界面会比eclipse版本慢10fps左右
这个问题目前还没有想到什么办法解决

测试代码

uint32_t stime = time_now_ms();
for (int i = 0; i < 100000; i++) {
  __res = __res + powf(roundf((float)i * lcd_w / lcd_h + lcd_w - lcd_h), 2) + powf(i, 2);
  //__res = __res + (float)i * lcd_w / lcd_h + lcd_w - lcd_h + (i * i);
}
__dtime = time_now_ms() - stime;

请教EasyARM-RT1052调试出错问题

一、开发环境
1、eclipse为eclipse_neon_2016q3_x86,SDK软件包为aworks_m105x_sdk_1.0.3-alpha;
2、参考手册:【入门指南】EasyARM RT1052 SDK 快速入门文档 eclipse V1.0.0及【用户手册】EasyARM RT1052 SDK 用户参考手册 V1.0.0;
3、完全按手册操作。
二、调试时遇到的问题如下:
1、初次在SDRAM中下载并调试easy_arm_rt1052_debug时,正常,led灯每隔500ms闪烁。
2、将500ms改为2000ms或其它,编译正常,下载调试时会报错:No source available for "0x201414",但led灯可以按2000ms闪烁;
3、按用户手册第4章测试examples中的led示例,下载调试时会出错,程序无法正常运行。且无法会使用串口0进行调试(串口连接正常)。错误提示:
_wfi_start() at imx105x_cpu_idle.S:29 0x80003288,具体如下:
can't find a source file at
"D\MultiRunner\builds\9e1b3274\0\aworks2\aw_imxrt105x/source\cpu\imx1050\source/imx105x_cpu_idle.s"

RT1052 工程学习编译问题

@xianjimli
学习这个工程的时候遇到一些问题,请帮解答一下,不胜感激。

  1. 进入 Eclipse,导入并选中 AWorks 工程,在如下两个地方添加宏: 这个 AWorks 工程在哪儿可以下载?

  2. 运行 build_lib.py 出错

 python build_lib.py
Traceback (most recent call last):
  File "build_lib.py", line 62, in <module>
    main();
  File "build_lib.py", line 30, in main
    p_gcc = subprocess.Popen(scons_gcc_cmd)
  File "C:\Python27\lib\subprocess.py", line 394, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 644, in _execute_child
    startupinfo)
WindowsError: [Error 2]

  1. 为什么 存在两种编译器?
GCC_PATH = r"D:\eclipse_neon_2016q3_x86\GNU Tools ARM Embedded\2016q3\bin;"
ARMCC_PATH = r"C:\Keil_v5\ARM\ARMCC\bin;"
  1. scons.bat文件在哪儿?
    scons_gcc_cmd = []
    scons_gcc_cmd.append('scons.bat')
    scons_gcc_cmd.append('COMPILER_TOOLS=gcc')
    scons_gcc_cmd.append('AWTK_LIB_NAME=' + AWTK_GCC_LIB_NAME)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.