fix build

This commit is contained in:
hathach 2019-12-09 18:49:38 +07:00
parent 208a77678c
commit 988edce745
2 changed files with 3 additions and 2 deletions

View File

@ -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);

View File

@ -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)