micropython/ports
Maureen Helm 38b4f1569e zephyr: Fix and rename stacks_analyze function in zephyr module.
Zephyr deprecated and then removed its stack_analyze function because it
was unsafe.  Use the new zephyr thread analyzer instead and rename the
MicroPython function to zephyr.thread_analyze() to be more consistent with
the implementation.

Tested on mimxrt1050_evk.

The output now looks like this:

>>> zephyr.thread_analyze()
Thread analyze:
 80004ff4            : unused 400 usage 112 / 512 (21 %)
 rx_workq            : unused 1320 usage 180 / 1500 (12 %)
 tx_workq            : unused 992 usage 208 / 1200 (17 %)
 net_mgmt            : unused 656 usage 112 / 768 (14 %)
 sysworkq            : unused 564 usage 460 / 1024 (44 %)
 idle                : unused 256 usage 64 / 320 (20 %)
 main                : unused 2952 usage 1784 / 4736 (37 %)
2020-06-12 10:24:01 +10:00
..
bare-arm ports: Enable error text compression for various ports, but not all. 2020-04-05 15:02:06 +10:00
cc3200 all: Factor gchelper code to one place and use it for unix & ARM ports. 2020-04-29 23:45:19 +10:00
esp32 extmod/modbluetooth: Register default GATT service and fix esp32 init. 2020-06-10 22:33:29 +10:00
esp8266 esp8266/esppwm: Fix PWM glitch when setting duty on different channel. 2020-05-27 16:15:28 +10:00
javascript all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
mimxrt mimxrt/boards: Set __heap_size__ to 0 in MIMXRT1011.ld. 2020-06-10 22:49:26 +10:00
minimal minimal: Make build more flexible and work as 64-bit build. 2020-06-02 15:43:44 +10:00
nrf nrf: Add openocd as a supported flasher. 2020-05-15 15:06:02 +10:00
pic16bit all: Format code to add space after C++-style comment start. 2020-04-23 11:24:25 +10:00
powerpc powerpc/uart: Choose which UART to use at build time, not runtime. 2020-05-29 22:54:55 +10:00
qemu-arm qemu-arm: Support building in debug mode with DEBUG=1. 2020-06-05 20:52:10 +10:00
samd all: Factor gchelper code to one place and use it for unix & ARM ports. 2020-04-29 23:45:19 +10:00
stm32 stm32/Makefile: Quote libgcc path so spaces are not an issue. 2020-06-02 14:11:08 +10:00
teensy all: Factor gchelper code to one place and use it for unix & ARM ports. 2020-04-29 23:45:19 +10:00
unix unix/btstack_usb: Allow choosing adaptor via environment variable. 2020-06-10 22:40:02 +10:00
windows windows: Make appveyor.yml self-contained. 2020-05-28 09:56:35 +10:00
zephyr zephyr: Fix and rename stacks_analyze function in zephyr module. 2020-06-12 10:24:01 +10:00