mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-07 20:43:40 +00:00
build: drop deprecated build tags
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build arduino
|
||||
// +build arduino
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arduino_mega1280
|
||||
// +build arduino_mega1280
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arduino_mega2560
|
||||
// +build arduino_mega2560
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arduino_mkr1000
|
||||
// +build arduino_mkr1000
|
||||
|
||||
// This contains the pin mappings for the Arduino MKR1000 board.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arduino_mkrwifi1010
|
||||
// +build arduino_mkrwifi1010
|
||||
|
||||
// This contains the pin mappings for the Arduino MKR WiFi 1010 board.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arduino_nano
|
||||
// +build arduino_nano
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build arduino_nano33
|
||||
// +build arduino_nano33
|
||||
|
||||
// This contains the pin mappings for the Arduino Nano33 IoT board.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && arduino_zero
|
||||
// +build sam,atsamd21,arduino_zero
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build (avr && atmega328p) || arduino || arduino_nano
|
||||
// +build avr,atmega328p arduino arduino_nano
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build (sam && atsamd21) || arduino_nano33 || circuitplay_express
|
||||
// +build sam,atsamd21 arduino_nano33 circuitplay_express
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build atsame54_xpro
|
||||
// +build atsame54_xpro
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build badger2040
|
||||
// +build badger2040
|
||||
|
||||
// This contains the pin mappings for the Badger 2040 Connect board.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build bluepill
|
||||
// +build bluepill
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build challenger_rp2040
|
||||
// +build challenger_rp2040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build circuitplay_bluefruit
|
||||
// +build circuitplay_bluefruit
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build circuitplay_express
|
||||
// +build circuitplay_express
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build clue_alpha
|
||||
// +build clue_alpha
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build digispark
|
||||
// +build digispark
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp32_coreboard_v2
|
||||
// +build esp32_coreboard_v2
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build esp32c312f
|
||||
// +build esp32c312f
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build hifive1b
|
||||
// +build hifive1b
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && feather_m0
|
||||
// +build sam,atsamd21,feather_m0
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build feather_m4_can
|
||||
// +build feather_m4_can
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build feather_m4
|
||||
// +build feather_m4
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build feather_nrf52840_sense
|
||||
// +build feather_nrf52840_sense
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build feather_nrf52840
|
||||
// +build feather_nrf52840
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build feather_stm32f405
|
||||
// +build feather_stm32f405
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build feather_rp2040
|
||||
// +build feather_rp2040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build gnse
|
||||
// +build gnse
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build grandcentral_m4
|
||||
// +build grandcentral_m4
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build hifive1b
|
||||
// +build hifive1b
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build fe310 && hifive1b
|
||||
// +build fe310,hifive1b
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && itsybitsy_m0
|
||||
// +build sam,atsamd21,itsybitsy_m0
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build itsybitsy_m4
|
||||
// +build itsybitsy_m4
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build itsybitsy_nrf52840
|
||||
// +build itsybitsy_nrf52840
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build maixbit
|
||||
// +build maixbit
|
||||
|
||||
// Chip datasheet: https://s3.cn-north-1.amazonaws.com.cn/dl.kendryte.com/documents/kendryte_datasheet_20181011163248_en.pdf
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build lgt92
|
||||
// +build lgt92
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build lorae5
|
||||
// +build lorae5
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build m5stack
|
||||
// +build m5stack
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build m5stack_core2
|
||||
// +build m5stack_core2
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build m5stamp_c3
|
||||
// +build m5stamp_c3
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build macropad_rp2040
|
||||
// +build macropad_rp2040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build maixbit
|
||||
// +build maixbit
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build k210 && maixbit
|
||||
// +build k210,maixbit
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build matrixportal_m4
|
||||
// +build matrixportal_m4
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build mch2022
|
||||
// +build mch2022
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build mdbt50qrx
|
||||
// +build mdbt50qrx
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build metro_m4_airlift
|
||||
// +build metro_m4_airlift
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build microbit_v2
|
||||
// +build microbit_v2
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build microbit
|
||||
// +build microbit
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nano_33_ble
|
||||
// +build nano_33_ble
|
||||
|
||||
// This contains the pin mappings for the Arduino Nano 33 BLE [Sense] boards.
|
||||
// - https://store.arduino.cc/arduino-nano-33-ble
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nano_rp2040
|
||||
// +build nano_rp2040
|
||||
|
||||
// This contains the pin mappings for the Arduino Nano RP2040 Connect board.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nicenano
|
||||
// +build nicenano
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nodemcu
|
||||
// +build nodemcu
|
||||
|
||||
// Pinout for the NodeMCU dev kit.
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf51 || microbit
|
||||
// +build nrf51 microbit
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf52840_mdk_usb_dongle
|
||||
// +build nrf52840_mdk_usb_dongle
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf52840_mdk
|
||||
// +build nrf52840_mdk
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nrf52840 || circuitplay_bluefruit || reelboard || clue || itsybitsy_nrf52840
|
||||
// +build nrf52840 circuitplay_bluefruit reelboard clue itsybitsy_nrf52840
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nucleof103rb
|
||||
// +build nucleof103rb
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nucleof722ze
|
||||
// +build nucleof722ze
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nucleol031k6
|
||||
// +build nucleol031k6
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nucleol432kc
|
||||
// +build nucleol432kc
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nucleol552ze
|
||||
// +build nucleol552ze
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nucleowl55jc
|
||||
// +build nucleowl55jc
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build p1am_100
|
||||
// +build p1am_100
|
||||
|
||||
// This contains the pin mappings for the ProductivityOpen P1AM-100 board.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build particle_argon
|
||||
// +build particle_argon
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build particle_boron
|
||||
// +build particle_boron
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build particle_xenon
|
||||
// +build particle_xenon
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pca10031
|
||||
// +build pca10031
|
||||
|
||||
// pca10031 is a nrf51 based dongle, intended for use in wireless applications.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pca10040
|
||||
// +build pca10040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pca10056
|
||||
// +build pca10056
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pca10059
|
||||
// +build pca10059
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pico
|
||||
// +build pico
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pinetime_devkit0
|
||||
// +build pinetime_devkit0
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pybadge
|
||||
// +build pybadge
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd51 && pygamer
|
||||
// +build sam,atsamd51,pygamer
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build pyportal
|
||||
// +build pyportal
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && qtpy
|
||||
// +build sam,atsamd21,qtpy
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build qtpy_rp2040
|
||||
// +build qtpy_rp2040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build reelboard
|
||||
// +build reelboard
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32f469disco
|
||||
// +build stm32f469disco
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build stm32f4disco
|
||||
// +build stm32f4disco
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build swan
|
||||
// +build swan
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build nxp && mk66f18 && teensy36
|
||||
// +build nxp,mk66f18,teensy36
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build teensy40
|
||||
// +build teensy40
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build teensy41
|
||||
// +build teensy41
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build thingplus_rp2040
|
||||
// +build thingplus_rp2040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && trinket_m0
|
||||
// +build sam,atsamd21,trinket_m0
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build trinkey_qt2040
|
||||
// +build trinkey_qt2040
|
||||
|
||||
// This file contains the pin mappings for the Adafruit Trinkey QT2040 board.
|
||||
//
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
//go:build tufty2040
|
||||
// +build tufty2040
|
||||
|
||||
// This contains the pin mappings for the Badger 2040 Connect board.
|
||||
//
|
||||
// For more information, see: https://shop.pimoroni.com/products/tufty-2040
|
||||
// Also
|
||||
// - Tufty 2040 schematic: https://cdn.shopify.com/s/files/1/0174/1800/files/tufty_schematic.pdf?v=1655385675
|
||||
//
|
||||
package machine
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build waveshare_rp2040_zero
|
||||
// +build waveshare_rp2040_zero
|
||||
|
||||
// This file contains the pin mappings for the Waveshare RP2040-Zero boards.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build wioterminal
|
||||
// +build wioterminal
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build x9pro
|
||||
// +build x9pro
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build xiao_ble
|
||||
// +build xiao_ble
|
||||
|
||||
// This file contains the pin mappings for the Seeed XIAO BLE nRF52840 [Sense] boards.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build xiao_esp32c3
|
||||
// +build xiao_esp32c3
|
||||
|
||||
// This file contains the pin mappings for the Seeed XIAO ESP32C3 boards.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build xiao_rp2040
|
||||
// +build xiao_rp2040
|
||||
|
||||
// This file contains the pin mappings for the Seeed XIAO RP2040 boards.
|
||||
//
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam && atsamd21 && xiao
|
||||
// +build sam,atsamd21,xiao
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build atmega || nrf || sam || stm32 || fe310 || k210 || rp2040
|
||||
// +build atmega nrf sam stm32 fe310 k210 rp2040
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build sam
|
||||
// +build sam
|
||||
|
||||
// This is the definition for I2S bus functions.
|
||||
// Actual implementations if available for any given hardware
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
//go:build avr && atmega
|
||||
// +build avr,atmega
|
||||
|
||||
package machine
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user