]>
granicus.if.org Git - esp-idf/log
zhiweijian [Fri, 26 Jan 2018 06:38:54 +0000 (14:38 +0800)]
Component/bt: fix bt load boned in smp
Jiang Jiang Jian [Fri, 26 Jan 2018 02:06:43 +0000 (10:06 +0800)]
Merge branch 'feature/btdm_bluedroid_env_dynomic_malloc_enable' into 'master'
This MR added the bluedroid env variable can dynamic malloc and BT variable use psram malloc supported
See merge request !1698
Jiang Jiang Jian [Thu, 25 Jan 2018 12:27:55 +0000 (20:27 +0800)]
Merge branch 'feature/wifi_check_mac_when_cal_phy' into 'master'
Added two functions in PHY API for disable interrupts and add rfcal data checking to PHY
See merge request !1840
XiaXiaotian [Wed, 24 Jan 2018 04:19:57 +0000 (12:19 +0800)]
Added two functions in PHY API for disable interrupts and add rfcal data checking to PHY
Jiang Jiang Jian [Thu, 25 Jan 2018 06:09:46 +0000 (14:09 +0800)]
Merge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert' into 'master'
Fix the bug that in sniffer mode it asserts when receive misc data at first
See merge request !1837
Jiang Jiang Jian [Thu, 25 Jan 2018 05:52:00 +0000 (13:52 +0800)]
Merge branch 'bugfix/btdm_classicbt_pscan_assert' into 'master'
component/bt : fix the bug of pscan when interrupt react slowly
See merge request !1816
Jiang Jiang Jian [Thu, 25 Jan 2018 04:05:58 +0000 (12:05 +0800)]
Merge branch 'bugfix/btdm_fix_bonded_device_list_error_after_reboot' into 'master'
component/bt: fix bonded device list error after reboot
See merge request !1750
Ivan Grokhotkov [Thu, 25 Jan 2018 01:08:25 +0000 (09:08 +0800)]
Merge branch 'feature/esptool_v221' into 'master'
esptool: Update to v2.2.1
See merge request !1841
XiaXiaotian [Tue, 23 Jan 2018 11:38:03 +0000 (19:38 +0800)]
Fix the bug that in sniffer mode it asserts when receive misc data at first
close github issue#1037 WiFi Promiscuous filter breaks w/
WIFI_PROMIS_FILTER_MASK_ALL and issue#1404
esp_wifi_set_promiscuous_filter set WIFI_PROMIS_FILTER_MASK_ALL error
Yulong [Wed, 18 Oct 2017 07:34:43 +0000 (03:34 -0400)]
component/bt: Added the bluedroid environment variable dynomic malloc support & support to malloc the memory to the psram.
component/bt: Added the Macro for the classic BT support.
component/bt: added the bluedroid deinit method.
component/bt: allow more classic BT global variables to use dynamic allocation scheme
1. allocate memory for AVDT, AVCT control blocks when dynamic memory is used
2. allow SBC decoder buffer to use dynamic allocation scheme
component/bt: Remove the wrong changes in bt/Kconfig & Added the GATTS_INCLUDED in the gatt_free function when gatt service close.
component/bt: Shorten the abbreviation BT_ALLOCATION_FROM_SPIRAM_FIRST and BT_BLE_DYNAMIC_ENV_MEMORY two macros.
Angus Gratton [Wed, 24 Jan 2018 06:45:49 +0000 (17:45 +1100)]
esptool: Update to v2.2.1
Fixes a bug with >230400bps flashing on macOS, possibly other platforms.
Full release notes: https://github.com/espressif/esptool/releases/tag/v2.2.1
Angus Gratton [Wed, 24 Jan 2018 04:04:03 +0000 (12:04 +0800)]
Merge branch 'feature/dma_attr' into 'master'
feat(attr): add new macro `DMA_ATTR` and `STATIC_DMA_ATTR` to help dma buffer declaration.
See merge request !1550
michael [Thu, 16 Nov 2017 09:31:15 +0000 (17:31 +0800)]
feat(attr): add new macro `DMA_ATTR` and `WORD_ALIGNED_ATTR` to help dma buffer declaration.
Angus Gratton [Tue, 23 Jan 2018 22:12:48 +0000 (06:12 +0800)]
Merge branch 'bugfix/uart_pattern_detect' into 'master'
bugfix(uart): patten detect function
See merge request !1235
Jiang Jiang Jian [Tue, 23 Jan 2018 14:45:41 +0000 (22:45 +0800)]
Merge branch 'bugfix/log_hex_buffer_pr1519' into 'master'
Fix hexdump comment and array size. See issue #1518.
See merge request !1832
Ivan Grokhotkov [Tue, 23 Jan 2018 07:38:09 +0000 (15:38 +0800)]
Merge branch 'doc/debian_build_prereqs' into 'master'
docs: Add build dependencies for toolchain for Debian (Github PR)
See merge request !1830
Ivan Grokhotkov [Tue, 23 Jan 2018 07:37:47 +0000 (15:37 +0800)]
Merge branch 'bugfix/xtal_freq_estimation' into 'master'
soc/rtc_clk: fix loss of precision in estimation of XTAL frequency
See merge request !1763
Ivan Grokhotkov [Tue, 23 Jan 2018 07:37:13 +0000 (15:37 +0800)]
Merge branch 'bugfix/xRingbufferSend_timeout_bug' into 'master'
bugfix(ringbuffer): Fix ringbuffer_send timeout bug
See merge request !1823
Ivan Grokhotkov [Tue, 23 Jan 2018 07:36:12 +0000 (15:36 +0800)]
Merge branch 'feature/support-markdown-docs' into 'master'
docs : Add support for markdown files
See merge request !1781
Urs Fässler [Fri, 5 Jan 2018 09:48:35 +0000 (10:48 +0100)]
Add build dependencies for toolchain for Debian
Merges https://github.com/espressif/esp-idf/pull/1465
Angus Gratton [Tue, 23 Jan 2018 00:36:52 +0000 (08:36 +0800)]
Merge branch 'feature/esptool_v2_2' into 'master'
esptool: Update to v2.2
See merge request !1755
Angus Gratton [Tue, 23 Jan 2018 00:33:38 +0000 (08:33 +0800)]
Merge branch 'feature/aws-iot-sdk-v2.2.1' into 'master'
AWS IoT SDK: Update version from v2.1.1 to v2.2.1
See merge request !1732
Ivan Grokhotkov [Mon, 22 Jan 2018 14:25:13 +0000 (22:25 +0800)]
Merge branch 'bugfix/mdns_txt' into 'master'
Fix issue with some mDNS parsers
See merge request !1827
me-no-dev [Mon, 22 Jan 2018 12:17:59 +0000 (13:17 +0100)]
mdns: Fix case where service is NULL and that will cause exception
me-no-dev [Wed, 17 Jan 2018 17:06:42 +0000 (19:06 +0200)]
mdns: Fix issue with some mDNS parsers
Some mDNS parser have issue with zero terminated TXT lists. This fix targets to overcome this issue. Found and tested with jmdns.
Ivan Grokhotkov [Mon, 22 Jan 2018 12:19:45 +0000 (20:19 +0800)]
Merge branch 'feature/docs_link_text_for_custom_link_roles' into 'master'
Custom link roles have been extended to provide an option of displaying some text where originally a bare link is rendered
See merge request !1828
Jiang Jiang Jian [Mon, 22 Jan 2018 11:52:54 +0000 (19:52 +0800)]
Merge branch 'bugfix/btdm_format_error' into 'master'
component/bt: Fix format error
See merge request !1803
Jiang Jiang Jian [Mon, 22 Jan 2018 11:52:05 +0000 (19:52 +0800)]
Merge branch 'bugfix/dump_other_core_when_int_wdt_happens' into 'master'
Dump the frame of the other core when interrupt watchdog happens
See merge request !1787
Jiang Jiang Jian [Mon, 22 Jan 2018 11:48:29 +0000 (19:48 +0800)]
Merge branch 'feature/btdm_add_get_error_enent_for_blufi' into 'master'
component/bt: add error report event for blufi
See merge request !1702
kooho [Wed, 17 Jan 2018 05:28:41 +0000 (13:28 +0800)]
bugfix(ringbuffer): Fix ringbuffer_send timeout bug
Wangjialin [Fri, 25 Aug 2017 13:04:13 +0000 (21:04 +0800)]
bugfix(uart): patten detect function
requirement from github(https://github.com/espressif/esp-idf/issues/805): to provide the position in the buffer of the pattern detected.
requirement from AT application: in AT app, when no hardware flow control is enabled, in some situation the rx buffer might be full, and the terminator “+++” might be lost, we can use pattern detect interrupt to avoid missing the terminator. When pattern detect interrupt happens, it will not send a data event at the same time.
1. Add API to get position of detected pattern in rx buffer
2. Modify UART event example
3. Add comments for uart_flush, add alias API uart_flush_input to clear the rx buffer
4. Modify the way rx_buffered_len is calculated
David Antliff [Fri, 19 Jan 2018 01:49:43 +0000 (14:49 +1300)]
Fix hexdump comment and array size. See issue #1518.
Closes https://github.com/espressif/esp-idf/pull/1518
Merges https://github.com/espressif/esp-idf/pull/1519
wangmengyang [Mon, 22 Jan 2018 02:24:22 +0000 (10:24 +0800)]
component/bt: fix README.md format and loggings for A2DP sink example
Jack [Thu, 11 Jan 2018 13:43:58 +0000 (21:43 +0800)]
Dump the frame of the other core when interrupt watchdog happens
krzychb [Wed, 17 Jan 2018 19:01:36 +0000 (20:01 +0100)]
Custom link roles have been extended to provide an option of displaying some text where originally a bare link is rendered
Ivan Grokhotkov [Wed, 17 Jan 2018 14:27:15 +0000 (22:27 +0800)]
Merge branch 'bugfix/ringbuf_warnings' into 'master'
ringbuf: Fix warnings seen when CONFIG_FREERTOS_ASSERT_DISABLE=y
See merge request !1824
zhiweijian [Fri, 5 Jan 2018 09:57:40 +0000 (17:57 +0800)]
Component/bt: fix bonded device list error after reboot
Piyush Shah [Wed, 17 Jan 2018 08:30:05 +0000 (16:30 +0800)]
ringbuf: Fix warnings seen when CONFIG_FREERTOS_ASSERT_DISABLE=y
Signed-off-by: Piyush Shah <piyush@espressif.com>
Tian Hao [Tue, 16 Jan 2018 04:19:21 +0000 (12:19 +0800)]
component/bt : fix the bug of pscan when interrupt react slowly
Jiang Jiang Jian [Wed, 17 Jan 2018 02:19:30 +0000 (10:19 +0800)]
Merge branch 'feature/btdm_ble_spp_docs' into 'master'
component/bt: add readme for ble spp demo
See merge request !1748
Ivan Grokhotkov [Tue, 16 Jan 2018 10:38:42 +0000 (18:38 +0800)]
Merge branch 'feature/mdns_again' into 'master'
New mDNS implementation
See merge request !1683
Jiang Jiang Jian [Tue, 16 Jan 2018 10:17:45 +0000 (18:17 +0800)]
Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'
component/bt: Fix bug when pair with random address
See merge request !1784
Ivan Grokhotkov [Tue, 16 Jan 2018 10:10:32 +0000 (18:10 +0800)]
Merge branch 'bugfix/console_example_nvs_init' into 'master'
console example: initialize nvs on startup
See merge request !1766
Ivan Grokhotkov [Tue, 16 Jan 2018 10:10:08 +0000 (18:10 +0800)]
Merge branch 'bugfix/gitignore_dsstore' into 'master'
Add MacOS .DS_Store files to .gitignore
See merge request !1806
zhiweijian [Fri, 22 Dec 2017 07:02:33 +0000 (15:02 +0800)]
Component/bt: add get error event for blufi
Jiang Jiang Jian [Tue, 16 Jan 2018 09:13:56 +0000 (17:13 +0800)]
Merge branch 'bugfix/btdm_modify_license' into 'master'
Component/bt: BLE demo modify license
See merge request !1808
me-no-dev [Thu, 7 Dec 2017 13:21:40 +0000 (14:21 +0100)]
Import mDNS changes
Jiang Jiang Jian [Tue, 16 Jan 2018 08:41:18 +0000 (16:41 +0800)]
Merge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp' into 'master'
component/bt: fix disconnect after connection params update in smp
See merge request !1804
Jiang Jiang Jian [Tue, 16 Jan 2018 08:38:22 +0000 (16:38 +0800)]
Merge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP' into 'master'
component/bt: fix conn params update failed in smp
See merge request !1796
baohongde [Mon, 15 Jan 2018 09:35:35 +0000 (17:35 +0800)]
component/bt: Fix bug when pair with random address
Jiang Jiang Jian [Tue, 16 Jan 2018 08:31:55 +0000 (16:31 +0800)]
Merge branch 'feature/btdm_add_get_wifi_list_for_blufi' into 'master'
component/bt: add get wifi list cmd for blufi
See merge request !1708
Angus Gratton [Tue, 16 Jan 2018 07:07:26 +0000 (15:07 +0800)]
Merge branch 'bugfix/int_wdt_in_ocd_mode' into 'master'
panic: prevent INT WDT from re-triggering in OCD mode
See merge request !1764
He Yin Ling [Tue, 16 Jan 2018 06:12:16 +0000 (14:12 +0800)]
Merge branch 'test/fix_update_conn_param' into 'master'
test: fix BLE update conn param test case errors
See merge request !1814
chensheng [Tue, 16 Jan 2018 02:26:41 +0000 (10:26 +0800)]
test: fix BLE update conn param test case errors
Wu Jian Gang [Tue, 16 Jan 2018 01:05:32 +0000 (09:05 +0800)]
Merge branch 'bugfix/multi_ping_crash' into 'master'
fix(ping): fix crash when multi-ping
See merge request !1768
zhiweijian [Mon, 25 Dec 2017 10:04:07 +0000 (18:04 +0800)]
Component/bt: add get wifi list cmd for blufi
zhiweijian [Mon, 15 Jan 2018 11:47:23 +0000 (19:47 +0800)]
Component/bt: modify license
Jiang Jiang Jian [Mon, 15 Jan 2018 10:55:01 +0000 (18:55 +0800)]
Merge branch 'feature/btdm_a2dp_src' into 'master'
Feature/btdm a2dp src
See merge request !1190
me-no-dev [Mon, 15 Jan 2018 09:45:14 +0000 (11:45 +0200)]
Add MacOS .DS_Store files to .gitignore
zhiweijian [Mon, 15 Jan 2018 09:03:56 +0000 (17:03 +0800)]
component/bt: fix disconnect after connection params update in smp
zhiweijian [Fri, 12 Jan 2018 09:19:36 +0000 (17:19 +0800)]
Component/bt: fix update connection params error in smp
Anuj Deshpande [Thu, 11 Jan 2018 06:52:54 +0000 (14:52 +0800)]
docs : Add support for markdown files
Angus Gratton [Sun, 14 Jan 2018 23:32:20 +0000 (07:32 +0800)]
Merge branch 'bugfix/uart_fifo_ovf_workaround' into 'master'
driver(uart): fix uart rx fifo length error after overflow.
See merge request !1735
Wu Jian Gang [Fri, 12 Jan 2018 13:09:03 +0000 (21:09 +0800)]
Merge branch 'feature/doc_translations' into 'master'
Feature/doc translations
See merge request !1718
lvxinyue [Wed, 19 Apr 2017 08:05:01 +0000 (16:05 +0800)]
docs: add CN translation of Windows setup guide
lvxinyue [Wed, 19 Apr 2017 02:58:48 +0000 (10:58 +0800)]
docs: add CN translation of Linux setup guide
Chen Wu [Tue, 9 Jan 2018 09:44:26 +0000 (17:44 +0800)]
fix(ping): fix crash when multi-ping
1. "lwip_socket" should close by "lwip_close_r" other than "lwip_close"
2. for generally compatible, fix all lwip interface to normally socket interface
3. call vTaskDelete when new socket failed in case of task crash
close #https://github.com/espressif/esp32-at/issues/58
xiewenxiang [Fri, 5 Jan 2018 03:40:28 +0000 (11:40 +0800)]
component/bt: add readme for ble spp demo
kooho [Wed, 3 Jan 2018 09:18:32 +0000 (17:18 +0800)]
Fix uart fifo overflow bug
Ivan Grokhotkov [Thu, 11 Jan 2018 13:44:42 +0000 (21:44 +0800)]
Merge branch 'feature/
toolchain-80-g6c4433a ' into 'master'
Toolchain: Update to version
1.22.0-80-g6c4433a
See merge request !1771
Angus Gratton [Fri, 24 Mar 2017 05:19:34 +0000 (13:19 +0800)]
docs: Add a temporary index page to get CN docs started
Ivan Grokhotkov [Thu, 11 Jan 2018 04:08:25 +0000 (12:08 +0800)]
Merge branch 'feature/ulp_i2c_reg' into 'master'
soc,ulp: add register definitions of RTC_I2C peripheral
See merge request !1762
Angus Gratton [Wed, 10 Jan 2018 23:30:36 +0000 (10:30 +1100)]
build: Remove explict -lstdc++-psram-workaround
This is now handled internally to the toolchain.
Jiang Jiang Jian [Wed, 10 Jan 2018 09:01:53 +0000 (17:01 +0800)]
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
Fix bug that when we do full calibration init data bin is not used
See merge request !1746
Jiang Jiang Jian [Wed, 10 Jan 2018 08:47:40 +0000 (16:47 +0800)]
Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'
bug fix of assert happen in PSRAM
See merge request !1745
Angus Gratton [Wed, 10 Jan 2018 03:29:10 +0000 (14:29 +1100)]
Toolchain: Update to version
1.22.0-80-g6c4433a
Includes updated prebuilt Windows MSYS2 environment.
Ivan Grokhotkov [Wed, 10 Jan 2018 07:41:46 +0000 (15:41 +0800)]
Merge branch 'test/support_specify_docker_image' into 'master'
CI: support specify docker image with bot
See merge request !1586
Angus Gratton [Tue, 9 Jan 2018 20:59:26 +0000 (04:59 +0800)]
Merge branch 'feature/rmt_end_transmission_callback' into 'master'
rmt: Adds a simple handler that can be called when transmission ends.
See merge request !1726
wangmengyang [Mon, 25 Dec 2017 11:39:37 +0000 (19:39 +0800)]
component/bt: implement A2DP source
1. Modified symbol names of A2DP sink APIs include:
- esp_a2d_data_cb_t --> esp_a2d_sink_data_cb_t
- esp_a2d_register_data_callback --> esp_a2d_sink_register_data_callback
Deng Xin [Wed, 3 Jan 2018 11:47:42 +0000 (19:47 +0800)]
bug fix of assert happen in PSRAM
Jiang Jiang Jian [Tue, 9 Jan 2018 11:33:06 +0000 (19:33 +0800)]
Merge branch 'bugfix/btdm_avrc_connect_state_evt' into 'master'
Bugfix/btdm avrc connect state evt
See merge request !1717
Jiang Jiang Jian [Tue, 9 Jan 2018 08:55:45 +0000 (16:55 +0800)]
Merge branch 'bugfix/update_bt_lib_with_updated_toolchain_for_master' into 'master'
component/bt: build libbtdm_app.a with updated toolchain
See merge request !1728
wangmengyang [Wed, 27 Dec 2017 11:49:11 +0000 (19:49 +0800)]
component/bt: add AVRC event for remote features indication
1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs
Jack [Thu, 4 Jan 2018 03:48:24 +0000 (11:48 +0800)]
Fix bug that when we do full calibration init data bin is not used
Ivan Grokhotkov [Tue, 9 Jan 2018 04:47:32 +0000 (12:47 +0800)]
console example: initialize nvs on startup
Fixes https://github.com/espressif/esp-idf/issues/1478
Jiang Jiang Jian [Tue, 9 Jan 2018 03:42:45 +0000 (11:42 +0800)]
Merge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected' into 'master'
Component/bt: fix can not remove boned device if it is connected
See merge request !1758
Jiang Jiang Jian [Tue, 9 Jan 2018 02:44:46 +0000 (10:44 +0800)]
Merge branch 'feature/btdm_bt_spp' into 'master'
component/bt: Add bt spp profile
See merge request !1593
Angus Gratton [Tue, 9 Jan 2018 00:53:10 +0000 (08:53 +0800)]
Merge branch 'bugfix/docs-pico-kit-swapped-pins' into 'master'
Fixed swapped GPIO6 and GPIO11 in ESP-PICO-KIT 'Pin Descriptions', ref. https://esp32.com/viewtopic.php?f=2&t=3880
See merge request !1736
Angus Gratton [Tue, 9 Jan 2018 00:52:35 +0000 (08:52 +0800)]
Merge branch 'bugfix/ci_rare_examples_error' into 'master'
CI: Fix an occasional error in the build_examples
See merge request !1752
Angus Gratton [Tue, 9 Jan 2018 00:52:02 +0000 (08:52 +0800)]
Merge branch 'bugfix/eclipse_cxx_include_paths' into 'master'
Eclipse: Fix bug with C++ include paths (Github PR)
See merge request !1756
Angus Gratton [Mon, 8 Jan 2018 22:27:00 +0000 (09:27 +1100)]
eclipse: Add space between -I and build directory
See https://github.com/espressif/esp-idf/pull/1474
Ivan Grokhotkov [Mon, 8 Jan 2018 17:46:24 +0000 (01:46 +0800)]
panic: prevent INT WDT from re-triggering in OCD mode
When INT WDT fires, panicHandler is invoked. In OCD mode, panicHandler
sets a breakpoint on the PC from the exception frame and returns.
However in case of INT WDT, interrupt flag is still set in TIMERG1
peripheral, which causes INT WDT to trigger again. This causes an
endless stream of "Core 0 panic'ed (Interrupt wdt timeout on CPU1)"
messages. OpenOCD also gets terribly confused at this point.
Disable watchdogs when exiting panic handler in OCD mode.
Clear TIMERG1 WDT interrupt flag to prevent re-entry into panic handler.
Ivan Grokhotkov [Mon, 8 Jan 2018 15:31:21 +0000 (23:31 +0800)]
soc/rtc_clk: fix loss of precision in estimation of XTAL frequency
RTC_FAST_CLK_FREQ_APPROX is defined as
8500000 , so 0.5MHz part was lost
when dividing by MHZ. Since cal_val is 64-bit the parens can be removed.
With 40MHz XTAL for a nominal ESP32 chip, this fixes estimated XTAL
frequency from 38 to 40MHz.
Ivan Grokhotkov [Mon, 8 Jan 2018 13:27:28 +0000 (21:27 +0800)]
soc,ulp: add register definitions of RTC_I2C peripheral
Jiang Jiang Jian [Mon, 8 Jan 2018 11:16:34 +0000 (19:16 +0800)]
Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'
component/bt: Fix bug when add device to whitelist twice
See merge request !1700
zhiweijian [Mon, 8 Jan 2018 07:37:36 +0000 (15:37 +0800)]
Component/bt: fix can not remove boned device if it is connected
Ivan Grokhotkov [Mon, 8 Jan 2018 08:51:27 +0000 (16:51 +0800)]
Merge branch 'bugfix/freertos_eventgroup_isr_test' into 'master'
freertos/Fix Event Group ISR test case
See merge request !1733
Ivan Grokhotkov [Mon, 8 Jan 2018 08:41:42 +0000 (16:41 +0800)]
Merge branch 'bugfix/esp_log_local_level' into 'master'
Log: fix definition of LOG_LOCAL_LEVEL, fix typos
See merge request !1747
Alexander Sparkowsky [Sun, 7 Jan 2018 12:25:37 +0000 (13:25 +0100)]
Add space between -I and path for CPPFLAGS
In order for the Eclipse CDT GCC Build Output Parser to be able to
pick up the include paths for C++/cpp files a space is required
between the compiler option (-I) and the actual path.
Merges https://github.com/espressif/esp-idf/pull/1474
Angus Gratton [Mon, 8 Jan 2018 00:45:09 +0000 (11:45 +1100)]
esptool: Update to v2.2