Ron Evans
Ron Evans
I think something like this might be in TinyGo now? @aykevl can confirm.
> Strawman proposal: add a -output flag to the compiler which can be set as needed (-output=usb, -output=uart, -output=none). The builder will set a build tag accordingly, such as output.uart....
Hello @rvolosatovs could you please rebase against the latest `dev` branch so this can be more easily reviewed? cc/ @dkegel-fastly @dgryski @aykevl
Perhaps you need to rebase against the `dev` branch to get the tests passing?
Hello @charathram One pattern I have used myself, is to call a "failMessage()` function in that case, which outputs something useful via serial port for debugging. For example, see https://github.com/tinygo-org/drivers/blob/release/examples/wifinina/mqttclient/main.go#L74
TinyHCI tests pass, so seems good.
It appears to have fixed Windows. However it broke macOS.
Seems to still be broken on macOS.
Please make sure you rebase against `dev` that might get rid of the current build errors.
I think separate repo for the `device` generated code is a good idea. We can move all the generation tools into that repo as well.