summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-12-09 18:49:38 +0700
committerhathach <[email protected]>2019-12-09 18:49:38 +0700
commit988edce74530a585a4ffa40a7d955d0208892539 (patch)
treec125cf6e5187c96a6dfe76562219a20c70b7e453
parent208a77678cabd3dbd270a9f93f4ec110b25908ff (diff)
fix build
-rw-r--r--src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c3
-rw-r--r--tools/build_all.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
index f52e113b7..a93a282e0 100644
--- a/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
+++ b/src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
@@ -294,7 +294,8 @@ void dcd_int_disable(uint8_t rhport)
// Receive Set Address request, mcu port must also include status IN response
void dcd_set_address(uint8_t rhport, uint8_t dev_addr)
{
- (void)rhport;
+ (void) rhport;
+ (void) dev_addr;
// Respond with status
dcd_edpt_xfer(rhport, tu_edpt_addr(0, TUSB_DIR_IN), NULL, 0);
diff --git a/tools/build_all.py b/tools/build_all.py
index 9f35aac63..2ea898f45 100644
--- a/tools/build_all.py
+++ b/tools/build_all.py
@@ -36,7 +36,7 @@ for entry in os.scandir("hw/bsp"):
def build_example(example, board):
subprocess.run("make -C examples/device/{} BOARD={} clean".format(example, board), shell=True,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
- return subprocess.run("make -j 8 -C examples/device/{} BOARD={} all".format(example, board), shell=True,
+ return subprocess.run("make -j 4 -C examples/device/{} BOARD={} all".format(example, board), shell=True,
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)