Commit Graph

6765 Commits

Author SHA1 Message Date
青杠 a99f20706f add backlight/button/lcd/uvoice/unzip test cases 2023-07-04 14:49:36 +08:00
Yilu Mao beed5e1d9b Add testcases for interface check 2023-06-26 11:24:37 +08:00
Yilu Mao 06e7107ecc Fix potential overflow issue
"tjAlloc()" uses "malloc()" which takes a "size_t" number of bytes (an
unsigned integer).

However,"tjAlloc()" itself takes the number of bytes as a signed integer.
So the width * height * tjPixelSize[pixelfmt] may overflow and become a
negative integer.

Fix by checking it and change to use malloc directly.

Change-Id: Ia69e37f66c6674c1201c06df8e35d8877ae081cd
Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2023-06-07 14:54:58 +08:00
Yilu Mao 04af12abe3 Don't suggest to put the sensitive info into code 2023-06-07 14:54:58 +08:00
Yilu Mao d7f0baca8b Add time.h to fix build issue
Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2023-05-06 17:35:53 +08:00
Yilu Mao cfc372f9bb Use only AOS_COMP_WIFI macro
1. Clean the old NET_WITH_WIFI macro;
2. Clear the wifi dependency;
3. remove the debug command which is not supported;

Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2023-05-06 15:12:54 +08:00
Yilu Mao e5e4260450 Clear wifi dependency
Clean the posix dependency.

Change-Id: If7072b492f4445e0ea3742a89ed592b221dcf6f8
Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2023-05-06 10:41:39 +08:00
Yilu Mao 05185348de Clear core/base dependency
Clean the posix dependency.
2023-05-06 10:32:04 +08:00
Yilu Mao 53c2787a09 Clean cli dependencies
Cli doesn't depend on littlefs and posix, clean them.  And make the
other code better.

Change-Id: I14128bc2f3451cd8f97f4fde642d68759e31bd51
Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2023-05-06 10:03:23 +08:00
Pikachu 294d955dae Update mux_i2c.c
[HUST CSE]除了开头的haas_mux_i2c_init函数返回了ret,其它的函数均没有返回值,修改增加了返回值
2023-05-04 18:33:54 +08:00
kbfcy e5e88fc92f Fix printf type mismatch 2023-05-04 11:15:40 +08:00
Arche a1aefd6645 [HUST CSE]Fix printf type mismatch 2023-04-21 16:06:11 +08:00
zkf0 d7358cd5e5 Add two if sentences about result_start. 2023-04-20 15:14:14 +08:00
Yilu Mao 5a9359ce4c list all waiting tasks in debug command, fixes #1961
Before this patch, only the first waiting task will be listed in debug
command.
Now add the feature to list all waiting tasks for
sem/mutex/buf_queue/queue.
2023-01-05 15:29:06 +08:00
Yilu Mao 8a1a486b1d delete not clear part in RFID document, fixes #1955
In the solution rfid_demo, the documentation about the RFID is
not clear enough. So directly using a better documentation instead
of writing it.

Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2022-11-29 16:44:11 +08:00
shichang 2795003e32 Porting for stm32u5 chip and stm32u5_b_u585i_iot02a board
suppport micro_speech for stm32u5

add README.md for stm32u5 series

add components/cmsis

add LICENSE
2022-10-29 13:09:58 +08:00
Yilu Mao 3d4d627ebb delete not clear part, fixes #1948
In the solution flower_demo, the documentation about the sensor DHT11 is
not clear enough.  So directly using a better documentation in CSDN
instead of writing it.

Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2022-10-14 11:25:15 +08:00
niiutuut 85f0930be1 添加17个haas506趣味案例 2022-08-22 19:00:35 +08:00
niiutuut eb10e967ca 添加RTU快速开始 2022-08-22 19:00:34 +08:00
福明 9f28ce17c5 IssueID:1919:Enable ADC CSI driver on HaaS200
[Detail]
Enable ADC CSI driver on HaaS200.

[Verified Cases]
Build Pass: helloworld_demo@haas200
Test Pass: helloworld_demo@haas200
2022-08-22 19:00:34 +08:00
福明 8f9f2300af IssueID:1919:improve PWM and ADC driver framework
[Detail]
Improve PWM driver framework.
Improve ADC driver framework.
New VFS support.
Userspace support.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:34 +08:00
福明 21139e91fd IssueID:1911:Remove old flash device driver framework
[Detail]
Remove old flash device driver framework.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:33 +08:00
福明 d5f2f1fa9f IssueID:1915:Improve UART driver development document
[Detail]
Fix some spelling mistakes.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:33 +08:00
Yilu Mao 86a93af409 refine documentation for cloud AI solution, fixes #1923
Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
Change-Id: I0000e8f8b6fab1dd8f41554548b21ac975d82d8b
2022-08-22 19:00:33 +08:00
福明 fff5439a2d IssueID:1909:New RTC device driver framework
[Detail]
New RTC device driver framework.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:33 +08:00
yinsuo.mys fa1cf94cbe change wifi info, support const of wifi auth mode
This is also to fix the build issue
2022-08-22 19:00:32 +08:00
yinsuo.mys f4adcc66d8 support wifi scan operation for haas python
This is to fix the build issue in mainstream.

Signed-off-by: Yilu Mao <yilu.myl@alibaba-inc.com>
2022-08-22 19:00:32 +08:00
福明 0ac264d8ba IssueID:1901:LittleFS and KV switch to new flash API
[Detail]
LittleFS and KV switch to new flash API.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:32 +08:00
ethan.lcz 9774a5ea15 add fingerprint lock example's code
Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:32 +08:00
ethan.lcz 6685fd22e3 use xxx to replace ssid/password info
Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:31 +08:00
ethan.lcz af7acfa5c8 add uilite demos for HaaS EDU K1 and M5StackCore2
Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:31 +08:00
ethan.lcz 1b5dee13dd add more examples for HaaS Python
Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:31 +08:00
ethan.lcz 00e94bb142 1. add IoTStudio domain management SOP
2. add document and driver for more sensors
3. add startup for STM32 COLUMBUS
4. add modem API

Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:30 +08:00
ethan.lcz 63a53c3e31 add README for HaaS Python Eco boards
Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:30 +08:00
ethan.lcz 6b224bed2b remove useless log
Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:29 +08:00
ethanlcz d2147a2a6a modify rel_3.3.0 to master
modify rel_3.3.0 to master
2022-08-22 19:00:29 +08:00
ethanlcz 194833d0cb modify dev_aos to master
modify dev_aos to master
2022-08-22 19:00:29 +08:00
ethanlcz 4ce225bc39 change dev_aos to master
change dev_aos to master
2022-08-22 19:00:28 +08:00
ethanlcz a3e4fb3c8f change dev_aos to master 2022-08-22 19:00:28 +08:00
ethan.lcz a574f47cd3 1. add ucamera for HaaS EDU K1
2. i2c driver enhancement

Signed-off-by: ethan.lcz <ethan.lcz@alibaba-inc.com>
2022-08-22 19:00:27 +08:00
wzhiyuan-nit 003aee2397 BugID:1877:Add the source code of electronic barometer.
[Detail]
Issue description:

Rootcause:

Solution:

Requirement description:

Solution:

[Verified Cases]
Build Pass: <solution list>
Test Pass: <test case list>

Signed-off-by: wzhiyuan-nit <wuming.wzy@alibaba-inc.com>
2022-08-22 19:00:26 +08:00
wzhiyuan-nit b4e215f9c6 BugID:1865:Add the source code of fruit scale.
[Detail]
Issue description:

Rootcause:

Solution:

Requirement description:

Solution:

[Verified Cases]
Build Pass: <solution list>
Test Pass: <test case list>

Signed-off-by: wzhiyuan-nit <wuming.wzy@alibaba-inc.com>
2022-08-22 19:00:26 +08:00
jinouxiang.jox a2277b8b6d BugID: #1872:Add color sorter demo
[Detail]
Requirement description:
When objects of different colors are mixed together, separate them according to their colors is difficult.
Solution:
Based on esp32 board,we use tcs34725 color sensor to sort different color and we can see the statistic data on web application.

[Verified Cases]
Build Pass: py_engine_esp32_demo
Test Pass: esp32 demo
2022-08-22 19:00:25 +08:00
wzhiyuan-nit d390688629 BugID:1844:Add the source code of esp32 worst-case.
[Detail]
Issue description:

Rootcause:

Solution:

Requirement description:

Solution:

[Verified Cases]
Build Pass: <solution list>
Test Pass: <test case list>

Signed-off-by: wzhiyuan-nit <wuming.wzy@alibaba-inc.com>
2022-08-22 19:00:24 +08:00
福明 b59e5f9178 IssueID:1864:improve I2C driver framework
[Detail]
Improve I2C driver framework.
New VFS support.
Userspace support.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:24 +08:00
wusheng.tws 6cbee4a819 IssueID:1829:add drv8833、paj7620、ds1302 sensor driver.
[Detail]
add new sensor driver

[Verified Cases]
Build Pass: <none>
Test Pass: <none>

Signed-off-by: wusheng.tws <wusheng.tws@alibaba-inc.com>
2022-08-22 19:00:24 +08:00
福明 90a6edb590 IssueID:1863:improve SPI driver framework
[Detail]
Improve SPI driver framework.
New VFS support.
Userspace support.

[Verified Cases]
Build Pass: helloworld_demo@haaseduk1
Test Pass: helloworld_demo@haaseduk1
2022-08-22 19:00:24 +08:00
福明 6dafeade80 IssueID:1866:设备驱动对VFS的适配层
[Detail]
提供通过VFS访问设备驱动的能力。

[Verified Cases]
Build Pass: eduk1_demo
Test Pass: eduk1_demo
2022-08-22 19:00:23 +08:00
福明 aa40dcdbc4 IssueID:1859:new watchdog driver framework
[Detail]
New watchdog driver framework.
New VFS support.
Userspace support.

[Verified Cases]
Build Pass: <helloworld_demo@haaseduk1>
Test Pass: <helloworld_demo@haaseduk1>
2022-08-22 19:00:23 +08:00
福明 03a8619c85 IssueID:1834:Add driver lib for DDS5188 power meter
[Detail]
Add driver lib and doc for DDS5188 power meter.

[Verified Cases]
Build Pass: py_engine_esp32_demo@nodemcu32s
Test Pass: py_engine_esp32_demo@nodemcu32s
2022-08-22 19:00:23 +08:00