Files
tinygo/targets
Ayke van Laethem 96e863f0f3 all: add a flag to the command line to select the serial implementation
This can be very useful for some purposes:

  * It makes it possible to disable the UART in cases where it is not
    needed or needs to be disabled to conserve power.
  * It makes it possible to disable the serial output to reduce code
    size, which may be important for some chips. Sometimes, a few kB can
    be saved this way.
  * It makes it possible to override the default, for example you might
    want to use an actual UART to debug the USB-CDC implementation.

It also lowers the dependency on having machine.Serial defined, which is
often not defined when targeting a chip. Eventually, we might want to
make it possible to write `-target=nrf52` or `-target=atmega328p` for
example to target the chip itself with no board specific assumptions.

The defaults don't change. I checked this by running `make smoketest`
before and after and comparing the results.
2021-06-25 17:58:39 +02:00
..
2021-04-19 13:14:33 +02:00
2021-02-11 10:50:29 +01:00
2020-09-09 19:17:11 +02:00
2021-03-04 15:46:05 +01:00
2021-03-04 15:46:05 +01:00
2021-04-14 09:17:54 +02:00
2018-10-06 13:04:14 +02:00
2019-11-16 21:57:18 +01:00
2020-10-20 19:13:43 +02:00
2020-10-20 19:13:43 +02:00
2018-10-18 15:07:06 +02:00
2020-07-13 12:35:53 +02:00
2020-02-18 23:34:56 +01:00
2020-02-18 23:34:56 +01:00
2020-02-18 23:34:56 +01:00
2021-03-28 21:38:05 +02:00
2021-03-21 10:00:43 +01:00
2020-03-26 23:03:55 +01:00
2021-04-19 13:14:33 +02:00
2018-09-22 01:51:44 +02:00
2020-12-15 06:51:35 +01:00
2021-03-23 08:33:59 +01:00
2020-07-08 21:58:15 +02:00
2020-11-11 18:34:47 +01:00
2021-06-22 09:03:23 +02:00
2021-06-22 09:03:23 +02:00
2020-11-15 16:19:51 +01:00
2021-04-19 13:14:33 +02:00