fix build
This commit is contained in:
parent
208a77678c
commit
988edce745
|
@ -294,7 +294,8 @@ void dcd_int_disable(uint8_t rhport)
|
||||||
// Receive Set Address request, mcu port must also include status IN response
|
// Receive Set Address request, mcu port must also include status IN response
|
||||||
void dcd_set_address(uint8_t rhport, uint8_t dev_addr)
|
void dcd_set_address(uint8_t rhport, uint8_t dev_addr)
|
||||||
{
|
{
|
||||||
(void)rhport;
|
(void) rhport;
|
||||||
|
(void) dev_addr;
|
||||||
|
|
||||||
// Respond with status
|
// Respond with status
|
||||||
dcd_edpt_xfer(rhport, tu_edpt_addr(0, TUSB_DIR_IN), NULL, 0);
|
dcd_edpt_xfer(rhport, tu_edpt_addr(0, TUSB_DIR_IN), NULL, 0);
|
||||||
|
|
|
@ -36,7 +36,7 @@ for entry in os.scandir("hw/bsp"):
|
||||||
def build_example(example, board):
|
def build_example(example, board):
|
||||||
subprocess.run("make -C examples/device/{} BOARD={} clean".format(example, board), shell=True,
|
subprocess.run("make -C examples/device/{} BOARD={} clean".format(example, board), shell=True,
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
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)
|
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue