mirror of
https://github.com/dgoodlad/rtl8710-sdk.git
synced 2024-12-04 03:50:28 +00:00
Add bindings for log_uart_init and console_init
This commit is contained in:
parent
ddc414007e
commit
317d214119
2 changed files with 4 additions and 1 deletions
3
build.rs
3
build.rs
|
@ -6,7 +6,6 @@ extern crate llvm_tools;
|
|||
use glob::glob;
|
||||
use llvm_tools::LlvmTools;
|
||||
use std::env;
|
||||
use std::fmt;
|
||||
use std::fs;
|
||||
use std::path::PathBuf;
|
||||
use std::process::Command;
|
||||
|
@ -333,6 +332,8 @@ fn main() {
|
|||
|
||||
let bindings = bindgen::Builder::default()
|
||||
.header("include/wrapper.h")
|
||||
.whitelist_function("log_uart_init")
|
||||
.whitelist_function("console_init")
|
||||
.whitelist_function("wifi_manager_init")
|
||||
.whitelist_function("wifi_off")
|
||||
.whitelist_function("wifi_on")
|
||||
|
|
|
@ -5,3 +5,5 @@
|
|||
#include "task.h"
|
||||
|
||||
#include "wifi_conf.h"
|
||||
|
||||
extern void console_init(void);
|
||||
|
|
Loading…
Reference in a new issue