Skip to content

drivers: usb: udc: Add SAM UDP driver - #102041

Merged
aescolar merged 7 commits into
zephyrproject-rtos:mainfrom
nandojve:sam/usb_udp
Mar 16, 2026
Merged

drivers: usb: udc: Add SAM UDP driver#102041
aescolar merged 7 commits into
zephyrproject-rtos:mainfrom
nandojve:sam/usb_udp

samples: subsys: usb: udc: Add sam4e_xpro in CI

4667b2b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 14, 2026 in 28m 56s

Annotations

Check warning on line 305 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZujlU4f7Lazp9pQi8oQ&open=AZujlU4f7Lazp9pQi8oQ&pullRequest=102041

Check failure on line 875 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a "U" suffix to this constant, to make it explicitly "unsigned".

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZw35yo8srT-BVF8kLVk&open=AZw35yo8srT-BVF8kLVk&pullRequest=102041

Check failure on line 492 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

cast from 'const struct atmel_sam_pmc_config *' to 'void *' drops const qualifier

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZujlU4f7Lazp9pQi8oN&open=AZujlU4f7Lazp9pQi8oN&pullRequest=102041

Check failure on line 956 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a "U" suffix to this constant, to make it explicitly "unsigned".

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZw35yo8srT-BVF8kLVn&open=AZw35yo8srT-BVF8kLVn&pullRequest=102041

Check warning on line 255 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZujlU4f7Lazp9pQi8oO&open=AZujlU4f7Lazp9pQi8oO&pullRequest=102041

Check failure on line 470 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

cast from 'const struct atmel_sam_pmc_config *' to 'void *' drops const qualifier

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZujlU4f7Lazp9pQi8oL&open=AZujlU4f7Lazp9pQi8oL&pullRequest=102041

Check failure on line 1612 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 26 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZzHfFlB4-2DPgZh1AX_&open=AZzHfFlB4-2DPgZh1AX_&pullRequest=102041

Check failure on line 1131 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 33 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZzHh8bfQh-IuXSnJv7F&open=AZzHh8bfQh-IuXSnJv7F&pullRequest=102041

Check failure on line 436 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

cast from 'const struct atmel_sam_pmc_config *' to 'void *' drops const qualifier

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZujlU4f7Lazp9pQi8oK&open=AZujlU4f7Lazp9pQi8oK&pullRequest=102041

Check warning on line 290 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZujlU4f7Lazp9pQi8oP&open=AZujlU4f7Lazp9pQi8oP&pullRequest=102041

Check failure on line 955 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a "U" suffix to this constant, to make it explicitly "unsigned".

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZw35yo8srT-BVF8kLVm&open=AZw35yo8srT-BVF8kLVm&pullRequest=102041

Check failure on line 903 in drivers/usb/udc/udc_sam_udp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a "U" suffix to this constant, to make it explicitly "unsigned".

See more on https://sonarcloud.io/project/issues?id=zephyrproject-rtos_zephyr&issues=AZw35yo8srT-BVF8kLVl&open=AZw35yo8srT-BVF8kLVl&pullRequest=102041