Hi,
attempted the git update - but no help there. The compile error is that
https://github.com/micropython/micropyt ... criptors.c is referencing TUD_DESC_STR_HEADER, which was removed from TinyUsb in August 2019 on this commit - (
https://github.com/hathach/tinyusb/comm ... c63d0ce65d).
Restoring those are easy enough, but then there are a number of errors about the NRF_CLOCK define (samples included below):
In file included from ../../lib/nrfx/mdk/nrf.h:93:0,
from ../../lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:31:
../../lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c: In function 'hfclk_running':
../../lib/nrfx/mdk/nrf52840.h:2824:37: error: incompatible type for argument 1 of 'nrf_clock_hf_is_running'
#define NRF_CLOCK ((NRF_CLOCK_Type*) NRF_CLOCK_BASE)
^
../../lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:575:34: note: in expansion of macro 'NRF_CLOCK'
return nrf_clock_hf_is_running(NRF_CLOCK, NRF_CLOCK_HFCLK_HIGH_ACCURACY);
^~~~~~~~~
In file included from ../../lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:32:0:
../../lib/nrfx/hal/nrf_clock.h:462:22: note: expected 'nrf_clock_hfclk_t {aka enum <anonymous>}' but argument is of type 'NRF_CLOCK_Type * {aka struct <anonymous> *}'
__STATIC_INLINE bool nrf_clock_hf_is_running(nrf_clock_hfclk_t clk_src)
^~~~~~~~~~~~~~~~~~~~~~~
../../lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:575:10: error: too many arguments to function 'nrf_clock_hf_is_running'
return nrf_clock_hf_is_running(NRF_CLOCK, NRF_CLOCK_HFCLK_HIGH_ACCURACY);
^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../lib/tinyusb/src/portable/nordic/nrf5x/dcd_nrf5x.c:32:0:
../../lib/nrfx/hal/nrf_clock.h:462:22: note: declared here
__STATIC_INLINE bool nrf_clock_hf_is_running(nrf_clock_hfclk_t clk_src)
Not sure if I missed a setup step or if the Particle Xenon build just isn't working at the moment...
Any idea of where to go next? Or is there a tag that will build the Xenon?
Thanks!