Skip to content

doc-gen "make" fails #384

Closed
Closed
@gen2thomas

Description

@gen2thomas

For my recent project, I really wanted to test TinyGo and have searched many hours, which MCU is supported for BT and/or WiFi. The documentation seems to be a little bit outdated. After I have managed my project in a few days with nRF52840 based chip - many thanks to the TinyGo-developers - I would like to give something back by improve and add some content for the documentation site.

I like to contribute a matrix for the supported hardware to save some time for other developers. First I write it manually, but than I found the code for the generation of machine and microcontrollers reference pages.

Unfortunately it is not working any more caused by some undefined symbols. It stops here:

src/machine/machine_atsamd21.go:1742:6: undefined: arm.DisableInterrupts
exit status 1

Also, this prevents building for all follow up pages, although there would be no such error.

My suggestions is (besides fix the originated problem):

  • skip erroneous "pages" and generate all output which is not affected
  • split the main.go a little bit (e.g. for PWM part, different sites) to make it better to maintain

@aykevl , @deadprogram , @soypat what do you think about?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions