Skip to content

Commit

Permalink
projects:ad405x_iio: Update ad405x project according to the latest dr…
Browse files Browse the repository at this point in the history
…iver changes

1. Sync up the code with latest DMA and PWM drivers
2. Add virtual COM support
3. Club the firmwares of AD4052 and AD4050
4. Bug fix of filter length attribute in burst averaging mode
5. Add callback count to timely stop the PWM timers
6. Add console stdio support
7. Set Physical COM port as default

Signed-off-by: Anush Shetty <[email protected]>
  • Loading branch information
Shetty-Anush authored and SaikiranGudla committed Dec 20, 2024
1 parent 18cd58e commit 739ff40
Show file tree
Hide file tree
Showing 9 changed files with 535 additions and 239 deletions.
2 changes: 2 additions & 0 deletions projects/ad405x_iio/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ tests/output
STM32/.settings
STM32/Core
STM32/Drivers
STM32/Middlewares
STM32/USB_DEVICE
STM32/.mxproject
STM32/.cproject
STM32/.project
Expand Down
4 changes: 2 additions & 2 deletions projects/ad405x_iio/STM32/.extSettings
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ app/libraries/no-OS/drivers/eeprom/24xx32a/=../../../libraries/no-OS/drivers/eep

app/libraries/no-OS/drivers/adc/ad405x/=../../../libraries/no-OS/drivers/adc/ad405x/ad405x.c;../../../libraries/no-OS/drivers/adc/ad405x/ad405x.h;

app/libraries/no-OS/drivers/platform/stm32/=../../../libraries/no-OS/drivers/platform/stm32/stm32_delay.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio_irq.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio_irq.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_spi.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_spi.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_i2c.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_i2c.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_irq.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_irq.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_pwm.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_pwm.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_dma.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_dma.h;
app/libraries/no-OS/drivers/platform/stm32/=../../../libraries/no-OS/drivers/platform/stm32/stm32_delay.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio_irq.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio_irq.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_spi.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_spi.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_i2c.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_i2c.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_irq.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_irq.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_pwm.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_pwm.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_dma.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_dma.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_usb_uart.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_usb_uart.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart_stdio.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart_stdio.h;

app/libraries/no-OS/iio/=../../../libraries/no-OS/iio/iio.c;../../../libraries/no-OS/iio/iio.h;../../../libraries/no-OS/iio/iiod.h;../../../libraries/no-OS/iio/iiod.c;../../../libraries/no-OS/iio/iio_trigger.c;../../../libraries/no-OS/iio/iio_types.h;../../../libraries/no-OS/iio/iio_trigger.h;

app/libraries/no-OS/drivers/api/=../../../libraries/no-OS/drivers/api/no_os_gpio.c;../../../libraries/no-OS/drivers/api/no_os_spi.c;../../../libraries/no-OS/drivers/api/no_os_irq.c;../../../libraries/no-OS/drivers/api/no_os_i2c.c;../../../libraries/no-OS/drivers/api/no_os_eeprom.c;../../../libraries/no-OS/drivers/api/no_os_uart.c;../../../libraries/no-OS/drivers/api/no_os_pwm.c;../../../libraries/no-OS/drivers/api/no_os_dma.c;

[Others]
Define=_USE_STD_INT_TYPES;TINYIIOD_VERSION_MAJOR;TINYIIOD_VERSION_MINOR;TINYIIOD_VERSION_GIT;IIOD_BUFFER_SIZE;IIO_IGNORE_BUFF_OVERRUN_ERR;USE_PHY_COM_PORT;NO_OS_VERSION;
Define=_USE_STD_INT_TYPES;TINYIIOD_VERSION_MAJOR;TINYIIOD_VERSION_MINOR;TINYIIOD_VERSION_GIT;IIOD_BUFFER_SIZE;IIO_IGNORE_BUFF_OVERRUN_ERR;NO_OS_VERSION;ACTIVE_PLATFORM:2;TARGET_SDP_K1
Loading

0 comments on commit 739ff40

Please sign in to comment.