Community

Nuttx dll not found

I am trying to get the ShiftRegisgterLeds project working. It took me a while to figure out which nuget packages I needed to load to get the project to build.

when I start the application without debugging I get the following error

System.DllNotFoundException: Unable to load DLL ‘nuttx’ or one of its dependencies: The specified module could not be found. (0x8007007E)
at Meadow.Core.Interop.Nuttx.open(String pathname, DriverFlags flags)

Launch with debugging produces a whole different set of errors that I assume are related.

I am running 5.2 and flashed the OS successfully, but I have not yet found the magic combination to flash mono. ‘meadow mono flash -s com5’ mono hangs, eventually timing out after a minute.

meadow mono state produces the following
Meadow StdInfo: Mono will not start. Version mismatch, Meadow.OS version 0.5.2.0, Mono version 0.4.1.1.
Meadow StdInfo: Mono is enabled
Mono Run State: Enabled

Not sure where to turn at this point.