Home
last modified time | relevance | path

Searched refs:new_uart (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c304 uart_dev_t *new_uart = aos_calloc(1, sizeof(*new_uart)); in board_parse_uart() local
305 if (NULL == new_uart) { in board_parse_uart()
310 *new_uart = device; in board_parse_uart()
311 ret = board_add_new_item(MODULE_UART, uart_id, new_uart); in board_parse_uart()
320 if (NULL != new_uart) { in board_parse_uart()
321 aos_free(new_uart); in board_parse_uart()
322 new_uart = NULL; in board_parse_uart()
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c339 uart_dev_t *new_uart = amp_calloc(1, sizeof(*new_uart)); in board_parse_uart() local
340 if (NULL == new_uart) in board_parse_uart()
346 *new_uart = device; in board_parse_uart()
347 ret = board_add_new_item(MODULE_UART, uart_id, new_uart); in board_parse_uart()
358 if (NULL != new_uart) in board_parse_uart()
360 amp_free(new_uart); in board_parse_uart()
361 new_uart = NULL; in board_parse_uart()

Completed in 6 milliseconds