From cfaa4ece13adc37cf1a1316a69d885e63e7bc2de Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 15 Jul 2017 13:20:34 -0600 Subject: [PATCH] Add some comments. --- configs/olimexino-stm32/src/stm32_composite.c | 6 ++++++ configs/spark/src/stm32_composite.c | 6 ++++++ configs/stm3210e-eval/src/stm32_composite.c | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/configs/olimexino-stm32/src/stm32_composite.c b/configs/olimexino-stm32/src/stm32_composite.c index eb29e9a0cd..bb55ce5465 100644 --- a/configs/olimexino-stm32/src/stm32_composite.c +++ b/configs/olimexino-stm32/src/stm32_composite.c @@ -370,6 +370,12 @@ FAR void *board_composite1_connect(int port) int epno; int i; + /* REVISIT: This configuration currently fails. stm32_epallocpma() fails + * allocate a buffer for the 6th endpoint. Currenlty it supports 7x64 byte + * buffers, two required for EP0, leaving only buffers for 5 additional + * endpoints. + */ + for (i = 0, epno = 1; i < 2; i++) { /* Ask the cdcacm driver to fill in the constants we didn't know here */ diff --git a/configs/spark/src/stm32_composite.c b/configs/spark/src/stm32_composite.c index 06ddb88cc4..11449cffc5 100644 --- a/configs/spark/src/stm32_composite.c +++ b/configs/spark/src/stm32_composite.c @@ -535,6 +535,12 @@ FAR void *board_composite1_connect(int port) int epno; int i; + /* REVISIT: This configuration currently fails. stm32_epallocpma() fails + * allocate a buffer for the 6th endpoint. Currenlty it supports 7x64 byte + * buffers, two required for EP0, leaving only buffers for 5 additional + * endpoints. + */ + for (i = 0, epno = 1; i < 2; i++) { /* Ask the cdcacm driver to fill in the constants we didn't know here */ diff --git a/configs/stm3210e-eval/src/stm32_composite.c b/configs/stm3210e-eval/src/stm32_composite.c index be2a672188..13ea8f95ae 100644 --- a/configs/stm3210e-eval/src/stm32_composite.c +++ b/configs/stm3210e-eval/src/stm32_composite.c @@ -373,6 +373,12 @@ FAR void *board_composite1_connect(int port) int epno; int i; + /* REVISIT: This configuration currently fails. stm32_epallocpma() fails + * allocate a buffer for the 6th endpoint. Currenlty it supports 7x64 byte + * buffers, two required for EP0, leaving only buffers for 5 additional + * endpoints. + */ + for (i = 0, epno = 1; i < 2; i++) { /* Ask the cdcacm driver to fill in the constants we didn't know here */