技术栈

ecos

SEP5010
17 天前
ecos·mt7628k
MT7628K eCos开发入门0 Preface MT7628K integrates multi-port ethernet switch, but in our Smart Plug project, we don't use it, we only use apcli function. switch driver: ra305x_drivers/eth_ra305x/if_ra305x.c 1 Build 1.1 eCos编译 1) apt-get install dos2unix tar -jxvf 2016_0905_eC
SEP5010
19 天前
uart·ecos
eCos读UART数据实例#include "oem_portmisc.h" static cyg_io_handle_t ser_hndl; static char stack[UART_READ_TASK_STACK_SZ]; static cyg_thread thread_data; static cyg_handle_t thread_handle; static char pf_stack[PARSE_TASK_STACK_SZ]; static cyg_thread pf_thread_data; static cy
SEP5010
2 年前
ecos
eCos GPIO读写及其中断处理#include "oem_portmisc.h" #include <cyg/hal/hal_intr.h> #include <cyg/hal/drv_api.h> #define GINT_FEDGE_0 0x10000660 #define GINT_STAT_0 0x10000690 typedef union gpio1mode_data { u32 d32; struct { u32 gpio_mode:2; u32 rsvd2_5:4; u32 i2s_mode:2; u32 rsvd8_
SEP5010
2 年前
ecos·cyg_flash_read
eCos flash模拟EEPROM实现NV系统Flash需要擦除的原因:先擦除后写入的原因是为了工业上制作方便,即物理实现方便。#include <cyg/infra/diag.h>
我是有底线的