struct rt_spi_device *spi_device = rt_malloc(sizeof(struct rt_spi_device)); if (!spi_device) { return -RT_ENOMEM; } return rt_spi_bus_attach_device_cspin(spi_device, device_name, bus_name, pin, NULL); } int rt_hw_spi_init(void) { for (size_t i = 0; i < ARRAY_SIZE(...
(7) Use the external Lauterbach connect to JTAG interface J21, the connection picture is: Fig 2 2.2 Software operation Download Lauderbach's supporting software and install it. After installation, open the TRACE32 ICD Arm USB. If the Lauderbach device is connected, the interface will open...
(device->bus->lock), RT_WAITING_FOREVER); if (result != RT_EOK) { rt_set_errno(-RT_EBUSY); return index; } /* reset errno */ rt_set_errno(RT_EOK); /* configure SPI bus */ if (device->bus->owner != device) { /* not the same owner as current, re-configure SPI bus *...
renesas: add segger rtt function, add tft-lcd lvgl support, add ra6m4-cpk lvgl for spi-lcd support and update rt_spi_bus_attach_device_cspin function, add tft-lcd pin connection description, and fix some bugs, etc. Infineon: add capsense support, add Infineon Doc and modify file structu...
__AB32_GET_PIN_F(PIN) 21 + PIN // PB2 10 // PE5 18 // PE6 19 // PB1 9 #define SOFT_SPI1_BUS_CONFIG { \ .mosi_pin = 18, \ .miso_pin = 10, \ .sclk_pin = 9, \ .bus_name = "spi0", \ } // CS Pin PE6 19 rt_soft_spi_device_attach("spi0", "spi0.0",...
int davinci_i2c_init(char *bus_name) { struct rt_i2c_bus_device *bus; struct davinci_i2c_dev *dev; int r; bus = rt_malloc(sizeof(struct rt_i2c_bus_device)); if (bus == RT_NULL) { rt_kprintf("rt_malloc failed\n"); return -RT_ENOMEM; } rt_memset((void *)bus, 0, size...
xfel工程里面有默认有t113-s3的ddr和spi的payload工程了。我们先从里面剥离出最简单的串口操作代码,让其至少有输出功能,方便后面打印日志。 使用新编译出的payload,重新编译生成xfel,再随便执行下spi flash命令,串口有打印就行了。留着这代码备用。 ddr中运行代码 继续基于上面的代码,把具体的功能可以先屏蔽。然后把...
renesas: add segger rtt function, add tft-lcd lvgl support, add ra6m4-cpk lvgl for spi-lcd support and update rt_spi_bus_attach_device_cspin function, add tft-lcd pin connection description, and fix some bugs, etc. Infineon: add capsense support, add Infineon Doc and modify file structu...
add knob for PMCCNTR_EL0 config spi: octeontx2: add entry of PCI device for LOKI octeontx2-af: fix implitit variable array octeontx2-af: make tx nibble fixup is always apply Stefan Chulski (14): phy: cp110-comphy: add support for 5G SFI/XFI comphy initialisation net: phy: add ph...
Links: You receive all messages sent to this group. View/Reply Online (#11499):https://lists.yoctoproject.org/g/linux-yocto/message/11499Mute This Topic:https://lists.yoctoproject.org/mt/92454124/21656Group Owner: linux-yocto+ow...@lists.yoctoproject.org ...