esp-idf-hal icon indicating copy to clipboard operation
esp-idf-hal copied to clipboard

embedded-hal implementation for Rust on ESP32 and ESP-IDF

Results 89 esp-idf-hal issues
Sort by recently updated
recently updated
newest added

See #92 Example: ```rust let peripherals = Peripherals::take().unwrap(); let config = OperatorConfig::default().frequency(25.kHz().into()); let mcpwm = Mcpwm::new(peripherals.mcpwm0.mcpwm)?; let mut operator = Operator::new( peripherals.mcpwm0.operator0, &mcpwm, &config, peripherals.pins.gpio4, peripherals.pins.gpio5, )?; operator.set_duty_a(my_duty_percentage_a)?; // Set...

Adding receive capability to RMT. I am new to rust so code should be reviewed as it might not represent the rust way of doing things.

It seems to me that once rmt::Transmit::start has been called, since the signal ownership was passed and rmt_write_items is called without block, the signal actually might (or probably will?) be...

bug

The following statement triggers a compiler error ```Rust use esp_idf_hal::spi; use esp_idf_hal::units::FromValueType; let config = ::default() // .baudrate(24.MHz().into()) .baudrate(20.MHz().into()) .data_mode(embedded_hal::spi::MODE_0); ``` The compiler error is ``` error[E0308]: mismatched types -->...

I'm not sure if this is the place to open this issue, but maybe I have missed a config option to do it. I'm currently writing a driver for AS3910...

This PR adds support for interrupt-driven workflow for UARTs and adjusting RX/TX buffer size from the user facing config struct. This allows notably to create tasks that can wait indefinitely...

I have an Adafruit ESP32 Feather V2 : https://www.adafruit.com/product/5400 The thing that has me puzzled is that its silkscreen shows `SCL/20` on one of the pins. https://learn.adafruit.com/adafruit-esp32-feather-v2/pinouts The `gpio.rs` clause...

Error when booting: ``` ets Jun 8 2016 00:22:57 rst:0x3 (SW_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0048,len:12 ho 0 tail 12 room 4 load:0x3fff0054,len:4800 load:0x40078000 [__udivmoddi4:??:??],len:17448 load:0x4007c428...

I have been trying to write a display driver for GC9A01 and ESP32-C3, but have issues using the SPI interface. What I have been observing is that for every byte...