micropython/ports/stm32/boards/PYBD_SF2
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 ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
board_init.c ports: Reformat more C and Python source code. 2022-04-20 16:17:35 +10:00
board.json ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
board.md ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
deploy.md ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
f722_qspi.ld stm32/boards: Consolidate linker snippets to reduce duplication. 2023-01-13 15:14:26 +11:00
manifest.py ports: Make all network-capable boards use bundle-networking. 2023-02-01 12:42: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/PYBD_SFx: Allow FROZEN_MANIFEST to be overridden. 2022-04-11 16:19:45 +10:00
pins.csv stm32/boards: Add board definition files for PYBD -SF2, -SF3, -SF6. 2019-05-31 22:44:25 +10:00
stm32f7xx_hal_conf.h stm32/boards: Rework all stm32??xx_hal_conf.h files to use common code. 2019-06-25 14:18:24 +10:00