micropython/ports/stm32/boards/ARDUINO_PORTENTA_H7
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
..
bdev.c stm32/boards/ARDUINO_PORTENTA_H7: Add support for Arduino Portenta H7. 2022-04-28 10:42:47 +10:00
board_init.c stm32/boards/ARDUINO_PORTENTA_H7: Fix macro value check for QSPI. 2023-02-16 12:21:48 +11:00
board.json stm32/boards/ARDUINO_PORTENTA_H7: Add support for Arduino Portenta H7. 2022-04-28 10:42:47 +10:00
deploy.md stm32/boards/ARDUINO_PORTENTA_H7: Add more modules, I2C1 and SE pin. 2022-11-14 18:59:17 +11:00
manifest.py stm32/boards/ARDUINO_PORTENTA_H7: Use default aioble. 2023-02-16 12:32:03 +11:00
mbedtls_config_board.h stm32/boards/ARDUINO_PORTENTA_H7: Add custom mbedtls config. 2022-11-08 23:46:06 +11:00
mpconfigboard.h extmod/modnetwork: Add network.hostname() and network.country(). 2023-03-01 01:26:17 +11:00
mpconfigboard.mk stm32/boards/ARDUINO_PORTENTA_H7: Add custom mbedtls config. 2022-11-08 23:46:06 +11:00
pins.csv stm32/boards/ARDUINO_PORTENTA_H7: Add more modules, I2C1 and SE pin. 2022-11-14 18:59:17 +11:00
stm32h7xx_hal_conf.h stm32/boards/ARDUINO_PORTENTA_H7: Add support for Arduino Portenta H7. 2022-04-28 10:42:47 +10:00
stm32h747.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00