micropython/ports/rp2/boards
Jim Mussared a377302623 extmod/modnetwork: Add network.hostname() and network.country().
This provides a standard interface to setting the global networking config
for all interfaces and interface types.

For ports that already use either a static hostname (mimxrt, rp2) they will
now use the configured value. The default is configured by the port
(or optionally the board).

For interfaces that previously supported .config(hostname), this is still
supported but now implemented using the global network.hostname.

Similarly, pyb.country and rp2.country are now deprecated, but the methods
still exist (and forward to network.hostname).

Because ESP32/ESP8266 do not use extmod/modnetwork.c they are not affected
by this commit.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-03-01 01:26:17 +11:00
..
ADAFRUIT_FEATHER_RP2040 rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
ADAFRUIT_ITSYBITSY_RP2040 rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
ADAFRUIT_QTPY_RP2040 rp2/boards: Remove all I2C,SPI pin defs that already match pico-sdk. 2022-09-08 14:51:15 +10:00
ARDUINO_NANO_RP2040_CONNECT rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Use default aioble. 2023-02-16 12:32:03 +11:00
GARATRONIC_PYBSTICK26_RP2040 rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
NULLBITS_BIT_C_PRO rp2/boards/NULLBITS_BIT_C_PRO: Add Bit-C PRO board. 2023-01-28 15:14:48 +11:00
PICO rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
PICO_W extmod/modnetwork: Add network.hostname() and network.country(). 2023-03-01 01:26:17 +11:00
PIMORONI_PICOLIPO_4MB rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
PIMORONI_PICOLIPO_16MB rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
PIMORONI_TINY2040 rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
SPARKFUN_PROMICRO rp2/boards: Remove all I2C,SPI pin defs that already match pico-sdk. 2022-09-08 14:51:15 +10:00
SPARKFUN_THINGPLUS rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
W5100S_EVB_PICO extmod/modnetwork: Add network.hostname() and network.country(). 2023-03-01 01:26:17 +11:00
W5500_EVB_PICO extmod/modnetwork: Add network.hostname() and network.country(). 2023-03-01 01:26:17 +11:00
WEACTSTUDIO rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
deploy.md ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
make-pins.py rp2/machine_pin: Add support for named pins and alternate functions. 2023-01-16 11:44:26 +11:00
manifest.py ports: Use micropython-lib version of drivers in manifests. 2022-09-08 11:27:05 +10:00
rp2_af.csv rp2/machine_pin: Add support for named pins and alternate functions. 2023-01-16 11:44:26 +11:00
rp2_prefix.c rp2/machine_pin: Add support for named pins and alternate functions. 2023-01-16 11:44:26 +11:00