Skip to content

Commit

Permalink
build scripts and obk_none
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Oct 30, 2022
1 parent 5aa8b33 commit 86fa0ff
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 0 deletions.
62 changes: 62 additions & 0 deletions apps/obk_none/src/user_main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/*
* @Author: yj
* @email: [email protected]
* @LastEditors: yj
* @file name: tuya_device.c
* @Description: template demo for SDK WiFi & BLE for BK7231T
* @Copyright: HANGZHOU TUYA INFORMATION TECHNOLOGY CO.,LTD
* @Company: http://www.tuya.com
* @Date: 2021-01-23 16:33:00
* @LastEditTime: 2021-01-27 17:00:00
*/

#define _TUYA_DEVICE_GLOBAL

/* Includes ------------------------------------------------------------------*/
#include "uni_log.h"
#include "tuya_iot_wifi_api.h"
#include "tuya_hal_system.h"
#include "tuya_iot_com_api.h"
#include "tuya_cloud_com_defs.h"
#include "gw_intf.h"
#include "gpio_test.h"
#include "tuya_gpio.h"
#include "tuya_key.h"
#include "tuya_led.h"
#include "wlan_ui_pub.h"

#include "lwip/sockets.h"
#include "lwip/ip_addr.h"
#include "lwip/inet.h"

#include "mem_pub.h"
#include "str_pub.h"
#include "ethernet_intf.h"


static int g_secondsElapsed = 0;

beken_timer_t led_timer;

const char *CFG_GetDeviceName() {
return "obk_none";
}




// receives status change notifications about wireless - could be useful
// ctxt is pointer to a rw_evt_type
void wl_status( void *ctxt ){


}

void user_main(void)
{
OSStatus err;

bk_printf("[OpenBK2731T None]!\r\n");


}
1 change: 1 addition & 0 deletions b_obk_demo_adc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./build_app.sh apps/obk_demo_adc obk_demo_adc git
1 change: 1 addition & 0 deletions b_obk_demo_hello.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./build_app.sh apps/obk_hello_world obk_hello_world git
1 change: 1 addition & 0 deletions b_obk_demo_scanNetworks.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./build_app.sh apps/obk_demo_scanNetworks obk_demo_scanNetworks git
1 change: 1 addition & 0 deletions b_obk_none.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./build_app.sh apps/obk_none obk_none git

0 comments on commit 86fa0ff

Please sign in to comment.