├── beken378 ├── rttos │ ├── include │ │ ├── os_clock.h │ │ ├── FreeRTOS.h │ │ ├── sys_rtos.h │ │ ├── task.h │ │ └── target_util_pub.h │ └── source │ │ └── port.c ├── func │ ├── joint_up │ │ └── reconnect_startup.c │ ├── lwip_intf │ │ └── lwip-2.0.2 │ │ │ ├── test │ │ │ ├── fuzz │ │ │ │ └── config.h │ │ │ └── unit │ │ │ │ ├── tcp │ │ │ │ ├── test_tcp.h │ │ │ │ └── test_tcp_oos.h │ │ │ │ ├── udp │ │ │ │ └── test_udp.h │ │ │ │ ├── core │ │ │ │ ├── test_mem.h │ │ │ │ └── test_pbuf.h │ │ │ │ ├── dhcp │ │ │ │ └── test_dhcp.h │ │ │ │ ├── mdns │ │ │ │ └── test_mdns.h │ │ │ │ └── etharp │ │ │ │ └── test_etharp.h │ │ │ ├── doc │ │ │ └── doxygen │ │ │ │ ├── generate.bat │ │ │ │ ├── generate.sh │ │ │ │ └── output │ │ │ │ └── index.html │ │ │ ├── .gitattributes │ │ │ ├── src │ │ │ ├── apps │ │ │ │ └── httpd │ │ │ │ │ └── fs │ │ │ │ │ └── img │ │ │ │ │ └── sics.gif │ │ │ └── include │ │ │ │ ├── lwip │ │ │ │ └── apps │ │ │ │ │ └── FILES │ │ │ │ └── netif │ │ │ │ └── etharp.h │ │ │ ├── FILES │ │ │ └── port │ │ │ ├── ethernetif.h │ │ │ └── lwip_intf.h │ ├── bk7011_cal │ │ ├── bk7011_cal.c │ │ ├── bk7221U_cal.h │ │ ├── bk7231U_cal.h │ │ ├── bk7231_cal.h │ │ └── bk7011_cal.h │ ├── fatfs │ │ ├── ff.c │ │ ├── ff.h │ │ ├── ffconf.h │ │ ├── disk_io.c │ │ ├── playmode.c │ │ ├── app_fs.h │ │ └── test_fatfs.c │ ├── include │ │ ├── manual_ps_pub.h │ │ ├── music_msg_pub.h │ │ ├── schedule_pub.h │ │ ├── ump3_pub.h │ │ ├── pseudo_random_pub.h │ │ ├── app_music_pub.h │ │ ├── target_util_pub.h │ │ ├── fusb_pub.h │ │ ├── driver_codec_es8374_pub.h │ │ └── func_pub.h │ ├── music_player │ │ ├── app_music.c │ │ ├── app_music.h │ │ ├── fs_fat │ │ │ ├── ff.h │ │ │ ├── ffconf.h │ │ │ ├── playmode.c │ │ │ └── playmode_pub.h │ │ └── Mp3Lib │ │ │ └── mp3_play.c │ ├── spidma_intf │ │ ├── spidma_intf.h │ │ └── spidma_intf_pub.h │ ├── camera_intf │ │ ├── camera_intf.h │ │ └── camera_intf_pub.h │ ├── sd_music │ │ └── sdcard_test.h │ ├── misc │ │ └── pseudo_random.c │ ├── power_save │ │ └── manual_ps.h │ ├── hostapd-2.5 │ │ ├── bk_patch │ │ │ └── signal.c │ │ ├── src │ │ │ ├── common │ │ │ │ └── version.h │ │ │ └── ap │ │ │ │ └── authsrv.h │ │ └── hostapd │ │ │ └── hostapd_cfg.h │ ├── vad │ │ ├── SConscript │ │ └── vad_core.h │ ├── ethernet_intf │ │ └── ethernet_intf.h │ ├── voice_transfer │ │ └── voice_transfer.h │ ├── key_handle │ │ └── key_handle.h │ ├── udisk_mp3 │ │ └── ump3.h │ └── hostapd_intf │ │ └── hostapd_intf.h ├── driver │ ├── ble │ │ └── rw_ble │ │ │ ├── plf │ │ │ └── refip │ │ │ │ └── src │ │ │ │ ├── bim │ │ │ │ ├── bim_app.h │ │ │ │ └── bim_com.h │ │ │ │ ├── driver │ │ │ │ ├── ir │ │ │ │ │ └── ir.h │ │ │ │ └── adc │ │ │ │ │ └── adc.h │ │ │ │ ├── rom │ │ │ │ └── hci │ │ │ │ │ └── BK_HCI_Protocol.h │ │ │ │ └── arch │ │ │ │ └── ll │ │ │ │ └── ll.s │ │ │ ├── ip │ │ │ ├── ble │ │ │ │ ├── hl │ │ │ │ │ └── src │ │ │ │ │ │ └── gap │ │ │ │ │ │ └── gapc │ │ │ │ │ │ ├── TFX15EB.tmp │ │ │ │ │ │ ├── TFX180.tmp │ │ │ │ │ │ ├── TFX25A5.tmp │ │ │ │ │ │ └── TFX3B09.tmp │ │ │ │ ├── profiles │ │ │ │ │ └── oad │ │ │ │ │ │ └── api │ │ │ │ │ │ └── oads.h │ │ │ │ └── ll │ │ │ │ │ └── import │ │ │ │ │ └── reg │ │ │ │ │ ├── audio │ │ │ │ │ ├── RW-BLE-CORE-EM.xls │ │ │ │ │ └── RW-BLE-CORE-REG.xls │ │ │ │ │ └── legacy │ │ │ │ │ ├── RW-BLE-CORE-EM.xls │ │ │ │ │ └── RW-BLE-CORE-REG.xls │ │ │ └── em │ │ │ │ └── import │ │ │ │ └── RW-CORE-EM.xls │ │ │ └── modules │ │ │ ├── app │ │ │ └── src │ │ │ │ └── app_key.h │ │ │ ├── h4tl │ │ │ └── sourcelist.txt │ │ │ └── nvds │ │ │ └── sourcelist.txt │ ├── usb │ │ └── src │ │ │ ├── cd │ │ │ ├── mu_drc.c │ │ │ ├── mu_fdr.c │ │ │ ├── mu_fun.c │ │ │ ├── mu_hst.c │ │ │ └── mu_cntlr.c │ │ │ ├── drivers │ │ │ └── msd │ │ │ │ ├── mu_mapi.c │ │ │ │ ├── mu_mbot.c │ │ │ │ └── mu_mscsi.c │ │ │ └── hid │ │ │ └── usb_hid.h │ ├── include │ │ ├── rc_beken_pub.h │ │ ├── driver_pub.h │ │ ├── security_pub.h │ │ └── driver_codec_es8374_pub.h │ ├── codec │ │ └── driver_codec_es8374.h │ ├── rw_pub │ │ └── rw_platf_pub.h │ ├── common │ │ └── reg │ │ │ ├── _reg_agc.h │ │ │ ├── _reg_dma.h │ │ │ ├── _reg_mac_pl.h │ │ │ ├── _reg_intc.h │ │ │ ├── _reg_rc.h │ │ │ ├── _reg_mac_core.h │ │ │ ├── _reg_mdm_stat.h │ │ │ ├── _reg_la.h │ │ │ └── _reg_mdm_cfg.h │ ├── SConscript │ ├── entry │ │ └── ll.S │ └── spi │ │ ├── spi_psram.h │ │ └── spi_flash.h ├── app │ ├── ftp │ │ └── vfs.h │ ├── net_work │ │ ├── app_drone.h │ │ ├── app_lwip_udp.h │ │ ├── app_lwip_tcp.h │ │ ├── app_lwip_tcp.c │ │ ├── app_lwip_udp.c │ │ └── app_drone.c │ ├── airkiss │ │ └── airkiss.c │ ├── app_demo │ │ ├── app_demo_tcp.h │ │ ├── app_video_intf.h │ │ └── app_demo_udp.h │ ├── config │ │ └── sys_version.h │ ├── led │ │ └── app_led.h │ └── standalone-ap │ │ └── sa_ap.h ├── os │ └── include │ │ └── sys_rtos.h └── common │ └── include.h ├── applications ├── romfs │ └── hello.txt └── http_api │ ├── http_api.h │ ├── SConscript │ └── http_api.c ├── encrypt.bat ├── packages ├── netutils │ ├── iperf │ │ ├── README.md │ │ └── SConscript │ ├── ping │ │ ├── README.md │ │ └── SConscript │ ├── images │ │ ├── tftpd_cfg.png │ │ ├── tftpd_get.png │ │ ├── tftpd_put.png │ │ ├── netio_tested.png │ │ ├── telnet_connected.png │ │ └── telnet_connect_cfg.png │ ├── tools │ │ ├── iperf-3.1.3-win32.zip │ │ └── iperf-3.1.3-win64.zip │ ├── ntp │ │ └── SConscript │ ├── netio │ │ └── SConscript │ ├── telnet │ │ └── SConscript │ ├── tftp │ │ └── SConscript │ └── SConscript ├── EasyFlash │ ├── docs │ │ ├── en │ │ │ ├── api.md │ │ │ ├── images │ │ │ │ ├── EnvDemo.gif │ │ │ │ ├── IapDemo.gif │ │ │ │ └── LogDemo.gif │ │ │ └── readme.md │ │ ├── zh │ │ │ ├── images │ │ │ │ ├── EnvDemo.gif │ │ │ │ ├── IapDemo.gif │ │ │ │ ├── LogDemo.gif │ │ │ │ └── BackupAreaPartition.jpg │ │ │ └── readme.md │ │ └── readme.md │ └── SConscript ├── mbedtls │ ├── mbedtls │ │ ├── tests │ │ │ ├── data_files │ │ │ │ ├── hash_file_4 │ │ │ │ ├── .gitignore │ │ │ │ ├── passwd.psk │ │ │ │ ├── dir3 │ │ │ │ │ └── Readme │ │ │ │ ├── ec_pub.der │ │ │ │ ├── hash_file_1 │ │ │ │ ├── hash_file_2 │ │ │ │ ├── hash_file_3 │ │ │ │ ├── ec_prv.noopt.der │ │ │ │ ├── ec_prv.pk8.der │ │ │ │ ├── ec_prv.sec1.der │ │ │ │ ├── server5-der0.crt │ │ │ │ ├── server5-der2.crt │ │ │ │ ├── server5-der4.crt │ │ │ │ ├── server5-der8.crt │ │ │ │ ├── server5-der9.crt │ │ │ │ ├── ec_prv.pk8.pw.der │ │ │ │ ├── ec_prv.specdom.der │ │ │ │ ├── format_pkcs12.fmt │ │ │ │ ├── server5-der1a.crt │ │ │ │ ├── server5-der1b.crt │ │ │ │ ├── pkcs8_pbe_sha1_3des.der │ │ │ │ ├── cli.opensslconf │ │ │ │ ├── dir-maxpath │ │ │ │ │ ├── int.opensslconf │ │ │ │ │ ├── 00.key │ │ │ │ │ ├── 01.key │ │ │ │ │ ├── 02.key │ │ │ │ │ ├── 03.key │ │ │ │ │ ├── 04.key │ │ │ │ │ ├── 05.key │ │ │ │ │ ├── 06.key │ │ │ │ │ ├── 07.key │ │ │ │ │ ├── 08.key │ │ │ │ │ ├── 09.key │ │ │ │ │ ├── 10.key │ │ │ │ │ ├── 11.key │ │ │ │ │ ├── 12.key │ │ │ │ │ ├── 13.key │ │ │ │ │ ├── 14.key │ │ │ │ │ ├── 15.key │ │ │ │ │ ├── 16.key │ │ │ │ │ ├── 17.key │ │ │ │ │ ├── 18.key │ │ │ │ │ ├── 19.key │ │ │ │ │ ├── 20.key │ │ │ │ │ └── Readme.txt │ │ │ │ ├── pkcs8_pbes2_pbkdf2_3des.der │ │ │ │ ├── ec_pub.pem │ │ │ │ ├── ec_224_pub.pem │ │ │ │ ├── ec_256_pub.pem │ │ │ │ ├── ec_bp256_pub.pem │ │ │ │ ├── server3.key │ │ │ │ ├── ec_prv.sec1.pem │ │ │ │ ├── mpi_10 │ │ │ │ ├── ec_224_prv.pem │ │ │ │ ├── ec_prv.pk8.pem │ │ │ │ ├── ec_384_pub.pem │ │ │ │ ├── cli2.key │ │ │ │ ├── ec_256_prv.pem │ │ │ │ ├── ec_bp384_pub.pem │ │ │ │ ├── server10.key │ │ │ │ ├── server5.key │ │ │ │ ├── server6.key │ │ │ │ ├── server7.key │ │ │ │ ├── ec_bp256_prv.pem │ │ │ │ ├── dhparams.pem │ │ │ │ ├── ec_521_pub.pem │ │ │ │ ├── ec_bp512_pub.pem │ │ │ │ ├── format_gen.pub │ │ │ │ ├── ec_prv.sec1.pw.pem │ │ │ │ ├── ec_prv.pk8.pw.pem │ │ │ │ ├── test-ca2.key │ │ │ │ ├── ec_384_prv.pem │ │ │ │ ├── test-int-ca2.key │ │ │ │ ├── ec_bp384_prv.pem │ │ │ │ ├── test-ca.opensslconf │ │ │ │ ├── test-int-ca3.key │ │ │ │ ├── ec_521_prv.pem │ │ │ │ └── ec_bp512_prv.pem │ │ │ ├── suites │ │ │ │ ├── test_suite_timing.data │ │ │ │ └── test_suite_timing.function │ │ │ └── .gitignore │ │ ├── yotta │ │ │ └── .gitignore │ │ ├── library │ │ │ └── .gitignore │ │ ├── include │ │ │ ├── .gitignore │ │ │ └── CMakeLists.txt │ │ ├── scripts │ │ │ ├── rm-malloc-cast.cocci │ │ │ └── find-mem-leak.cocci │ │ ├── DartConfiguration.tcl │ │ ├── LICENSE │ │ └── programs │ │ │ ├── CMakeLists.txt │ │ │ ├── pkey │ │ │ └── rsa_pub.txt │ │ │ ├── hash │ │ │ └── CMakeLists.txt │ │ │ ├── aes │ │ │ └── CMakeLists.txt │ │ │ └── util │ │ │ └── CMakeLists.txt │ ├── .gitmodules │ └── docs │ │ └── image │ │ └── mbedtls.jpg ├── zlib │ ├── zlib │ │ ├── contrib │ │ │ ├── blast │ │ │ │ ├── test.txt │ │ │ │ ├── README │ │ │ │ ├── test.pk │ │ │ │ └── Makefile │ │ │ ├── infback9 │ │ │ │ └── README │ │ │ ├── masmx64 │ │ │ │ └── bld_ml64.bat │ │ │ ├── puff │ │ │ │ └── zeros.raw │ │ │ ├── masmx86 │ │ │ │ └── bld_ml32.bat │ │ │ ├── dotzlib │ │ │ │ ├── DotZLib.chm │ │ │ │ └── DotZLib │ │ │ │ │ ├── DotZLib.cs │ │ │ │ │ ├── CodecBase.cs │ │ │ │ │ ├── Deflater.cs │ │ │ │ │ ├── Inflater.cs │ │ │ │ │ ├── ChecksumImpl.cs │ │ │ │ │ ├── GZipStream.cs │ │ │ │ │ └── CircularBuffer.cs │ │ │ ├── minizip │ │ │ │ ├── MiniZip64_Changes.txt │ │ │ │ └── minizip.pc.in │ │ │ ├── delphi │ │ │ │ └── ZLibConst.pas │ │ │ ├── testzlib │ │ │ │ └── testzlib.txt │ │ │ └── untgz │ │ │ │ ├── Makefile │ │ │ │ └── Makefile.msc │ │ ├── zlib.3.pdf │ │ ├── Makefile │ │ ├── old │ │ │ └── README │ │ ├── win32 │ │ │ └── VisualC.txt │ │ ├── nintendods │ │ │ └── README │ │ ├── zlib.pc.in │ │ ├── .gitignore │ │ └── zlib.pc.cmakein │ ├── README.md │ ├── .gitmodules │ └── SConscript ├── webnet │ └── README.md ├── cJSON │ ├── README.md │ └── SConscript ├── tinycrypt │ ├── README.md │ └── SConscript ├── quicklz │ ├── doc │ │ └── image │ │ │ └── QuickLZ.jpg │ └── SConscript ├── fal │ ├── docs │ │ └── figures │ │ │ └── fal_framework.png │ └── samples │ │ └── README.md ├── webclient │ ├── docs │ │ ├── figures │ │ │ ├── request.jpg │ │ │ ├── principle.jpg │ │ │ ├── response.jpg │ │ │ └── webclient_cfg.jpg │ │ └── version.md │ └── SConscript ├── rt_ota │ ├── ports │ │ ├── beken │ │ │ └── rt_ota_key_port.c │ │ ├── stm32f2 │ │ │ └── rt_ota_key_port.c │ │ └── temp │ │ │ └── rt_ota_key_port.c │ ├── docs │ │ └── README.md │ └── SConscript ├── lssdp-latest │ └── docs │ │ └── figures │ │ ├── 1557565323474.png │ │ ├── 1557571616388.png │ │ └── 1557571840845.png ├── pahomqtt │ └── doc │ │ └── image │ │ └── paho-mqtt-menuconfig.png ├── ezXML │ └── SConscript ├── SConscript ├── littlefs-v2.1.1 │ └── SConscript └── TJpgDec │ └── SConscript ├── rt-thread ├── components │ ├── libc │ │ ├── compilers │ │ │ ├── dlib │ │ │ │ ├── fcntl.h │ │ │ │ ├── sys │ │ │ │ │ ├── stat.h │ │ │ │ │ ├── README.md │ │ │ │ │ ├── errno.h │ │ │ │ │ └── types.h │ │ │ │ ├── unistd.h │ │ │ │ ├── README.md │ │ │ │ └── termios.h │ │ │ ├── armlibc │ │ │ │ ├── sys │ │ │ │ │ ├── stat.h │ │ │ │ │ ├── README.md │ │ │ │ │ ├── errno.h │ │ │ │ │ └── types.h │ │ │ │ ├── unistd.h │ │ │ │ ├── fcntl.h │ │ │ │ └── termios.h │ │ │ ├── newlib │ │ │ │ ├── sys │ │ │ │ │ ├── termios.h │ │ │ │ │ └── statfs.h │ │ │ │ └── termios.h │ │ │ ├── minilibc │ │ │ │ ├── inttypes.h │ │ │ │ ├── stddef.h │ │ │ │ ├── math.h │ │ │ │ └── stdio.h │ │ │ └── SConscript │ │ ├── pthreads │ │ │ └── SConscript │ │ ├── time │ │ │ ├── SConscript │ │ │ └── posix_sleep.c │ │ ├── aio │ │ │ └── SConscript │ │ ├── mmap │ │ │ └── SConscript │ │ ├── signal │ │ │ └── SConscript │ │ ├── termios │ │ │ └── SConscript │ │ ├── libdl │ │ │ └── SConscript │ │ └── SConscript │ ├── net │ │ ├── lwip-2.0.2 │ │ │ ├── test │ │ │ │ ├── fuzz │ │ │ │ │ └── config.h │ │ │ │ └── unit │ │ │ │ │ ├── core │ │ │ │ │ ├── test_mem.h │ │ │ │ │ └── test_pbuf.h │ │ │ │ │ ├── tcp │ │ │ │ │ ├── test_tcp.h │ │ │ │ │ └── test_tcp_oos.h │ │ │ │ │ ├── udp │ │ │ │ │ └── test_udp.h │ │ │ │ │ ├── dhcp │ │ │ │ │ └── test_dhcp.h │ │ │ │ │ ├── mdns │ │ │ │ │ └── test_mdns.h │ │ │ │ │ └── etharp │ │ │ │ │ └── test_etharp.h │ │ │ ├── doc │ │ │ │ ├── doxygen │ │ │ │ │ ├── generate.bat │ │ │ │ │ ├── generate.sh │ │ │ │ │ └── output │ │ │ │ │ │ └── index.html │ │ │ │ └── doxygen_docs.zip │ │ │ ├── src │ │ │ │ ├── apps │ │ │ │ │ ├── httpd │ │ │ │ │ │ └── fs │ │ │ │ │ │ │ └── img │ │ │ │ │ │ │ └── sics.gif │ │ │ │ │ └── README.md │ │ │ │ ├── include │ │ │ │ │ ├── lwip │ │ │ │ │ │ └── apps │ │ │ │ │ │ │ └── FILES │ │ │ │ │ └── netif │ │ │ │ │ │ └── etharp.h │ │ │ │ └── lwippools.h │ │ │ ├── FILES │ │ │ └── READTEST.md │ │ ├── netutils │ │ │ ├── README.md │ │ │ └── SConscript │ │ ├── lwip_nat │ │ │ └── SConscript │ │ └── lwip_dhcpd │ │ │ └── SConscript │ ├── dfs │ │ ├── filesystems │ │ │ ├── uffs │ │ │ │ ├── AUTHORS │ │ │ │ ├── tools │ │ │ │ │ └── make_package.sh │ │ │ │ ├── doc │ │ │ │ │ ├── Understanding-UFFS.odp │ │ │ │ │ ├── Understanding-UFFS.pdf │ │ │ │ │ └── uffs-serial-num-relationship.JPG │ │ │ │ ├── TODO │ │ │ │ └── src │ │ │ │ │ └── CMakeLists.txt │ │ │ ├── jffs2 │ │ │ │ ├── kernel │ │ │ │ │ ├── linux │ │ │ │ │ │ ├── errno.h │ │ │ │ │ │ ├── init.h │ │ │ │ │ │ ├── vmalloc.h │ │ │ │ │ │ ├── mtd │ │ │ │ │ │ │ ├── mtd.h │ │ │ │ │ │ │ └── compatmac.h │ │ │ │ │ │ ├── fs.h │ │ │ │ │ │ ├── string.h │ │ │ │ │ │ ├── version.h │ │ │ │ │ │ ├── compiler.h │ │ │ │ │ │ ├── crc32.h │ │ │ │ │ │ ├── zutil.h │ │ │ │ │ │ ├── sched.h │ │ │ │ │ │ ├── types.h │ │ │ │ │ │ ├── completion.h │ │ │ │ │ │ ├── timer.h │ │ │ │ │ │ ├── config.h │ │ │ │ │ │ ├── stat.h │ │ │ │ │ │ └── slab.h │ │ │ │ │ └── asm │ │ │ │ │ │ ├── bug.h │ │ │ │ │ │ ├── atomic.h │ │ │ │ │ │ └── page.h │ │ │ │ ├── dfs_jffs2.h │ │ │ │ ├── src │ │ │ │ │ ├── dir.txt │ │ │ │ │ ├── histo_mips.h │ │ │ │ │ └── histo.h │ │ │ │ └── cyg │ │ │ │ │ └── compress │ │ │ │ │ ├── ChangeLog │ │ │ │ │ └── src │ │ │ │ │ └── ChangeLog │ │ │ ├── yaffs2 │ │ │ │ └── yaffs.diff │ │ │ ├── ramfs │ │ │ │ └── SConscript │ │ │ ├── devfs │ │ │ │ └── SConscript │ │ │ ├── nfs │ │ │ │ └── SConscript │ │ │ └── SConscript │ │ └── include │ │ │ └── dfs_select.h │ ├── drivers │ │ ├── ble │ │ │ ├── ble_cmd.h │ │ │ └── SConscript │ │ ├── include │ │ │ └── drivers │ │ │ │ ├── spi.h │ │ │ │ └── audio.h │ │ ├── spi │ │ │ ├── spi_flash_sfud.c │ │ │ ├── sfud │ │ │ │ └── src │ │ │ │ │ └── sfud_sfdp.c │ │ │ ├── spi_flash_at45dbxx.c │ │ │ ├── spi_flash_sst25vfxx.c │ │ │ ├── spi_flash_w25qxx_mtd.c │ │ │ └── device_driver_list.txt │ │ ├── wlan │ │ │ └── SConscript │ │ ├── audio │ │ │ └── SConscript │ │ ├── can │ │ │ └── SConscript │ │ ├── serial │ │ │ └── SConscript │ │ ├── watchdog │ │ │ └── SConscript │ │ ├── hwtimer │ │ │ └── SConscript │ │ ├── SConscript │ │ ├── usb │ │ │ └── SConscript │ │ ├── src │ │ │ └── SConscript │ │ ├── cputime │ │ │ └── SConscript │ │ └── sdio │ │ │ └── SConscript │ ├── cplusplus │ │ ├── Kconfig │ │ └── SConscript │ ├── lwp │ │ └── Kconfig │ ├── CMSIS │ │ ├── RTOS │ │ │ └── SConscript │ │ └── SConscript │ ├── utilities │ │ ├── ymodem │ │ │ └── SConscript │ │ ├── SConscript │ │ └── logtrace │ │ │ └── SConscript │ ├── gdb │ │ └── libcpu │ │ │ └── cortexm │ │ │ └── gdb_handler.c │ ├── vmm │ │ ├── SConscript │ │ └── vmm_context.h │ └── SConscript ├── examples │ ├── nanopb │ │ ├── simple.options │ │ ├── simple.proto │ │ └── SConscript │ ├── file │ │ └── seekdir.c │ ├── test │ │ └── hwtimer_test.c │ ├── kernel │ │ └── timer_timeout.c │ ├── network │ │ ├── tcpsendpacket.c │ │ └── tcp_client.py │ └── libc │ │ ├── SConscript │ │ ├── env.c │ │ └── time.c ├── Kconfig ├── tools │ ├── kconfig-frontends │ │ ├── .version │ │ └── libs │ │ │ └── parser │ │ │ └── kconfig-parser.pc.in │ └── as.sh ├── documentation │ └── doxygen │ │ ├── dfs.png │ │ ├── finsh.png │ │ ├── System_Arch.png │ │ ├── Kernel_Object.png │ │ ├── rtthread_logo.png │ │ └── Thread_Scheduler.png ├── include │ └── libc │ │ └── libc_dirent.h └── .gitignore ├── test ├── Kconfig ├── ascii.h ├── display_ch.c └── SConscript ├── components ├── codec │ ├── lib_speex │ │ ├── include │ │ │ ├── Makefile.am │ │ │ └── speex │ │ │ │ ├── speex_config_types.h │ │ │ │ ├── speex_config_types.h.in │ │ │ │ ├── speexdsp_config_types.h.in │ │ │ │ └── Makefile.am │ │ └── SConscript │ ├── lib_helix_mp3 │ │ ├── pub │ │ │ └── RCSL.txt │ │ └── codec_helixmp3.h │ ├── lib_opencore_amr │ │ ├── codec_opencore_amr.h │ │ └── SConscript │ ├── lib_aac_decode │ │ ├── format_m4a.h │ │ └── SConscript │ ├── lib_amr_encode │ │ └── SConscript │ └── lib_opus │ │ └── SConscript ├── voice_changer │ └── vc_config.h └── player │ ├── example │ └── cmd │ │ ├── cmd_pls.c │ │ └── cmd_codec.c │ └── inc │ ├── player_init.h │ ├── codec_wav.h │ ├── format_ts.h │ ├── hls_work.h │ ├── websession_work.h │ ├── pls_work.h │ ├── codec_pcm.h │ └── data_work.h ├── rtconfig.pyc ├── rtthread.bin ├── samples ├── lcd_test │ ├── chineses_ziku │ │ ├── ReadMe │ │ └── HZLIB.bin │ └── SConscript ├── airkiss_lan │ ├── gh_21849de4fbc1_31033.jpg │ ├── weixin_config_custom.c │ └── weixin_config_custom.h ├── Mixer │ └── SConscript ├── webnet │ ├── Kconfig │ ├── SConscript │ └── cgi_mem.c ├── voice_config │ └── ChangeLog.md ├── ota │ ├── http │ │ └── SConscript │ ├── port │ │ └── SConscript │ ├── ymodem │ │ └── SConscript │ └── SConscript ├── peripheral │ ├── i2c │ │ └── SConscript │ ├── gpio │ │ └── SConscript │ ├── uart │ │ └── SConscript │ ├── Kconfig │ └── SConscript ├── airkiss │ └── SConscript ├── factory_test │ └── SConscript ├── SConscript ├── Kconfig ├── ble_config │ └── SConscript ├── rtcloud │ └── SConscript └── ayla │ └── SConscript ├── lightcube ├── lcd_ch.c └── SConscript ├── tool └── beken_packager │ ├── beken_packager.bat │ ├── ok1.bin │ ├── test.bin │ ├── Demo_OK2.bin │ ├── lfsdisk.bin │ ├── all_cam_2M_UART1.20190828.bin │ ├── all_cam_4M_UART1.20190828.bin │ ├── all_cam_4M_UART1.20200607.bin │ ├── all_cam_4M_UART1.20202233.bin │ ├── all_cam_4M_UART1.20190828 - 副本.bin │ ├── rtthread_uart_cam_2M_UART1.20190828.bin │ ├── rtthread_uart_cam_4M_UART1.20190828.bin │ ├── bootloader_7252_2M_uart1_log_20190828.bin │ ├── bootloader_7252_4M_uart1_log_20190828.bin │ ├── rtthread_uart_cam_4M_UART1.20190828的副本.bin │ └── bootloader_7252_4M_uart1_log_20190828的副本.bin ├── drivers ├── drv_sdio_sd.h ├── drv_iic.h ├── drv_pwm.h ├── drv_wdt.h ├── drv_gpio.h ├── drv_adc.h ├── drv_sys_ctrl.h ├── drv_i2s.h ├── drv_spi.h ├── audio │ └── SConscript ├── wlan │ ├── SConscript │ └── lwip_intf.h ├── drv_flash.h └── drv_spi_flash.h ├── bk7252_flash_map_2MB.xlsx ├── bk7252_flash_map_4MB.xlsx ├── docs ├── RT-Thread-romfs.pdf ├── RT-Thread-webnet.pdf ├── RT-Thread-fatdisk.pdf ├── RT-Thread-mbedtls.pdf ├── RT-Thread-paho-mqtt.pdf ├── RT-Thread-user-guide.pdf ├── RT-Thread-player-format.pdf ├── RT-Thread-player-manual.pdf ├── RT-Thread-bk7221u-release-notes.pdf └── RT-Thread-bk7221u-sdk-quick-start.pdf ├── function ├── mixer_ctrl.h └── beken_util.h ├── libcpu └── SConscript └── SConscript /beken378/rttos/include/os_clock.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /applications/romfs/hello.txt: -------------------------------------------------------------------------------- 1 | 欢迎使用 麻雀一号开发板。 -------------------------------------------------------------------------------- /beken378/func/joint_up/reconnect_startup.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /encrypt.bat: -------------------------------------------------------------------------------- 1 | encrypt.exe rtthread.bin 00000000 -------------------------------------------------------------------------------- /packages/netutils/iperf/README.md: -------------------------------------------------------------------------------- 1 | Coming soon... -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/fcntl.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/fuzz/config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/EasyFlash/docs/en/api.md: -------------------------------------------------------------------------------- 1 | # Coming soon... -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/hash_file_4: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/yotta/.gitignore: -------------------------------------------------------------------------------- 1 | module 2 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/sys/stat.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/plf/refip/src/bim/bim_app.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/blast/test.txt: -------------------------------------------------------------------------------- 1 | AIAIAIAIAIAIA -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/sys/stat.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/newlib/sys/termios.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/fuzz/config.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/Kconfig: -------------------------------------------------------------------------------- 1 | menu "Test samples" 2 | 3 | endmenu 4 | 5 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/hl/src/gap/gapc/TFX15EB.tmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/hl/src/gap/gapc/TFX180.tmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/hl/src/gap/gapc/TFX25A5.tmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/hl/src/gap/gapc/TFX3B09.tmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /components/codec/lib_speex/include/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | SUBDIRS = speex 3 | -------------------------------------------------------------------------------- /packages/webnet/README.md: -------------------------------------------------------------------------------- 1 | # webnet 2 | Web Server for RT-Thread 3 | -------------------------------------------------------------------------------- /rt-thread/examples/nanopb/simple.options: -------------------------------------------------------------------------------- 1 | SimpleMessage.name max_size:16 -------------------------------------------------------------------------------- /beken378/func/bk7011_cal/bk7011_cal.c: -------------------------------------------------------------------------------- 1 | #include "include.h" 2 | 3 | // eof 4 | -------------------------------------------------------------------------------- /packages/cJSON/README.md: -------------------------------------------------------------------------------- 1 | # cJSON 2 | Ultralightweight JSON parser in ANSI C 3 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/unistd.h: -------------------------------------------------------------------------------- 1 | #include "sys/unistd.h" 2 | -------------------------------------------------------------------------------- /rtconfig.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rtconfig.pyc -------------------------------------------------------------------------------- /rtthread.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rtthread.bin -------------------------------------------------------------------------------- /test/ascii.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/test/ascii.h -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/doc/doxygen/generate.bat: -------------------------------------------------------------------------------- 1 | doxygen lwip.Doxyfile 2 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/doc/doxygen/generate.bat: -------------------------------------------------------------------------------- 1 | doxygen lwip.Doxyfile 2 | -------------------------------------------------------------------------------- /samples/lcd_test/chineses_ziku/ReadMe: -------------------------------------------------------------------------------- 1 | 使用LCD 显示中文的时候需要把该目录下的 HZLIB.bin 文件拷贝到 TF 卡的根目录中。 -------------------------------------------------------------------------------- /lightcube/lcd_ch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/lightcube/lcd_ch.c -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/library/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | libmbed* 3 | *.sln 4 | *.vcxproj 5 | -------------------------------------------------------------------------------- /rt-thread/Kconfig: -------------------------------------------------------------------------------- 1 | source "$RTT_DIR/src/Kconfig" 2 | source "$RTT_DIR/components/Kconfig" 3 | -------------------------------------------------------------------------------- /test/display_ch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/test/display_ch.c -------------------------------------------------------------------------------- /tool/beken_packager/beken_packager.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | .\beken_packager.exe %1 3 | pause 4 | -------------------------------------------------------------------------------- /packages/tinycrypt/README.md: -------------------------------------------------------------------------------- 1 | # tinycrypt 2 | 3 | A simple and configurable crypt library 4 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/infback9/README: -------------------------------------------------------------------------------- 1 | See infback9.h for what this is and how to use it. 2 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/AUTHORS: -------------------------------------------------------------------------------- 1 | Ricky Zheng 2 | -------------------------------------------------------------------------------- /beken378/app/ftp/vfs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/app/ftp/vfs.h -------------------------------------------------------------------------------- /drivers/drv_sdio_sd.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_SDIO_SD_H__ 2 | #define __DRV_SDIO_SD_H__ 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/suites/test_suite_timing.data: -------------------------------------------------------------------------------- 1 | Timing selftest 2 | timing_selftest: 3 | -------------------------------------------------------------------------------- /beken378/func/fatfs/ff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/fatfs/ff.c -------------------------------------------------------------------------------- /beken378/func/fatfs/ff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/fatfs/ff.h -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/doc/doxygen/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | doxygen lwip.Doxyfile 4 | -------------------------------------------------------------------------------- /bk7252_flash_map_2MB.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/bk7252_flash_map_2MB.xlsx -------------------------------------------------------------------------------- /bk7252_flash_map_4MB.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/bk7252_flash_map_4MB.xlsx -------------------------------------------------------------------------------- /docs/RT-Thread-romfs.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-romfs.pdf -------------------------------------------------------------------------------- /docs/RT-Thread-webnet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-webnet.pdf -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/.gitignore: -------------------------------------------------------------------------------- 1 | cli-rsa.csr 2 | server2-rsa.csr 3 | test-ca.csr 4 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/passwd.psk: -------------------------------------------------------------------------------- 1 | Client_identity:6162636465666768696a6b6c6d6e6f70 2 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/doc/doxygen/generate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | doxygen lwip.Doxyfile 4 | -------------------------------------------------------------------------------- /beken378/app/net_work/app_drone.h: -------------------------------------------------------------------------------- 1 | #ifndef __APP_DRONE_H__ 2 | #define __APP_DRONE_H__ 3 | 4 | #endif 5 | -------------------------------------------------------------------------------- /beken378/func/fatfs/ffconf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/fatfs/ffconf.h -------------------------------------------------------------------------------- /docs/RT-Thread-fatdisk.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-fatdisk.pdf -------------------------------------------------------------------------------- /docs/RT-Thread-mbedtls.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-mbedtls.pdf -------------------------------------------------------------------------------- /docs/RT-Thread-paho-mqtt.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-paho-mqtt.pdf -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/include/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile 2 | *.sln 3 | *.vcxproj 4 | mbedtls/check_config 5 | -------------------------------------------------------------------------------- /packages/zlib/README.md: -------------------------------------------------------------------------------- 1 | # ZLIB on RT-Thread 2 | 3 | zlib is a general purpose data compression library. 4 | -------------------------------------------------------------------------------- /rt-thread/components/net/netutils/README.md: -------------------------------------------------------------------------------- 1 | Some net utils which using standard interface such as BSD Sockets. -------------------------------------------------------------------------------- /tool/beken_packager/ok1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/ok1.bin -------------------------------------------------------------------------------- /tool/beken_packager/test.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/test.bin -------------------------------------------------------------------------------- /beken378/app/airkiss/airkiss.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/app/airkiss/airkiss.c -------------------------------------------------------------------------------- /beken378/func/fatfs/disk_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/fatfs/disk_io.c -------------------------------------------------------------------------------- /beken378/func/fatfs/playmode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/fatfs/playmode.c -------------------------------------------------------------------------------- /docs/RT-Thread-user-guide.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-user-guide.pdf -------------------------------------------------------------------------------- /packages/zlib/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "zlib"] 2 | path = zlib 3 | url = https://github.com/madler/zlib.git 4 | -------------------------------------------------------------------------------- /packages/zlib/zlib/zlib.3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/zlib.3.pdf -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/sys/README.md: -------------------------------------------------------------------------------- 1 | Because IAR leaks some system header file, we put them in here. -------------------------------------------------------------------------------- /rt-thread/tools/kconfig-frontends/.version: -------------------------------------------------------------------------------- 1 | 4.11.0 a351e9b9fc24e982ec2f0e76379a49826036da12 Fearless Coyote 2 | 1 3 | -------------------------------------------------------------------------------- /beken378/func/fatfs/app_fs.h: -------------------------------------------------------------------------------- 1 | #include "ff.h" 2 | uint16 get_musicfile_count(void); 3 | FILE_INFO *get_file_info(void); -------------------------------------------------------------------------------- /beken378/func/fatfs/test_fatfs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/fatfs/test_fatfs.c -------------------------------------------------------------------------------- /docs/RT-Thread-player-format.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-player-format.pdf -------------------------------------------------------------------------------- /docs/RT-Thread-player-manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-player-manual.pdf -------------------------------------------------------------------------------- /drivers/drv_iic.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_IIC_H__ 2 | #define __DRV_IIC_H__ 3 | 4 | int iic_bus_attach(void); 5 | 6 | #endif -------------------------------------------------------------------------------- /function/mixer_ctrl.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_MIXER_H_ 2 | #define _APP_MIXER_H_ 3 | 4 | #endif // _APP_MIXER_H_ 5 | // eof 6 | -------------------------------------------------------------------------------- /packages/netutils/ping/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/ping/README.md -------------------------------------------------------------------------------- /rt-thread/components/drivers/ble/ble_cmd.h: -------------------------------------------------------------------------------- 1 | #ifndef _BLE_CMD_H_ 2 | #define _BLE_CMD_H_ 3 | 4 | #endif/*_BLE_CMD_H_*/ 5 | -------------------------------------------------------------------------------- /rt-thread/examples/file/seekdir.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/examples/file/seekdir.c -------------------------------------------------------------------------------- /tool/beken_packager/Demo_OK2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/Demo_OK2.bin -------------------------------------------------------------------------------- /tool/beken_packager/lfsdisk.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/lfsdisk.bin -------------------------------------------------------------------------------- /beken378/driver/usb/src/cd/mu_drc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/cd/mu_drc.c -------------------------------------------------------------------------------- /beken378/driver/usb/src/cd/mu_fdr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/cd/mu_fdr.c -------------------------------------------------------------------------------- /beken378/driver/usb/src/cd/mu_fun.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/cd/mu_fun.c -------------------------------------------------------------------------------- /beken378/driver/usb/src/cd/mu_hst.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/cd/mu_hst.c -------------------------------------------------------------------------------- /packages/mbedtls/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "mbedtls"] 2 | path = mbedtls 3 | url = https://github.com/ARMmbed/mbedtls.git 4 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/errno.h: -------------------------------------------------------------------------------- 1 | //#include 2 | #include "port/codes.h" //fixme 3 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/sys/README.md: -------------------------------------------------------------------------------- 1 | Because Keil MDK leaks some system header file, we put them in here. -------------------------------------------------------------------------------- /beken378/driver/usb/src/cd/mu_cntlr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/cd/mu_cntlr.c -------------------------------------------------------------------------------- /beken378/func/bk7011_cal/bk7221U_cal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/bk7011_cal/bk7221U_cal.h -------------------------------------------------------------------------------- /beken378/func/bk7011_cal/bk7231U_cal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/bk7011_cal/bk7231U_cal.h -------------------------------------------------------------------------------- /beken378/func/bk7011_cal/bk7231_cal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/bk7011_cal/bk7231_cal.h -------------------------------------------------------------------------------- /beken378/func/include/manual_ps_pub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/include/manual_ps_pub.h -------------------------------------------------------------------------------- /beken378/func/include/music_msg_pub.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/include/music_msg_pub.h -------------------------------------------------------------------------------- /beken378/func/music_player/app_music.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/music_player/app_music.c -------------------------------------------------------------------------------- /beken378/func/music_player/app_music.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/music_player/app_music.h -------------------------------------------------------------------------------- /beken378/func/music_player/fs_fat/ff.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/music_player/fs_fat/ff.h -------------------------------------------------------------------------------- /beken378/func/spidma_intf/spidma_intf.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPIDMA_INTF_H__ 2 | #define __SPIDMA_INTF_H__ 3 | 4 | 5 | #endif 6 | 7 | -------------------------------------------------------------------------------- /beken378/rttos/include/FreeRTOS.h: -------------------------------------------------------------------------------- 1 | #ifndef __FREE_RTOS_H__ 2 | #define __FREE_RTOS_H__ 3 | 4 | // #define 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir3/Readme: -------------------------------------------------------------------------------- 1 | This is just to make sure files that don't parse as certs are ignored. 2 | -------------------------------------------------------------------------------- /packages/netutils/images/tftpd_cfg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/images/tftpd_cfg.png -------------------------------------------------------------------------------- /packages/netutils/images/tftpd_get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/images/tftpd_get.png -------------------------------------------------------------------------------- /packages/netutils/images/tftpd_put.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/images/tftpd_put.png -------------------------------------------------------------------------------- /packages/quicklz/doc/image/QuickLZ.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/quicklz/doc/image/QuickLZ.jpg -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/blast/README: -------------------------------------------------------------------------------- 1 | Read blast.h for purpose and usage. 2 | 3 | Mark Adler 4 | madler@alumni.caltech.edu 5 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/init.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_INIT_H__ 2 | #define __LINUX_INIT_H__ 3 | #endif 4 | -------------------------------------------------------------------------------- /rt-thread/examples/test/hwtimer_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/examples/test/hwtimer_test.c -------------------------------------------------------------------------------- /beken378/app/net_work/app_lwip_udp.h: -------------------------------------------------------------------------------- 1 | #ifndef __APP_LWIP_UDP_H__ 2 | #define __APP_LWIP_UDP_H__ 3 | 4 | #endif 5 | // eof 6 | 7 | -------------------------------------------------------------------------------- /beken378/driver/include/rc_beken_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _RC_BEKEN_PUB_H_ 2 | #define _RC_BEKEN_PUB_H_ 3 | 4 | #endif // _RC_BEKEN_PUB_H_ 5 | -------------------------------------------------------------------------------- /beken378/func/camera_intf/camera_intf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/camera_intf/camera_intf.h -------------------------------------------------------------------------------- /docs/RT-Thread-bk7221u-release-notes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-bk7221u-release-notes.pdf -------------------------------------------------------------------------------- /packages/mbedtls/docs/image/mbedtls.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/docs/image/mbedtls.jpg -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/blast/test.pk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/blast/test.pk -------------------------------------------------------------------------------- /rt-thread/documentation/doxygen/dfs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/documentation/doxygen/dfs.png -------------------------------------------------------------------------------- /samples/lcd_test/chineses_ziku/HZLIB.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/samples/lcd_test/chineses_ziku/HZLIB.bin -------------------------------------------------------------------------------- /beken378/func/music_player/fs_fat/ffconf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/music_player/fs_fat/ffconf.h -------------------------------------------------------------------------------- /components/codec/lib_helix_mp3/pub/RCSL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/components/codec/lib_helix_mp3/pub/RCSL.txt -------------------------------------------------------------------------------- /docs/RT-Thread-bk7221u-sdk-quick-start.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/docs/RT-Thread-bk7221u-sdk-quick-start.pdf -------------------------------------------------------------------------------- /packages/fal/docs/figures/fal_framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/fal/docs/figures/fal_framework.png -------------------------------------------------------------------------------- /packages/netutils/images/netio_tested.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/images/netio_tested.png -------------------------------------------------------------------------------- /packages/webclient/docs/figures/request.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/webclient/docs/figures/request.jpg -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/masmx64/bld_ml64.bat: -------------------------------------------------------------------------------- 1 | ml64.exe /Flinffasx64 /c /Zi inffasx64.asm 2 | ml64.exe /Flgvmat64 /c /Zi gvmat64.asm 3 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/puff/zeros.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/puff/zeros.raw -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/vmalloc.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_VMALLOC_H__ 2 | #define __LINUX_VMALLOC_H__ 3 | #endif 4 | -------------------------------------------------------------------------------- /rt-thread/documentation/doxygen/finsh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/documentation/doxygen/finsh.png -------------------------------------------------------------------------------- /rt-thread/examples/kernel/timer_timeout.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/examples/kernel/timer_timeout.c -------------------------------------------------------------------------------- /rt-thread/examples/network/tcpsendpacket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/examples/network/tcpsendpacket.c -------------------------------------------------------------------------------- /beken378/app/net_work/app_lwip_tcp.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_LWIP_TCP_H_ 2 | #define _APP_LWIP_TCP_H_ 3 | 4 | 5 | #endif // _APP_LWIP_TCP_H_ 6 | 7 | -------------------------------------------------------------------------------- /beken378/driver/usb/src/drivers/msd/mu_mapi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/drivers/msd/mu_mapi.c -------------------------------------------------------------------------------- /beken378/driver/usb/src/drivers/msd/mu_mbot.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/drivers/msd/mu_mbot.c -------------------------------------------------------------------------------- /beken378/func/music_player/Mp3Lib/mp3_play.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/music_player/Mp3Lib/mp3_play.c -------------------------------------------------------------------------------- /beken378/func/music_player/fs_fat/playmode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/music_player/fs_fat/playmode.c -------------------------------------------------------------------------------- /packages/EasyFlash/docs/en/images/EnvDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/en/images/EnvDemo.gif -------------------------------------------------------------------------------- /packages/EasyFlash/docs/en/images/IapDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/en/images/IapDemo.gif -------------------------------------------------------------------------------- /packages/EasyFlash/docs/en/images/LogDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/en/images/LogDemo.gif -------------------------------------------------------------------------------- /packages/EasyFlash/docs/zh/images/EnvDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/zh/images/EnvDemo.gif -------------------------------------------------------------------------------- /packages/EasyFlash/docs/zh/images/IapDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/zh/images/IapDemo.gif -------------------------------------------------------------------------------- /packages/EasyFlash/docs/zh/images/LogDemo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/zh/images/LogDemo.gif -------------------------------------------------------------------------------- /packages/netutils/images/telnet_connected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/images/telnet_connected.png -------------------------------------------------------------------------------- /packages/netutils/tools/iperf-3.1.3-win32.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/tools/iperf-3.1.3-win32.zip -------------------------------------------------------------------------------- /packages/netutils/tools/iperf-3.1.3-win64.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/tools/iperf-3.1.3-win64.zip -------------------------------------------------------------------------------- /packages/rt_ota/ports/beken/rt_ota_key_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/rt_ota/ports/beken/rt_ota_key_port.c -------------------------------------------------------------------------------- /packages/webclient/docs/figures/principle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/webclient/docs/figures/principle.jpg -------------------------------------------------------------------------------- /packages/webclient/docs/figures/response.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/webclient/docs/figures/response.jpg -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/masmx86/bld_ml32.bat: -------------------------------------------------------------------------------- 1 | ml /coff /Zi /c /Flmatch686.lst match686.asm 2 | ml /coff /Zi /c /Flinffas32.lst inffas32.asm 3 | -------------------------------------------------------------------------------- /samples/airkiss_lan/gh_21849de4fbc1_31033.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/samples/airkiss_lan/gh_21849de4fbc1_31033.jpg -------------------------------------------------------------------------------- /beken378/driver/usb/src/drivers/msd/mu_mscsi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/usb/src/drivers/msd/mu_mscsi.c -------------------------------------------------------------------------------- /beken378/func/include/schedule_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCHEDULE_PUB_H_ 2 | #define _SCHEDULE_PUB_H_ 3 | 4 | #endif // _SCHEDULE_PUB_H_ 5 | // eof 6 | 7 | -------------------------------------------------------------------------------- /packages/fal/samples/README.md: -------------------------------------------------------------------------------- 1 | | 文件夹 | 说明 | 2 | | :------ | :----------------------- | 3 | | porting | 移植相关的示例代码及文档 | 4 | 5 | -------------------------------------------------------------------------------- /packages/netutils/images/telnet_connect_cfg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/netutils/images/telnet_connect_cfg.png -------------------------------------------------------------------------------- /packages/rt_ota/ports/stm32f2/rt_ota_key_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/rt_ota/ports/stm32f2/rt_ota_key_port.c -------------------------------------------------------------------------------- /packages/zlib/zlib/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | -@echo "Please use ./configure first. Thank you." 3 | 4 | distclean: 5 | make -f Makefile.in distclean 6 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib.chm -------------------------------------------------------------------------------- /rt-thread/documentation/doxygen/System_Arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/documentation/doxygen/System_Arch.png -------------------------------------------------------------------------------- /packages/webclient/docs/figures/webclient_cfg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/webclient/docs/figures/webclient_cfg.jpg -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/tools/make_package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | git ls-tree --name-only --full-name -r $1 | xargs tar -jcvf uffs-$1.tar.bz2 -------------------------------------------------------------------------------- /rt-thread/components/drivers/include/drivers/spi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/include/drivers/spi.h -------------------------------------------------------------------------------- /rt-thread/components/drivers/spi/spi_flash_sfud.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/spi/spi_flash_sfud.c -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/sys/errno.h: -------------------------------------------------------------------------------- 1 | #ifndef SYS_ERRNO_H__ 2 | #define SYS_ERRNO_H__ 3 | 4 | #include 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/sys/errno.h: -------------------------------------------------------------------------------- 1 | #ifndef SYS_ERRNO_H__ 2 | #define SYS_ERRNO_H__ 3 | 4 | #include 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/minilibc/inttypes.h: -------------------------------------------------------------------------------- 1 | #ifndef __INTTYPES_H__ 2 | #define __INTTYPES_H__ 3 | 4 | #include "stdint.h" 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /rt-thread/documentation/doxygen/Kernel_Object.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/documentation/doxygen/Kernel_Object.png -------------------------------------------------------------------------------- /rt-thread/documentation/doxygen/rtthread_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/documentation/doxygen/rtthread_logo.png -------------------------------------------------------------------------------- /tool/beken_packager/all_cam_2M_UART1.20190828.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/all_cam_2M_UART1.20190828.bin -------------------------------------------------------------------------------- /tool/beken_packager/all_cam_4M_UART1.20190828.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/all_cam_4M_UART1.20190828.bin -------------------------------------------------------------------------------- /tool/beken_packager/all_cam_4M_UART1.20200607.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/all_cam_4M_UART1.20200607.bin -------------------------------------------------------------------------------- /tool/beken_packager/all_cam_4M_UART1.20202233.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/all_cam_4M_UART1.20202233.bin -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/modules/app/src/app_key.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/modules/app/src/app_key.h -------------------------------------------------------------------------------- /beken378/driver/codec/driver_codec_es8374.h: -------------------------------------------------------------------------------- 1 | #ifndef _DRIVER_CODEC_ES8328_H_ 2 | #define _DRIVER_CODEC_ES8328_H_ 3 | 4 | 5 | 6 | 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/.gitattributes: -------------------------------------------------------------------------------- 1 | # These files are text and should be normalized 2 | *.txt text 3 | *.c text 4 | *.h text 5 | -------------------------------------------------------------------------------- /beken378/rttos/include/sys_rtos.h: -------------------------------------------------------------------------------- 1 | #ifndef __RTOS_H__ 2 | #define __RTOS_H__ 3 | 4 | #include 5 | #include 6 | 7 | #endif 8 | 9 | -------------------------------------------------------------------------------- /packages/lssdp-latest/docs/figures/1557565323474.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/lssdp-latest/docs/figures/1557565323474.png -------------------------------------------------------------------------------- /packages/lssdp-latest/docs/figures/1557571616388.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/lssdp-latest/docs/figures/1557571616388.png -------------------------------------------------------------------------------- /packages/lssdp-latest/docs/figures/1557571840845.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/lssdp-latest/docs/figures/1557571840845.png -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_pub.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/ec_pub.der -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/hash_file_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/hash_file_1 -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/hash_file_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/hash_file_2 -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/hash_file_3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/hash_file_3 -------------------------------------------------------------------------------- /packages/pahomqtt/doc/image/paho-mqtt-menuconfig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/pahomqtt/doc/image/paho-mqtt-menuconfig.png -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/DotZLib.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/DotZLib.cs -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/dfs_jffs2.h: -------------------------------------------------------------------------------- 1 | #ifndef __DFS_JFFS2_H__ 2 | #define __DFS_JFFS2_H__ 3 | 4 | int dfs_jffs2_init(void); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/include/drivers/audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/include/drivers/audio.h -------------------------------------------------------------------------------- /rt-thread/components/drivers/spi/sfud/src/sfud_sfdp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/spi/sfud/src/sfud_sfdp.c -------------------------------------------------------------------------------- /rt-thread/components/drivers/spi/spi_flash_at45dbxx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/spi/spi_flash_at45dbxx.c -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/unistd.h: -------------------------------------------------------------------------------- 1 | #ifndef _UNISTD_H_ 2 | #define _UNISTD_H_ 3 | 4 | # include "sys/unistd.h" 5 | 6 | #endif /* _UNISTD_H_ */ 7 | -------------------------------------------------------------------------------- /rt-thread/documentation/doxygen/Thread_Scheduler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/documentation/doxygen/Thread_Scheduler.png -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/em/import/RW-CORE-EM.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/ip/em/import/RW-CORE-EM.xls -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/plf/refip/src/bim/bim_com.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/plf/refip/src/bim/bim_com.h -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/plf/refip/src/driver/ir/ir.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/plf/refip/src/driver/ir/ir.h -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/scripts/rm-malloc-cast.cocci: -------------------------------------------------------------------------------- 1 | @rm_malloc_cast@ 2 | expression x, n; 3 | type T; 4 | @@ 5 | x = 6 | - (T *) 7 | mbedtls_malloc(n) 8 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/CodecBase.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/CodecBase.cs -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/Deflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/Deflater.cs -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/Inflater.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/Inflater.cs -------------------------------------------------------------------------------- /rt-thread/components/cplusplus/Kconfig: -------------------------------------------------------------------------------- 1 | menu "C++ features" 2 | 3 | config RT_USING_CPLUSPLUS 4 | bool "Support C++ features" 5 | default n 6 | 7 | endmenu 8 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/src/dir.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/jffs2/src/dir.txt -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/yaffs2/yaffs.diff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/yaffs2/yaffs.diff -------------------------------------------------------------------------------- /rt-thread/components/drivers/spi/spi_flash_sst25vfxx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/spi/spi_flash_sst25vfxx.c -------------------------------------------------------------------------------- /rt-thread/components/drivers/spi/spi_flash_w25qxx_mtd.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/drivers/spi/spi_flash_w25qxx_mtd.c -------------------------------------------------------------------------------- /tool/beken_packager/all_cam_4M_UART1.20190828 - 副本.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/all_cam_4M_UART1.20190828 - 副本.bin -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/profiles/oad/api/oads.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/ip/ble/profiles/oad/api/oads.h -------------------------------------------------------------------------------- /packages/EasyFlash/docs/zh/images/BackupAreaPartition.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/EasyFlash/docs/zh/images/BackupAreaPartition.jpg -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.noopt.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/ec_prv.noopt.der -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.pk8.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/ec_prv.pk8.der -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.sec1.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/ec_prv.sec1.der -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der0.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der0.crt -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der2.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der2.crt -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der4.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der4.crt -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der8.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der8.crt -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der9.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der9.crt -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/GZipStream.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/GZipStream.cs -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/src/histo_mips.h: -------------------------------------------------------------------------------- 1 | #define BIT_DIVIDER_MIPS 1043 2 | static int bits_mips[8] = { 277,249,290,267,229,341,212,241}; /* mips32 */ 3 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/README.md: -------------------------------------------------------------------------------- 1 | Dlib(IAR) porting for RT-Thread. 2 | 3 | Please define RT_USING_LIBC and compile RT-Thread with IAR compiler. 4 | 5 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/doc/doxygen_docs.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/net/lwip-2.0.2/doc/doxygen_docs.zip -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/DartConfiguration.tcl: -------------------------------------------------------------------------------- 1 | Site: localhost 2 | BuildName: mbed TLS-test 3 | CoverageCommand: /usr/bin/gcov 4 | MemoryCheckCommand: /usr/bin/valgrind 5 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/LICENSE: -------------------------------------------------------------------------------- 1 | Unless specifically indicated otherwise in a file, files are licensed 2 | under the Apache 2.0 license, as can be found in: apache-2.0.txt 3 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.pk8.pw.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/ec_prv.pk8.pw.der -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.specdom.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/ec_prv.specdom.der -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/format_pkcs12.fmt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/format_pkcs12.fmt -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der1a.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der1a.crt -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5-der1b.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/server5-der1b.crt -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/zlib/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs -------------------------------------------------------------------------------- /packages/zlib/zlib/old/README: -------------------------------------------------------------------------------- 1 | This directory contains files that have not been updated for zlib 1.2.x 2 | 3 | (Volunteers are encouraged to help clean this up. Thanks.) 4 | -------------------------------------------------------------------------------- /packages/zlib/zlib/win32/VisualC.txt: -------------------------------------------------------------------------------- 1 | 2 | To build zlib using the Microsoft Visual C++ environment, 3 | use the appropriate project from the contrib/vstudio/ directory. 4 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/mtd/mtd.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_MTD_MTD_H__ 2 | #define __LINUX_MTD_MTD_H__ 3 | 4 | 5 | #endif /* __LINUX_MTD_MTD_H__ */ 6 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/fcntl.h: -------------------------------------------------------------------------------- 1 | #ifndef FCNTL_H__ 2 | #define FCNTL_H__ 3 | 4 | #ifdef RT_USING_DFS 5 | #include 6 | #endif 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /tool/beken_packager/rtthread_uart_cam_2M_UART1.20190828.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/rtthread_uart_cam_2M_UART1.20190828.bin -------------------------------------------------------------------------------- /tool/beken_packager/rtthread_uart_cam_4M_UART1.20190828.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/rtthread_uart_cam_4M_UART1.20190828.bin -------------------------------------------------------------------------------- /components/voice_changer/vc_config.h: -------------------------------------------------------------------------------- 1 | #ifndef _VC_CONFIG_H_ 2 | #define _VC_CONFIG_H_ 3 | 4 | 5 | #define VOICE_PCM_VC_AUD_OUTPUT_TEST 0 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /drivers/drv_pwm.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_PWM_H__ 2 | #define __DRV_PWM_H__ 3 | 4 | #include "pwm_pub.h" 5 | 6 | int rt_hw_pwm_init(void); 7 | int rt_hw_pwm_exit(void); 8 | 9 | #endif -------------------------------------------------------------------------------- /drivers/drv_wdt.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_WDT_H__ 2 | #define __DRV_WDT_H__ 3 | 4 | #include "wdt_pub.h" 5 | 6 | int rt_hw_wdt_init(void); 7 | int rt_hw_wdt_exit(void); 8 | 9 | #endif -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/termios.h: -------------------------------------------------------------------------------- 1 | #ifndef _TERMIOS_H__ 2 | #define _TERMIOS_H__ 3 | 4 | #include 5 | #include 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/termios.h: -------------------------------------------------------------------------------- 1 | #ifndef _TERMIOS_H__ 2 | #define _TERMIOS_H__ 3 | 4 | #include 5 | #include 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/newlib/termios.h: -------------------------------------------------------------------------------- 1 | #ifndef _TERMIOS_H__ 2 | #define _TERMIOS_H__ 3 | 4 | #include 5 | #include 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /tool/beken_packager/bootloader_7252_2M_uart1_log_20190828.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/bootloader_7252_2M_uart1_log_20190828.bin -------------------------------------------------------------------------------- /tool/beken_packager/bootloader_7252_4M_uart1_log_20190828.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/bootloader_7252_4M_uart1_log_20190828.bin -------------------------------------------------------------------------------- /tool/beken_packager/rtthread_uart_cam_4M_UART1.20190828的副本.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/rtthread_uart_cam_4M_UART1.20190828的副本.bin -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/src/apps/httpd/fs/img/sics.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/func/lwip_intf/lwip-2.0.2/src/apps/httpd/fs/img/sics.gif -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/pkcs8_pbe_sha1_3des.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/pkcs8_pbe_sha1_3des.der -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/cyg/compress/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/ChangeLog -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/fs.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_FS_H__ 2 | #define __LINUX_FS_H__ 3 | 4 | #include 5 | 6 | #endif /* __LINUX_FS_H__ */ 7 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/minilibc/stddef.h: -------------------------------------------------------------------------------- 1 | #ifndef __STDDEF_H__ 2 | #define __STDDEF_H__ 3 | 4 | #include 5 | typedef signed long ptrdiff_t; 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /tool/beken_packager/bootloader_7252_4M_uart1_log_20190828的副本.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/tool/beken_packager/bootloader_7252_4M_uart1_log_20190828的副本.bin -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/plf/refip/src/rom/hci/BK_HCI_Protocol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/plf/refip/src/rom/hci/BK_HCI_Protocol.h -------------------------------------------------------------------------------- /beken378/driver/include/driver_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _DRIVER_PUB_H_ 2 | #define _DRIVER_PUB_H_ 3 | 4 | extern UINT32 driver_init(void); 5 | 6 | #endif // _DRIVER_PUB_H_ 7 | // eof 8 | 9 | -------------------------------------------------------------------------------- /drivers/drv_gpio.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_GPIO_H__ 2 | #define __DRV_GPIO_H__ 3 | 4 | #include "gpio_pub.h" 5 | 6 | int rt_hw_gpio_init(void); 7 | int rt_hw_gpio_exit(void); 8 | 9 | #endif -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/cli.opensslconf: -------------------------------------------------------------------------------- 1 | [cli-rsa] 2 | subjectKeyIdentifier=hash 3 | authorityKeyIdentifier=keyid:always,issuer:always 4 | basicConstraints = CA:false 5 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/doc/Understanding-UFFS.odp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/uffs/doc/Understanding-UFFS.odp -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/doc/Understanding-UFFS.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/uffs/doc/Understanding-UFFS.pdf -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/src/apps/httpd/fs/img/sics.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/net/lwip-2.0.2/src/apps/httpd/fs/img/sics.gif -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/int.opensslconf: -------------------------------------------------------------------------------- 1 | [int] 2 | subjectKeyIdentifier=hash 3 | authorityKeyIdentifier=keyid:always,issuer:always 4 | basicConstraints = CA:true 5 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/packages/mbedtls/mbedtls/tests/data_files/pkcs8_pbes2_pbkdf2_3des.der -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/minizip/MiniZip64_Changes.txt: -------------------------------------------------------------------------------- 1 | 2 | MiniZip 1.1 was derrived from MiniZip at version 1.01f 3 | 4 | Change in 1.0 (Okt 2009) 5 | - **TODO - Add history** 6 | 7 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/ChangeLog -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/string.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_STRING_H__ 2 | #define __LINUX_STRING_H__ 3 | 4 | #include 5 | 6 | #endif /* __LINUX_STRING_H__ */ 7 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/TODO: -------------------------------------------------------------------------------- 1 | TODO list for v1.3: 2 | 3 | * New API: int uffs_SkipObject(uffs_Object *obj, int size); 4 | * Introduce buffer group 5 | * Interface to Linux MTD 6 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/audio/RW-BLE-CORE-EM.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/audio/RW-BLE-CORE-EM.xls -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/audio/RW-BLE-CORE-REG.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/audio/RW-BLE-CORE-REG.xls -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/legacy/RW-BLE-CORE-EM.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/legacy/RW-BLE-CORE-EM.xls -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/mtd/compatmac.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_MTD_COMPATMAC_H__ 2 | #define __LINUX_MTD_COMPATMAC_H__ 3 | 4 | 5 | #endif /* __LINUX_MTD_COMPATMAC_H__ */ 6 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/version.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_VERSION_H__ 2 | #define __LINUX_VERSION_H__ 3 | 4 | #include 5 | 6 | #endif /* __LINUX_VERSION_H__ */ 7 | -------------------------------------------------------------------------------- /rt-thread/tools/as.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | astyle --style=allman --indent=spaces=4 --pad-oper --pad-header --unpad-paren --suffix=none --align-pointer=name --lineend=linux --convert-tabs --verbose $1 4 | -------------------------------------------------------------------------------- /samples/airkiss_lan/weixin_config_custom.c: -------------------------------------------------------------------------------- 1 | #include "weixin_config_custom.h" 2 | 3 | const char *WEIXIN_DEVICE_TYPE = "gh_21849de4fbc1"; 4 | 5 | const char *WEIXIN_PRODUCT_ID = "31033"; 6 | 7 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/legacy/RW-BLE-CORE-REG.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/beken378/driver/ble/rw_ble/ip/ble/ll/import/reg/legacy/RW-BLE-CORE-REG.xls -------------------------------------------------------------------------------- /beken378/func/include/ump3_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _U_MP3_PUB_H_ 2 | #define _U_MP3_PUB_H_ 3 | 4 | extern void um_init(void); 5 | extern void um_uninit(void); 6 | 7 | #endif // _U_MP3_PUB_H_ 8 | // eof 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/tcp/test_tcp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_TCP_H 2 | #define LWIP_HDR_TEST_TCP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/udp/test_udp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_UDP_H 2 | #define LWIP_HDR_TEST_UDP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* udp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /packages/EasyFlash/docs/en/readme.md: -------------------------------------------------------------------------------- 1 | |File name |Description| 2 | |:----- |:----| 3 | |api.md |API description| -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/blast/Makefile: -------------------------------------------------------------------------------- 1 | blast: blast.c blast.h 2 | cc -DTEST -o blast blast.c 3 | 4 | test: blast 5 | blast < test.pk | cmp - test.txt 6 | 7 | clean: 8 | rm -f blast blast.o 9 | -------------------------------------------------------------------------------- /rt-thread/examples/libc/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | src = Glob('*.c') 4 | group = DefineGroup('libc_test', src, depend = ['RT_USING_NEWLIB', 'RT_USING_PTHREADS']) 5 | 6 | Return('group') 7 | -------------------------------------------------------------------------------- /beken378/driver/rw_pub/rw_platf_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _RW_PLATF_PUB_H_ 2 | #define _RW_PLATF_PUB_H_ 3 | 4 | 5 | void rwxl_reset_patch(void); 6 | void hal_machw_init_diagnostic_ports(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/include/pseudo_random_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _PSEUDO_RANDOM_PUB_H_ 2 | #define _PSEUDO_RANDOM_PUB_H_ 3 | 4 | extern uint32_t prandom_get(void); 5 | 6 | #endif // _PSEUDO_RANDOM_PUB_H_ 7 | // eof 8 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/src/include/lwip/apps/FILES: -------------------------------------------------------------------------------- 1 | This directory contains application headers. 2 | Every application shall provide one api file APP.h and optionally one options file APP_opts.h 3 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/src/include/netif/etharp.h: -------------------------------------------------------------------------------- 1 | /* ARP has been moved to core/ipv4, provide this #include for compatibility only */ 2 | #include "lwip/etharp.h" 3 | #include "netif/ethernet.h" 4 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/core/test_mem.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_MEM_H 2 | #define LWIP_HDR_TEST_MEM_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *mem_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/core/test_pbuf.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_PBUF_H 2 | #define LWIP_HDR_TEST_PBUF_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *pbuf_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/dhcp/test_dhcp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_DHCP_H 2 | #define LWIP_HDR_TEST_DHCP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* dhcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/doc/uffs-serial-num-relationship.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/illusionlee/lightcube/HEAD/rt-thread/components/dfs/filesystems/uffs/doc/uffs-serial-num-relationship.JPG -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/src/apps/README.md: -------------------------------------------------------------------------------- 1 | Some net apps for current version LwIP. 2 | 3 | The RT-Thread develop team ported apps. It's easy to use it on finsh/msh. 4 | 5 | - ping 6 | - tftp 7 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/src/include/lwip/apps/FILES: -------------------------------------------------------------------------------- 1 | This directory contains application headers. 2 | Every application shall provide one api file APP.h and optionally one options file APP_opts.h 3 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/src/include/netif/etharp.h: -------------------------------------------------------------------------------- 1 | /* ARP has been moved to core/ipv4, provide this #include for compatibility only */ 2 | #include "lwip/etharp.h" 3 | #include "netif/ethernet.h" 4 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/core/test_mem.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_MEM_H 2 | #define LWIP_HDR_TEST_MEM_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *mem_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/tcp/test_tcp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_TCP_H 2 | #define LWIP_HDR_TEST_TCP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/udp/test_udp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_UDP_H 2 | #define LWIP_HDR_TEST_UDP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* udp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/mdns/test_mdns.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_MDNS_H__ 2 | #define LWIP_HDR_TEST_MDNS_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* mdns_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/sd_music/sdcard_test.h: -------------------------------------------------------------------------------- 1 | #ifndef __SDCARD_TEST_H__ 2 | #define __SDCARD_TEST_H__ 3 | 4 | UINT32 sdcard_intf_test(void); 5 | 6 | void sdcard_intf_close(void); 7 | 8 | #endif 9 | 10 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/core/test_pbuf.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_PBUF_H 2 | #define LWIP_HDR_TEST_PBUF_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *pbuf_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/dhcp/test_dhcp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_DHCP_H 2 | #define LWIP_HDR_TEST_DHCP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* dhcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/mdns/test_mdns.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_MDNS_H__ 2 | #define LWIP_HDR_TEST_MDNS_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* mdns_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/etharp/test_etharp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_ETHARP_H 2 | #define LWIP_HDR_TEST_ETHARP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* etharp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /lightcube/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | 5 | src = Glob('*.c') 6 | 7 | group = DefineGroup('lightcube', src, depend = ['']) 8 | 9 | Return('group') 10 | 11 | -------------------------------------------------------------------------------- /beken378/driver/include/security_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _SEC_PUB_H_ 2 | #define _SEC_PUB_H_ 3 | 4 | #define SEC_DEV_NAME "sec" 5 | 6 | void bk_secrity_init(void); 7 | void bk_secrity_exit(void); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/test/unit/tcp/test_tcp_oos.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_TCP_OOS_H 2 | #define LWIP_HDR_TEST_TCP_OOS_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_oos_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /drivers/drv_adc.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_ADC_H__ 2 | #define __DRV_ADC_H__ 3 | 4 | #include 5 | #ifdef RT_USING_ADC 6 | 7 | void rt_hw_adc_init(void); 8 | 9 | #endif 10 | #endif /* __DRV_ADC_H__ */ 11 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/.gitignore: -------------------------------------------------------------------------------- 1 | *.sln 2 | *.vcxproj 3 | 4 | *.log 5 | /test_suite* 6 | data_files/mpi_write 7 | data_files/hmac_drbg_seed 8 | data_files/ctr_drbg_seed 9 | data_files/entropy_seed 10 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MEkwEwYHKoZIzj0CAQYIKoZIzj0DAQEDMgAEvHl9s65/COw9SWtPtBGz9iClWKUB 3 | 4CItCM/g3Irsixp78kvpKVHMW6G+uyR0kJrg 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/etharp/test_etharp.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_ETHARP_H 2 | #define LWIP_HDR_TEST_ETHARP_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* etharp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/test/unit/tcp/test_tcp_oos.h: -------------------------------------------------------------------------------- 1 | #ifndef LWIP_HDR_TEST_TCP_OOS_H 2 | #define LWIP_HDR_TEST_TCP_OOS_H 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_oos_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/include/libc/libc_dirent.h: -------------------------------------------------------------------------------- 1 | #ifndef LIBC_DIRENT_H__ 2 | #define LIBC_DIRENT_H__ 3 | 4 | #define DT_UNKNOWN 0x00 5 | #define DT_REG 0x01 6 | #define DT_DIR 0x02 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_agc.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_AGC_H_ 2 | #define __REG_AGC_H_ 3 | 4 | #define REG_AGC_SIZE 172 5 | 6 | #define REG_AGC_BASE_ADDR 0x01000000 7 | 8 | 9 | #endif // __REG_AGC_H_ 10 | 11 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_dma.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_DMA_H_ 2 | #define __REG_DMA_H_ 3 | 4 | #define REG_DMA_SIZE 196 5 | 6 | #define REG_DMA_BASE_ADDR 0x10A00000 7 | 8 | 9 | #endif // __REG_DMA_H_ 10 | 11 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_mac_pl.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_MAC_PL_H_ 2 | #define __REG_MAC_PL_H_ 3 | 4 | #define REG_MAC_PL_SIZE 1404 5 | #define REG_MAC_PL_BASE_ADDR 0xC0008000 6 | 7 | #endif // __REG_MAC_PL_H_ 8 | 9 | -------------------------------------------------------------------------------- /beken378/func/misc/pseudo_random.c: -------------------------------------------------------------------------------- 1 | #include "include.h" 2 | #include "reg_mac_core.h" 3 | 4 | uint32_t prandom_get(void) 5 | { 6 | return nxmac_monotonic_counter_2_lo_get(); 7 | } 8 | 9 | // eof 10 | 11 | -------------------------------------------------------------------------------- /beken378/rttos/include/task.h: -------------------------------------------------------------------------------- 1 | #ifndef __TASK_H__ 2 | #define __TASK_H__ 3 | 4 | /** 5 | * 加入空头文件,使编译通过 6 | */ 7 | 8 | typedef void * TaskHandle_t; 9 | #define xTaskHandle TaskHandle_t 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/minilibc/math.h: -------------------------------------------------------------------------------- 1 | #ifndef __MATH_H__ 2 | #define __MATH_H__ 3 | 4 | #define M_PI 3.141592653589793238462643 5 | 6 | double sin(double x); 7 | double cos(double x); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /applications/http_api/http_api.h: -------------------------------------------------------------------------------- 1 | #ifndef __HTTP_API_H__ 2 | #define __HTTP_API_H__ 3 | 4 | typedef struct res_info 5 | { 6 | int res; 7 | char *msg; 8 | } res_info_t; 9 | 10 | #endif /* __HTTP_API_H__ */ 11 | -------------------------------------------------------------------------------- /drivers/drv_sys_ctrl.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_SYS_CTRL_H__ 2 | #define __DRV_SYS_CTRL_H__ 3 | 4 | #include "sys_ctrl_pub.h" 5 | 6 | int rt_hw_sys_ctrl_init(void); 7 | int rt_hw_sys_ctrl_exit(void); 8 | 9 | #endif 10 | 11 | -------------------------------------------------------------------------------- /packages/EasyFlash/docs/zh/readme.md: -------------------------------------------------------------------------------- 1 | |文件名 |描述| 2 | |:----- |:----| 3 | |api.md |API 说明| 4 | |port.md |移植说明| -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_224_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | ME4wEAYHKoZIzj0CAQYFK4EEACEDOgAEFpOikPfwtXH+K0HV2EsBMnYx9Khg+ZX6 3 | MywJf1QZK7EPABE/Kv+xPBokzkSRRXGpVECuAUoAy/c= 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/compiler.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_COMPILER_H__ 2 | #define __LINUX_COMPILER_H__ 3 | 4 | #define likely(x) (x) 5 | #define unlikely(x) (x) 6 | 7 | #endif /* __LINUX_COMPILER_H__ */ 8 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/src/histo.h: -------------------------------------------------------------------------------- 1 | /* This file provides the bit-probabilities for the input file */ 2 | #define BIT_DIVIDER 629 3 | static int bits[9] = { 179,167,183,165,159,198,178,119,}; /* ia32 .so files */ 4 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_intc.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_INTC_H_ 2 | #define __REG_INTC_H_ 3 | 4 | #define REG_INTC_SIZE 68 5 | 6 | #define REG_INTC_BASE_ADDR 0x10910000 7 | 8 | 9 | #endif // __REG_INTC_H_ 10 | 11 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_rc.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_RC_H_ 2 | #define __REG_RC_H_ 3 | 4 | #define REG_RC_SIZE 428 5 | 6 | #define REG_RC_BASE_ADDR 0x01050000 7 | 8 | 9 | #endif // __REG_RC_H_ 10 | 11 | -------------------------------------------------------------------------------- /packages/rt_ota/docs/README.md: -------------------------------------------------------------------------------- 1 | |文件名 |描述| 2 | |:----- |:----| 3 | |port.md |移植说明| 4 | |port_beken7231.md |benken 平台移植实例介绍| -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/crc32.h: -------------------------------------------------------------------------------- 1 | #ifndef CRC32_H 2 | #define CRC32_H 3 | 4 | #include 5 | 6 | #define crc32(val, s, len) cyg_crc32_accumulate(val, (unsigned char *)s, len) 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/zutil.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_ZUTIL_H__ 2 | #define __LINUX_ZUTIL_H__ 3 | 4 | #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */ 5 | 6 | #endif /* __LINUX_ZUTIL_H__ */ 7 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/asm/bug.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_BUG_H__ 2 | #define __ASM_BUG_H__ 3 | 4 | #define BUG() do { printf("BUG() at %s %d\n", __FILE__, __LINE__); *(int *)0=0; } while (0) 5 | 6 | #endif /* __ASM_BUG_H__ */ 7 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/sched.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_SCHED_H__ 2 | #define __LINUX_SCHED_H__ 3 | 4 | #define cond_resched() do { } while(0) 5 | #define signal_pending(x) (0) 6 | 7 | #endif /* __LINUX_SCHED_H__ */ 8 | -------------------------------------------------------------------------------- /samples/Mixer/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | src = Glob('*.c') 4 | cwd = GetCurrentDir() 5 | CPPPATH = [cwd] 6 | 7 | group = DefineGroup('player_test', src, depend = [''], CPPPATH = CPPPATH) 8 | 9 | Return('group') 10 | -------------------------------------------------------------------------------- /samples/webnet/Kconfig: -------------------------------------------------------------------------------- 1 | 2 | config SAMPLE_USING_WEBNET 3 | bool "Enable webnet http server " 4 | default n 5 | select PKG_USING_WEBNET 6 | select PKG_USING_CJSON 7 | help 8 | A http server example for keken7231 board. 9 | -------------------------------------------------------------------------------- /beken378/func/include/app_music_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_MUSIC_PUB_H_ 2 | #define _APP_MUSIC_PUB_H_ 3 | 4 | extern void media_thread_init(void); 5 | extern void media_msg_sender(void const *param_ptr); 6 | extern void key_init(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_256_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEd3Jlb4FLOZJ51eHxeB+sbwmaPFyh 3 | sONTUYNLCLZeC1clkM2vj3aTYbzzSs/BHl4HToQmvd4Evm5lOUVElhfeRQ== 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_bp256_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MFowFAYHKoZIzj0CAQYJKyQDAwIIAQEHA0IABHaMjK5KvKYwbbDtgbDEpiFcN4Bm 3 | 7G1hbBRuE/HH34CblqtpEcJ9igIznwkmhA5VI209HvviZp0JDkxMZg+tqR0= 4 | -----END PUBLIC KEY----- 5 | -------------------------------------------------------------------------------- /rt-thread/examples/nanopb/simple.proto: -------------------------------------------------------------------------------- 1 | // A very simple protocol definition, consisting of only 2 | // one message. 3 | 4 | message SimpleMessage { 5 | required int32 lucky_number = 1; 6 | required bytes name = 2; 7 | } 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /beken378/app/net_work/app_lwip_tcp.c: -------------------------------------------------------------------------------- 1 | #include "include.h" 2 | 3 | #if CFG_USE_LWIP_NETSTACK 4 | #if CFG_SUPPORT_TIANZHIHENG_DRONE 5 | 6 | 7 | #endif // CFG_SUPPORT_TIANZHIHENG_DRONE 8 | #endif // CFG_USE_LWIP_NETSTACK 9 | 10 | // EOF 11 | -------------------------------------------------------------------------------- /beken378/app/net_work/app_lwip_udp.c: -------------------------------------------------------------------------------- 1 | #include "include.h" 2 | 3 | #if CFG_USE_LWIP_NETSTACK 4 | #if CFG_SUPPORT_TIANZHIHENG_DRONE 5 | 6 | #endif // CFG_SUPPORT_TIANZHIHENG_DRONE 7 | #endif // CFG_USE_LWIP_NETSTACK 8 | 9 | // EOF 10 | 11 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_mac_core.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_MAC_CORE_H_ 2 | #define __REG_MAC_CORE_H_ 3 | 4 | #define REG_MAC_CORE_SIZE 1376 5 | 6 | #define REG_MAC_CORE_BASE_ADDR 0xC0000000 7 | 8 | 9 | #endif // __REG_MAC_CORE_H_ 10 | 11 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_mdm_stat.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_MDM_STAT_H_ 2 | #define __REG_MDM_STAT_H_ 3 | 4 | #define REG_MDM_STAT_SIZE 108 5 | 6 | #define REG_MDM_STAT_BASE_ADDR 0x01000000 7 | 8 | 9 | #endif // __REG_MDM_STAT_H_ 10 | 11 | -------------------------------------------------------------------------------- /beken378/func/power_save/manual_ps.h: -------------------------------------------------------------------------------- 1 | #ifndef _MANUAL_PS_H_ 2 | #define _MANUAL_PS_H_ 3 | 4 | #include "bk_rtos_pub.h" 5 | #include "uart_pub.h" 6 | #include "arm_arch.h" 7 | 8 | #define PS_XTAL26M_EN 1 9 | 10 | #endif 11 | 12 | -------------------------------------------------------------------------------- /drivers/drv_i2s.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_I2S_H__ 2 | #define __DRV_I2S_H__ 3 | 4 | #include "typedef.h" 5 | #include "i2s.h" 6 | #include "i2s_pub.h" 7 | #include "gpio_pub.h" 8 | 9 | int rt_i2s_hw_init(void); 10 | 11 | 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /packages/EasyFlash/docs/readme.md: -------------------------------------------------------------------------------- 1 | |File or folder name |Description| 2 | |:----- |:----| 3 | |en |English documents| 4 | |zh |中文文档(简体)| -------------------------------------------------------------------------------- /packages/webclient/docs/version.md: -------------------------------------------------------------------------------- 1 | # 版本和修订 2 | 3 | | Date | Version | Author | Note | 4 | | -------- | :-----: | :---- | :---- | 5 | | 2013-05-05 | v1.0.0 | bernard | 初始版本 | 6 | | 2018-08-06 | v2.0.0 | chenyong | 版本更新 | -------------------------------------------------------------------------------- /rt-thread/components/lwp/Kconfig: -------------------------------------------------------------------------------- 1 | config RT_USING_LWP 2 | bool "Using light-weight process" 3 | select RT_USING_DFS 4 | depends on ARCH_ARM_CORTEX_M 5 | default n 6 | help 7 | The lwP is a light weight process running in user mode. 8 | -------------------------------------------------------------------------------- /components/player/example/cmd/cmd_pls.c: -------------------------------------------------------------------------------- 1 | #include "player.h" 2 | #include "pls_work.h" 3 | 4 | static int pls_dump(void) 5 | { 6 | pls_dump_music(); 7 | return 0; 8 | } 9 | MSH_CMD_EXPORT(pls_dump, dump player pls playing status.); 10 | -------------------------------------------------------------------------------- /rt-thread/components/CMSIS/RTOS/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | group = DefineGroup('CMSIS_OS', src, depend = ['RT_USING_CMSIS_OS'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/types.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_TYPES_H__ 2 | #define __LINUX_TYPES_H__ 3 | 4 | #include "cyg/infra/cyg_type.h" 5 | 6 | #define loff_t off_t 7 | 8 | #define kvec iovec 9 | #endif /* __LINUX_TYPES_H__ */ 10 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_la.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_LA_H_ 2 | #define __REG_LA_H_ 3 | 4 | #define REG_LA_SIZE 64 5 | 6 | #define REG_LA_OFFSET 0x00800000 7 | 8 | #define REG_LA_BASE_ADDR 0x10E00000 9 | 10 | 11 | #endif // __REG_LA_H_ 12 | 13 | -------------------------------------------------------------------------------- /beken378/driver/common/reg/_reg_mdm_cfg.h: -------------------------------------------------------------------------------- 1 | #ifndef __REG_MDM_CFG_H_ 2 | #define __REG_MDM_CFG_H_ 3 | 4 | #define REG_MDM_CFG_SIZE 152 5 | 6 | #define REG_MDM_CFG_BASE_ADDR 0x01000000 7 | 8 | 9 | #endif // __REG_MDM_CFG_H_ 10 | 11 | -------------------------------------------------------------------------------- /beken378/func/spidma_intf/spidma_intf_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPIDMA_INTF_PUB_H__ 2 | #define __SPIDMA_INTF_PUB_H__ 3 | 4 | void spidma_intfer_init(void* data); 5 | void spidma_intfer_deinit(void); 6 | void spi_camera_flip(UINT8 n); 7 | 8 | #endif 9 | 10 | -------------------------------------------------------------------------------- /packages/cJSON/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | 7 | group = DefineGroup('cJSON', src, depend = ['PKG_USING_CJSON'], CPPPATH = CPPPATH) 8 | 9 | Return('group') 10 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/programs/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(aes) 2 | add_subdirectory(hash) 3 | add_subdirectory(pkey) 4 | add_subdirectory(random) 5 | add_subdirectory(ssl) 6 | add_subdirectory(test) 7 | add_subdirectory(x509) 8 | add_subdirectory(util) 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server3.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MF8CAQEEGItTogpE7AOnjvYuTqm+9OabmsX02XKIAqAKBggqhkjOPQMBAaE0AzIA 3 | BH0AoQyUhPABS38y67uEVs4O3RXmKKrBdUR7/L2QPB8EC2p5fQcsej6EFasvlTdJ 4 | /w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/netutils/ntp/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('NetUtils', src, depend = ['PKG_NETUTILS_NTP'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /packages/zlib/zlib/nintendods/README: -------------------------------------------------------------------------------- 1 | This Makefile requires devkitARM (http://www.devkitpro.org/category/devkitarm/) and works inside "contrib/nds". It is based on a devkitARM template. 2 | 3 | Eduardo Costa 4 | January 3, 2009 5 | 6 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/uffs/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_SUBDIRECTORY(emu) 2 | ADD_SUBDIRECTORY(uffs) 3 | ADD_SUBDIRECTORY(utils) 4 | ADD_SUBDIRECTORY(example) 5 | ADD_SUBDIRECTORY(platform) 6 | ADD_SUBDIRECTORY(test/api_test) 7 | ADD_SUBDIRECTORY(test/clients) 8 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/ble/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_BLE'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/wlan/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_WIFI'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /rt-thread/components/utilities/ymodem/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | group = DefineGroup('Utilities', src, depend = ['RT_USING_RYM'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/FILES: -------------------------------------------------------------------------------- 1 | src/ - The source code for the lwIP TCP/IP stack. 2 | doc/ - The documentation for lwIP. 3 | test/ - Some code to test whether the sources do what they should. 4 | 5 | See also the FILES file in each subdirectory. 6 | -------------------------------------------------------------------------------- /components/player/example/cmd/cmd_codec.c: -------------------------------------------------------------------------------- 1 | #include "player.h" 2 | #include "audio_codec.h" 3 | 4 | static int codec_dump(void) 5 | { 6 | audio_codec_dump(); 7 | return 0; 8 | } 9 | MSH_CMD_EXPORT(codec_dump, dump system registered codecs.); 10 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.sec1.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MF8CAQEEGDOOhqiB4jj1Sb1vBVNJS3Pj1hEw/cbJbaAKBggqhkjOPQMBAaE0AzIA 3 | BFF1vN8wo3DznVOT5hJyiNgBZ7X0tLd2xnT3xvNUt9IkBiwfaFS1p68P5Xjq8ljw 4 | Jw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/netutils/iperf/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('NetUtils', src, depend = ['PKG_NETUTILS_IPERF'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /packages/netutils/netio/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('NetUtils', src, depend = ['PKG_NETUTILS_NETIO'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /packages/netutils/ping/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('NetUtils', src, depend = ['PKG_NETUTILS_PING'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /packages/netutils/telnet/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('NetUtils', src, depend = ['PKG_NETUTILS_TELNET'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /packages/netutils/tftp/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('NetUtils', src, depend = ['PKG_NETUTILS_TFTP'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/FILES: -------------------------------------------------------------------------------- 1 | src/ - The source code for the lwIP TCP/IP stack. 2 | doc/ - The documentation for lwIP. 3 | test/ - Some code to test whether the sources do what they should. 4 | 5 | See also the FILES file in each subdirectory. 6 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/mpi_10: -------------------------------------------------------------------------------- 1 | label_1234567890=643808006803554439230129854961492699151386107534013432918073439524138264842370630061369715394739134090922937332590384720397133335969549256322620979036686633213903952966175107096769180017646161851573147596390153 2 | -------------------------------------------------------------------------------- /rt-thread/components/net/netutils/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('LwIP', src, depend = ['RT_NETUTILS_USING_TELNET'], CPPPATH = CPPPATH) 9 | 10 | Return('group') -------------------------------------------------------------------------------- /packages/ezXML/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | 7 | group = DefineGroup('ezXML', src, depend = ['RT_USING_DFS', 'PKG_USING_EZXML'], CPPPATH = CPPPATH) 8 | 9 | Return('group') 10 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_224_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MGgCAQEEHGhJ+X0QZvaZd1ljfH44mUZM7j7HrJcGU6C+B0KgBwYFK4EEACGhPAM6 3 | AAQWk6KQ9/C1cf4rQdXYSwEydjH0qGD5lfozLAl/VBkrsQ8AET8q/7E8GiTORJFF 4 | calUQK4BSgDL9w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/audio/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | 7 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_AUDIO'], CPPPATH = CPPPATH) 8 | 9 | Return('group') 10 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/can/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd + '/../include'] 6 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_CAN'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/serial/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd + '/../include'] 6 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SERIAL'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /beken378/app/app_demo/app_demo_tcp.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_DEMO_TCP_H_ 2 | #define _APP_DEMO_TCP_H_ 3 | 4 | UINT32 app_demo_tcp_init(void); 5 | void app_demo_tcp_deinit(void); 6 | int app_demo_tcp_send_packet(UINT8 *data, UINT32 len); 7 | 8 | #endif // _APP_DEMO_TCP_H_ 9 | 10 | -------------------------------------------------------------------------------- /beken378/func/hostapd-2.5/bk_patch/signal.c: -------------------------------------------------------------------------------- 1 | #include "include.h" 2 | #include "signal.h" 3 | 4 | void bk_signal(int sig_num, SIG_FUNC func) 5 | { 6 | } 7 | 8 | extern unsigned int bk_alarm(unsigned int seconds) 9 | { 10 | return 0; 11 | } 12 | 13 | // eof 14 | 15 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.pk8.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MG8CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQEEVTBTAgEBBBgzjoaogeI49Um9bwVT 3 | SUtz49YRMP3GyW2hNAMyAARRdbzfMKNw851Tk+YScojYAWe19LS3dsZ098bzVLfS 4 | JAYsH2hUtaevD+V46vJY8Cc= 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/watchdog/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd + '/../include'] 6 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_WDT'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip_nat/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | 6 | CPPPATH = [cwd] 7 | 8 | group = DefineGroup('LwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_NAT'], CPPPATH = CPPPATH) 9 | 10 | Return('group') 11 | -------------------------------------------------------------------------------- /beken378/app/app_demo/app_video_intf.h: -------------------------------------------------------------------------------- 1 | #ifndef _APP_VIDEO_INTF_H__ 2 | #define _APP_VIDEO_INTF_H__ 3 | 4 | void app_video_intf_open (void); 5 | void app_video_intf_close (void); 6 | int app_video_intf_send_packet (UINT8 *data, UINT32 len); 7 | 8 | #endif // _APP_VIDEO_INTF_H__ 9 | -------------------------------------------------------------------------------- /beken378/func/vad/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | 7 | name = os.path.split(cwd) 8 | group = DefineGroup(str(name[1]), src, depend = [''], CPPPATH = CPPPATH) 9 | 10 | Return('group') 11 | -------------------------------------------------------------------------------- /components/player/inc/player_init.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: player_init.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __PLAYER_INIT_H__ 8 | #define __PLAYER_INIT_H__ 9 | 10 | int player_system_init(void); 11 | 12 | #endif -------------------------------------------------------------------------------- /drivers/drv_spi.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_SPI_H__ 2 | #define __DRV_SPI_H__ 3 | 4 | #include "typedef.h" 5 | #include "spi.h" 6 | #include "spi_pub.h" 7 | #include "gpio_pub.h" 8 | 9 | int rt_hw_spi_bus_register(char *name); 10 | int rt_hw_spi_device_init(void); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_384_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE2cZitQuinKR5kEUOBDrq9PDGmxVnbREv 3 | YipxyTBZr5mWkcVoDStE0RFXnbEvSkE6LtXEX8+2e1tj4AuR6+WdCaaxrCwMQoKq 4 | EjF+1ZFPmZvEiLsTLoNCzDbyyl4zecdH 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/hwtimer/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd + '/../include'] 6 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_HWTIMER'], CPPPATH = CPPPATH) 7 | 8 | Return('group') 9 | -------------------------------------------------------------------------------- /components/player/inc/codec_wav.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: codec_wav.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __CODEC_WAV_H__ 8 | #define __CODEC_WAV_H__ 9 | 10 | int player_codec_wav_register(void); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/cli2.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPb3hmTxZ3/mZI3vyk7p3U3wBf+WIop6hDhkFzJhmLcqoAoGCCqGSM49 3 | AwEHoUQDQgAEV+WusXPf06y7k7iB/xKu7uZTrM5VU/Y0Dswu42MlC9+Y4vNcYDaW 4 | wNUYFHDlf5/VS0UY5bBs1Vz4lo+HcKPkxw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/delphi/ZLibConst.pas: -------------------------------------------------------------------------------- 1 | unit ZLibConst; 2 | 3 | interface 4 | 5 | resourcestring 6 | sTargetBufferTooSmall = 'ZLib error: target buffer may be too small'; 7 | sInvalidStreamOp = 'Invalid stream operation'; 8 | 9 | implementation 10 | 11 | end. 12 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/testzlib/testzlib.txt: -------------------------------------------------------------------------------- 1 | To build testzLib with Visual Studio 2005: 2 | 3 | copy to a directory file from : 4 | - root of zLib tree 5 | - contrib/testzlib 6 | - contrib/masmx86 7 | - contrib/masmx64 8 | - contrib/vstudio/vc7 9 | 10 | and open testzlib8.sln -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_256_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIEnJqMGMS4hWOMQxzx3xyZQTFgm1gNT9Q6DKsX2y8T7uoAoGCCqGSM49 3 | AwEHoUQDQgAEd3Jlb4FLOZJ51eHxeB+sbwmaPFyhsONTUYNLCLZeC1clkM2vj3aT 4 | YbzzSs/BHl4HToQmvd4Evm5lOUVElhfeRQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_bp384_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHowFAYHKoZIzj0CAQYJKyQDAwIIAQELA2IABHGfnQk6Yn4NNQOFxmHOvwDGGSNW 3 | b+kAajEHrx2HG8a7aJhf1yLqMr4xb454O3zRlXeF9mz8DLGV3VyZqOerqoSFU6WE 4 | 39K0jnbURf4A3YvlkJbYd9RpbSO0vI2xRyTmag== 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server10.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILBDMs7bRVxVg6ovTpf2zB9m+22jY7R3LNKRvCPfa6YJoAoGCCqGSM49 3 | AwEHoUQDQgAEHG336dql6qGcsnIZqAkcc63eFbvepuOzTwXobRAuOmk3l4A5wXX/ 4 | vs5wAawLX1wUTUM/AESHmAZrJK9tq5So8g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server5.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPEqEyB2AnCoPL/9U/YDHvdqXYbIogTywwyp6/UfDw6noAoGCCqGSM49 3 | AwEHoUQDQgAEN8xW2XYJHlpyPsdZLf8gbu58+QaRdNCtFLX3aCJZYpJO5QDYIxH/ 4 | 6i/SNF1dFr2KiMJrdw1VzYoqDvoByLTt/w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server6.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIEQZG5j8IkRLxa9OoZJzD3KkrXqIgi9cHZMVv2s/VcPOoAoGCCqGSM49 3 | AwEHoUQDQgAEgVkxdkkk+hWtq6Axbg7tMxH6kSVVwbDBnANyPpi6LaRyN4kfQzeN 4 | H4462PBX6C9PyQCk99tzD7LGBJTRQDs44w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/server7.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILBDMs7bRVxVg6ovTpf2zB9m+22jY7R3LNKRvCPfa6YJoAoGCCqGSM49 3 | AwEHoUQDQgAEHG336dql6qGcsnIZqAkcc63eFbvepuOzTwXobRAuOmk3l4A5wXX/ 4 | vs5wAawLX1wUTUM/AESHmAZrJK9tq5So8g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /rt-thread/components/libc/pthreads/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | 7 | group = DefineGroup('pthreads', src, 8 | depend = ['RT_USING_PTHREADS', 'RT_USING_LIBC'], CPPPATH = CPPPATH) 9 | 10 | Return('group') 11 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_bp256_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHgCAQEEICFh1vLbdlJvpiwW81aoDwHzL3dnhLNqqZeZqLdmIID/oAsGCSskAwMC 3 | CAEBB6FEA0IABHaMjK5KvKYwbbDtgbDEpiFcN4Bm7G1hbBRuE/HH34CblqtpEcJ9 4 | igIznwkmhA5VI209HvviZp0JDkxMZg+tqR0= 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /rt-thread/components/gdb/libcpu/cortexm/gdb_handler.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void rt_hw_debugmon_exception(void *regs) 5 | { 6 | #ifdef RT_USING_GDB 7 | gdb_arch_late(); 8 | gdb_handle_exception(SIGTRAP, regs); 9 | gdb_arch_exit(); 10 | #endif 11 | } 12 | -------------------------------------------------------------------------------- /drivers/audio/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('drv_audio', src, depend = [''], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/asm/atomic.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_ATOMIC_H__ 2 | #define __ASM_ATOMIC_H__ 3 | 4 | #define atomic_t int 5 | #define atomic_inc(atom) (*atom)++ 6 | #define atomic_dec(atom) (*atom)-- 7 | #define atomic_read(atom) (*atom) 8 | 9 | 10 | #endif /* __ASM_ATOMIC_H__ */ 11 | -------------------------------------------------------------------------------- /beken378/func/hostapd-2.5/src/common/version.h: -------------------------------------------------------------------------------- 1 | #ifndef VERSION_H 2 | #define VERSION_H 3 | 4 | #ifndef VERSION_STR_POSTFIX 5 | #define VERSION_STR_POSTFIX "" 6 | #endif /* VERSION_STR_POSTFIX */ 7 | 8 | #define VERSION_STR "2.5" VERSION_STR_POSTFIX 9 | 10 | #endif /* VERSION_H */ 11 | -------------------------------------------------------------------------------- /components/player/inc/format_ts.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: format_ts.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __FORMAT_TS_H__ 8 | #define __FORMAT_TS_H__ 9 | 10 | int player_format_ts_register(void); 11 | 12 | #endif /* __FORMAT_TS_H__ */ 13 | -------------------------------------------------------------------------------- /components/player/inc/hls_work.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: hls_work.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __HLS_WORK_H__ 8 | #define __HLS_WORK_H__ 9 | 10 | void hls_work(struct rt_work* work, void* user_data); 11 | 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dhparams.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIGHAoGBAJ419DBEOgmQTzo5qXl5fQcN9TN455wkOL7052HzxxRVMyhYmwQcgJvh 3 | 1sa18fyfR9OiVEMYglOpkqVoGLN7qd5aQNNi5W7/C+VBdHTBJcGZJyyP5B3qcz32 4 | 9mLJKudlVudV0Qxk5qUJaPZ/xupz0NyoVpviuiBOI1gNi8ovSXWzAgEC 5 | -----END DH PARAMETERS----- 6 | -------------------------------------------------------------------------------- /samples/voice_config/ChangeLog.md: -------------------------------------------------------------------------------- 1 | # voice_config 2.0 Change Log 2 | 3 | ## 2.0.0 4 | 5 | * 优化算法,不再需要同步头。 6 | * 数据倒序,把长度放在最末尾,以降低自动匹配时的运算量。 7 | * 字节拆分时,高位在前,以方便调试时辨认。 8 | * 更新上位机工具 9 | - 数据倒序(需要重新部署到服务器) 10 | - 使用固定参数数量 11 | 12 | # voice_config 1.0 Change Log 13 | 14 | * 对同步头进行16次匹配,使同步点更加精确。 15 | -------------------------------------------------------------------------------- /beken378/app/net_work/app_drone.c: -------------------------------------------------------------------------------- 1 | #include "include.h" 2 | #include "common.h" 3 | #include "uart_pub.h" 4 | #include "mem_pub.h" 5 | 6 | #include "task.h" 7 | #include "bk_rtos_pub.h" 8 | #include "error.h" 9 | #if CFG_SUPPORT_TIANZHIHENG_DRONE 10 | 11 | #endif // CFG_SUPPORT_TIANZHIHENG_DRONE 12 | 13 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/port/ethernetif.h: -------------------------------------------------------------------------------- 1 | #ifndef __ETHERNETIF_H__ 2 | #define __ETHERNETIF_H__ 3 | 4 | 5 | #include "lwip/err.h" 6 | #include "lwip/netif.h" 7 | 8 | 9 | void ethernetif_recv(struct netif *netif, int total_len); 10 | err_t ethernetif_init(struct netif *netif); 11 | 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /drivers/wlan/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('drv_wlan', src, depend = ['BEKEN_USING_WLAN'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/programs/pkey/rsa_pub.txt: -------------------------------------------------------------------------------- 1 | N = A1D46FBA2318F8DCEF16C280948B1CF27966B9B47225ED2989F8D74B45BD36049C0AAB5AD0FF003553BA843C8E12782FC5873BB89A3DC84B883D25666CD22BF3ACD5B675969F8BEBFBCAC93FDD927C7442B178B10D1DFF9398E52316AAE0AF74E594650BDC3C670241D418684593CDA1A7B9DC4F20D2FDC6F66344074003E211 2 | E = 010001 3 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/ramfs/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd] 6 | 7 | group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_MEMHEAP', 'RT_USING_DFS_RAMFS'], CPPPATH = CPPPATH) 8 | 9 | Return('group') 10 | -------------------------------------------------------------------------------- /samples/ota/http/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | 8 | CPPPATH = [cwd] 9 | 10 | group = DefineGroup('samples', src, depend = ['SAMPLE_USING_OTA_HTTP'], CPPPATH = CPPPATH) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /samples/ota/port/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | 8 | CPPPATH = [cwd] 9 | 10 | group = DefineGroup('rt_ota_port', src, depend = ['PKG_USING_FAL'], CPPPATH = CPPPATH) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /beken378/app/app_demo/app_demo_udp.h: -------------------------------------------------------------------------------- 1 | #ifndef __APP_DEMO_UDP_H__ 2 | #define __APP_DEMO_UDP_H__ 3 | 4 | UINT32 app_demo_udp_init(void); 5 | void app_demo_udp_deinit(void); 6 | int app_demo_udp_send_packet (UINT8 *data, UINT32 len); 7 | void app_demo_disconnect_cmd_udp(void); 8 | 9 | #endif 10 | // eof 11 | 12 | -------------------------------------------------------------------------------- /beken378/func/ethernet_intf/ethernet_intf.h: -------------------------------------------------------------------------------- 1 | #ifndef __ETHERNET_INTF_H__ 2 | #define __ETHERNET_INTF_H__ 3 | 4 | #include "mac.h" 5 | 6 | extern char wireless_ip[4]; 7 | extern char wireless_mask[4]; 8 | extern char wireless_gw[4]; 9 | 10 | extern int hwaddr_aton(const char *txt, u8 *addr); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /beken378/func/include/target_util_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _TARGET_UTIL_PUB_H_ 2 | #define _TARGET_UTIL_PUB_H_ 3 | 4 | extern void delay(INT32 num); 5 | extern void delay_ms(UINT32 ms_count); 6 | extern void delay_sec(UINT32 ms_count); 7 | extern void delay_tick(UINT32 tick_count); 8 | 9 | #endif // _TARGET_UTIL_PUB_H_ 10 | -------------------------------------------------------------------------------- /beken378/func/voice_transfer/voice_transfer.h: -------------------------------------------------------------------------------- 1 | #ifndef __VOICE_TRANS_H__ 2 | #define __VOICE_TRANS_H__ 3 | 4 | typedef int (*video_transfer_send_func)(UINT8 *data, UINT32 len); 5 | 6 | UINT32 tvoice_transfer_init(video_transfer_send_func send_func); 7 | UINT32 tvoice_transfer_deinit(void); 8 | 9 | #endif // __VOICE_TRANS_H__ -------------------------------------------------------------------------------- /beken378/rttos/include/target_util_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _TARGET_UTIL_PUB_H_ 2 | #define _TARGET_UTIL_PUB_H_ 3 | 4 | extern void delay(INT32 num); 5 | extern void delay_ms(UINT32 ms_count); 6 | extern void delay_sec(UINT32 ms_count); 7 | extern void delay_tick(UINT32 tick_count); 8 | 9 | #endif // _TARGET_UTIL_PUB_H_ 10 | -------------------------------------------------------------------------------- /components/codec/lib_helix_mp3/codec_helixmp3.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: codec_helixmp3.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __CODEC_HELIXMP3_H__ 8 | #define __CODEC_HELIXMP3_H__ 9 | 10 | int player_codec_helixmp3_register(void); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /components/codec/lib_speex/include/speex/speex_config_types.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPEEX_TYPES_H__ 2 | #define __SPEEX_TYPES_H__ 3 | 4 | #include 5 | 6 | typedef int16_t spx_int16_t; 7 | typedef uint16_t spx_uint16_t; 8 | typedef int32_t spx_int32_t; 9 | typedef uint32_t spx_uint32_t; 10 | 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /components/codec/lib_speex/include/speex/speex_config_types.h.in: -------------------------------------------------------------------------------- 1 | #ifndef __SPEEX_TYPES_H__ 2 | #define __SPEEX_TYPES_H__ 3 | 4 | @INCLUDE_STDINT@ 5 | 6 | typedef @SIZE16@ spx_int16_t; 7 | typedef @USIZE16@ spx_uint16_t; 8 | typedef @SIZE32@ spx_int32_t; 9 | typedef @USIZE32@ spx_uint32_t; 10 | 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /libcpu/SConscript: -------------------------------------------------------------------------------- 1 | Import('rtconfig') 2 | from building import * 3 | 4 | cwd = GetCurrentDir() 5 | src = Glob('*.c') 6 | CPPPATH = [cwd] 7 | 8 | if rtconfig.PLATFORM == 'gcc': 9 | src += Glob('*.S') 10 | 11 | group = DefineGroup('cpu', src, depend = [''], CPPPATH = CPPPATH) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /samples/ota/ymodem/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('ymodem_beken.c') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('samples', src, depend = ['SAMPLE_USING_OTA_YMODEM'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /beken378/os/include/sys_rtos.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_RTOS_H_ 2 | #define _SYS_RTOS_H_ 3 | 4 | #include "include.h" 5 | 6 | #if CFG_OS_FREERTOS 7 | #include "FreeRTOSConfig.h" 8 | #include "FreeRTOS.h" 9 | #include "rtos.h" 10 | #include "queue.h" 11 | #include "semphr.h" 12 | #endif 13 | 14 | #endif // _SYS_RTOS_H_ 15 | 16 | -------------------------------------------------------------------------------- /components/codec/lib_speex/include/speex/speexdsp_config_types.h.in: -------------------------------------------------------------------------------- 1 | #ifndef __SPEEX_TYPES_H__ 2 | #define __SPEEX_TYPES_H__ 3 | 4 | @INCLUDE_STDINT@ 5 | 6 | typedef @SIZE16@ spx_int16_t; 7 | typedef @USIZE16@ spx_uint16_t; 8 | typedef @SIZE32@ spx_int32_t; 9 | typedef @USIZE32@ spx_uint32_t; 10 | 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /packages/SConscript: -------------------------------------------------------------------------------- 1 | import os 2 | from building import * 3 | 4 | objs = [] 5 | cwd = GetCurrentDir() 6 | list = os.listdir(cwd) 7 | 8 | for item in list: 9 | if os.path.isfile(os.path.join(cwd, item, 'SConscript')): 10 | objs = objs + SConscript(os.path.join(item, 'SConscript')) 11 | 12 | Return('objs') 13 | -------------------------------------------------------------------------------- /components/player/inc/websession_work.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: websession_work.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __WEBSESSION_WORK_H__ 8 | #define __WEBSESSION_WORK_H__ 9 | 10 | void websession_work(struct rt_work* work, void* user_data); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /rt-thread/components/cplusplus/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.cpp') + Glob('*.c') 7 | 8 | CPPPATH = [cwd] 9 | 10 | group = DefineGroup('CPlusPlus', src, depend = ['RT_USING_CPLUSPLUS'], CPPPATH = CPPPATH) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /rt-thread/components/libc/time/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.cpp') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('pthreads', src, 10 | depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /rt-thread/examples/nanopb/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | Import('rtconfig') 3 | from building import * 4 | 5 | src = Split(''' 6 | simple.c 7 | simple.pb.c 8 | ''') 9 | CPPPATH = [RTT_ROOT + '/examples/nanopb'] 10 | 11 | group = DefineGroup('Nanopb_test', src, depend = ['RT_USING_NANOPB'], CPPPATH = CPPPATH) 12 | 13 | Return('group') -------------------------------------------------------------------------------- /samples/peripheral/i2c/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('i2c_sample', src, depend = ['SAMPLE_USING_I2C_SAMPLE'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /beken378/app/config/sys_version.h: -------------------------------------------------------------------------------- 1 | #ifndef _SYS_VERSION_H_ 2 | #define _SYS_VERSION_H_ 3 | 4 | #define RELEASE_VERSION "1.0.7" 5 | #define RELEASE_TIME "2018.07.27 13:44" 6 | #define FMALL_VERSION "5.0.4" 7 | #define FMAC_LIB_VERSON "2.0.2" 8 | 9 | #endif // _SYS_VERSION_H_ 10 | -------------------------------------------------------------------------------- /beken378/func/key_handle/key_handle.h: -------------------------------------------------------------------------------- 1 | #ifndef _KEY_HANDLE_H_ 2 | #define _KEY_HANDLE_H_ 3 | 4 | #include "sys_rtos.h" 5 | #include "bk_rtos_pub.h" 6 | 7 | #define KEY_DEBUG 8 | 9 | #ifdef KEY_DEBUG 10 | #define KEY_PRT os_printf 11 | #else 12 | #define APP_PRT os_null_printf 13 | #endif 14 | 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_521_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAHeFC1U9p6wOO5LevnTygdzb9nPcZ 3 | 6zVNaYee5/PBNvsPv58I+Gvl+hKOwaBR0+bGQ+ha2o/6zzZjwmC9LIRLb1YAzujk 4 | ip5l0Jyt2J8jXe4F87imRr5xXx9n1bQ04P8jofwH73dAGT5A7v9vO839dlqpFVAz 5 | Uk/k8gX1RE4pLEwvasE= 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_bp512_pub.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGbMBQGByqGSM49AgEGCSskAwMCCAEBDQOBggAEOLfskrYcXGx/vCik7HWdSPzU 3 | 4uN03v1cSWilTb73UQ5ReIb7/DjqOapSk1nXCnFWw108usfOd2vbJR3WS85xI0Qk 4 | 7nBJ7tBy8NvE15mW4XXVV+JjdjrpcJXAgec+fbLjitw9TJoEh7Ht6HbcH8phyQLp 5 | odhyK4YSko8YokhFWRo= 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/format_gen.pub: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA0UszjREl+JklUyevaN8fb0Gp 3 | 13Dzb4pY3MCoJK15BWoeoUFAIVvuI0C8bRm/i1OO4BN9tSRrRjW+S89YbYy1C73P 4 | UgKZSejjnEFA4chcSOKOhZlM6K7+Pcrcx+sdiDu1DheODMiSFhoxt+H6IUvBEGkI 5 | 5AWFu5MDP7wlU/AZfQIDAQAB 6 | -----END PUBLIC KEY----- 7 | -------------------------------------------------------------------------------- /packages/netutils/SConscript: -------------------------------------------------------------------------------- 1 | import os 2 | from building import * 3 | 4 | objs = [] 5 | cwd = GetCurrentDir() 6 | list = os.listdir(cwd) 7 | 8 | for item in list: 9 | if os.path.isfile(os.path.join(cwd, item, 'SConscript')): 10 | objs = objs + SConscript(os.path.join(item, 'SConscript')) 11 | 12 | Return('objs') 13 | -------------------------------------------------------------------------------- /packages/quicklz/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('quicklz.c') 5 | CPPPATH = [cwd] 6 | 7 | if GetDepend('QLZ_USING_SAMPLE'): 8 | src += ['quicklz_sample.c'] 9 | 10 | group = DefineGroup('quicklz', src, depend = ['PKG_USING_QUICKLZ'], CPPPATH = CPPPATH) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/devfs/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_DEVFS'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /samples/peripheral/gpio/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('gpio_sample', src, depend = ['SAMPLE_USING_GPIO_SAMPLE'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /samples/peripheral/uart/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('uart_sample', src, depend = ['SAMPLE_USING_UART_SAMPLE'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /beken378/func/camera_intf/camera_intf_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef __CAMERA_INTF_PUB_H__ 2 | #define __CAMERA_INTF_PUB_H__ 3 | 4 | void camera_flip(UINT8 n); 5 | void camera_intfer_init(void* data); 6 | void camera_intfer_deinit(void); 7 | void camera_intfer_set_video_param(UINT32 ppi_type, UINT32 pfs_type); 8 | 9 | #endif // __CAMERA_INTF_PUB_H__ 10 | -------------------------------------------------------------------------------- /components/codec/lib_opencore_amr/codec_opencore_amr.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: codec_opencore_amr.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __CODEC_OPENCORE_AMR_H__ 8 | #define __CODEC_OPENCORE_AMR_H__ 9 | 10 | int player_codec_opencore_amr_register(void); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.sec1.pw.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | Proc-Type: 4,ENCRYPTED 3 | DEK-Info: DES-CBC,AA94892A169FA426 4 | 5 | gSkFuUENNke5MvkWHc11/w1NQWBxaIxGT+d5oRcqs44D3tltVOwtdnYexoD9uSIL 6 | wMFFRLL6I5ii1Naa38nPOMaa7kLU2J3jY8SeIH1rQ43X6tlpv9WFGqDn/m6X7oKo 7 | RMMfGdicPZg= 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/untgz/Makefile: -------------------------------------------------------------------------------- 1 | CC=cc 2 | CFLAGS=-g 3 | 4 | untgz: untgz.o ../../libz.a 5 | $(CC) $(CFLAGS) -o untgz untgz.o -L../.. -lz 6 | 7 | untgz.o: untgz.c ../../zlib.h 8 | $(CC) $(CFLAGS) -c -I../.. untgz.c 9 | 10 | ../../libz.a: 11 | cd ../..; ./configure; make 12 | 13 | clean: 14 | rm -f untgz untgz.o *~ 15 | -------------------------------------------------------------------------------- /packages/zlib/zlib/zlib.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | sharedlibdir=@sharedlibdir@ 5 | includedir=@includedir@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /rt-thread/.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.map 3 | *.dblite 4 | *.elf 5 | *.bin 6 | *.hex 7 | *.axf 8 | *.exe 9 | *.pdb 10 | *.idb 11 | *.ilk 12 | *.old 13 | build 14 | Debug 15 | documentation/html 16 | *~ 17 | *.o 18 | *.obj 19 | *.bak 20 | *.dep 21 | *.lib 22 | *.a 23 | *.i 24 | *.d 25 | tools/kconfig-frontends/kconfig-mconf 26 | packages 27 | cconfig.h 28 | -------------------------------------------------------------------------------- /rt-thread/components/libc/aio/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.cpp') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('aio', src, depend = ['RT_USING_POSIX', 'RT_USING_POSIX_AIO'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /samples/airkiss_lan/weixin_config_custom.h: -------------------------------------------------------------------------------- 1 | #ifndef __WEIXIN_CONFIG_CUSTOM_H__ 2 | #define __WEIXIN_CONFIG_CUSTOM_H__ 3 | 4 | extern const char *WEIXIN_DEVICE_TYPE; /* gh_xxxx 从微信获取: 公众号设置 ==> 帐号详情 ==> 原始ID */ 5 | extern const char *WEIXIN_PRODUCT_ID; /* 12345 设备功能 ==> 对应设备 ==> 产品详情 ==> 产品编号 */ 6 | 7 | #endif /* __WEIXIN_CONFIG_CUSTOM_H__*/ 8 | -------------------------------------------------------------------------------- /beken378/driver/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | list = os.listdir(cwd) 5 | objs = [] 6 | 7 | for d in list: 8 | path = os.path.join(cwd, d) 9 | if os.path.isfile(os.path.join(path, 'SConscript')): 10 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 11 | 12 | Return('objs') 13 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_prv.pk8.pw.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN ENCRYPTED PRIVATE KEY----- 2 | MIGRMBwGCiqGSIb3DQEMAQEwDgQIIrlmCCSpJzcCAggABHGm2LyJ60ojfilRRp8h 3 | Xf+sWL3lJq6wlj4Nk41SHVnZ2RiVtP5NVK908/WxnXkridd6Qpjnq/14woWVmQxT 4 | IzhKFVi22YmQyBsNj+bEGDAE4c9qaby8u6zbzs7Qj29F90f/PiYsaIEGcNn/W88e 5 | XarNDw== 6 | -----END ENCRYPTED PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /packages/tinycrypt/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('src/*.c') + Glob('src/*.cpp') 7 | CPPPATH = [cwd + '/include'] 8 | 9 | group = DefineGroup('TinyCrypt', src, depend = ['PKG_USING_TINYCRYPT'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /beken378/common/include.h: -------------------------------------------------------------------------------- 1 | #ifndef _INCLUDES_H_ 2 | #define _INCLUDES_H_ 3 | 4 | #include "sys_config.h" 5 | #include "typedef.h" 6 | #include "generic.h" 7 | #include "compiler.h" 8 | #if (!CFG_SUPPORT_ALIOS) 9 | #include "arch.h" 10 | #if (!CFG_SUPPORT_RTT) 11 | #include "demos_config.h" 12 | #endif 13 | #endif 14 | #endif // _INCLUDES_H_ 15 | -------------------------------------------------------------------------------- /beken378/func/bk7011_cal/bk7011_cal.h: -------------------------------------------------------------------------------- 1 | #ifndef _BK7011_CAL_H_ 2 | #define _BK7011_CAL_H_ 3 | 4 | #if (CFG_SOC_NAME == SOC_BK7231) 5 | #include "bk7231_cal.h" 6 | #elif (CFG_SOC_NAME == SOC_BK7231U) 7 | #include "bk7231U_cal.h" 8 | #elif (CFG_SOC_NAME == SOC_BK7221U) 9 | #include "bk7221U_cal.h" 10 | #endif 11 | 12 | #endif // _BK7011_CAL_H_ 13 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/test-ca2.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIGkAgEBBDCD2RUOoHHwVxAzozi4hsGmEV1ttAPhKXZF14dvI6tEIOpke4WxdueF 3 | lap01tGkXuqgBwYFK4EEACKhZANiAATD2is0QTdYL4dW/vyJuilDS07gbsMOV1Mz 4 | OVjUUrSRlTkLI99fFyRiSPwalSnOLC2HwohSgK/Waqsh3bjTHG5YuMrosmmO80Gt 5 | KcO0X3WnR2/VGSlVaZpTOyC0ZhZgMx4= 6 | -----END EC PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /packages/rt_ota/ports/temp/rt_ota_key_port.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | /** 5 | * Get the decryption key & iv 6 | * 7 | * @param iv_buf initialization vector 8 | * @param key_buf aes key 9 | */ 10 | void rt_ota_get_iv_key(uint8_t * iv_buf, uint8_t * key_buf) 11 | { 12 | /* Get the decryption key & iv */ 13 | } 14 | -------------------------------------------------------------------------------- /packages/zlib/zlib/.gitignore: -------------------------------------------------------------------------------- 1 | *.diff 2 | *.patch 3 | *.orig 4 | *.rej 5 | 6 | *~ 7 | *.a 8 | *.lo 9 | *.o 10 | *.dylib 11 | 12 | *.gcda 13 | *.gcno 14 | *.gcov 15 | 16 | /example 17 | /example64 18 | /examplesh 19 | /libz.so* 20 | /minigzip 21 | /minigzip64 22 | /minigzipsh 23 | /zlib.pc 24 | /configure.log 25 | 26 | .DS_Store 27 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/nfs/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('rpc/*.c') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_NFS'], CPPPATH = CPPPATH) 10 | 11 | Return('group') 12 | -------------------------------------------------------------------------------- /rt-thread/tools/kconfig-frontends/libs/parser/kconfig-parser.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=${prefix}/include 5 | 6 | Name: kconfig-parser 7 | Description: kconfig-parser library 8 | Requires: 9 | Version: @KCONFIGPARSER_LIB_VERSION@ 10 | Libs: -L${libdir} -lkconfig-parser 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_384_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIGkAgEBBDA/XY2b4oC1aWzFzJ+Uz4r35rYd1lkrKrKzpMYHRQQX7DJ9zcrtfBAF 3 | PXGaBXTwp2qgBwYFK4EEACKhZANiAATZxmK1C6KcpHmQRQ4EOur08MabFWdtES9i 4 | KnHJMFmvmZaRxWgNK0TREVedsS9KQTou1cRfz7Z7W2PgC5Hr5Z0JprGsLAxCgqoS 5 | MX7VkU+Zm8SIuxMug0LMNvLKXjN5x0c= 6 | -----END EC PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/test-int-ca2.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIGkAgEBBDAtxOHUV4be1MdH1frBHzxITCyUSxrVjJN8QTvTVk558ka0a3zhd4Pb 3 | ekWt7wBPXQegBwYFK4EEACKhZANiAATw6KHd9flIt43V2YWdxCVYzD35jqxduWGW 4 | tcHGFfGPB3CkIcQ2f5+hRV2uphVhrtK6/dBV47qcnX0fdA2LFbyKTU/6HGxtqrxu 5 | 1rvy8DIeYLgSZdAuDXDujFv1DzapfVg= 6 | -----END EC PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/newlib/sys/statfs.h: -------------------------------------------------------------------------------- 1 | #ifndef __RTT_STATFS_H__ 2 | #define __RTT_STATFS_H__ 3 | 4 | #include 5 | 6 | struct statfs 7 | { 8 | rt_size_t f_bsize; /* block size */ 9 | rt_size_t f_blocks; /* total data blocks in file system */ 10 | rt_size_t f_bfree; /* free blocks in file system */ 11 | }; 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /rt-thread/components/libc/mmap/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.cpp') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('libc', src, 10 | depend = ['RT_USING_DFS', 'RT_USING_POSIX_MMAP'], 11 | CPPPATH = CPPPATH) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /rt-thread/examples/network/tcp_client.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | import socket 4 | 5 | s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) 6 | 7 | s.connect(('192.168.10.110',6001)) 8 | 9 | print s.recv(1024) 10 | 11 | for data in ['rtt_nano','rtt_thread','rtt_bsp']: 12 | s.send(data) 13 | print s.recv(1024) 14 | 15 | s.send('exit') 16 | s.close() -------------------------------------------------------------------------------- /applications/http_api/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | libpath = [cwd] 8 | CPPPATH = [cwd] 9 | 10 | group = DefineGroup('http_api', src, depend = ['RT_USING_LSSDP_TEST'], CPPPATH = CPPPATH, LIBPATH = libpath) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_bp384_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIGoAgEBBDA92S51DZDX05/BiFzYrRLqlEHyK5M0tNllICrbFEjOJMWAioXdmvwi 3 | mvCjEk91W8ugCwYJKyQDAwIIAQELoWQDYgAEcZ+dCTpifg01A4XGYc6/AMYZI1Zv 4 | 6QBqMQevHYcbxrtomF/XIuoyvjFvjng7fNGVd4X2bPwMsZXdXJmo56uqhIVTpYTf 5 | 0rSOdtRF/gDdi+WQlth31GltI7S8jbFHJOZq 6 | -----END EC PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /samples/airkiss/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | libs = ['airkiss'] 8 | libpath = [cwd] 9 | 10 | group = DefineGroup('airkiss', src, depend = ['RT_USING_AIRKISS'], LIBS = libs, LIBPATH = libpath) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /samples/factory_test/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | libpath = [cwd] 8 | CPPPATH = [cwd] 9 | 10 | group = DefineGroup('factory_test', src, depend = ['RT_USING_FACTORYTEST'], CPPPATH = CPPPATH, LIBPATH = libpath) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /beken378/func/include/fusb_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _FUSB_PUB_H_ 2 | #define _FUSB_PUB_H_ 3 | 4 | //#define FMSC_TEST 5 | //#define FHID_TEST 6 | //#define FUVC_TEST 7 | 8 | #define FUSB_FAILURE ((UINT32)-1) 9 | #define FUSB_SUCCESS (0) 10 | 11 | extern UINT32 fusb_init(void); 12 | void fmsc_fiddle_process(void); 13 | 14 | #endif 15 | // eof 16 | 17 | -------------------------------------------------------------------------------- /components/codec/lib_aac_decode/format_m4a.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: format_m4a.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __FORMAT_M4A_H__ 8 | #define __FORMAT_M4A_H__ 9 | 10 | int player_codec_beken_aac_register(void); 11 | int player_codec_beken_m4a_register(void); 12 | 13 | #endif /* STREAM_H */ 14 | -------------------------------------------------------------------------------- /components/codec/lib_speex/include/speex/Makefile.am: -------------------------------------------------------------------------------- 1 | # Disable automatic dependency tracking if using other tools than gcc and gmake 2 | #AUTOMAKE_OPTIONS = no-dependencies 3 | 4 | nodist_pkginclude_HEADERS = speex_config_types.h 5 | 6 | pkginclude_HEADERS = speex.h speex_bits.h speex_callbacks.h \ 7 | speex_header.h \ 8 | speex_stereo.h speex_types.h 9 | 10 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/minizip/minizip.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/minizip 5 | 6 | Name: minizip 7 | Description: Minizip zip file manipulation library 8 | Requires: 9 | Version: @PACKAGE_VERSION@ 10 | Libs: -L${libdir} -lminizip 11 | Libs.private: -lz 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/include/dfs_select.h: -------------------------------------------------------------------------------- 1 | #ifndef DFS_SELECT_H__ 2 | #define DFS_SELECT_H__ 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | 14 | Return('objs') 15 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/completion.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_COMPLETION_H__ 2 | #define __LINUX_COMPLETION_H__ 3 | 4 | #if defined (__GNUC__) 5 | struct completion { } ; 6 | #elif defined (MSVC) 7 | struct completion {int no; } ; 8 | #else 9 | #error "please use a right C compiler" 10 | #endif 11 | 12 | #endif /* __LINUX_COMPLETION_H__ */ 13 | 14 | -------------------------------------------------------------------------------- /samples/webnet/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.S') 7 | libpath = [cwd] 8 | CPPPATH = [cwd] 9 | 10 | group = DefineGroup('webnet_sample', src, depend = ['SAMPLE_USING_WEBNET'], CPPPATH = CPPPATH, LIBPATH = libpath) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/timer.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_TIMER_H__ 2 | #define __LINUX_TIMER_H__ 3 | 4 | /* Not yet */ 5 | 6 | #if defined (__GNUC__) 7 | struct timer_list { } ; 8 | #elif defined (MSVC) 9 | struct timer_list {int no; } ; 10 | #else 11 | #error "please use a right C compiler" 12 | #endif 13 | 14 | #endif /* __LINUX_TIMER_H__ */ 15 | 16 | -------------------------------------------------------------------------------- /rt-thread/components/libc/signal/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.cpp') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('libc', src, 10 | depend = ['RT_USING_SIGNALS', 'RT_USING_PTHREADS', 'RT_USING_LIBC'], 11 | CPPPATH = CPPPATH) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/00.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIARPaEIfROHkE9Y0ZgHh7Mc3ZU6LR9lCOIw1ksYTHp5EoAoGCCqGSM49 6 | AwEHoUQDQgAEVbjX+oDAA+nL5PF1zs8qbNmyr0I+K6MpTi+kXV6RecbHYc/jbRCh 7 | vAFVVaGTNGYvB1ugfaPrl1wIqNDua/93Eg== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/01.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEINSnxPqUNMba8F2KWNxU88heSs7vgas5BOzjRwQsQe6IoAoGCCqGSM49 6 | AwEHoUQDQgAEM55/cxx8CxjvFUeFvVe7zJcQnaKI8xDol+WOibT7RTs/Ournh2Os 7 | 6DdP5ieg56p0l4pSSFFHlunhn6ppGu58ZA== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/02.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIPW9zE8cjiZ8w17jTAebb4xAmEg6heEEnEaG4lGCd38joAoGCCqGSM49 6 | AwEHoUQDQgAEFh6b9YupX8LzTzj+ZGuktJ+eRL86GmCuqW01z+sjDlv+F2UjyseW 7 | aKuBTHtHCsxiCBS9a849VdnM2Afqry4cog== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/03.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIBx2xwapGbHTy79IbpJkc/w9LJXPKNG7gGRLPOGPQFI6oAoGCCqGSM49 6 | AwEHoUQDQgAEEQ1wzSItaXq3rnYasGti7JV4LMZwetx7ucuZYPtVj67iGD8w/x6N 7 | AD73lXcxS1Y4tffmxOPrRT2C9UqbDdVn1g== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/04.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIDQvTm0wfEAKoymv8ePBv7cRxrnM4g6LREnSll5ghQsXoAoGCCqGSM49 6 | AwEHoUQDQgAEFFw4HFFTU/YaL22RORy+q4zm+wuecBLlik4VfwnGeK1q18e1Vx2H 7 | Q/0d2gwOyUr2KZtrE6JOIrG5Q84WTPxgzQ== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/05.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIP3MTs0m9ssAAXQ94O6GYC3pckfpMUxQiPTG8hQYgA0WoAoGCCqGSM49 6 | AwEHoUQDQgAEBHU9DhX+RlHK4F9l5ZQsicz/eDWeOuBrIAeqbDS7A3i/o+wFPqCc 7 | u1S71v5R4dzg4JdPGfW4aixQZjY5x25vEA== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/06.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIESUhQgXWd8cVQnitNEpOD2JNMqH9ug/wYaY1xW3SaSGoAoGCCqGSM49 6 | AwEHoUQDQgAEgPalqAFB655/t5Mcja4zyZPNlgy4plttUTedbsaaG2nb/GIBhA0X 7 | T/jpPrkakElLAOmV3xd4hq9ho30N8DAx/A== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/07.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIEi1oKInPLbiINj8OxdActVTgI+YQVSefdQfCu1ihbLRoAoGCCqGSM49 6 | AwEHoUQDQgAEjTo+HeDBAO6f95ooo6huE6BOKKSjwJvtwUyBqyU2E9ePvk0olCAp 7 | dAEl4/sXlHCzCGl0zdONrC7B8aUoc0Gi9A== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/08.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIC8M2G7XcqeagYgt8SZJbuTh4tYchGvX3yDZJKTuBgFUoAoGCCqGSM49 6 | AwEHoUQDQgAEaUHkP2BkI55e0s6OlkrSdbu8bp0y+YwZFx/GgFUptKol+AA/+2D8 7 | WuRJxs2XS059ub0FZ30ABqTMfD9ZWIhmAg== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/09.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIKkdxegP5yN840sBDxIPpiMftZss14uLaH7zoxOqrePDoAoGCCqGSM49 6 | AwEHoUQDQgAEe2QdevrehLH2oRsilBiVuZns5M43WmL3OJWyWijUcBUX3Nxf35jT 7 | krFBUoPxdDfr1BPnaCojwvMEcC875uLPuQ== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/10.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIPuPPMxo5e2doI7YfDp60qmEn4YwYs2sb5QlOpFQ3BIJoAoGCCqGSM49 6 | AwEHoUQDQgAEeo5RimyXeYYg8Te/PYJDnMKchyPcEcAqwAwDsDpDHjwT0ZcBnZu5 7 | sO2fxAJrtus0Zv4XMq7ODKpNi2mw4zyPVw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/11.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIHaMieH2/wn6lnsFUGzww43ymhN16Z0nhG5TyvNeY8U2oAoGCCqGSM49 6 | AwEHoUQDQgAE2cEfliujQRf+64hXTet3PIY2HXWUUeJa81TT8IgUMZ58cKT8qw/Q 7 | Omjz5i3OkqhjiVuGRlQnKCAc3vUSVXogfQ== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/12.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIAzhAcc1Yb2u4bsQDaYeRaRW8kJ/HzFTTfINV1k+TxZ/oAoGCCqGSM49 6 | AwEHoUQDQgAEwxPSz5Sz3IGd29AXIUfwJITRD/RwGr8GGnSSMs6D6OXnQlZ26EB+ 7 | /Oo7GcGTWaAtIBwwIQphnCH0XpyEgKFbjw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/13.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIKb966FXMh8cFQt3sVpmcrh2/3yaGiLMwz+/XGKGMJ+2oAoGCCqGSM49 6 | AwEHoUQDQgAE65MwiS854ZYZ7L9UVwfZH3mg/nCK7j0NHCLQQxqXbw/MWwVb0HIu 7 | PkRtkVVAklkYZBWI0rFEjNEBzEJwRZYcNg== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/14.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIKEycJNLyYJ5JgECpCuZiFeXZIMC+XsMEKoMhRTx6xD+oAoGCCqGSM49 6 | AwEHoUQDQgAE0TGTdER8z3aJzZmbqvVz4c70Odk2qJMU9/aqULZRcr1LhBiqy6Db 7 | 3XKQEWgNKxqbrekSwEDlVIjVZSdyKY+/PQ== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/15.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIL1c0zvh4Fx8aylrlHsOsK5Pcam7BWVHM2lDxGO26QIUoAoGCCqGSM49 6 | AwEHoUQDQgAEJSlIjKErLP4bE2rHnanQdgQjhiYU7dIYFBnlJ1jWdbLzuMp9BpBR 7 | 2dPPvn5djCqo6Y/lV6tCUhRchlDoJoItxw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/16.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIM0YCnGkEG/TjBxrytP9Ztslm1yoQaWptBxegRzzBRDVoAoGCCqGSM49 6 | AwEHoUQDQgAEO1bKeyZgzZID4f/s5iD5He6NMaLf1jzBZ97gLBrbFN/OTBdH5oXx 7 | S4UW2x/YeCY2B4/MtLKVN27lF4X7bwGVWw== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/17.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIAiUS1dM3qrcOun8PjKe+rw40L2HG/Y8Dfxl0AfzyIVeoAoGCCqGSM49 6 | AwEHoUQDQgAEayEqtszvZg9vWAixweehXVP0SDbUYX3i7TPruaNx2gJ6KctEvfEc 7 | 7hBhC46c6/GSOpJDDGbI/JxWUBfB37hNIA== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/18.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIJETLWqIZtnejCGzESDgMnknxqEx5evMGZfzBVPKMwKKoAoGCCqGSM49 6 | AwEHoUQDQgAErHPyZDXGH2zIKTn6y+ZCjhsTiWhkukkCHjTt91HgaU6HtW1NmnDe 7 | udsY73BqNHyRLcYNn3Dx0YU5xjAQ9btTdg== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/19.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIDJyHSKbXEZVfkNftQF4eHeJVuXhGdaboa7w4RejL5uYoAoGCCqGSM49 6 | AwEHoUQDQgAECckQhzQ+/CsWR6Bx3Tk4z7g+h4xz5xCl/GqW5VKREwybi1u2Ed1f 7 | ENHU2nPiR4kentpeA5Q23+W04shaAM8Pcg== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/20.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIJHLciDhJcnlE5MhTrOfFlnRbpJQLOf4h72E6VDXxMM0oAoGCCqGSM49 6 | AwEHoUQDQgAExnm6zfCcRIXjnQsQ/poZ0OMzFMRdVlJJgAByFMNPPQWIh/UgMGEv 7 | zObZ5fkfH2476BqkqUek5FfRFNwkMiKMcA== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/test-ca.opensslconf: -------------------------------------------------------------------------------- 1 | [req] 2 | x509_extensions = v3_ca 3 | distinguished_name = req_dn 4 | 5 | [req_dn] 6 | countryName = NL 7 | organizationalUnitName = PolarSSL 8 | commonName = PolarSSL Test CA 9 | 10 | [v3_ca] 11 | subjectKeyIdentifier=hash 12 | authorityKeyIdentifier=keyid:always,issuer:always 13 | basicConstraints = CA:true 14 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/test-int-ca3.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIC9zTt8jgjBlbq+qCsGj6uclaKLYBqxYSmUiuBdM1KG9oAoGCCqGSM49 6 | AwEHoUQDQgAE732fWHLNPMPsP1U1ibXvb55erlEVMlpXBGsj+KYwVqU1XCmW9Z9h 7 | hP7X/5js/DX92J/utoHyjUtVpQOzdTrbsQ== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /packages/zlib/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for zlib 2 | 3 | from building import * 4 | 5 | # get current directory 6 | cwd = GetCurrentDir() 7 | 8 | zlib_dir = cwd + '/zlib' 9 | src = Glob(zlib_dir + '/*.c') 10 | 11 | CPPPATH = [zlib_dir] 12 | 13 | group = DefineGroup('zlib', src, depend = ['PKG_USING_ZLIB'], CPPPATH = CPPPATH) 14 | 15 | Return('group') 16 | -------------------------------------------------------------------------------- /rt-thread/components/libc/termios/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.cpp') 7 | CPPPATH = [cwd] 8 | 9 | group = DefineGroup('libc', src, 10 | depend = ['RT_USING_LIBC', 'RT_USING_POSIX', 'RT_USING_POSIX_TERMIOS'], 11 | CPPPATH = CPPPATH) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip_dhcpd/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | 5 | if GetDepend('RT_USING_LWIP202'): 6 | src = ['dhcp_server_raw.c'] 7 | else: 8 | src = ['dhcp_server.c'] 9 | 10 | CPPPATH = [cwd] 11 | 12 | group = DefineGroup('lwIP', src, depend = ['RT_USING_LWIP', 'LWIP_USING_DHCPD'], CPPPATH = CPPPATH) 13 | 14 | Return('group') 15 | -------------------------------------------------------------------------------- /samples/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | 14 | Return('objs') 15 | -------------------------------------------------------------------------------- /components/player/inc/pls_work.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: pls_work.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __PLS_WORK_H__ 8 | #define __PLS_WORK_H__ 9 | 10 | void pls_work(struct rt_work* work, void* user_data); 11 | rt_err_t pls_mode(int mode); // 0: once, 1: cycle 12 | int pls_dump_music(void); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | option(INSTALL_MBEDTLS_HEADERS "Install mbed TLS headers." ON) 2 | 3 | if(INSTALL_MBEDTLS_HEADERS) 4 | 5 | file(GLOB headers "mbedtls/*.h") 6 | 7 | install(FILES ${headers} 8 | DESTINATION include/mbedtls 9 | PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) 10 | 11 | endif(INSTALL_MBEDTLS_HEADERS) 12 | -------------------------------------------------------------------------------- /packages/zlib/zlib/zlib.pc.cmakein: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@INSTALL_LIB_DIR@ 4 | sharedlibdir=@INSTALL_LIB_DIR@ 5 | includedir=@INSTALL_INC_DIR@ 6 | 7 | Name: zlib 8 | Description: zlib compression library 9 | Version: @VERSION@ 10 | 11 | Requires: 12 | Libs: -L${libdir} -L${sharedlibdir} -lz 13 | Cflags: -I${includedir} 14 | -------------------------------------------------------------------------------- /rt-thread/components/CMSIS/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | 14 | Return('objs') 15 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | 14 | Return('objs') 15 | -------------------------------------------------------------------------------- /samples/ota/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | 14 | Return('objs') 15 | -------------------------------------------------------------------------------- /samples/peripheral/Kconfig: -------------------------------------------------------------------------------- 1 | menu "Peripheral Samples Config" 2 | config SAMPLE_USING_GPIO_SAMPLE 3 | bool "Enable GPIO Sample" 4 | default n 5 | 6 | config SAMPLE_USING_UART_SAMPLE 7 | bool "Enable UART Sample" 8 | default n 9 | 10 | config SAMPLE_USING_I2C_SAMPLE 11 | bool "Enable I2C Sample" 12 | default n 13 | endmenu 14 | 15 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/config.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_CONFIG_H__ 2 | #define __LINUX_CONFIG_H__ 3 | 4 | #define GFP_KERNEL 0 5 | 6 | /* #define CONFIG_JFFS2_FS_WRITEBUFFER 0 */ 7 | /* #define CONFIG_JFFS2_PROC */ 8 | /* #define CONFIG_JFFS2_RTIME */ 9 | /* #define CONFIG_JFFS2_RUBIN */ 10 | /* #define CONFIG_JFFS2_ZLIB */ 11 | 12 | #endif /* __LINUX_CONFIG_H__ */ 13 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/usb/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | Return('objs') 14 | -------------------------------------------------------------------------------- /rt-thread/components/libc/libdl/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | Import('rtconfig') 3 | 4 | src = Glob('*.c') + Glob('*.cpp') 5 | cwd = GetCurrentDir() 6 | group = [] 7 | CPPPATH = [cwd] 8 | 9 | if rtconfig.PLATFORM == 'gcc': 10 | group = DefineGroup('libc', src, 11 | depend = ['RT_USING_MODULE', 'RT_USING_LIBDL'], 12 | CPPPATH = CPPPATH) 13 | 14 | Return('group') 15 | -------------------------------------------------------------------------------- /samples/Kconfig: -------------------------------------------------------------------------------- 1 | menu "Application Samples Config" 2 | 3 | config RT_USING_AIRKISS 4 | bool "Enable Airkiss" 5 | default n 6 | 7 | source "$BSP_DIR/samples/rtcloud/Kconfig" 8 | source "$BSP_DIR/samples/peripheral/Kconfig" 9 | source "$BSP_DIR/samples/OTA/Kconfig" 10 | source "$BSP_DIR/samples/webnet/Kconfig" 11 | #source "$BSP_DIR/samples/record/Kconfig" 12 | endmenu 13 | 14 | -------------------------------------------------------------------------------- /samples/ble_config/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | src += Glob('samples/*.c') 8 | libpath = [cwd] 9 | CPPPATH = [cwd] 10 | 11 | group = DefineGroup('ble_config', src, depend = ['RT_USING_BLE_NA'], CPPPATH = CPPPATH, LIBPATH = libpath) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /samples/lcd_test/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | src += Glob('samples/*.c') 8 | libpath = [cwd] 9 | CPPPATH = [cwd] 10 | 11 | group = DefineGroup('lcd_test', src, depend = ['RT_USING_LCD_TEST'], CPPPATH = CPPPATH, LIBPATH = libpath) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /samples/peripheral/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | objs = [] 7 | list = os.listdir(cwd) 8 | 9 | for d in list: 10 | path = os.path.join(cwd, d) 11 | if os.path.isfile(os.path.join(path, 'SConscript')): 12 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 13 | 14 | Return('objs') 15 | -------------------------------------------------------------------------------- /components/codec/lib_aac_decode/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | Import('rtconfig') 3 | from building import * 4 | 5 | src = Glob('*.c') 6 | 7 | cwd = GetCurrentDir() 8 | CPPPATH = [cwd] 9 | 10 | libs = ['aac_decoder'] 11 | libpath = [cwd] 12 | 13 | group = DefineGroup('aac_decoder', src, depend = [''], CPPPATH = CPPPATH, LIBS = libs, LIBPATH = libpath) 14 | 15 | Return('group') 16 | -------------------------------------------------------------------------------- /drivers/drv_flash.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_FLASH_H__ 2 | #define __DRV_FLASH_H__ 3 | 4 | #include "typedef.h" 5 | #include "flash_pub.h" 6 | 7 | int beken_flash_init(void); 8 | void beken_flash_read(rt_uint32_t address, void *data, rt_uint32_t size); 9 | void beken_flash_write(rt_uint32_t address, const void *data, rt_uint32_t size); 10 | void beken_flash_erase(rt_uint32_t address); 11 | 12 | #endif -------------------------------------------------------------------------------- /rt-thread/components/drivers/src/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Glob('*.c') 5 | CPPPATH = [cwd + '/../include'] 6 | 7 | if not GetDepend('RT_USING_HEAP'): 8 | SrcRemove(src, 'dataqueue.c') 9 | SrcRemove(src, 'pipe.c') 10 | 11 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_DEVICE_IPC'], CPPPATH = CPPPATH) 12 | 13 | Return('group') 14 | -------------------------------------------------------------------------------- /beken378/app/led/app_led.h: -------------------------------------------------------------------------------- 1 | #ifndef __APP_LED_H__ 2 | #define __APP_LED_H__ 3 | 4 | typedef enum 5 | { 6 | STA_NONE = 0, 7 | POWER_ON, 8 | LED_CONNECT, 9 | LED_DISCONNECT, 10 | MONITOR_MODE, 11 | SOFTAP_MODE, 12 | TIMER_POLL, 13 | } DEV_STATE; 14 | 15 | 16 | UINT32 app_led_init(void); 17 | void app_led_send_msg(DEV_STATE new_msg); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /beken378/func/music_player/fs_fat/playmode_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _PLAY_MODE_H_ 2 | #define _PLAY_MODE_H_ 3 | 4 | #include "ff.h" 5 | 6 | extern FIL *Get_File_From_Number(WORD number); 7 | extern FILE_INFO *get_file_info(void); 8 | extern WORD get_musicfile_count(void); 9 | extern BYTE media_init(BYTE disk_type); 10 | extern BYTE get_fat_ok_flag(void); 11 | extern void media_uninit(void); 12 | #endif 13 | -------------------------------------------------------------------------------- /components/codec/lib_amr_encode/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | Import('rtconfig') 3 | from building import * 4 | 5 | src = Glob('*.c') 6 | 7 | cwd = GetCurrentDir() 8 | CPPPATH = [cwd] 9 | 10 | libs = ['amrnb_encoder'] 11 | libpath = [cwd] 12 | 13 | group = DefineGroup('amrnb_encoder', src, depend = [''], CPPPATH = CPPPATH, LIBS = libs, LIBPATH = libpath) 14 | 15 | Return('group') 16 | -------------------------------------------------------------------------------- /components/codec/lib_opus/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | Import('rtconfig') 3 | from building import * 4 | 5 | src = Glob('*.c') 6 | 7 | cwd = GetCurrentDir() 8 | CPPPATH = [cwd + '/include'] 9 | 10 | libs = ['opus_arm968_gcc'] 11 | libpath = [cwd] 12 | 13 | group = DefineGroup('opus', src, depend = [''], CPPPATH = CPPPATH, LIBS = libs, LIBPATH = libpath) 14 | 15 | Return('group') 16 | -------------------------------------------------------------------------------- /components/codec/lib_speex/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | Import('rtconfig') 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | 8 | CPPPATH = [cwd, cwd + '/include'] 9 | libs = ['speex_arm968_gcc'] 10 | libpath = [cwd] 11 | 12 | group = DefineGroup('speex', src, depend = [''], CPPPATH = CPPPATH, LIBS = libs, LIBPATH = libpath) 13 | 14 | Return('group') 15 | -------------------------------------------------------------------------------- /components/player/inc/codec_pcm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: codec_pcm.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __CODEC_PCM_H__ 8 | #define __CODEC_PCM_H__ 9 | 10 | int player_codec_pcm_register(void); 11 | rt_err_t codec_pcm_set_sample_rate(int sample_rate); 12 | rt_err_t codec_pcm_set_channel_num(int channel_num); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /function/beken_util.h: -------------------------------------------------------------------------------- 1 | #ifndef __BEKEN_UTIL_H__ 2 | #define __BEKEN_UTIL_H__ 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | extern char * dynamic_string_append(char *old, const char *fmt, ...); 9 | extern void dynamic_string_free(void *ptr); 10 | 11 | extern char * dynamic_form_data_append(char *old, const char *key, const char *value); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/stat.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_STAT_H__ 2 | #define __LINUX_STAT_H__ 3 | 4 | 5 | #include "port/sys/stat.h" //mod by prife 6 | 7 | #define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH) 8 | #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) 9 | #define S_IXUGO (S_IXUSR|S_IXGRP|S_IXOTH) 10 | #define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO) 11 | 12 | #endif /* __LINUX_STAT_H__ */ 13 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/cputime/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | CPPPATH = [cwd + '/../include'] 5 | src = Split(''' 6 | cputime.c 7 | ''') 8 | 9 | if GetDepend('RT_USING_CPUTIME_CORTEXM'): 10 | src += ['cputime_cortexm.c'] 11 | 12 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_CPUTIME'], CPPPATH = CPPPATH) 13 | 14 | Return('group') 15 | -------------------------------------------------------------------------------- /packages/rt_ota/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | from building import * 3 | 4 | cwd = GetCurrentDir() 5 | 6 | LIBS = [] 7 | LIBPATH = [] 8 | src = [] 9 | 10 | LIBPATH += [cwd] 11 | LIBS += ['rt_ota_gcc.a'] 12 | 13 | path = [cwd + '/inc'] 14 | 15 | group = DefineGroup('rt_ota', src, depend = ['PKG_USING_RT_OTA'], CPPPATH = path, LIBS = LIBS, LIBPATH = LIBPATH) 16 | 17 | Return('group') 18 | -------------------------------------------------------------------------------- /rt-thread/components/libc/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for bridge 2 | 3 | import os 4 | from building import * 5 | 6 | cwd = GetCurrentDir() 7 | objs = [] 8 | list = os.listdir(cwd) 9 | 10 | for d in list: 11 | path = os.path.join(cwd, d) 12 | if os.path.isfile(os.path.join(path, 'SConscript')): 13 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 14 | 15 | Return('objs') 16 | -------------------------------------------------------------------------------- /rt-thread/examples/libc/env.c: -------------------------------------------------------------------------------- 1 | /* 2 | * env.c 3 | * 4 | * Created on: 2010-11-17 5 | * Author: bernard 6 | */ 7 | #include 8 | #include 9 | #include 10 | 11 | int libc_env() 12 | { 13 | printf("PATH=%s\n", getenv("PATH")); 14 | putenv("foo=bar"); 15 | printf("foo=%s\n", getenv("foo")); 16 | return 0; 17 | } 18 | FINSH_FUNCTION_EXPORT(libc_env, get/set_env test); 19 | -------------------------------------------------------------------------------- /samples/rtcloud/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | 5 | path = [cwd + '/port/easyflash'] 6 | 7 | src = Glob('*.c') 8 | 9 | if GetDepend('SAMPLE_USING_CLOUDSDK'): 10 | src += Glob('port/rt_cld/*.c') 11 | src += Glob('port/easyflash/*.c') 12 | 13 | group = DefineGroup('cloudsdk', src, depend = ['PKG_USING_CLOUDSDK'], CPPPATH = path) 14 | 15 | Return('group') -------------------------------------------------------------------------------- /test/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | 5 | src = Glob('*.c') 6 | 7 | #if GetDepend('RT_USING_ADC') == False: 8 | # SrcRemove(src, 'adc_test.c') 9 | if GetDepend('RT_USING_I2C') == False: 10 | SrcRemove(src, 'test_i2c.c') 11 | SrcRemove(src, 'test_i2c2.c') 12 | 13 | group = DefineGroup('test', src, depend = ['']) 14 | 15 | Return('group') 16 | 17 | -------------------------------------------------------------------------------- /beken378/driver/entry/ll.S: -------------------------------------------------------------------------------- 1 | ;/** 2 | ; **************************************************************************************** 3 | ; * 4 | ; * @file arm.s 5 | ; * 6 | ; * @brief ARM low level functions. 7 | ; * 8 | ; * Copyright (C) RivieraWaves 2011-2016 9 | ; * 10 | ; **************************************************************************************** 11 | ; */ 12 | 13 | .text 14 | .align 4 15 | -------------------------------------------------------------------------------- /beken378/driver/spi/spi_psram.h: -------------------------------------------------------------------------------- 1 | #ifndef _BK_SPI_PSRAM_H_ 2 | #define _BK_SPI_PSRAM_H_ 3 | 4 | int32_t spi_psram_init(void); 5 | int32_t spi_psram_burst_set(uint32_t burst_size); 6 | int32_t spi_psram_read_id(uint8_t id[12]); 7 | uint32_t spi_psram_read(uint32_t addr, uint8_t* buffer, uint32_t size); 8 | uint32_t spi_psram_write(uint32_t addr, uint8_t* buffer, uint32_t size); 9 | 10 | #endif //_BK_SPI_PSRAM_H_ -------------------------------------------------------------------------------- /beken378/driver/usb/src/hid/usb_hid.h: -------------------------------------------------------------------------------- 1 | #ifndef _USB_HID_H_ 2 | #define _USB_HID_H_ 3 | 4 | /******************************************************************************* 5 | * Function Declarations 6 | *******************************************************************************/ 7 | extern int usb_sw_init(void); 8 | extern int usb_sw_uninit(void); 9 | 10 | #endif // _USB_HID_H_ 11 | 12 | // EOF 13 | -------------------------------------------------------------------------------- /beken378/rttos/source/port.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | extern uint32_t platform_is_in_irq_context( void ); 6 | extern uint32_t platform_is_in_fiq_context( void ); 7 | 8 | 9 | 10 | uint32_t platform_is_in_interrupt_context( void ) 11 | { 12 | return ((platform_is_in_fiq_context()) 13 | || (platform_is_in_irq_context())); 14 | } -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/programs/hash/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(hello hello.c) 2 | target_link_libraries(hello mbedtls) 3 | 4 | add_executable(generic_sum generic_sum.c) 5 | target_link_libraries(generic_sum mbedtls) 6 | 7 | install(TARGETS hello generic_sum 8 | DESTINATION "bin" 9 | PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) 10 | -------------------------------------------------------------------------------- /packages/zlib/zlib/contrib/untgz/Makefile.msc: -------------------------------------------------------------------------------- 1 | CC=cl 2 | CFLAGS=-MD 3 | 4 | untgz.exe: untgz.obj ..\..\zlib.lib 5 | $(CC) $(CFLAGS) untgz.obj ..\..\zlib.lib 6 | 7 | untgz.obj: untgz.c ..\..\zlib.h 8 | $(CC) $(CFLAGS) -c -I..\.. untgz.c 9 | 10 | ..\..\zlib.lib: 11 | cd ..\.. 12 | $(MAKE) -f win32\makefile.msc 13 | cd contrib\untgz 14 | 15 | clean: 16 | -del untgz.obj 17 | -del untgz.exe 18 | -------------------------------------------------------------------------------- /rt-thread/components/utilities/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for bridge 2 | 3 | import os 4 | from building import * 5 | 6 | cwd = GetCurrentDir() 7 | objs = [] 8 | list = os.listdir(cwd) 9 | 10 | for d in list: 11 | path = os.path.join(cwd, d) 12 | if os.path.isfile(os.path.join(path, 'SConscript')): 13 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 14 | 15 | Return('objs') 16 | -------------------------------------------------------------------------------- /components/player/inc/data_work.h: -------------------------------------------------------------------------------- 1 | /* 2 | * File: data_work.h 3 | * 4 | * COPYRIGHT (C) 2012-2018, Shanghai Real-Thread Technology Co., Ltd 5 | */ 6 | 7 | #ifndef __DATA_WORK_H_ 8 | #define __DATA_WORK_H_ 9 | 10 | void data_work(struct rt_work *work, void *user_data); 11 | int data_work_write(char *data, int len, int timeout); 12 | int data_work_set_content_length(int len); 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /packages/littlefs-v2.1.1/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') + Glob('*.cpp') 7 | CPPPATH = [cwd] 8 | CPPDEFINES = ['LFS_CONFIG=lfs_config.h'] 9 | 10 | group = DefineGroup('littlefs', src, depend = ['PKG_USING_LITTLEFS', 'RT_USING_DFS'], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES) 11 | 12 | Return('group') 13 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for bridge 2 | 3 | import os 4 | from building import * 5 | 6 | cwd = GetCurrentDir() 7 | objs = [] 8 | list = os.listdir(cwd) 9 | 10 | for d in list: 11 | path = os.path.join(cwd, d) 12 | if os.path.isfile(os.path.join(path, 'SConscript')): 13 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 14 | 15 | Return('objs') 16 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/linux/slab.h: -------------------------------------------------------------------------------- 1 | #ifndef __LINUX_SLAB_H__ 2 | #define __LINUX_SLAB_H__ 3 | 4 | //#include //prife 5 | 6 | #include /* Don't ask. Linux headers are a mess. */ 7 | 8 | #define kmalloc(x, y) rt_malloc(x) 9 | #define kfree(x) rt_free(x) 10 | #define vmalloc(x) rt_malloc(x) 11 | #define vfree(x) rt_free(x) 12 | 13 | #endif /* __LINUX_SLAB_H__ */ 14 | 15 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for bridge 2 | 3 | import os 4 | from building import * 5 | 6 | cwd = GetCurrentDir() 7 | objs = [] 8 | list = os.listdir(cwd) 9 | 10 | for d in list: 11 | path = os.path.join(cwd, d) 12 | if os.path.isfile(os.path.join(path, 'SConscript')): 13 | objs = objs + SConscript(os.path.join(d, 'SConscript')) 14 | 15 | Return('objs') 16 | -------------------------------------------------------------------------------- /rt-thread/components/libc/time/posix_sleep.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | #include 5 | 6 | unsigned int sleep(unsigned int seconds) 7 | { 8 | rt_tick_t delta_tick; 9 | 10 | delta_tick = rt_tick_get(); 11 | rt_thread_delay(seconds * RT_TICK_PER_SECOND); 12 | delta_tick = rt_tick_get() - delta_tick; 13 | 14 | return seconds - delta_tick/RT_TICK_PER_SECOND; 15 | } 16 | -------------------------------------------------------------------------------- /samples/ayla/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | 5 | path = [] 6 | 7 | src = [] 8 | 9 | if GetDepend('SAMPLE_USING_AYLA_CLOUD'): 10 | src += Glob('port/beken/*.c') 11 | path += [cwd + '/port'] 12 | path += [cwd + '/port/beken'] 13 | 14 | 15 | group = DefineGroup('ayla_sample', src, depend = ['PKG_USING_AYLA_SDK'], CPPPATH = path) 16 | 17 | Return('group') -------------------------------------------------------------------------------- /components/codec/lib_opencore_amr/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | Import('rtconfig') 3 | from building import * 4 | 5 | src = Glob('*.c') 6 | 7 | cwd = GetCurrentDir() 8 | CPPPATH = [cwd + '/'] 9 | 10 | libs = ['opencore_amr_arm968_gcc'] 11 | libpath = [cwd] 12 | 13 | group = DefineGroup('opencore_amr', src, depend = [''], CPPPATH = CPPPATH, LIBS = libs, LIBPATH = libpath) 14 | 15 | Return('group') 16 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/scripts/find-mem-leak.cocci: -------------------------------------------------------------------------------- 1 | @@ 2 | expression x, y; 3 | statement S; 4 | @@ 5 | x = mbedtls_malloc(...); 6 | y = mbedtls_malloc(...); 7 | ... 8 | * if (x == NULL || y == NULL) 9 | S 10 | 11 | @@ 12 | expression x, y; 13 | statement S; 14 | @@ 15 | if ( 16 | * (x = mbedtls_malloc(...)) == NULL 17 | || 18 | * (y = mbedtls_malloc(...)) == NULL 19 | ) 20 | S 21 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/suites/test_suite_timing.function: -------------------------------------------------------------------------------- 1 | /* BEGIN_HEADER */ 2 | #include "mbedtls/timing.h" 3 | /* END_HEADER */ 4 | 5 | /* BEGIN_DEPENDENCIES 6 | * depends_on:MBEDTLS_TIMING_C 7 | * END_DEPENDENCIES 8 | */ 9 | 10 | /* BEGIN_CASE depends_on:MBEDTLS_SELF_TEST */ 11 | void timing_selftest() 12 | { 13 | TEST_ASSERT( mbedtls_timing_self_test( 1 ) == 0 ); 14 | } 15 | /* END_CASE */ 16 | -------------------------------------------------------------------------------- /beken378/func/hostapd-2.5/hostapd/hostapd_cfg.h: -------------------------------------------------------------------------------- 1 | #ifndef _HOSTAPD_CONFIG_H_ 2 | #define _HOSTAPD_CONFIG_H_ 3 | 4 | #include "include.h" 5 | #include "defs.h" 6 | #include "rwnx_config.h" 7 | 8 | #define CFG_AUTH_ALG WPA_AUTH_ALG_OPEN 9 | 10 | #define CFG_SUPPORTED_MAX_STA_NUM CFG_STA_MAX// 2 11 | #define CFG_SUPPORT_80211G 1 12 | 13 | #endif // _HOSTAPD_CONFIG_H_ 14 | 15 | 16 | -------------------------------------------------------------------------------- /beken378/func/vad/vad_core.h: -------------------------------------------------------------------------------- 1 | #ifndef _VAD_CORE_H_ 2 | #define _VAD_CORE_H_ 3 | 4 | #define FRAME_TYPE_SPEECH (1) 5 | #define FRAME_TYPE_NOISE (0) 6 | 7 | /*threshold value of power*/ 8 | //#ifdef TEST7251_ 9 | #define POWER_THRESHOLD_VAL 89925 //26510 10 | //#endif 11 | 12 | 13 | 14 | extern int vad(short samples[], int len); 15 | 16 | #endif // _VAD_CORE_H_ 17 | // eof 18 | -------------------------------------------------------------------------------- /drivers/drv_spi_flash.h: -------------------------------------------------------------------------------- 1 | #ifndef __DRV_SPI_FLASH_H__ 2 | #define __DRV_SPI_FLASH_H__ 3 | 4 | typedef struct bk_spi_flash_erase_st { 5 | rt_uint32_t addr; 6 | rt_uint32_t size; 7 | }BK_SPIFLASH_ERASE_ST, *BK_SPIFLASH_ERASE_PTR; 8 | 9 | #define BK_SPI_FLASH_ERASE_CMD (0x01) 10 | #define BK_SPI_FLASH_PROTECT_CMD (0x02) 11 | #define BK_SPI_FLASH_UNPROTECT_CMD (0x03) 12 | 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/dir-maxpath/Readme.txt: -------------------------------------------------------------------------------- 1 | These certificates form a very long chain, used to test the 2 | MBEDTLS_X509_MAX_INT_CA limit. 3 | 4 | NN.key is the private key of certificate NN.crt. 5 | 6 | The root is 00.crt and N+1.crt is a child of N.crt. 7 | 8 | File cNN.pem contains the chain NN.crt to 00.crt. 9 | 10 | Those certificates were generated by tests/data_files/dir-maxpath/long.sh. 11 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/spi/device_driver_list.txt: -------------------------------------------------------------------------------- 1 | spi_wifi_rw009.c/spi_wifi_rw009.h 2 | RW009 3 | http://www.rt-thread.com/ 4 | 5 | enc28j60.c/enc28j60.h 6 | http://www.microchip.com/ 7 | 8 | spi_flash_at45dbxx.c/spi_flash_at45dbxx.h 9 | http://www.atmel.com/ 10 | 11 | spi_flash_sst25vfxx.c/spi_flash_sst25vfxx.h 12 | http://www.microchip.com/ 13 | 14 | spi_flash_w25qxx.c/spi_flash_w25qxx.h 15 | http://www.winbond.com/ 16 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/src/lwippools.h: -------------------------------------------------------------------------------- 1 | #if 1 2 | LWIP_MALLOC_MEMPOOL_START 3 | LWIP_MALLOC_MEMPOOL((unsigned char)128, 256) 4 | LWIP_MALLOC_MEMPOOL((unsigned char)128, 512) 5 | LWIP_MALLOC_MEMPOOL((unsigned char)128, 1024) 6 | LWIP_MALLOC_MEMPOOL((unsigned char)128, 1514) 7 | LWIP_MALLOC_MEMPOOL((unsigned char)128, 1536) 8 | LWIP_MALLOC_MEMPOOL((unsigned char)128, 4096) 9 | LWIP_MALLOC_MEMPOOL_END 10 | #endif 11 | -------------------------------------------------------------------------------- /beken378/driver/include/driver_codec_es8374_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _DRIVER_CODEC_ES8374_PUB_H_ 2 | #define _DRIVER_CODEC_ES8374_PUB_H_ 3 | 4 | extern void es8374_codec_init(void); 5 | extern void es8374_codec_configure(unsigned int fs, unsigned char datawidth); 6 | extern void es8374_codec_close(void); 7 | extern void es8374_codec_volume_control(unsigned char volume); 8 | extern void es8374_codec_mute_control(BOOL enable); 9 | #endif 10 | -------------------------------------------------------------------------------- /beken378/func/include/driver_codec_es8374_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _DRIVER_CODEC_ES8374_PUB_H_ 2 | #define _DRIVER_CODEC_ES8374_PUB_H_ 3 | 4 | extern void es8374_codec_init(void); 5 | extern void es8374_codec_configure(unsigned int fs, unsigned char datawidth); 6 | extern void es8374_codec_close(void); 7 | extern void es8374_codec_volume_control(unsigned char volume); 8 | extern void es8374_codec_mute_control(BOOL enable); 9 | #endif 10 | -------------------------------------------------------------------------------- /beken378/func/udisk_mp3/ump3.h: -------------------------------------------------------------------------------- 1 | #ifndef _U_MP3_H_ 2 | #define _U_MP3_H_ 3 | 4 | #define UM_DEBUG 5 | #ifdef UM_DEBUG 6 | #define UM_PRT os_printf 7 | #define UM_WPRT warning_prf 8 | #else 9 | #define UM_PRT os_null_printf 10 | #define UM_WPRT os_null_printf 11 | #endif 12 | 13 | extern uint32_t um_work_init(void); 14 | extern void um_connect_cb(void); 15 | 16 | #endif // _U_MP3_H_ 17 | // eof 18 | -------------------------------------------------------------------------------- /packages/EasyFlash/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | # get current directory 4 | cwd = GetCurrentDir() 5 | # The set of source files associated with this SConscript file. 6 | src = Glob('src/*.c') 7 | src += Glob('port/*.c') 8 | 9 | path = [cwd + '/inc'] 10 | path += [cwd + '/port'] 11 | 12 | group = DefineGroup('EasyFlash', src, depend = ['PKG_USING_EASYFLASH'], CPPPATH = path) 13 | 14 | Return('group') 15 | -------------------------------------------------------------------------------- /packages/TJpgDec/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | list = os.listdir(cwd) 5 | objs = [] 6 | 7 | CPPPATH = [cwd] 8 | 9 | # tjpgd 10 | src = ['tjpgd.c'] 11 | 12 | # examples 13 | if GetDepend(['PKG_TJPGD_SAMPLE']): 14 | src += ['examples/tjpgd_example.c'] 15 | 16 | group = DefineGroup('TJpgDec', src, depend = ['PKG_USING_TJPGD'], CPPPATH = CPPPATH) 17 | 18 | Return('group') 19 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/plf/refip/src/driver/adc/adc.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifndef _ADC_H_ 4 | #define _ADC_H_ 5 | 6 | 7 | 8 | #include // standard boolean definitions 9 | #include // standard integer functions 10 | 11 | #define ENABLE_ADC 0 12 | 13 | 14 | 15 | void adc_init(uint8_t chanle,uint8_t mode); 16 | void adc_isr(void); 17 | 18 | 19 | #endif // 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/programs/aes/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(aescrypt2 aescrypt2.c) 2 | target_link_libraries(aescrypt2 mbedtls) 3 | 4 | add_executable(crypt_and_hash crypt_and_hash.c) 5 | target_link_libraries(crypt_and_hash mbedtls) 6 | 7 | install(TARGETS aescrypt2 crypt_and_hash 8 | DESTINATION "bin" 9 | PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) 10 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_521_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIHcAgEBBEIBsbatB7t55zINpZhg6ijgVShPYFjyed5mbgbUNdKve9oo2Z+ke33Q 3 | lj4WsAcweO6LijjZZqWC9G0Z/5XfOtloWq6gBwYFK4EEACOhgYkDgYYABAAd4ULV 4 | T2nrA47kt6+dPKB3Nv2c9xnrNU1ph57n88E2+w+/nwj4a+X6Eo7BoFHT5sZD6Fra 5 | j/rPNmPCYL0shEtvVgDO6OSKnmXQnK3YnyNd7gXzuKZGvnFfH2fVtDTg/yOh/Afv 6 | d0AZPkDu/287zf12WqkVUDNST+TyBfVETiksTC9qwQ== 7 | -----END EC PRIVATE KEY----- 8 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/tests/data_files/ec_bp512_prv.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MIHaAgEBBEA3LJd49p9ybLyj9KJo8WtNYX0QKA15pqApzVGHn+EBKTTf5TlUVTN9 3 | 9pBtx9bS7qTbsgZcAij3Oz7XFkgOfXHSoAsGCSskAwMCCAEBDaGBhQOBggAEOLfs 4 | krYcXGx/vCik7HWdSPzU4uN03v1cSWilTb73UQ5ReIb7/DjqOapSk1nXCnFWw108 5 | usfOd2vbJR3WS85xI0Qk7nBJ7tBy8NvE15mW4XXVV+JjdjrpcJXAgec+fbLjitw9 6 | TJoEh7Ht6HbcH8phyQLpodhyK4YSko8YokhFWRo= 7 | -----END EC PRIVATE KEY----- 8 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/doc/doxygen/output/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirection 5 | 6 | 7 | 8 | index.html 9 | 10 | 11 | -------------------------------------------------------------------------------- /samples/webnet/cgi_mem.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | #include 7 | #include 8 | #include 9 | 10 | 11 | extern void rt_memory_mem(rt_uint32_t *total,rt_uint32_t *used); 12 | 13 | void cgi_mem_handler(struct webnet_session* session) 14 | { 15 | webnet_session_printf(session, "cgi_mem_handler"); 16 | return; 17 | } 18 | -------------------------------------------------------------------------------- /rt-thread/components/drivers/sdio/SConscript: -------------------------------------------------------------------------------- 1 | Import('RTT_ROOT') 2 | from building import * 3 | 4 | cwd = GetCurrentDir() 5 | src = Split(""" 6 | block_dev.c 7 | mmcsd_core.c 8 | sd.c 9 | sdio.c 10 | mmc.c 11 | """) 12 | 13 | # The set of source files associated with this SConscript file. 14 | path = [cwd + '/../include'] 15 | 16 | group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SDIO'], CPPPATH = path) 17 | 18 | Return('group') 19 | -------------------------------------------------------------------------------- /beken378/app/standalone-ap/sa_ap.h: -------------------------------------------------------------------------------- 1 | #ifndef _SA_AP_H_ 2 | #define _SA_AP_H_ 3 | 4 | #define SAAP_DEBUG 5 | 6 | #ifdef SAAP_DEBUG 7 | #define SAAP_PRT os_printf 8 | #define SAAP_WPRT warning_prf 9 | #else 10 | #define SAAP_PRT os_null_printf 11 | #define SAAP_WPRT os_null_printf 12 | #endif 13 | 14 | extern void sa_ap_init(void); 15 | #endif // _SA_AP_H_ 16 | // eof 17 | 18 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/plf/refip/src/arch/ll/ll.s: -------------------------------------------------------------------------------- 1 | /** 2 | **************************************************************************************** 3 | * 4 | * @file ll.s 5 | * 6 | * @brief ARM low level functions. 7 | * 8 | * Copyright (C) RivieraWaves 2009-2015 9 | * 10 | * $Rev: $ 11 | * 12 | **************************************************************************************** 13 | */ 14 | .text 15 | .align 4 16 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/doc/doxygen/output/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Redirection 5 | 6 | 7 | 8 | index.html 9 | 10 | 11 | -------------------------------------------------------------------------------- /rt-thread/components/dfs/filesystems/jffs2/kernel/asm/page.h: -------------------------------------------------------------------------------- 1 | #ifndef __ASM_PAGE_H__ 2 | #define __ASM_PAGE_H__ 3 | 4 | //#include //mod by prife 5 | #include "jffs2_config.h" 6 | #define PAGE_SHIFT CONFIG_JFFS2_PAGE_SHIFT 7 | /* These aren't used by much yet. If that changes, you might want 8 | to make them actually correct :) */ 9 | #define PAGE_SIZE (0x1 << PAGE_SHIFT) 10 | 11 | 12 | #endif /* __ASM_PAGE_H__ */ 13 | -------------------------------------------------------------------------------- /rt-thread/components/utilities/logtrace/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | src = Split(''' 5 | log_trace.c 6 | ''') 7 | CPPPATH = [cwd] 8 | 9 | if GetDepend('LOG_TRACE_USING_MEMLOG'): 10 | src += ['memlog.c'] 11 | 12 | if GetDepend('RT_USING_DFS'): 13 | src += ['log_file.c'] 14 | 15 | group = DefineGroup('Utilities', src, depend = ['RT_USING_LOGTRACE'], CPPPATH = CPPPATH) 16 | 17 | Return('group') 18 | -------------------------------------------------------------------------------- /rt-thread/components/vmm/SConscript: -------------------------------------------------------------------------------- 1 | # RT-Thread building script for component 2 | 3 | from building import * 4 | 5 | cwd = GetCurrentDir() 6 | src = Glob('*.c') 7 | src += Glob('utilities/rshell.c') 8 | if GetDepend('RT_USING_VMM_RFS'): 9 | src += Glob('utilities/rfs.c') 10 | 11 | CPPPATH = [cwd, os.path.join(cwd, 'share_hdr')] 12 | 13 | group = DefineGroup('VMM', src, depend = ['RT_USING_VMM'], CPPPATH = CPPPATH) 14 | 15 | Return('group') 16 | -------------------------------------------------------------------------------- /rt-thread/examples/libc/time.c: -------------------------------------------------------------------------------- 1 | /* 2 | * time.c 3 | * 4 | * Created on: 2010-11-17 5 | * Author: bernard 6 | */ 7 | 8 | #include 9 | #include 10 | #include 11 | 12 | int speed() 13 | { 14 | int i; 15 | time_t t; 16 | 17 | printf("%d\n", time(0)); 18 | for (i = 0; i < 10000000; ++i) 19 | t = time(0); 20 | 21 | printf("%d\n", time(0)); 22 | return 0; 23 | } 24 | FINSH_FUNCTION_EXPORT(speed, speed test); 25 | -------------------------------------------------------------------------------- /beken378/func/include/func_pub.h: -------------------------------------------------------------------------------- 1 | #ifndef _FUNC_PUB_H_ 2 | #define _FUNC_PUB_H_ 3 | 4 | #define FUNC_DEBUG 5 | #ifdef FUNC_DEBUG 6 | #define FUNC_PRT os_printf 7 | #define FUNC_WPRT warning_prf 8 | #else 9 | #define FUNC_PRT os_null_printf 10 | #define FUNC_WPRT os_null_printf 11 | #endif 12 | 13 | extern UINT32 func_init(void); 14 | 15 | #endif // _FUNC_PUB_H_ 16 | // eof 17 | 18 | -------------------------------------------------------------------------------- /drivers/wlan/lwip_intf.h: -------------------------------------------------------------------------------- 1 | #ifndef __LWIP_INTF_H__ 2 | #define __LWIP_INTF_H__ 3 | 4 | #define LWIP_INTF_DEBUG 5 | #ifdef LWIP_INTF_DEBUG 6 | #define LWIP_INTF_PRT warning_prf 7 | #define LWIP_INTF_WARN warning_prf 8 | #define LWIP_INTF_FATAL fatal_prf 9 | #else 10 | #define LWIP_INTF_PRT null_prf 11 | #define LWIP_INTF_WARN null_prf 12 | #define LWIP_INTF_FATAL null_prf 13 | #endif 14 | 15 | #endif 16 | // eof 17 | 18 | -------------------------------------------------------------------------------- /packages/mbedtls/mbedtls/programs/util/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(libs 2 | mbedtls 3 | ) 4 | 5 | add_executable(strerror strerror.c) 6 | target_link_libraries(strerror ${libs}) 7 | 8 | add_executable(pem2der pem2der.c) 9 | target_link_libraries(pem2der ${libs}) 10 | 11 | install(TARGETS strerror pem2der 12 | DESTINATION "bin" 13 | PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) 14 | -------------------------------------------------------------------------------- /rt-thread/components/SConscript: -------------------------------------------------------------------------------- 1 | # for module compiling 2 | import os 3 | Import('remove_components') 4 | from building import * 5 | 6 | objs = [] 7 | cwd = GetCurrentDir() 8 | list = os.listdir(cwd) 9 | 10 | for item in list: 11 | if item in remove_components: 12 | continue 13 | 14 | if os.path.isfile(os.path.join(cwd, item, 'SConscript')): 15 | objs = objs + SConscript(os.path.join(item, 'SConscript')) 16 | 17 | Return('objs') 18 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/minilibc/stdio.h: -------------------------------------------------------------------------------- 1 | #ifndef __STDIO_H__ 2 | #define __STDIO_H__ 3 | 4 | #define BUFSIZ 128 5 | #define EOF (-1) 6 | 7 | #ifndef SEEK_SET 8 | #define SEEK_SET 0 /* set file offset to offset */ 9 | #endif 10 | #ifndef SEEK_CUR 11 | #define SEEK_CUR 1 /* set file offset to current plus offset */ 12 | #endif 13 | #ifndef SEEK_END 14 | #define SEEK_END 2 /* set file offset to EOF plus offset */ 15 | #endif 16 | 17 | #endif 18 | 19 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/armlibc/sys/types.h: -------------------------------------------------------------------------------- 1 | #ifndef __TYPES_H__ 2 | #define __TYPES_H__ 3 | 4 | #include 5 | #include 6 | 7 | typedef rt_int32_t clockid_t; 8 | typedef rt_int32_t key_t; /* Used for interprocess communication. */ 9 | typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */ 10 | typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */ 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /rt-thread/components/libc/compilers/dlib/sys/types.h: -------------------------------------------------------------------------------- 1 | #ifndef __TYPES_H__ 2 | #define __TYPES_H__ 3 | 4 | #include 5 | #include 6 | 7 | typedef rt_int32_t clockid_t; 8 | typedef rt_int32_t key_t; /* Used for interprocess communication. */ 9 | typedef rt_int32_t pid_t; /* Used for process IDs and process group IDs. */ 10 | typedef signed long ssize_t; /* Used for a count of bytes or an error indication. */ 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /rt-thread/components/net/lwip-2.0.2/READTEST.md: -------------------------------------------------------------------------------- 1 | Porting lwip 2.0.2 running on RT-Thread. 2 | The major jobs following RT-Thread Team. The RT-Thread team already port the lwip 2.0.0, so I only do some move code and test jobs. 3 | I use the memory pools to test lwip 2.0.2, I use the iperf tool to test it about more than 20 hours, It is running normal. 4 | I don't test it working on memory heap. 5 | ... 6 | Good Luck. 7 | by Hans.Huang 3/27/17 10:52 AM 8 | huangxi_hans@163.com 9 | -------------------------------------------------------------------------------- /beken378/func/hostapd-2.5/src/ap/authsrv.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Authentication server setup 3 | * Copyright (c) 2002-2009, Jouni Malinen 4 | * 5 | * This software may be distributed under the terms of the BSD license. 6 | * See README for more details. 7 | */ 8 | 9 | #ifndef AUTHSRV_H 10 | #define AUTHSRV_H 11 | 12 | int authsrv_init(struct hostapd_data *hapd); 13 | void authsrv_deinit(struct hostapd_data *hapd); 14 | 15 | #endif /* AUTHSRV_H */ 16 | -------------------------------------------------------------------------------- /beken378/func/lwip_intf/lwip-2.0.2/port/lwip_intf.h: -------------------------------------------------------------------------------- 1 | #ifndef __LWIP_INTF_H__ 2 | #define __LWIP_INTF_H__ 3 | 4 | #define LWIP_INTF_DEBUG 5 | #ifdef LWIP_INTF_DEBUG 6 | #define LWIP_INTF_PRT warning_prf 7 | #define LWIP_INTF_WARN warning_prf 8 | #define LWIP_INTF_FATAL fatal_prf 9 | #else 10 | #define LWIP_INTF_PRT null_prf 11 | #define LWIP_INTF_WARN null_prf 12 | #define LWIP_INTF_FATAL null_prf 13 | #endif 14 | 15 | #endif 16 | // eof 17 | 18 | -------------------------------------------------------------------------------- /beken378/func/hostapd_intf/hostapd_intf.h: -------------------------------------------------------------------------------- 1 | #ifndef _HOSTAPD_INTF_H_ 2 | #define _HOSTAPD_INTF_H_ 3 | 4 | #define HINTF_SUCCESS (0) 5 | #define HINTF_FAILURE (-1) 6 | 7 | #define WPAS_DEBUG 8 | 9 | #ifdef WPAS_DEBUG 10 | #define WPAS_PRT os_printf 11 | #define WPAS_WPRT warning_prf 12 | #else 13 | #define WPAS_PRT os_null_printf 14 | #define WPAS_WPRT warning_prf 15 | #endif 16 | 17 | #endif 18 | // eof 19 | 20 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/modules/h4tl/sourcelist.txt: -------------------------------------------------------------------------------- 1 | #*************************************************************************************** 2 | # @file sourcelist.txt 3 | # 4 | # @brief This file lists up all the source code that will be 5 | # compiled and built for H4TL module. 6 | # 7 | # Copyright (C) RivieraWaves 2009-2015 8 | # 9 | #*************************************************************************************** 10 | 11 | h4tl.c 12 | -------------------------------------------------------------------------------- /beken378/driver/ble/rw_ble/modules/nvds/sourcelist.txt: -------------------------------------------------------------------------------- 1 | #*************************************************************************************** 2 | # @file sourcelist.txt 3 | # 4 | # @brief This file lists up all the source code that will be 5 | # compiled and built for NVDS module. 6 | # 7 | # Copyright (C) RivieraWaves 2009-2015 8 | # 9 | #*************************************************************************************** 10 | 11 | nvds.c 12 | -------------------------------------------------------------------------------- /beken378/driver/spi/spi_flash.h: -------------------------------------------------------------------------------- 1 | #ifndef _BK_SPI_FLASH_H_ 2 | #define _BK_SPI_FLASH_H_ 3 | 4 | int spi_flash_init(void); 5 | void spi_flash_deinit(void); 6 | UINT32 spi_flash_read_id(void); 7 | int spi_flash_read(UINT32 addr, UINT32 size, UINT8 *dst); 8 | int spi_flash_write(UINT32 addr, UINT32 size, UINT8 *src); 9 | int spi_flash_erase(UINT32 addr, UINT32 size); 10 | void spi_flash_protect(void); 11 | void spi_flash_unprotect(void); 12 | 13 | #endif //_BK_SPI_FLASH_H_ -------------------------------------------------------------------------------- /packages/webclient/SConscript: -------------------------------------------------------------------------------- 1 | from building import * 2 | 3 | cwd = GetCurrentDir() 4 | path = [cwd + '/inc'] 5 | 6 | src = Glob('src/webclient.c') 7 | 8 | if GetDepend(['WEBCLIENT_USING_FILE_DOWMLOAD']): 9 | src += Glob('src/webclient_file.c') 10 | 11 | if GetDepend(['WEBCLIENT_USING_SAMPLES']): 12 | src += Glob('samples/*.c') 13 | 14 | group = DefineGroup('WebClient', src, depend = ['PKG_USING_WEBCLIENT'], CPPPATH = path) 15 | 16 | Return('group') 17 | -------------------------------------------------------------------------------- /rt-thread/components/vmm/vmm_context.h: -------------------------------------------------------------------------------- 1 | #ifndef __VMM_CONTEXT_H__ 2 | #define __VMM_CONTEXT_H__ 3 | 4 | #include // for struct rt_hw_stack 5 | 6 | #include "vmm.h" 7 | 8 | void vmm_context_init(void *context_addr); 9 | #ifdef RT_VMM_USING_DOMAIN 10 | void vmm_context_init_domain(struct vmm_domain *domain); 11 | #endif 12 | void vmm_virq_pending(int irq); 13 | void vmm_verify_guest_status(struct rt_hw_stack *sp); 14 | 15 | void vmm_show_guest(void); 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /applications/http_api/http_api.c: -------------------------------------------------------------------------------- 1 | #include "rtthread.h" 2 | 3 | #include 4 | #include 5 | 6 | static int http_api_init(void) 7 | { 8 | extern void cgi_ssdp_xml_handler(struct webnet_session* session); 9 | extern void control_cgi_handler(struct webnet_session* session); 10 | 11 | webnet_cgi_register("cgi_ssdp_xml",cgi_ssdp_xml_handler); 12 | webnet_cgi_register("control_cgi",control_cgi_handler); 13 | } 14 | INIT_APP_EXPORT(http_api_init); --------------------------------------------------------------------------------