github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/machine/board_nrf52840_generic.go (about)

     1  //go:build nrf52840 && nrf52840_generic
     2  
     3  package machine
     4  
     5  var (
     6  	LED          = NoPin
     7  	SDA_PIN      = NoPin
     8  	SCL_PIN      = NoPin
     9  	UART_TX_PIN  = NoPin
    10  	UART_RX_PIN  = NoPin
    11  	SPI0_SCK_PIN = NoPin
    12  	SPI0_SDO_PIN = NoPin
    13  	SPI0_SDI_PIN = NoPin
    14  
    15  	// https://pid.codes/org/TinyGo/
    16  	usb_VID uint16 = 0x1209
    17  	usb_PID uint16 = 0x9090
    18  
    19  	usb_STRING_MANUFACTURER = "TinyGo"
    20  	usb_STRING_PRODUCT      = "nRF52840 Generic board"
    21  )
    22  
    23  var (
    24  	DefaultUART = UART0
    25  )