circuitpython/ports/nrf/boards
Jim Mussared 6da41b5900 py/obj: Merge getiter and iternext mp_obj_type_t slots.
The goal here is to remove a slot (making way to turn make_new into a slot)
as well as reduce code size by the ~40 references to mp_identity_getiter
and mp_stream_unbuffered_iter.

This introduces two new type flags:
- MP_TYPE_FLAG_ITER_IS_ITERNEXT: This means that the "iter" slot in the
  type is "iternext", and should use the identity getiter.
- MP_TYPE_FLAG_ITER_IS_CUSTOM: This means that the "iter" slot is a pointer
  to a mp_getiter_iternext_custom_t instance, which then defines both
  getiter and iternext.

And a third flag that is the OR of both, MP_TYPE_FLAG_ITER_IS_STREAM: This
means that the type should use the identity getiter, and
mp_stream_unbuffered_iter as iternext.

Finally, MP_TYPE_FLAG_ITER_IS_GETITER is defined as a no-op flag to give
the default case where "iter" is "getiter".

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2022-09-19 19:06:13 +10:00
..
actinius_icarus ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
arduino_nano_33_ble_sense ports: Use micropython-lib version of drivers in manifests. 2022-09-08 11:27:05 +10:00
arduino_primo ports: Update board.json files to link to new board images. 2022-01-07 11:33:28 +11:00
blueio_tag_evim ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
dvk_bl652 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
evk_nina_b1 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
evk_nina_b3 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
feather52 ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
ibk_blyst_nano ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
idk_blyst_nano ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
microbit py/obj: Merge getiter and iternext mp_obj_type_t slots. 2022-09-19 19:06:13 +10:00
nrf52840-mdk-usb-dongle ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
particle_xenon ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10000 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10001 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10028 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10031 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10040 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10056 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10059 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
pca10090 ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
wt51822_s4at ports: Add images, features and urls to board.json. 2021-10-28 15:25:38 +11:00
common.ld nrf/boards/common.ld: Calculate unused flash region. 2021-08-08 23:09:26 +10:00
deploy.md ports: Add board.json for all boards. 2021-10-27 14:04:53 +11:00
make-pins.py all: Update Python code to conform to latest black formatting. 2020-08-29 15:18:01 +10:00
memory.ld nrf/boards: Update memory.ld to include bootloader offsets. 2020-12-07 20:04:50 +01:00
nrf51_prefix.c nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
nrf51x22_256k_16k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf51x22_256k_32k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52_prefix.c nrf: Remove port member from Pin object 2018-07-18 17:12:26 +10:00
nrf91_prefix.c nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
nrf9160_1M_256k.ld nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
nrf9160_1M_256k_secure.ld nrf: Add nrf9160 base support. 2019-10-10 21:35:27 +02:00
nrf52832_512k_64k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52840_1M_256k.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
nrf52840_open_bootloader_1.2.x.ld nrf/boards: Add linker script for nrf52840 Open Bootloader 1.2.0. 2020-12-07 20:04:50 +01:00
s110_8.0.0.ld nrf: Make linker scripts more modular. 2018-07-18 17:12:26 +10:00
s132_6.1.1.ld nrf/bluetooth: Add support for SoftDevice s132 version 6.1.1. 2019-03-15 20:50:15 +01:00
s140_6.1.1.ld nrf/bluetooth: Add support for SoftDevice s140 version 6.1.1. 2019-03-15 20:50:15 +01:00