Repository navigation
Conversation
… core_cdc The host protocol now lives once in arduino_hil (hathach/agentrc#488); core_cdc_tinyusb is a named build instead of a byte copy of core_cdc (hathach/agentrc#456). Both need agentrc's 'battery' and 'named' profile features, which agentrc_pin.py now requires, so the pin moves to agentrc's wave 4 (hathach/agentrc#567).
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
[Medium impact] The PR appears safe to merge; no actionable issues were found.
|
Problem
test/hil/core_cdc_tinyusbwas a byte-for-byte copy ofcore_cdc, kept equal by a contract test.Solution
cdc,cdc_tinyusbandtimingrun from agentrc's shared core battery (CORE_TESTS,INFO_DETAIL=('crystalless',)).core_cdc_tinyusbis a named build oftest/hil/core_cdcwithusbstack=tinyusb; the copied sketch and thefqbn()hook are removed (Remove Genuino Occurrences arduino/ArduinoCore-samd#456).agentrc_pin.pyrequires thenamedandbatteryfeatures.test/hil/agentrc.jsonpins agentrc 2eb13e0, the squash of arduino: wave 4 (#455, #488, #456, #438) hathach/agentrc#567 (DAC0 is not defined for MKRZero and MKRWifi1010 arduino/ArduinoCore-samd#488, Remove Genuino Occurrences arduino/ArduinoCore-samd#456).What the host sends to the board is unchanged. The pinned battery widens the
millis()anddelay()brackets by 1 ms beyond the 1% tolerance.Testing
agentrc_pin.py testagainst 2eb13e0: 66 pass.check_build.py:core_cdcandcore_cdc_tinyusbbuild for metro_m0_express and metro_m4_express.cdc_arduino,cdc_tinyusbandtiming. SAMD21 has no farm board.