profile
viewpoint
Paul Sokolovsky pfalcon Long-time open-source developer. Contributed to many projects out there. In my own free time, I prefer to work on principled, minimalist projects.

pfalcon/awesome-smarthome 252

Curated list of awesome SmartHome/Home Automation things (open and leaving users in control)

pfalcon/awesome-micropython 113

Curated list of awesome MicroPython resources

pfalcon/awesome-linux-android-hacking 72

List of hints and Q&As to get most of your Linux/Android device

pfalcon/android-platform-headers 47

Collection of platform headers and link libs for all versions of Android. (repo is rebased, see wiki)

pfalcon/awesome-program-analysis 38

Program Analisys and Transformation survey and links (particular focus on SSA)

pfalcon/awesome-python-compilers 22

Retrospective of Python compilation efforts

pfalcon/awesome-implicit-data-structures 17

Awesome implicit data structures

mtek-hack-hack/mtktest 9

Automatically exported from code.google.com/p/mtktest

pfalcon/android-native 9

Android native (command-line) examples, utils and tools. See Wiki for more info.

pfalcon/apps2org 8

Label/tag based application organizer and launcher for Android, fork of https://code.google.com/p/appsorganizer

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha df1794f7d98e34dcd52b6208ae817771e70d6199

.github/workflows/test: Prototype of github CI action.

view details

push time in 29 minutes

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha b8e5b0def83aa862155842932de8359ab8840f37

f3

view details

push time in 32 minutes

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha 429703f85aec53154559e14a2669b14a2382880e

f2

view details

push time in an hour

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha c7957d2d3a931b46edd5e7375f7c84713ebf28b4

f

view details

push time in an hour

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha a9fbc1086947fdcf6aa80ecd5ec478593a645eba

.github/workflows/test: Prototype of github CI action.

view details

push time in an hour

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha 2835eb82d38a5bd3217de7667a3b031fd8678c7b

.github/workflows/test: Prototype of github CI action.

view details

push time in an hour

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha b1eb494b261234f59cd7903c2d61237ce841596e

.github/workflows/test: Prototype of github CI action.

view details

push time in an hour

create barnchpfalcon/amazon-freertos

branch : github-actions

created branch time in 2 hours

push eventpfalcon/zephyr

Andrew Boie

commit sha 495f1cffd5e46d283ed382a25048e2993a9ca9a8

samples: prod_consumer: re-use default mem domain Memory domains can be very expensive to instantiate. Demonstrate how the default memory domain can be re-purposed for an application, much like how the main thread already is. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 449278c7796ed94e0cbb8b3e3d8c44af26f79f99

samples: shared_mem: rename domain structures Names like dom0, dom1, part0, part1, etc., don't tell us much of anything. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 7e9b136aa9c42a23375923a48b396808dda8c0fc

samples: shared_mem: re-use default memory domain Saves quite a bit of memory on MMU-based systems which manage page tables at the memory domain level. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 5376d44df72aae6e5a923aec18ed087596c01eca

Revert "samples: shared_mem: exclude qemu_x86_64" This reverts commit d55a09ff05a518fd06b4f6cc5040225f0ace3b63. This is no longer necessary. The linked issue is closed. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Parthiban Nallathambi

commit sha 9a581642d1932821abf5e0cbf54ccced6349ed95

ethernet: w5500: use bit fielding number for mode bit field access with WRITE_BIT needs bit number, not the value after BIT(mr). Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>

view details

Parthiban Nallathambi

commit sha 88034a9dada32ee1da97c7a1e2029d56fb367b48

ethernet: w5500: remove comparing uint64, int64 z_tick_get returns signed int. Adapt comparision statement for remaining time computation. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>

view details

Andrew Boie

commit sha 5c5e3597c841752d3c087f6ed6c71fb9efde71b1

tests: userspace: reduce memory domains to one We now just use two memory domains; the default domain and an 'alternate_domain' used for tests that need to handle a memory domain switch. Along the way the test code was simplified. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 0e30c6a0fab15701632d0e6d434c8fb2a4597b13

kernel: wipe TLS when dropping to user mode For threads that run in supervisor mode for some time before synchronously dropping to user mode, re-initialize the TLS area to prevent leakage of potentially sensitive information. We did this already for CONFIG_THREAD_USERSPACE_LOCAL_DATA but not the new CONFIG_THREAD_LOCAL_STORAGE. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 4d6bc47ac31cd6d94f6315925cadbbeae3136e67

kernel: improve k_thread_user_mode_enter() docs Note the stack and TLS wipe when this function runs. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Martin Jäger

commit sha ba9fd65a4bfaeb193f84b52f3e0bf09e1ac2adfc

doc: kernel: interrupts: zero-latency IRQ update Add description how to enable zero-latency interrupt in the application code. Previous docs described only the Kconfig and not the flag. Signed-off-by: Martin Jäger <martin@libre.solar>

view details

Andrew Boie

commit sha cdbf3aa27d651511d07a8a26adeaaae85c31ae0f

tests: x86: pagetables: fix non-KPTI case If KPTI is not enabled, then the US bit will be set for all the default memory partitions in the _app_smem section. The error printed when a mismatch occurs now shows the expected flags. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 44ca58181ad2fc552356c9bdf98f552d716c372d

tests: mem_protect: static scope globals put all globals only used in this C file in static scope, which revealed that a few of them were not used at all. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 8022aabbe802d6ee0cb5b1960f4cc8e09268280f

tests: mem_protect: move partition tests Some tests only evaluate characteristics of k_mem_partitions. Move these to a separate C file. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 4ae0f9b8670ebb548ad3ea8a9aaa719e849c1de4

tests: mem_protect: update bss vars test ztest_mem_partition is fine for this test. We can also run it in user mode. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha ae69f87facf9165887611c05409b6dde153eed73

tests: mem_protect: improve main.c organization Tests are now grouped in the C file they occur in. test_mark_thread_exit_uninitialized no longer occurs twice. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 54aa0f0c81e5c6dab97632468efc6278f0463c8e

tests: mem_protect: delete duplicate test test_mem_part_inherity_by_child_thr duplicates logic already present in test_permission_inheritance. That test puts a buffer called 'inherit_buf' in 'inherit_memory_partition' and shows that it is accessible by a child thread by writing to it. Delete this unnecessary test. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha e26f21c96c0cede7163ee44c2c9b67a5c61b00d0

tests: mem_protect: merge two duplicate tests The tests test_mem_part_auto_determ_size and test_mem_part_auto_determ_size_per_mpu are supposed to just be checking the construction of automatic memory partitions. test_mem_part_auto_determ_size had a bunch of extraneous stuff covered by other test cases and reserved three different thread stacks. These two tests have been drastically simplified and combined. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 5e18b5512b391f2db17d65052443cc05664f5f3e

tests: mem_protect: rewrite memory domain tests This suite now uses far less memory and is much simpler. We still maintain coverage of all the memory domain APIs and ensure that the maximum number of partitions can be applied. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Cassini Zhuang

commit sha 3d3119b1e7bcc0720218d630aca8619b1ad244b9

drivers/i2c: i2c_gpio:init at POST_KERNEL This is to make the gpio-i2c initialization occur after the GPIO pin clock initialization. Signed-off-by: Cassini Zhuang <cassini.zhuang@hansonggroup.com>

view details

Joakim Andersson

commit sha f2a23ee16633c5a6fdedb0160d40fff8473c3f27

Bluetooth: host: Document peripheral bt_conn_le_conn_update behavior Document the behavior of the bt_conn_le_conn_update API when the local device is the peripheral role. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>

view details

push time in 3 hours

pull request commentzephyrproject-rtos/zephyr

libc: minimal: Implement abort().

Use k_panic() instead.

Done.

pfalcon

comment created time in 3 hours

Pull request review commentzephyrproject-rtos/zephyr

libc: minimal: Implement abort().

+/*+ * Copyright (c) 2020 Linaro Limited+ *+ * SPDX-License-Identifier: Apache-2.0+ */++#include <stdlib.h>

shouldn't this be declared in stdlib.h

Ack, fixed.

pfalcon

comment created time in 3 hours

PullRequestReviewEvent

push eventpfalcon/zephyr

Andrew Boie

commit sha 495f1cffd5e46d283ed382a25048e2993a9ca9a8

samples: prod_consumer: re-use default mem domain Memory domains can be very expensive to instantiate. Demonstrate how the default memory domain can be re-purposed for an application, much like how the main thread already is. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 449278c7796ed94e0cbb8b3e3d8c44af26f79f99

samples: shared_mem: rename domain structures Names like dom0, dom1, part0, part1, etc., don't tell us much of anything. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 7e9b136aa9c42a23375923a48b396808dda8c0fc

samples: shared_mem: re-use default memory domain Saves quite a bit of memory on MMU-based systems which manage page tables at the memory domain level. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 5376d44df72aae6e5a923aec18ed087596c01eca

Revert "samples: shared_mem: exclude qemu_x86_64" This reverts commit d55a09ff05a518fd06b4f6cc5040225f0ace3b63. This is no longer necessary. The linked issue is closed. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Parthiban Nallathambi

commit sha 9a581642d1932821abf5e0cbf54ccced6349ed95

ethernet: w5500: use bit fielding number for mode bit field access with WRITE_BIT needs bit number, not the value after BIT(mr). Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>

view details

Parthiban Nallathambi

commit sha 88034a9dada32ee1da97c7a1e2029d56fb367b48

ethernet: w5500: remove comparing uint64, int64 z_tick_get returns signed int. Adapt comparision statement for remaining time computation. Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>

view details

Andrew Boie

commit sha 5c5e3597c841752d3c087f6ed6c71fb9efde71b1

tests: userspace: reduce memory domains to one We now just use two memory domains; the default domain and an 'alternate_domain' used for tests that need to handle a memory domain switch. Along the way the test code was simplified. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 0e30c6a0fab15701632d0e6d434c8fb2a4597b13

kernel: wipe TLS when dropping to user mode For threads that run in supervisor mode for some time before synchronously dropping to user mode, re-initialize the TLS area to prevent leakage of potentially sensitive information. We did this already for CONFIG_THREAD_USERSPACE_LOCAL_DATA but not the new CONFIG_THREAD_LOCAL_STORAGE. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 4d6bc47ac31cd6d94f6315925cadbbeae3136e67

kernel: improve k_thread_user_mode_enter() docs Note the stack and TLS wipe when this function runs. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Martin Jäger

commit sha ba9fd65a4bfaeb193f84b52f3e0bf09e1ac2adfc

doc: kernel: interrupts: zero-latency IRQ update Add description how to enable zero-latency interrupt in the application code. Previous docs described only the Kconfig and not the flag. Signed-off-by: Martin Jäger <martin@libre.solar>

view details

Andrew Boie

commit sha cdbf3aa27d651511d07a8a26adeaaae85c31ae0f

tests: x86: pagetables: fix non-KPTI case If KPTI is not enabled, then the US bit will be set for all the default memory partitions in the _app_smem section. The error printed when a mismatch occurs now shows the expected flags. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 44ca58181ad2fc552356c9bdf98f552d716c372d

tests: mem_protect: static scope globals put all globals only used in this C file in static scope, which revealed that a few of them were not used at all. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 8022aabbe802d6ee0cb5b1960f4cc8e09268280f

tests: mem_protect: move partition tests Some tests only evaluate characteristics of k_mem_partitions. Move these to a separate C file. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 4ae0f9b8670ebb548ad3ea8a9aaa719e849c1de4

tests: mem_protect: update bss vars test ztest_mem_partition is fine for this test. We can also run it in user mode. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha ae69f87facf9165887611c05409b6dde153eed73

tests: mem_protect: improve main.c organization Tests are now grouped in the C file they occur in. test_mark_thread_exit_uninitialized no longer occurs twice. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 54aa0f0c81e5c6dab97632468efc6278f0463c8e

tests: mem_protect: delete duplicate test test_mem_part_inherity_by_child_thr duplicates logic already present in test_permission_inheritance. That test puts a buffer called 'inherit_buf' in 'inherit_memory_partition' and shows that it is accessible by a child thread by writing to it. Delete this unnecessary test. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha e26f21c96c0cede7163ee44c2c9b67a5c61b00d0

tests: mem_protect: merge two duplicate tests The tests test_mem_part_auto_determ_size and test_mem_part_auto_determ_size_per_mpu are supposed to just be checking the construction of automatic memory partitions. test_mem_part_auto_determ_size had a bunch of extraneous stuff covered by other test cases and reserved three different thread stacks. These two tests have been drastically simplified and combined. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Andrew Boie

commit sha 5e18b5512b391f2db17d65052443cc05664f5f3e

tests: mem_protect: rewrite memory domain tests This suite now uses far less memory and is much simpler. We still maintain coverage of all the memory domain APIs and ensure that the maximum number of partitions can be applied. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Cassini Zhuang

commit sha 3d3119b1e7bcc0720218d630aca8619b1ad244b9

drivers/i2c: i2c_gpio:init at POST_KERNEL This is to make the gpio-i2c initialization occur after the GPIO pin clock initialization. Signed-off-by: Cassini Zhuang <cassini.zhuang@hansonggroup.com>

view details

Joakim Andersson

commit sha f2a23ee16633c5a6fdedb0160d40fff8473c3f27

Bluetooth: host: Document peripheral bt_conn_le_conn_update behavior Document the behavior of the bt_conn_le_conn_update API when the local device is the peripheral role. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>

view details

push time in 3 hours

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 20005152a79a46652c3b3bb38ed3928e227ca58e

py_compile: Release 0.3. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 16 hours

issue commentpfalcon/picotui

Not all examples in the README are in the examples dir

Right, a few examples are provided in the top-level dir where it's hard to miss them and very easy to run (git clone followed by python3 example_foo.py). But to not turn the top-level dir into a dump, the rest is in the examples/ dir. The whole disposition should be hinted in the README well enough.

stuaxo

comment created time in 19 hours

issue commentzephyrproject-rtos/zephyr

CONFIG_THREAD_LOCAL_STORAGE=y build fails with ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb

we should probably change things so TLS is only supported w/Zephyr toolchain.

Right. But that's orthogonal to the missing abort() in minlibc, PR #29542.

pfalcon

comment created time in 19 hours

issue commentzephyrproject-rtos/zephyr

CONFIG_THREAD_LOCAL_STORAGE=y build fails with ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb

Apparently, some implicitly linked libs included with Zephyr SDK provide abort().

pfalcon

comment created time in 20 hours

issue commentpfalcon/picotui

Examples don't mention those mentioned in README

Can you mention the part of README which mentions examples which are not mentioned?

stuaxo

comment created time in 21 hours

pull request commentaws/amazon-freertos

afr.cmake: Add BUILD_CLONE_SUBMODULES option

@galak: FYI

pfalcon

comment created time in a day

pull request commentaws/amazon-freertos

afr.cmake: Add BUILD_CLONE_SUBMODULES option

Diff with whitespace changes filtered can show that changes are indeed minimal: https://github.com/aws/amazon-freertos/pull/2639/files?w=1

pfalcon

comment created time in a day

PR opened aws/amazon-freertos

afr.cmake: Add BUILD_CLONE_SUBMODULES option

This option is similar to the option under the same name already used in some submodules of the repository. If set to OFF, it skips automatic submodule update during building. This is useful for focused builds of particular targets, which use only a subset of submodules (which then need to be updated externally). In particular in continuous integration contexts, this can save build time/bandwidth.

Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org

<!--- Title -->

Description

<!--- Describe your changes in detail -->

Checklist:

<!--- Go over all the following points, and put an x in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

  • [ ] I have tested my changes. No regression in existing tests.
  • [ ] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

+11 -7

0 comment

1 changed file

pr created time in a day

push eventpfalcon/amazon-freertos

Andy Sun

commit sha d3517be54c4b1cd652be5b06ca7c9ec27bde6ba9

Integration test for the shadow library (device-shadow-for-aws-iot-embedded-sdk)

view details

Andy Sun

commit sha f9da57b764f91e60fe59233fea3423973d9c0c9e

Fix build error due to IDE gen error

view details

Andy Sun

commit sha 1d5e8aa834f918c808e448baf78949647db6042a

Add retry logic for secure socket connection

view details

andysun2015

commit sha f1eaa58e47f7b2c9df7645920a0492a1cc406e79

Merge branch 'master' into shadow_IT

view details

Andy Sun

commit sha 623420e64e47ada622047f20733178458931afe2

Fix commects

view details

Andy Sun

commit sha b2248dfa24a71b47daf959396baafb92488d4528

Fix comments

view details

andysun2015

commit sha 00c1244e97652091d871e39df2e47d291192d233

Merge pull request #2584 from andysun2015/shadow_IT Integration test for the shadow library (device-shadow-for-aws-iot-embedded-sdk)

view details

Archit Aggarwal

commit sha 31591375a97e5ead3e9fc917bbc21b5cfeb25a97

Fix missing core_json.cmake file in FreeRTOS console (#2610) * Changes * Conditionally enable core_mqtt_integration test module

view details

Oscar Michael Abrina

commit sha 91b598f9863644fe9e145decb11689b51dfca36b

Remove const qualifier from NetworkContext_t* in send/recv (#2613) This follows changes from FreeRTOS/coreMQTT#86 & FreeRTOS/FreeRTOS@398abba. The const qualifier is removed from send/recv because there are transport implementations that require a member of the network context to be modified such as in the case of mbedtls.

view details

SarenaAWS

commit sha 25077e740103f84181aa5dd177d0225d811f18b3

Delete unused configs in the MQTT mutual auth demo configs. (#2561)

view details

Ravishankar Bhagavandas

commit sha cec2a9056701d1be0361574064a7e74ad8560729

Fix transport interface dependencies for BLE (#2609) * Remove dependency on coreMQTT * Relocate mqtt demo folder * Move gatt server demo to subfolder

view details

Aniruddha Kanhere

commit sha 895c68ce657fbe3188785a9f05941d56e15e9c50

Fix CMake build of Full_FREERTOS_TCP tests (#2615)

view details

DanielYEHsieh

commit sha 1232f23fab64197a88d3335c44ea10517eee29b9

MQTT Shim Layer Pub/Sub thread safe (#2589) modify MQTT Shim layer with thread safe procedure Co-authored-by: Daniel (Yung-En) Hsieh <dhs@amazon.com> Co-authored-by: DanielYEHsieh <wnf007z@example.com> Co-authored-by: Lee George Thomas <ltham@amazon.com>

view details

Lee George Thomas

commit sha 146b35a03e3271e8280289f0578e2f1c4c3aab03

Update secure sockets shutdown

view details

Lee George Thomas

commit sha ecf774e4a7266e33f70c17803e07a288373b4821

Clean up changes

view details

Lee George Thomas

commit sha df9be31a25d973142ea364bd200fba1c6d86fbb7

Address comments

view details

Eric Yeh

commit sha 830382b8c6f7829c48afea50e8f6cbfec9316404

Merge pull request #2619 from leegeth/fix/serializer_demo Fix core MQTT serializer demo

view details

Mark R. Tuttle

commit sha 6ef07016ca33d1fe51bad67e6f56009240237bf0

Add malloc flags to CBMC proofs.

view details

Archit Aggarwal

commit sha 1da5930e5d558b5712fad0b35ca9b9b737803899

Fix Device Shadow demo build on Cypress64 IDE (#2622)

view details

Ravishankar Bhagavandas

commit sha a5c9ea7cba04c0c44dd4d058c947f8a26a593505

Add shadow demo for BLE (#2618) * Add shadow demo for BLE * Add config files

view details

push time in a day

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha ff9d2939284dc1229cd1cd2900f0642bb85c2a30

afr.cmake: Add BUILD_CLONE_SUBMODULES option This option is similar to the option under the same name already used in some submodules of the repository. If set to OFF, it skips automatic submodule update during building. This is useful for focused builds of particular targets, which use only a subset of submodules (which then need to be updated externally). In particular in continuous integration contexts, this can save build time/bandwidth. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>

view details

push time in a day

push eventpfalcon/amazon-freertos

Paul Sokolovsky

commit sha ca120ff2f7157d699a7ced8d4ff5f3a594298b03

afr.cmake: Add BUILD_CLONE_SUBMODULES option This option is similar to the option under the same name already used in some submodules of the repository. If set to OFF, it skips automatic submodule update during building. This is useful for focused builds of particular targets, which use only a subset of submodules (which then need to be updated externally). In particular in continuous integration contexts, this can save build time/bandwidth. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>

view details

push time in a day

create barnchpfalcon/amazon-freertos

branch : toplevel-BUILD_CLONE_SUBMODULES

created branch time in a day

fork pfalcon/amazon-freertos

IoT operating system for microcontrollers.

https://aws.amazon.com/freertos/

fork in a day

push eventpfalcon/pycopy

Paul Sokolovsky

commit sha 2708eb6e49a144c27f83cec21369b3344ad02041

mpy-cross/mpconfigport.h: Disable MICROPY_COMP_DOUBLE_TUPLE_ASSIGN. For compatibility with pycopy-lib compiler. MicroPython's builtin compiler implemented in C operates on CST, and thus quite adhoc, and its behavior almost impossible to reproduce (without reducing to all the dirty hack on which that adhoc compiler is built). Change-Id: I442cf359e6955ecfbb833c2648f68170a1f72a14 Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Damien George

commit sha 45f637530df242d43acbec09c7ecdf03141cb9fc

all: Rename absolute time-based functions to include "epoch". For time-based functions that work with absolute time there is the need for an Epoch, to set the zero-point at which the absolute time starts counting. Such functions include time.time() and filesystem stat return values. And different ports may use a different Epoch. To make it clearer what functions use the Epoch (whatever it may be), and make the ports more consistent with their use of the Epoch, this commit renames all Epoch related functions to include the word "epoch" in their name (and remove references to "2000"). Along with this rename, the following things have changed: - mp_hal_time_ns() is now specified to return the number of nanoseconds since the Epoch, rather than since 1970 (but since this is an internal function it doesn't change anything for the user). - littlefs timestamps on the esp8266 have been fixed (they were previously off by 30 years in nanoseconds). Otherwise, there is no functional change made by this commit. Signed-off-by: Damien George <damien@micropython.org>

view details

Jim Mussared

commit sha db42e67f5fab38183fa0bd80ca08b61d3ceb4ad0

py/dynruntime.h: Add mp_import_* and mp_load/store_*. These functions already exist in the fun table, and this commit just adds convenience macros for them.

view details

Tweako

commit sha 7ec05c81f0f6db3aeb530be7b99574276dc0b2ef

stm32/led: Support PWM output without TIM3. For example, the STM32WB55 doesn't have TIM3 but can still drive LEDs using PWM on other timers.

view details

Damien George

commit sha 62f78bcfc18a0f4bd98f0790122a501f7a5f40ff

tests/basics: Add test for MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS ops. And enable this feature on unix, the coverage variant. The .exp test file is needed so the test can run on CPython versions prior to "@=" operator support. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha c93926d563848cd04e984767b36ba25dd6761d92

stm32/rfcore: Fix FUS layout and size of ipcc_device_info_table_t. The device info table has a different layout when core 2 is in FUS mode. In particular it's larger than the 32 bytes used when in WS mode and if the correct amount of space is not allocated then the end of the table may be overwritten with other data (eg with FUS version 0.5.3). So update the structure to fix this. Also update rfcore.py to disable IRQs (which are enabled by rfcore.c), to not depend on uctypes, and to not require the asm_thumb emitter. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 12826f95d6048c552ebbd70bfbec3b499495c697

extmod/vfs: Fix lookup of entry in root dir so it fails correctly. Prior to this commit, uos.chdir('/') followed by uos.stat('noexist') would succeed that stat even though the entry did not exist (some other functions like listdir would have similar issues). This is because, if the current directory was the root and the path was relative, mp_vfs_lookup_path would return success for bad paths. Signed-off-by: Damien George <damien@micropython.org>

view details

stijn

commit sha a696a951f151b8096e951f1808e16255b81d2407

windows: Update build instructions in README. Make the instructions more complete by documenting all needed steps for starting from scratch. Also add a section for MSYS2 since the Travis build uses it as well and it's a good alternative for Cygwin. Remove the mingw32 reference since it's not readily available anymore in most Linux distros nor compiles successfully.

view details

Iyassou Shimels

commit sha 9c73b73dfbf3c6f40ceea1b6b018a26acc75a234

py/objstr: Make bytes(bytes_obj) return bytes_obj. Calling the bytes constructor on a bytes object returns the original bytes object. This saves allocating a new instance, and matches CPython. Signed-off-by: Iyassou Shimels <s.iyassou@gmail.com>

view details

Damien George

commit sha c72ba48af47c65843ab52338c66c27dad9dbafe3

py/objarray.h: Add mp_obj_memoryview_init() helper function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 1d992c74504548ab68971cf7a35f35ffac5b0347

extmod/modbluetooth: Change module-owned bytes objects to memoryview. A read-only memoryview object is a better representation of the data, which is owned by the ubluetooth module and may change between calls to the user's irq callback function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha a4c397c0651b0260ed0b0e18825915a08c830b50

docs/develop: Add notes on prerequisite tools for building native .mpy. Signed-off-by: Damien George <damien@micropython.org>

view details

Jim Mussared

commit sha 234b8b451284e8ed56240636c553dc6681f7fb50

examples/bluetooth: Update to use positional-only args to irq(). To match 6a6a5f9e151473bdcc1d14725d680691ff665a82.

view details

Andrew Leech

commit sha 2993787f319f4636598afe3e1748b83cd43348e9

extmod/modure: Allow \\ in re.sub replacements.

view details

Maureen Helm

commit sha 694750b8f5afd06a1a2f35d8dbab286c6b52dc9c

zephyr: Const-ify struct device instance pointers. Zephyr v2.4.0 added a const qualifier to usages of struct device to allow storing device driver instances exclusively in flash and thereby reduce ram footprint. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha 656b54c5ba72b1984eb7a6a9ee2051a4bf252789

travis: Update zephyr build to v2.4.0. Updates CI to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha b78628361798aa9eaa9a6b3a38853c0dbe9d63f6

zephyr: Update build instructions to v2.4.0. Updates the zephyr port build instructions to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Damien George

commit sha fda460e3bfb52404ebe1d03d3ed591a3104dc1fa

extmod/machine_i2c: Rename type to SoftI2C and add custom print method. Also rename machine_i2c_type to mp_machine_soft_i2c_type. These changes make it clear that it's a soft-I2C implementation, and match SoftSPI. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha d7153c97bafdab57e8975decf6f5347d3dd692a1

extmod/machine_i2c: Remove "id" arg in SoftI2C constructor. The SoftI2C constructor is now used soley to create SoftI2C instances, it can no longer delegate to create a hardware-based I2C instance. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 4010aeb7c2c4135c313ee9e8c951369a2ec1b8eb

extmod/machine_spi: Remove "id" arg in SoftSPI constructor. The SoftSPI constructor is now used soley to create SoftSPI instances, it can no longer delegate to create a hardware-based SPI instance. Signed-off-by: Damien George <damien@micropython.org>

view details

push time in 2 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 3e0c6d8726c7881c9e0fdaaf900cffd4c302bd77

ucompiler: Compile function definitions. Dispatches to _visit_function() in anticipation that very similar code will be required for AsyncFunctionDef, etc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha a2f062b86c21a2d14561a9a1cbbc25206e40cbb8

ucompiler: Implement "return" statement. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha d4b52fc28d6459935670cf62a544cecc222404b8

ucompiler: _visit_function: Don't generate double return opcodes. Change stmt_list_visit() to return last stamement. And, while compiling function body, if the last statement was Return, skip generating implicit "return None" bytecode sequence.

view details

Paul Sokolovsky

commit sha faa8529d255e0e258442fcd7f81532272f9343de

_libc: Recast as a module which exports generic libc functions, like strlen(). Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha a2e4d0f53f4c27979744f7a3e2ae912d79f992ab

_libc: Release 0.4, change scope of the module. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 8d14a936a80e94f05289f370a3f55b25cfaad2a2

time: Implement ctime(). Via libc FFI. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 1e3b7cf6d6df497a0b6d7db643d3f57cbbda194e

time: Release 0.5.2, depend on _libc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 6ac0e3fe97568b21feeea77b5dc13efdcbb103c3

os: Add example_execv.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e8aaaba00d40d5b29928f44b0da0778f372bfe12

os: Add example_environ.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha cb3031e1d481c57e2dc92f0ff5cb1310065e8005

uasyncio.core: test_cancel: Make test run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 738a62d1a07ad65b545fc3709cd9905dff6cd994

uasyncio.core: test_cancel: uasyncio.sleep() is cancellable. Remove outdated comment that uasyncio.sleep() is not cancellable, that was fixed long ago. But allow test to run with both uasyncio.sleep() and busy-sleep like before. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 4039147479265df876354c3a3b7a538fd0bb4643

uasyncio.core: test_wait_for: Make run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 420908eda459572aa173c8bda02bf6e06c92dd26

uasyncio.core: test_cancel_sleep: Make compatible with CPython. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 69eab82a05cf1ba889ac1ca422564b305de0b2d4

upip: Update for ussl.SSLContext. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha b3e4280b051547c775c8200b04613656079e2255

upip: Release 1.5. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha f551de5479780471ab77b42055bcda775c56c24d

ssl: Update for ussl.SSLContext. ussl module no longer provides global wrap_socket() function. Instead, SSLContext.wrap_socket() method should be used. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha ef2a0b25ce611eff81a9f0697a100265117bb542

ssl: Release 0.2. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 60b3929f4ce3b87b9e555d3224e3244953e919cc

uasyncio.core: Add test for cancelling just stared coroutine. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha bb0f396f3ac462428e936eeb80f254f43872f437

uasyncio: open_connection: Implement ussl.SSLContext support. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 132946ec5cab9c9e4ea66cb20497ab913d70f120

uasyncio: open_connection: Implement server_hostname param for SSL. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 2 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 5eaf0386c8f8583399b8a0a74cb2fd3ab99b7981

ucompiler: Compile function definitions. Dispatches to _visit_function() in anticipation that very similar code will be required for AsyncFunctionDef, etc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e8760f45dc75cadb579ec195eb81df4ec17ce86f

ucompiler: Implement "return" statement. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e6d1072d7aac11bdec3620d81f8795baac328ade

ucompiler: _visit_function: Don't generate double return opcodes. Change stmt_list_visit() to return last stamement. And, while compiling function body, if the last statement was Return, skip generating implicit "return None" bytecode sequence.

view details

Paul Sokolovsky

commit sha 0a91233ea4acabc8262c7d704f596999340b77e7

_libc: Recast as a module which exports generic libc functions, like strlen(). Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 5c1a483f65deb2bc2846001628e86ad0ec515f79

_libc: Release 0.4, change scope of the module. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha d5c628d7c1659c7dfdfb932f16d64a5e7d2c02d6

time: Implement ctime(). Via libc FFI. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha ff17b37a263efaeeb1397fefa17422bab857d458

time: Release 0.5.2, depend on _libc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 91f8e37666db023ffa1736f048d3381868a23ac5

os: Add example_execv.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 2f7b138f5a02a19c5577bb1981cb6a4198129113

os: Add example_environ.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 74a60ee8d9edee27fb3d5dda90f9a0836721ce38

uasyncio.core: test_cancel: Make test run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e6c3aa66f078b08e0e55ff129499c8c860546791

uasyncio.core: test_cancel: uasyncio.sleep() is cancellable. Remove outdated comment that uasyncio.sleep() is not cancellable, that was fixed long ago. But allow test to run with both uasyncio.sleep() and busy-sleep like before. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 04db35ee104fb2565711b24a7814dc65538f7d43

uasyncio.core: test_wait_for: Make run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha f4bdd6e66e15613af1b57eea800dc6843de4f257

uasyncio.core: test_cancel_sleep: Make compatible with CPython. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 7528876b8beb6ed35bb088ea9be56f2cdc37091a

upip: Update for ussl.SSLContext. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 958fb4c5ff280d35c0faeaf0a1317a9772274a27

upip: Release 1.5. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 3b114bd95ce2e0ef46ac9d9c3890af9a144e5250

ssl: Update for ussl.SSLContext. ussl module no longer provides global wrap_socket() function. Instead, SSLContext.wrap_socket() method should be used. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 8ded9d5dc5d6303ce499efdd7f83c35b69cdb2c8

ssl: Release 0.2. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 7ef629826a6d5e9c527066cbffa29024942a849a

uasyncio.core: Add test for cancelling just stared coroutine. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 4b0aff9e7b601f2790dd1f6c70fe6d4a41d303b2

uasyncio: open_connection: Implement ussl.SSLContext support. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 803109ac8ee80e88b63ff177dfad716d1d6ab913

uasyncio: open_connection: Implement server_hostname param for SSL. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 2 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha fc4a3a50a3c21f6cbd73b11b4d715409b5e0baeb

usymtable: Add method to lookup function local id by name.

view details

Paul Sokolovsky

commit sha 47d2c233022fbed79cc149593eda795af8cf88b6

ucompiler: Compile function definitions. Dispatches to _visit_function() in anticipation that very similar code will be required for AsyncFunctionDef, etc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 0eecf95c54124cc4a7bcac7b47a31cb73073b98d

ucompiler: Implement "return" statement. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha b4c08069eb8870554ae72ddae596a817dd159f11

ucompiler: _visit_function: Don't generate double return opcodes. Change stmt_list_visit() to return last stamement. And, while compiling function body, if the last statement was Return, skip generating implicit "return None" bytecode sequence.

view details

Paul Sokolovsky

commit sha 259510a7b6d10332e9aedb8fed0f872afc3e8b84

_libc: Recast as a module which exports generic libc functions, like strlen(). Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 389a1aa11345879349dace52f7a3fb357c8af517

_libc: Release 0.4, change scope of the module. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha b8d339eac1fafaaf33c9b8900e778242a1c83484

time: Implement ctime(). Via libc FFI. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e47cbd9af432cc0e12a6f7279ba3851594a63804

time: Release 0.5.2, depend on _libc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 1f55b829b8af631263f2a94132647a346cc80d64

os: Add example_execv.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 1db4fa7717347d5e553b6fa999543a0c98164800

os: Add example_environ.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e28d7260477798af26aafcd5b9b6a65cc84d86bc

uasyncio.core: test_cancel: Make test run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha bd8caad7a864b48e88067c6032263a8f22247cbf

uasyncio.core: test_cancel: uasyncio.sleep() is cancellable. Remove outdated comment that uasyncio.sleep() is not cancellable, that was fixed long ago. But allow test to run with both uasyncio.sleep() and busy-sleep like before. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 090726b6d24918c50bc0edc54a6a88b9d9f19408

uasyncio.core: test_wait_for: Make run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha b2a8dc53c2a80abaf7908f3cad1b6b2dec9366ba

uasyncio.core: test_cancel_sleep: Make compatible with CPython. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 5af15f87f785ab309748ae83c20c97d99703fc08

upip: Update for ussl.SSLContext. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 1da4b06f2006ce57b4195224bc24a4b23ad6fb31

upip: Release 1.5. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha f7516d1c78051bd87b6d7c9968a462ce7024afb5

ssl: Update for ussl.SSLContext. ussl module no longer provides global wrap_socket() function. Instead, SSLContext.wrap_socket() method should be used. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 254fef12325738bf608eae2716c337246f3ec0bf

ssl: Release 0.2. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha a18e93e0370fe9042159d9e6368582fdfc532f8a

uasyncio.core: Add test for cancelling just stared coroutine. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 836ee227417e29edfbfc9b480e6d2fae17c4eb38

uasyncio: open_connection: Implement ussl.SSLContext support. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 2 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 303330759aaae6851157245e2e898feb59b9e0ce

py_compile: Update for pycopy-cross. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 2 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 38d7a598e53c090bdc35af98e8811130e8fd6bd1

ucompiler: _visit_function: Don't generate double return opcodes. Change stmt_list_visit() to return last stamement. And, while compiling function body, if the last statement was Return, skip generating implicit "return None" bytecode sequence.

view details

Paul Sokolovsky

commit sha 24d5f8b636d3a36fa55250957fca2ed05d2de230

_libc: Recast as a module which exports generic libc functions, like strlen(). Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 94e254a90da3984fc110ea4d7103c8783489f862

_libc: Release 0.4, change scope of the module. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 1d369a551d8dda60a8d68c34a78d6e6466d07293

time: Implement ctime(). Via libc FFI. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 5c46095cde493f7dc0374c3f52dc85f30ab5dbe1

time: Release 0.5.2, depend on _libc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha ff5395f3ad6b2b8bca7a4fce139f4904039b3476

os: Add example_execv.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 876b6d3e1deefda055ca045284dba9621070a167

os: Add example_environ.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 3dcc02466ed7f3a4b1e8f284e8cb69bd60c0aa7b

uasyncio.core: test_cancel: Make test run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 1a07cba33336ab211c2fe4c23466d2810b54bada

uasyncio.core: test_cancel: uasyncio.sleep() is cancellable. Remove outdated comment that uasyncio.sleep() is not cancellable, that was fixed long ago. But allow test to run with both uasyncio.sleep() and busy-sleep like before. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha ae1e26acca1640dceb3ba743ef3ac1e856a2e484

uasyncio.core: test_wait_for: Make run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha dc9d5cfb16f4c0d1464b61b4671e35939597199b

uasyncio.core: test_cancel_sleep: Make compatible with CPython. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e1e44a1ce4275f54c150d1e0653aaf599f4876e1

upip: Update for ussl.SSLContext. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha bfa7f72b3fa7b0abe03866eeb9d345dc852943e7

upip: Release 1.5. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha b3f4865342d37772218b3b52d36dfbfdf2242052

ssl: Update for ussl.SSLContext. ussl module no longer provides global wrap_socket() function. Instead, SSLContext.wrap_socket() method should be used. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha f762f7c3ff29cafdc1e8c73058cda26d0948baad

ssl: Release 0.2. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha cc666e745158ed158d86ee97cc14180617b86328

uasyncio.core: Add test for cancelling just stared coroutine. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 3f0cb7730c495a4ee53290a6918423cab53bf3a5

uasyncio: open_connection: Implement ussl.SSLContext support. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha cf87ad9df05fd9c9bb200b87bcd84f3bcf89446f

uasyncio: open_connection: Implement server_hostname param for SSL. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha f1e7e1aab9b931725043765be3829e1b3a1aebea

uasyncio: start_server: Implement "ssl" param using SSLContext. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 56ec8d765e677f19d10d47e25340be4dfc87e868

uasyncio: Add MANIFEST.in, exclude uasyncio/core.py symlink. It may be present as a symlink during development. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 2 days

PullRequestReviewEvent

pull request commentzephyrproject-rtos/zephyr

libc: minimal: Implement abort().

abort() is documented (e.g. https://pubs.opengroup.org/onlinepubs/9699919799/functions/abort.html) as "generate an abnormal process abort". Note process, not thread. That's for this implementation, I chose to call k_fatal_halt(). The reason passed to it, K_ERR_KERNEL_PANIC, is however not faithful, it would be better to have K_ERR_APP_PANIC or K_ERR_APP_ABORT.

Example in action, using qemu_x86:

[QEMU] CPU: qemu32,+nx,+pae
SeaBIOS (version rel-1.12.1-0-ga5cab58-dirty-20200625_115407-9426dddc0a1f-zephyr
)
Booting from ROM..***** delaying boot 500ms (per build configuration) *****
*** Booting Zephyr OS build zephyr-v2.4.0-984-g660ad9791bd0  (delayed boot 500ms) ***
abort()
zephyr/CMakeFiles/run.dir/build.make:57: recipe for target 'zephyr/CMakeFiles/run' failed

i.e. QEMU even auto-quits. Ideally, I'd expect a register/stack trace, as dumped in other cases, but apparently k_fatal_halt(K_ERR_KERNEL_PANIC) doesn't do it (or just sample config doesn't enable it, I quick-patched tests/kernel/common for test).

pfalcon

comment created time in 2 days

issue commentzephyrproject-rtos/zephyr

CONFIG_THREAD_LOCAL_STORAGE=y build fails with ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb

This error doesn't happen if built with CONFIG_NEWLIB_LIBC=y, which leads us to the patch https://github.com/zephyrproject-rtos/zephyr/pull/29542.

Note that I didn't try to investigate why emutls.c "the emulation of thread local storage using malloc()" https://github.com/gcc-mirror/gcc/blob/master/libgcc/emutls.c is being used. @galak, let me know if you think that should be investigated.

pfalcon

comment created time in 2 days

PR opened zephyrproject-rtos/zephyr

Reviewers
libc: minimal: Implement abort().

abort() is an important runtime function, oftentimes used to signal abnormal execution conditions in generic applications. Worse, they may be used under such circumstances in e.g. compiler support libraries, in which case lack of implementation of this function will lead to link error.

Fixes: #29541

Signed-off-by: Paul Sokolovsky paul.sokolovsky@linaro.org

+15 -0

0 comment

2 changed files

pr created time in 2 days

create barnchpfalcon/zephyr

branch : minlibc-abort

created branch time in 2 days

issue openedzephyrproject-rtos/zephyr

CONFIG_THREAD_LOCAL_STORAGE=y build fails with ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb

ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb is one of the supported toolchains to build Zephyr (for ARM architecture). After https://github.com/zephyrproject-rtos/zephyr/pull/28982 was merged, and with CONFIG_THREAD_LOCAL_STORAGE enabled (which it is, for one sanitycheck configuration of tests/kernel/common), the build fails with:

[ 87%] Linking C executable app_smem_unaligned_prebuilt.elf
/home/buildslave/srv/toolchain/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /home/buildslave/srv/toolchain/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m/nofp/libgcc.a(emutls.o): in function `emutls_alloc':
emutls.c:(.text+0x5a): undefined reference to `abort'
/home/buildslave/srv/toolchain/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: /home/buildslave/srv/toolchain/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m/nofp/libgcc.a(emutls.o): in function `__emutls_get_address':
emutls.c:(.text+0x7a): undefined reference to `abort'
collect2: error: ld returned 1 exit status
make[2]: *** [zephyr/app_smem_unaligned_prebuilt.elf] Error 1
make[1]: *** [zephyr/CMakeFiles/app_smem_unaligned_prebuilt.dir/all] Error 2
make: *** [all] Error 2

INFO    - /home/buildslave/srv/zephyr/master/gnuarmemb/frdm_k64f/frdm_k64f/tests/kernel/common/kernel.common.tls/build.log

Full build log: https://ci.linaro.org/job/zephyr-upstream/PLATFORM=frdm_k64f,ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb,label=docker-xenial-amd64-13/5680/console

created time in 2 days

push eventpfalcon/zephyr

Eugeniy Paltsev

commit sha ea1178491947677369ae5624ca4266bb9fd97565

sanitycheck: actually allow empty west-flash without parameter According to west-flash option description it's allowed to use west-flash without parameter: > There are three ways this option is used. > 1) bare: --west-flash > 2) with a value: --west-flash="--board-id=42" > 3) Multiple values: --west-flash="--board-id=42,--erase" However, we don't allow to west-flash to be without parameter when we verify sanitycheck arguments. Fix that. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>

view details

Kumar Gala

commit sha ccc16a41bda72bf85f26fc246bd3642c9adf3454

drivers: i2c: Move Kconfig I2C instances to esp32 The only user of the I2C instances is the esp32 driver. Move the Kconfig symbols down to the esp32 Kconfig for the instances it needs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>

view details

Raveendra Padasalagi

commit sha ea2107c4295e78e5733f78be3e1b8ccceaf28430

drivers: dma: pl330: const-ify device instance Fix compilation issue associated with const-ifying pl330 device instance. Signed-off-by: Raveendra Padasalagi <raveendra.padasalagi@broadcom.com>

view details

Andrew Boie

commit sha 13457ae46a54b91a018149d41db1602be4164fa1

Revert "tests: add new kernel objects tests" This test is generating build warnings as it is making checks that can never be false. This reverts commit a4f1a5f58f61820526560d4867eceafc81175a07. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

view details

Kumar Gala

commit sha 2619b7cc575e3f30f858a7c5f025718e8cc95599

cmake: remove BOARD_FAMILY variable BOARD_FAMILY isn't used anywhere so remove it. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>

view details

Benjamin Lindqvist

commit sha 598adb8830bcd3780b493635bdc9ab492ec84c3d

drivers: modem: gsm_ppp: hold off ppp until we're attached to nw Attempting to initialize PPP without first ensuring we're attached to the network packet service will sometimes lead to "NO CARRIER" errors when we initialize PPP with the modem. This has been observed reproducibly on some SIMCOM7600E modems. This commit holds off on PPP initialization until modem has reported that it is indeed attached by using the "AT+CGATT?" command (see 3GPP TS 27.007) Signed-off-by: Benjamin Lindqvist <benjamin.lindqvist@endian.se>

view details

Joakim Algrøy

commit sha 5c563d3030e7eec146556eaa960b7a6919a97a57

usb: netusb: make ECM MAC address user-configurable Add prompt to USB_DEVICE_NETWORK_ECM_MAC Kconfig option to allow users to change it. The current default value is assigned for documentation purposes in RFC 7042. Signed-off-by: Joakim Algrøy <joakimalgroy@gmail.com>

view details

Martí Bolívar

commit sha 13893af6512963416b02ff8eac91d28c549a0001

doc: dts: fix typo in macros.bnf The fixed-partitions label -> node mapping macro bit is missing an underscore. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>

view details

Martí Bolívar

commit sha 7e64fba9ed845f70d2840595c9f4f9290e7e2527

doc: dts: macros.bnf comment improvements Comment updates and cleanups, cosmetic changes. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>

view details

Marek Porwisz

commit sha 886cf7a9f3238bc183ee45b98dc61142c1723535

drivers: ieee802154: nrf5: Add support for failed rx notification Thread implements couple of counters that require notification of failed frame reception. Implemented RX failed notification. Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>

view details

Marek Porwisz

commit sha 791e09dfb3f4e8d8fa225b9d2709b683d249262d

lib: openthread: use the rx failed notification OpenThread mac counters require rx failed notification to work properly. Made use of previously implemented notification. Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>

view details

Marek Porwisz

commit sha 5d57b396b8c4fce46792294db362f67d22a3e862

net: openthread: Increase the number of allowed children Another team reported that current default values for number of allowed IP addresses per child (4) and and max number of children (10) are too small for some customers. Increased the values allowed configuring child count. Signed-off-by: Marek Porwisz <marek.porwisz@nordicsemi.no>

view details

Eduardo Montoya

commit sha 84158f54b902f5e55e36849d8ba2dfb4e70aa9e5

net: openthread: fix unwanted 802.15.4 radio up This commit moves IPv6 initialization from OT init to OT start to avoid unwantedly bringing 802.15.4 radio up. Previously, even when OT manual start was enabled, the radio would be receiving frames resulting in unnecessary power consumption and causing issues for instance when the device just wants to use Bluetooth for provisioning befor moving to Thread. Signed-off-by: Eduardo Montoya <eduardo.montoya@nordicsemi.no>

view details

Ryan Erickson

commit sha 0e8669922390ca9557c706d37c59af76feee2643

drivers: modem: hl7800: only set DNS addr if not set Only set the DNS resolver server address if one has not been specified. Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>

view details

Jukka Rissanen

commit sha 3b6155bbf58cc726db756c5f982f055be1839889

net: tcp2: Fix TCP connection from Windows 10 Windows 10 sends ECN-Echo and Congestion Window Reduced (CWR) flags together with SYN flag in the connection establishment but the code did not ignore these flags and send just SYN back (instead of SYN|ACK). This caused the connection establishement in application level to fail as the application was never notified about it. Fixes #29258 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>

view details

Anas Nashif

commit sha c916411239ff46eb391f44b177f90c50f43625a7

samples: synchronization: show cpu Show which CPU were are running on systems with SMP enabled. Signed-off-by: Anas Nashif <anas.nashif@intel.com>

view details

Anas Nashif

commit sha ad8caa65e8578cfbbe51f233192099c2190d9c7f

samples: synchronisation: run thread_b on cpu 0 in SMP mode Always run thread_b on CPU 0 by setting cpu_mask if on SMP system. Run this with CONFIG_SCHED_CPU_MASK=y set on an SMP system. Signed-off-by: Anas Nashif <anas.nashif@intel.com>

view details

Henrik Brix Andersen

commit sha 6187c8b8df86fff530fe17faaaea463b1a347ea0

devicetree: rename header to reflect that io-channels are not ADC-only Rename the devicetree/adc.h header file to devicetree/io-channels.h to reflect that io-channels are used for both ADC and DAC devicetree phandles. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>

view details

Erwan Gouriou

commit sha d4e390ce639978b6aaa3573060fd7e7428615adf

drivers/spi: stm32: Convert to devicetree pinctrl generation Convert STM32 SPI driver to device pinctrl configuration. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>

view details

Erwan Gouriou

commit sha aa72f052678bdb2ca0febf525e46c64fbe987d19

boards: disco_l475_iot1: Configure SPI3 pins using device tree Demonstrate configuration of spi pins via devicetree. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>

view details

push time in 2 days

push eventpfalcon/ullvm_c

Paul Sokolovsky

commit sha 7b691dfe04d4c5b28c310f7241895bfa3fbe017e

ullvm_c: Add LLVMGetFirstInstruction().

view details

push time in 3 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 33e5cffed7b0c3266efd4de30b11ea0082f3c709

ucompiler: Implement assignments. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 9e1e96701b22b42e007223c9b7c06c10d7c90216

ucompiler: Factor out _visit_var(). To process var references not encoded as Name AST node, but as a literal name.

view details

Paul Sokolovsky

commit sha 283fc370700223ccc6af343f7a768c9b6539f6b7

ucompiler: Implement "import".

view details

Paul Sokolovsky

commit sha 9e8a8e11f8f74ea6098cb6427d017f7f38123b09

ucompiler: Compile function definitions. Dispatches to _visit_function() in anticipation that very similar code will be required for AsyncFunctionDef, etc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha cfb01a9525e214855b715abb8c050ae0574558b3

ucompiler: Implement "return" statement. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha e31e29f2a883c796e1c84829edfc7c63a83f1f36

_libc: Recast as a module which exports generic libc functions, like strlen(). Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 277a934b72658366ffd8276203210c67fb9a4d8d

_libc: Release 0.4, change scope of the module. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 394d7ee111b80d891002b4ecb023b6edddb6d9df

time: Implement ctime(). Via libc FFI. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha f7febc856a50c7e9ca94eaa137f162759fd67230

time: Release 0.5.2, depend on _libc. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha bbc5e798ac443941026f4d9f8b6c48b99755cc8d

os: Add example_execv.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha a2f850beb173354eba63c4482bb2049ae691cb0f

os: Add example_environ.py. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 67e5bf72db2cdd4ae9a89ca6c6cffee473589abc

uasyncio.core: test_cancel: Make test run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha ed45f91737005b7585fef862224974c28b9365ca

uasyncio.core: test_cancel: uasyncio.sleep() is cancellable. Remove outdated comment that uasyncio.sleep() is not cancellable, that was fixed long ago. But allow test to run with both uasyncio.sleep() and busy-sleep like before. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha b3a981d5096c476d89e369d9cd2b3a728bf27d0a

uasyncio.core: test_wait_for: Make run 10 times faster by default. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 780fb631c9c93c04803ff5d1609353dcca9cdc8b

uasyncio.core: test_cancel_sleep: Make compatible with CPython. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha c1c51b54e117dd8c336fab9d76f77b7faa4c9c8f

upip: Update for ussl.SSLContext. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 615ecd3bd5da3067cbe285c9edb75a99935f760c

upip: Release 1.5. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 6cfc44ac41485168539302b5db4852956f110a8a

ssl: Update for ussl.SSLContext. ussl module no longer provides global wrap_socket() function. Instead, SSLContext.wrap_socket() method should be used. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha acda6c9db2de8aebaff669d561afd1c88eb7e155

ssl: Release 0.2. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 03c17a833eb06d819d759c36aca41e87898e9856

uasyncio.core: Add test for cancelling just stared coroutine. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 3 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 4ed0f5e123bf609dbdc13f7aead6a81a0eb2d74f

sqlite3: Release 0.4.1. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 3 days

push eventpfalcon/pycopy

Damien George

commit sha 9826cc6c0f16ebed1fc77a081b76daa66461afda

docs: Update I2C and SPI docs to add reference to SoftI2C and SoftSPI. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha fce4ed13eaed0a2155b39f68a9116660501fd3cd

unix,windows: Implement mp_hal_time_ns using gettimeofday. This provides microsecond accuracy. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 3131be4ec5b83e354e2b00d5d6b44d944d494aa4

py/parse: Expose rule-name printing as MICROPY_DEBUG_PARSE_RULE_NAME. So it can be enabled without modifying the source. Signed-off-by: Damien George <damien@micropython.org>

view details

push time in 4 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 39508ce0c80fcf17ecca034af74d69e6fb054e51

sqlite3: Cursor: Implement iterator protocol. For CPython compatibility and ease of use. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 5 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Date format in Zim

Edit -> Templates -> wiki -> Default

hbozhkov

comment created time in 5 days

issue commentwindelbouwman/ppci

Polyhedral optimization

Related: https://github.com/inducer/loopy . "A code generator for array-based code on CPUs and GPUs". Pure-Python. It doesn't mention "polyhedral optimization" specifically, but does some loop munging associated with it (like tiling, etc.).

windelbouwman

comment created time in 5 days

push eventpfalcon/pycopy

Damien George

commit sha cb7f1511c86e21da64530380b0b06bed02266db4

extmod/machine_i2c: Rename type to SoftI2C and add custom print method. Also rename machine_i2c_type to mp_machine_soft_i2c_type. These changes make it clear that it's a soft-I2C implementation, and match SoftSPI. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 0969437849a9d844ac03a8ed7d499ccca5db1082

extmod/machine_i2c: Remove "id" arg in SoftI2C constructor. The SoftI2C constructor is now used soley to create SoftI2C instances, it can no longer delegate to create a hardware-based I2C instance. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 94b704e4a98c4f1408f6a69c4e39608363a3ca43

extmod/machine_spi: Remove "id" arg in SoftSPI constructor. The SoftSPI constructor is now used soley to create SoftSPI instances, it can no longer delegate to create a hardware-based SPI instance. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha d5b42e9bee51009b77c2b26126a4aec2712ec1c0

ports: Add SoftI2C and SoftSPI to machine module where appropriate. Previous commits removed the ability for one I2C/SPI constructor to construct both software- or hardware-based peripheral instances. Such construction is now split to explicit soft and non-soft types. This commit makes both types available in all ports that previously could create both software and hardware peripherals: machine.I2C and machine.SPI construct hardware instances, while machine.SoftI2C and machine.SoftSPI create software instances. This is a breaking change for use of software-based I2C and SPI. Code that constructed I2C/SPI peripherals in the following way will need to be changed: machine.I2C(-1, ...) -> machine.SoftI2C(...) machine.I2C(scl=scl, sda=sda) -> machine.SoftI2C(scl=scl, sda=sda) machine.SPI(-1, ...) -> machine.SoftSPI(...) machine.SPI(sck=sck, mosi=mosi, miso=miso) -> machine.SoftSPI(sck=sck, mosi=mosi, miso=miso) Code which uses machine.I2C and machine.SPI classes to access hardware peripherals does not need to change. Signed-off-by: Damien George <damien@micropython.org>

view details

push time in 6 days

push eventpfalcon/ullvm_c

Paul Sokolovsky

commit sha 18ecdeb765a6b70814ccafafd430ad7e670e510a

ullvm_c: Add LLVMGetFirstBasicBlock() and LLVMGetNextBasicBlock().

view details

push time in 7 days

push eventpfalcon/ullvm_c

Paul Sokolovsky

commit sha 95bdd881f53dd467bd6880c554dc378965bdfd84

ullvm_c: Add LLVMParseIRInContext().

view details

Paul Sokolovsky

commit sha 2f1a4081099e519a10061dc3e0f863f12cdae1a5

ullvm_c: Add LLVMGetFirstFunction() and LLVMGetNextFunction().

view details

push time in 7 days

push eventpfalcon/ullvm_c

Paul Sokolovsky

commit sha 90ae794c4e5c5028ff6893aaa6ca81207484521b

ullvm_c: Add LLVMGetFirstFunction() and LLVMGetNextFunction().

view details

push time in 7 days

startedericsnowcurrently/multi-core-python

started time in 7 days

issue commentzephyrproject-rtos/zephyr

[RFC] net: Handling dynamic updates of interface addresses

Just read this thread, linked from #29200, and so far I don't see why we should change anything. The management API is indeed already sending the proper events (ip addr/removed), so up to the application to do its job.

So, as the baseline, this ticket called to: a) survey ways to handle that across existing well-known IP stacks (big OSes like Linux, popular embedded stacks); b) choose the "official" approach for Zephyr (i.e. document it). Whether anything needs to be "changed" depends on how well the above is done.

pfalcon

comment created time in 7 days

push eventpfalcon/pycopy-jitgen

Paul Sokolovsky

commit sha bf609e112d38c85192c60d14d8210497bb0d14f9

x86: load, store: Support width=16.

view details

push time in 8 days

starteddandavison/delta

started time in 9 days

pull request commentzim-desktop-wiki/zim-desktop-wiki

Allow creating links inside the current page

The title of this PR is confusing:

Allow creating links inside the current page

It's very possible to create links inside the current page (obviously, everything is created inside a page, including links).

roland-ruedenauer

comment created time in 9 days

push eventpfalcon/pycopy

Paul Sokolovsky

commit sha 9dd93c3f2adfd24858a3132b2602bd4be3e1e241

docs/library/index: Add note that "module symlinks" are deprecated. Should not be relied on by portable applications. Change-Id: Ib876dd8eb1d7c99f0e87f9824a604834b3fdcdfc Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Damien George

commit sha e84ea844e9d728bad313925c603aac2437b218a2

all: Rename absolute time-based functions to include "epoch". For time-based functions that work with absolute time there is the need for an Epoch, to set the zero-point at which the absolute time starts counting. Such functions include time.time() and filesystem stat return values. And different ports may use a different Epoch. To make it clearer what functions use the Epoch (whatever it may be), and make the ports more consistent with their use of the Epoch, this commit renames all Epoch related functions to include the word "epoch" in their name (and remove references to "2000"). Along with this rename, the following things have changed: - mp_hal_time_ns() is now specified to return the number of nanoseconds since the Epoch, rather than since 1970 (but since this is an internal function it doesn't change anything for the user). - littlefs timestamps on the esp8266 have been fixed (they were previously off by 30 years in nanoseconds). Otherwise, there is no functional change made by this commit. Signed-off-by: Damien George <damien@micropython.org>

view details

Jim Mussared

commit sha 3901fa78d014269fbb4d94dcc625a995efe6e6b3

py/dynruntime.h: Add mp_import_* and mp_load/store_*. These functions already exist in the fun table, and this commit just adds convenience macros for them.

view details

Tweako

commit sha 5324ea5fe2bf8163849706f2a92b6954eea3bb0f

stm32/led: Support PWM output without TIM3. For example, the STM32WB55 doesn't have TIM3 but can still drive LEDs using PWM on other timers.

view details

Damien George

commit sha 27e4e915b4adf45959b68b42a1eb5c68e675228e

tests/basics: Add test for MICROPY_PY_ALL_INPLACE_SPECIAL_METHODS ops. And enable this feature on unix, the coverage variant. The .exp test file is needed so the test can run on CPython versions prior to "@=" operator support. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 65de062ead9819b5c9d6fdbdfc51d84a6181227a

stm32/rfcore: Fix FUS layout and size of ipcc_device_info_table_t. The device info table has a different layout when core 2 is in FUS mode. In particular it's larger than the 32 bytes used when in WS mode and if the correct amount of space is not allocated then the end of the table may be overwritten with other data (eg with FUS version 0.5.3). So update the structure to fix this. Also update rfcore.py to disable IRQs (which are enabled by rfcore.c), to not depend on uctypes, and to not require the asm_thumb emitter. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 29d8cfe7d457e011976dcc6787b4d477406fc276

extmod/vfs: Fix lookup of entry in root dir so it fails correctly. Prior to this commit, uos.chdir('/') followed by uos.stat('noexist') would succeed that stat even though the entry did not exist (some other functions like listdir would have similar issues). This is because, if the current directory was the root and the path was relative, mp_vfs_lookup_path would return success for bad paths. Signed-off-by: Damien George <damien@micropython.org>

view details

stijn

commit sha 3e797a8e72e38492f31a7862f9b7a7af5b9ae195

windows: Update build instructions in README. Make the instructions more complete by documenting all needed steps for starting from scratch. Also add a section for MSYS2 since the Travis build uses it as well and it's a good alternative for Cygwin. Remove the mingw32 reference since it's not readily available anymore in most Linux distros nor compiles successfully.

view details

Iyassou Shimels

commit sha 0eddf21746344d7e4e7e1ce201ead3677aca24ab

py/objstr: Make bytes(bytes_obj) return bytes_obj. Calling the bytes constructor on a bytes object returns the original bytes object. This saves allocating a new instance, and matches CPython. Signed-off-by: Iyassou Shimels <s.iyassou@gmail.com>

view details

Damien George

commit sha 87bafd843085305162c6bf67b569e5e25fc48284

py/objarray.h: Add mp_obj_memoryview_init() helper function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 77d313c06b5f02217cdee902f614bb5b299ebf12

extmod/modbluetooth: Change module-owned bytes objects to memoryview. A read-only memoryview object is a better representation of the data, which is owned by the ubluetooth module and may change between calls to the user's irq callback function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 82884cb105172d80ca7a52466bc7353bb4366d62

docs/develop: Add notes on prerequisite tools for building native .mpy. Signed-off-by: Damien George <damien@micropython.org>

view details

Jim Mussared

commit sha 24ccea0855b6273944427fd5113c8248abd56950

examples/bluetooth: Update to use positional-only args to irq(). To match 6a6a5f9e151473bdcc1d14725d680691ff665a82.

view details

Andrew Leech

commit sha 429d890d718e8a6259efce6e5ad2be40f2198321

extmod/modure: Allow \\ in re.sub replacements.

view details

Maureen Helm

commit sha 8517f36fc46191789efc5aaa6e6e2ab3def483a7

zephyr: Const-ify struct device instance pointers. Zephyr v2.4.0 added a const qualifier to usages of struct device to allow storing device driver instances exclusively in flash and thereby reduce ram footprint. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha 16877b5a4927e3c14ec7adbc0d2f7b17bdfc4fe2

travis: Update zephyr build to v2.4.0. Updates CI to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha bb9cd389ed0af31e4374827b7369b581930dc97d

zephyr: Update build instructions to v2.4.0. Updates the zephyr port build instructions to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

push time in 9 days

startedgoodmami/python-parsing-benchmarks

started time in 10 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 77703ca32355df1bd5f0f0bb0aeec5089bec7bbc

os: Add test_walk, including testdata. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 10 days

startedmoderngl/moderngl

started time in 10 days

pull request commentwindelbouwman/ppci

lang.llvmir.parser: Fix typo in .peek attribute (was .peak).

@windelbouwman: Ping?

pfalcon

comment created time in 10 days

push eventpfalcon/pycopy-jitgen

Paul Sokolovsky

commit sha e63a75a1ae06942377d2e81f64941242e6324692

x86: load, store: Add "width" parameter.

view details

push time in 11 days

create barnchpfalcon/jerryscript

branch : zephyr-wip

created branch time in 12 days

pull request commentLinaro/freertos-pkcs11-psa

Remove iot prefix from `iot_pkcs11`

Merged, thanks.

lundinc2

comment created time in 12 days

push eventLinaro/freertos-pkcs11-psa

Carl Lundin

commit sha 1ba02bb26f2b5e11fdd6d8b455bea938eee05679

Remove iot prefix.

view details

push time in 12 days

PR merged Linaro/freertos-pkcs11-psa

Remove iot prefix from `iot_pkcs11`

As part of migrating PKCS to a separate repository, the naming scheme is being updated to remove the iot prefix.

+4 -4

2 comments

2 changed files

lundinc2

pr closed time in 12 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha e7c337e5efb76088cbd475bb485499b350f2a759

re-pcre: Release 0.9.6. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 12 days

issue commentzephyrproject-rtos/zephyr

tests/kernel/mem_protect/obj_validation fails build on some boards after recent changes

The full picture can be seen here: https://ci.linaro.org/view/lite-iot-ci/job/zephyr-upstream/5650/ . The compile warning-as-error happens synchronously for both Zephyr SDK 0.11.4 and gnuarmemb gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2.

But it happens for disco_l475_iot1, frdm_k64f, mps2_an385, nucleo_f401re, and doesn't happen for cc3220sf_launchxl, frdm_kw41z, nucleo_f103rb, qemu_cortex_m3.

I have to admit I didn't try to reproduce locally - I usually do, but last couple of times I figure we were duplicating effort with a few other folks, so I decided to shoot a ticket first.

I'd also guess it's more or less clear there's a typo, in zassert_not_null(&test_dyn_mutex, "Can't allocate dynamical kobj"); , the & looks stray (unless there's a bigger logic error in context).

pfalcon

comment created time in 12 days

issue openedzephyrproject-rtos/zephyr

tests/kernel/mem_protect/obj_validation fails build on some boards after recent changes

After https://github.com/zephyrproject-rtos/zephyr/pull/25641 : for boards mps2_an385, frdm_k64f, etc.:

01:39:38.262 /home/buildslave/workspace/zephyr-upstream/zephyr/tests/kernel/mem_protect/obj_validation/src/main.c: In function 'dyn_object_release':
01:39:38.262 /home/buildslave/workspace/zephyr-upstream/zephyr/tests/kernel/mem_protect/obj_validation/src/main.c:173:30: error: the comparison will always evaluate as 'true' for the address of 'test_dyn_mutex' will never be NULL [-Werror=address]
01:39:38.262   173 |  zassert_not_null(&test_dyn_mutex, "Can't allocate dynamical kobj");
01:39:38.262       |                              ^~
01:39:38.262 cc1: all warnings being treated as errors

Full sanitycheck build log: https://ci.linaro.org/view/lite-iot-ci/job/zephyr-upstream/5651/PLATFORM=mps2_an385,ZEPHYR_TOOLCHAIN_VARIANT=zephyr,label=docker-xenial-amd64-13/console

created time in 12 days

push eventpfalcon/zephyr

Manivannan Sadhasivam

commit sha 0668e2b79530c4b7656bac12b12779c57bb9a9a3

drivers: lora: Only create loramac-node library if not done before The loramac-node library definition will also be created by 'subsys/lorawan' for the LoRaWAN support. Hence, just add the source files if the previous declaration of the library is found else create a new one. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Manivannan Sadhasivam

commit sha 47a262f28b73433193f3d28d33d3c0521b478921

drivers: lora: hal_common: Offload calling TimerIrqHandler to work queue Since TimerIrqHandler() API does SPI transactions, it is not advised to call from an IRQ context. Hence, offload it to a work queue. Reported-by: Andreas Sandberg <andreas@sandberg.pp.se> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Manivannan Sadhasivam

commit sha 4d1d1bb33089b1b8ab56324278f13eee7c0630f8

drivers: lora: Add missing function definitions & callbacks for LoRaWAN For preparing the radio drivers (specifically SX1276) for LoRaWAN support, let's add missing function definitions and callbacks required by the stack. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Kuba Sanak

commit sha 52a8020398b444f97cb3619764818b5adaf0f380

drivers: lora: Add CheckRfFrequency callback to SX1276 driver CheckRfFrequency was not assigned correctly to the Radio. This lead to the system hang when the loramac library tries to call a relevant Radio method when processing a join-accept message Signed-off-by: Kuba Sanak <contact@kuba.fyi> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Manivannan Sadhasivam

commit sha 88e3ea02ffc9d4b289b2967e53a7f219c0014255

include: Add LoRaWAN API Add LoRaWAN API for Zephyr. Only config, join and send methods are implemented. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Manivannan Sadhasivam

commit sha 3ce8540f3aedfefef750c4dbb932164f22de378c

lorawan: Add initial support for LoRaWAN Add initial support for LoRaWAN based on Semtech's loramac-node library. Current implementation only supports OTAA config and sending data to LoRaWAN server like ThingsNetwork. While at it, this commit also moves the "loramac-node" library definition from drivers/lora to subsys/lorawan. This is required because, subsys/lorawan gets processed before drivers/lora and that creates issue while building. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Manivannan Sadhasivam

commit sha 0ea457e0dc52efc1ea663e2390bf7d4a91d880a2

samples: lorawan: Add Class-A LoRaWAN sample application This sample application shows how to configure an end node in Class-A mode and to send data to network server via gateway. Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Kuba Sanak

commit sha b44dcf88d9f1053b296f45764e2ed1e39bcbe571

lorawan: Add support for SystemMaxRxError SystemMaxRxError is used to negotiate overall timing error for Rx in the loramac-node library. Hence, add support for configuring this parameter from Kconfig. Signed-off-by: Kuba Sanak <contact@kuba.fyi> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Kuba Sanak

commit sha 9c976a2cadf508bc783a8a801dd212d556c360bd

lorawan: Rework error handling code For consistency with other parts of Zephyr, the public APIs available in lorawan subsystem now returns error codes from the set defined in errno.h. Signed-off-by: Kuba Sanak <contact@kuba.fyi> [mani: reworked the code and commit a bit for upstream] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Manivannan Sadhasivam

commit sha 0e0339ba76c04c378f8a6b9ef606e17e02e032d5

CODEOWNERS: Add entry for LoRaWAN Add CODEOWNERS entry for LoRaWAN Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>

view details

Andreas Sandberg

commit sha cfb6257327c763b6540475da3f0a8f83b67e5b3e

lorawan: Cleanup error handling code The error handling code currently has a couple of issues: * It relies on ordered lists and upstream not changing any constants. * Converted messages are not stored in constant memory which means that log_strdup is needed whenever they are printed. This change also factors out error handling to a separate file, lw_priv.{c,h}, to facilitate reuse in a future secure element and state storage implementation. Signed-off-by: Andreas Sandberg <andreas@sandberg.pp.se>

view details

Robert Lubos

commit sha b932edc77251d1e26a0a1ded9ffdef46cbf5a23e

net: lwm2m: Fix bootstrap finish response code LwM2M engine did not set response code for the Bootstrap-finish message, hence it replied with the code copied from the request which is not correct. Fix this by setting correct code for the Bootstrap-finish reply. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>

view details

Jakub Rzeszutko

commit sha a8e45c4f1e3377aca1b0aa48a680232bb983483d

shell: dictionary commands feature Adding dictionary commands concept. It simplifies creation of multiple commands that are handled by a one function handler. This is a special kind of static commands. Dictionary commands can be used every time you want to use a pair: (string <-> corresponding data) in a command handler. The string is usually a verbal description of a given data. The idea is to use the string as a command syntax that can be prompted by the shell and corresponding data can be used to process the command. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>

view details

Jakub Rzeszutko

commit sha f812e9463d01928374852b2c7e915c5b568af956

shell: shell example update Updating shell example to present usage of dictionary commands. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>

view details

Jakub Rzeszutko

commit sha c195529615700711b262e9b5145fd719a5dfa633

shell: documentation update Updating documentation with dictionary commands description. Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>

view details

Vinayak Kariappa Chettimada

commit sha c440c0d92f1bbcc131ec9d026023f2e34c906083

Bluetooth: controller: Initialize close to locality of reference Initialize auto variables close to locality of reference. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>

view details

Frank Li

commit sha e3b5ddac6574677753d098f0eb4ea96f8349b246

dts: boards: mm_swiftio: enable more devices Enable i2c/spi/uart devices for mm_swiftio. Signed-off-by: Frank Li <lgl88911@163.com>

view details

Christopher Friedt

commit sha 310d149d8b612035a53e0d71204fa9cd29a131ab

boards: cc1352r_sensortag: add support for TI CC1352R SensorTag The TI CC1352R SensorTag (LPSTK-CC1352R) is a development kit that features the CC1352R SoC. Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>

view details

Oliver Hitz

commit sha 0c70877ceb7a6eb387bc0cb1dc2d7cc03ab4f1b3

net: IPv4 bcast address recognized as multicast Modified net_ipv4_is_addr_mcast() to not wrongly classify an IPv4 broadcast address as a multicast address. Signed-off-by: Oliver Hitz <oliver@net-track.ch>

view details

Robert Lubos

commit sha 2497958298469fd25b5485eb05ade46e5c37ed9b

net: lwm2m: Improve token generation Improve token handling by removing special meaning of tokenlen == 0, which allows to handle server requests w/o a token (so far such requests would cause the lwm2m engine to autogenerate token in the response). In order to autogenerate token during message initialization, use special symbol `LWM2M_MSG_TOKEN_GENERATE_NEW`. If no token is wished to be used, simply set the tokenlen to 0. Additionally, fix an issue with token autogeneration, where invalid token len was used (0 instead of 8). Fixes #28299 Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>

view details

push time in 12 days

push eventpfalcon/pycopy-jitgen

Paul Sokolovsky

commit sha 36da5f9d134283efdffc2c133052cd2706f3605f

jitgen: Initial package implementation, with few x86 instructions supported.

view details

Paul Sokolovsky

commit sha 9e30b864a522709d1a4ea7bdd4eeada0e45b5613

example1.py: Example of creating dictionary and calling its __len__ method.

view details

Paul Sokolovsky

commit sha 4cdb6ac59cefb1efa33fd2c184a0440352ac0a39

README: Add.

view details

Paul Sokolovsky

commit sha 684710b61dd6e845a09d948b542a84d2798ef6d7

x86: Remove unused imports.

view details

Paul Sokolovsky

commit sha 3fc245227b1409a90956cd8cb727ceb6d9fd7a36

jitgen: Update for uarray module.

view details

Paul Sokolovsky

commit sha 0f3f6da6cd924afa702d25633af4ebbec19c7de0

x86: Group "mov_*" funcs together.

view details

Paul Sokolovsky

commit sha 938631b8df1abea0714bc6cf7a7280d4b5ec4d6a

x86: Introduce generic polymorphic functions. The purpose of lib is to make code generation easy, so distinction between mov_imm() and mov_rr32() is too low-level. Instead, introduce generic mov() which can accept arbitrary arguments. Similarly for add(), sub(), push(), call(), etc.

view details

Paul Sokolovsky

commit sha dfafe0bbd4a34bb175f94b1cf0a52c5b2a3bf662

example1: Update for generic operations.

view details

Paul Sokolovsky

commit sha a7e92f351bf591d8f081e63ea83185db798b94f4

example1: Cleanup/better structure code.

view details

Paul Sokolovsky

commit sha 14c49adfb087478e34a45618cb5da7d6cee2e05b

LICENSE: Add license file.

view details

Paul Sokolovsky

commit sha 623959f34e443cb4d25986b0dd3e6ea578b5028a

x86: Use symbolic constants for "mode" part of MOD/RM byte.

view details

Paul Sokolovsky

commit sha 28b4d6e298dd610bec8368da5f96293c9aeddd5a

base: Factor out BaseCodegen class.

view details

Paul Sokolovsky

commit sha 7a664ce35ba5706a0b5bd80143921d5726350fd2

x86: Rework/implement add() and sub(), both reg/reg and reg/imm8.

view details

Paul Sokolovsky

commit sha 8a79af7df9246ab5647dfd804a9d61cf922b0d38

x86: Add all inventory (8 total) of simple arithmetic operations.

view details

Paul Sokolovsky

commit sha d7767cb7071b927cbfcbf204740892bcab28dc26

LICENSE: Update copyright year.

view details

Paul Sokolovsky

commit sha 63162dde63833b3432b78f876b12d4fe506c4172

x86: Add ARITH_IMM32.

view details

Paul Sokolovsky

commit sha ef1d069575b97bd8d7f8a5511788c32f34e650e0

x86: Add PRE_OPSIZE, PRE_ADDRSIZE, mostly for completeness.

view details

Paul Sokolovsky

commit sha 84f431d408321d0f50d805826b6558253d80f18e

x86: Implement and_(). Has to have underscore as "and" is a keyword in Python.

view details

Paul Sokolovsky

commit sha 0833801dcf4c2bb80f902bd6598302fab53cc789

x86: Implement or_(). Has to have underscore as "or" is a keyword in Python.

view details

Paul Sokolovsky

commit sha 1d46d7b6e3f7afcee0899668594b319a70daffbf

base: Add .save(fname) convenience method. Saves generated code to binary file.

view details

push time in 13 days

push eventpfalcon/pycopy

Damien George

commit sha 69b0b963a3a525f5b3446dfe11c01f8246c4cdb1

stm32/rfcore: Fix FUS layout and size of ipcc_device_info_table_t. The device info table has a different layout when core 2 is in FUS mode. In particular it's larger than the 32 bytes used when in WS mode and if the correct amount of space is not allocated then the end of the table may be overwritten with other data (eg with FUS version 0.5.3). So update the structure to fix this. Also update rfcore.py to disable IRQs (which are enabled by rfcore.c), to not depend on uctypes, and to not require the asm_thumb emitter. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 930934318c62806b4cc3744f2e862774ce8e4586

extmod/vfs: Fix lookup of entry in root dir so it fails correctly. Prior to this commit, uos.chdir('/') followed by uos.stat('noexist') would succeed that stat even though the entry did not exist (some other functions like listdir would have similar issues). This is because, if the current directory was the root and the path was relative, mp_vfs_lookup_path would return success for bad paths. Signed-off-by: Damien George <damien@micropython.org>

view details

stijn

commit sha fee6b6f08bae69a4dfb588e69a757c1b8755f691

windows: Update build instructions in README. Make the instructions more complete by documenting all needed steps for starting from scratch. Also add a section for MSYS2 since the Travis build uses it as well and it's a good alternative for Cygwin. Remove the mingw32 reference since it's not readily available anymore in most Linux distros nor compiles successfully.

view details

Iyassou Shimels

commit sha d9bc88c041c315b4947cef348107927b5a40714b

py/objstr: Make bytes(bytes_obj) return bytes_obj. Calling the bytes constructor on a bytes object returns the original bytes object. This saves allocating a new instance, and matches CPython. Signed-off-by: Iyassou Shimels <s.iyassou@gmail.com>

view details

Damien George

commit sha 2ef941b432f4adcc6677a59815849267e48eedfd

py/objarray.h: Add mp_obj_memoryview_init() helper function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 8586f35675be1ba3af127d66a0f2f5469ebd253a

extmod/modbluetooth: Change module-owned bytes objects to memoryview. A read-only memoryview object is a better representation of the data, which is owned by the ubluetooth module and may change between calls to the user's irq callback function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha b200d9e5457ce2e0ff37ad6bb1b00a978054ff87

docs/develop: Add notes on prerequisite tools for building native .mpy. Signed-off-by: Damien George <damien@micropython.org>

view details

Jim Mussared

commit sha 936303a343781bcca86733162f9bb88b81fb45c0

examples/bluetooth: Update to use positional-only args to irq(). To match 6a6a5f9e151473bdcc1d14725d680691ff665a82.

view details

Andrew Leech

commit sha 0e268150997f784abd1d0ac81e2811a24b9cb865

extmod/modure: Allow \\ in re.sub replacements.

view details

Maureen Helm

commit sha b9f4cb0594ebe58e5a2a39f119baafbac9c0c3f4

zephyr: Const-ify struct device instance pointers. Zephyr v2.4.0 added a const qualifier to usages of struct device to allow storing device driver instances exclusively in flash and thereby reduce ram footprint. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha 491595cc0d4eebe5ff9e94c59204ca9054739479

travis: Update zephyr build to v2.4.0. Updates CI to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha 366624d4c4998c43fd6a9c2946d3c0989e18d424

zephyr: Update build instructions to v2.4.0. Updates the zephyr port build instructions to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

push time in 13 days

push eventpfalcon/pycopy-jitgen

Paul Sokolovsky

commit sha 68b813977aaf3ba8048c787b4ee135c27f279c5e

f

view details

Paul Sokolovsky

commit sha 648adbc9f19124fafa5e5c043673e381e582b51f

example1.py: Example of creating dictionary and calling its __len__ method.

view details

Paul Sokolovsky

commit sha b4f1f8fb906ad79f883f5c138c72555afbbf5a47

README: Add.

view details

Paul Sokolovsky

commit sha 4f8236f92a26ccd7d7666f7fccd93562cec61b3b

x86: Remove unused imports.

view details

Paul Sokolovsky

commit sha 0d5c40c756fb8c13ac2e41982204c6d88e7e7f2a

jitgen: Update for uarray module.

view details

Paul Sokolovsky

commit sha 7aba84486813bef76d0dd67e7aee40b2a936be78

x86: Group "mov_*" funcs together.

view details

Paul Sokolovsky

commit sha 8bffd4db525cd8921ba765e5c9fe13221047afa9

x86: Introduce generic polymorphic functions. The purpose of lib is to make code generation easy, so distinction between mov_imm() and mov_rr32() is too low-level. Instead, introduce generic mov() which can accept arbitrary arguments. Similarly for add(), sub(), push(), call(), etc.

view details

Paul Sokolovsky

commit sha 54d0b346ab23605d71feb4ead949463f06ca6131

example1: Update for generic operations.

view details

Paul Sokolovsky

commit sha dbfcb765099d0173fa08643b07db299e9a6f10e5

example1: Cleanup/better structure code.

view details

Paul Sokolovsky

commit sha 4604536f0ac488fce870ae0a641b61c59ba9cdd7

LICENSE: Add license file.

view details

Paul Sokolovsky

commit sha b377fb13429c703d2c1f562818079ccc493be62b

x86: Use symbolic constants for "mode" part of MOD/RM byte.

view details

Paul Sokolovsky

commit sha f32ea01cde315f0f632246dbdb92c16967f13773

base: Factor out BaseCodegen class.

view details

Paul Sokolovsky

commit sha e63ebc7071c54287a55975456980356a0c0e9513

x86: Rework/implement add() and sub(), both reg/reg and reg/imm8.

view details

Paul Sokolovsky

commit sha 5ad070ba93d59b3a0f6efbd5d07e36ed2b5ecbd0

x86: Add all inventory (8 total) of simple arithmetic operations.

view details

Paul Sokolovsky

commit sha 2608c24402de7f4a6a63d4930c7857cfd5b5c980

LICENSE: Update copyright year.

view details

Paul Sokolovsky

commit sha 6f305364e2afe65e83be9c09de6cd4e3127d1f02

x86: Add ARITH_IMM32.

view details

Paul Sokolovsky

commit sha 2e593bbc32b5540a598a6cd7249538d7d27ec467

x86: Add PRE_OPSIZE, PRE_ADDRSIZE, mostly for completeness.

view details

Paul Sokolovsky

commit sha 9431cb91f1ef8f48dbf80bed169b1136e9fbad51

x86: Implement and_(). Has to have underscore as "and" is a keyword in Python.

view details

Paul Sokolovsky

commit sha e06ceab05d96cc2c7ae5f0ab0324edaa5c9f4e34

x86: Implement or_(). Has to have underscore as "or" is a keyword in Python.

view details

Paul Sokolovsky

commit sha 0d6db107044385b3a85fc3b908d9f174ed48ac66

base: Add .save(fname) convenience method. Saves generated code to binary file.

view details

push time in 13 days

push eventpfalcon/pycopy

Maureen Helm

commit sha b9f4cb0594ebe58e5a2a39f119baafbac9c0c3f4

zephyr: Const-ify struct device instance pointers. Zephyr v2.4.0 added a const qualifier to usages of struct device to allow storing device driver instances exclusively in flash and thereby reduce ram footprint. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha 491595cc0d4eebe5ff9e94c59204ca9054739479

travis: Update zephyr build to v2.4.0. Updates CI to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

Maureen Helm

commit sha 366624d4c4998c43fd6a9c2946d3c0989e18d424

zephyr: Update build instructions to v2.4.0. Updates the zephyr port build instructions to use the latest zephyr release tag. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>

view details

push time in 13 days

push eventpfalcon/pycopy

stijn

commit sha fee6b6f08bae69a4dfb588e69a757c1b8755f691

windows: Update build instructions in README. Make the instructions more complete by documenting all needed steps for starting from scratch. Also add a section for MSYS2 since the Travis build uses it as well and it's a good alternative for Cygwin. Remove the mingw32 reference since it's not readily available anymore in most Linux distros nor compiles successfully.

view details

Iyassou Shimels

commit sha d9bc88c041c315b4947cef348107927b5a40714b

py/objstr: Make bytes(bytes_obj) return bytes_obj. Calling the bytes constructor on a bytes object returns the original bytes object. This saves allocating a new instance, and matches CPython. Signed-off-by: Iyassou Shimels <s.iyassou@gmail.com>

view details

Damien George

commit sha 2ef941b432f4adcc6677a59815849267e48eedfd

py/objarray.h: Add mp_obj_memoryview_init() helper function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha 8586f35675be1ba3af127d66a0f2f5469ebd253a

extmod/modbluetooth: Change module-owned bytes objects to memoryview. A read-only memoryview object is a better representation of the data, which is owned by the ubluetooth module and may change between calls to the user's irq callback function. Signed-off-by: Damien George <damien@micropython.org>

view details

Damien George

commit sha b200d9e5457ce2e0ff37ad6bb1b00a978054ff87

docs/develop: Add notes on prerequisite tools for building native .mpy. Signed-off-by: Damien George <damien@micropython.org>

view details

Jim Mussared

commit sha 936303a343781bcca86733162f9bb88b81fb45c0

examples/bluetooth: Update to use positional-only args to irq(). To match 6a6a5f9e151473bdcc1d14725d680691ff665a82.

view details

Andrew Leech

commit sha 0e268150997f784abd1d0ac81e2811a24b9cb865

extmod/modure: Allow \\ in re.sub replacements.

view details

push time in 13 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 38a8779c7d8e786a1574a0224de3845c9f892598

re-pcre: class error: Add fields defined by CPython's re.error. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 13 days

push eventLinaro/lite-lava-docker-compose

Rémi Duraffort

commit sha fe2290a2662ac7823c1d28408387045a1584a8f2

Upgrade to LAVA 2020.09 lava-logs, lava-master where replaced by lava-server-gunicorn and lava-scheduler. lava-slave has been replaced by lava-worker. Signed-off-by: Rémi Duraffort <remi.duraffort@linaro.org> Fixed multiple conflicts with "lite" branch. As part of that fixing, some upstream changes, which were previously skipped (as not relevant to the LITE usage), may have been merged.

view details

Paul Sokolovsky

commit sha b671091c6a87ac83c47cb83b138a1c421fde98b7

Makefile: In LAVA 2020.09, default worker name changed to "worker0". Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>

view details

push time in 13 days

pull request commentLinaro/lite-lava-docker-compose

LAVA 2020.09 upgrade

Merging.

pfalcon

comment created time in 13 days

push eventpfalcon/pycopy-jitgen

Paul Sokolovsky

commit sha c6d9d485da1bae9fe4da16fbc186e477147c060b

x86: Implement store().

view details

push time in 13 days

PullRequestReviewEvent
CommitCommentEvent

push eventpfalcon/zim-desktop-wiki

J. Lavoie

commit sha fe7fe903fad609930d65881f1a5ba8e7a5febee3

Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/en_GB/

view details

J. Lavoie

commit sha 8aaf54adeeede5d72d161f0a1b490d30151163a4

Translated using Weblate (French) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/fr/

view details

Allan Nordhøy

commit sha 85bf3a3c160a3d5515f6d373713c1c6bf4c98d97

Translated using Weblate (Norwegian Bokmål) Currently translated at 90.6% (603 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nb_NO/

view details

J. Lavoie

commit sha ad2d2bbe876f35ff0bc132cea8fcec0fedea1570

Translated using Weblate (French) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/fr/

view details

vlastimilott

commit sha 561ddcf7ff593be8d9ede783540acd4d2d63a473

Translated using Weblate (Czech) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/cs/

view details

Andreas Klostermaier

commit sha b1c3799ca8b9a4f914284ee215fb7f75bdbf87c2

Translated using Weblate (German) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/de/

view details

Helder Guerreiro

commit sha 001461fad295a3d0433603c58740ce9a851667d9

Translated using Weblate (Portuguese) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

Hosted Weblate

commit sha c1d9bb0c5fac7fdf2ff10e81a4e144c7d880576c

Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/

view details

Jaap Karssenberg

commit sha 5af87d3999bbab3855297eae41eda4ca27aa3365

Translated using Weblate (Dutch) Currently translated at 95.3% (657 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nl/

view details

Andreas Klostermaier

commit sha 53cbae049b5d5f69cdda94a0a947d5994eadd3c1

Translated using Weblate (German) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/de/

view details

Yaron Shahrabani

commit sha 9ba894a68252a78152ca2b61d26be835f3799cc2

Translated using Weblate (Hebrew) Currently translated at 68.0% (469 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/he/

view details

Jaap Karssenberg

commit sha ffa053d2f2396194f6d19f548e5124edf7151736

Translated using Weblate (Dutch) Currently translated at 95.5% (658 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nl/

view details

Helder Guerreiro

commit sha 5c085f242ad88f5381d45f3bb9c07ef84fe18e8f

Translated using Weblate (Portuguese) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

ssantos

commit sha a31785b217b73eeae25fa5c1ca48666cc2488f92

Translated using Weblate (Portuguese) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

ssantos

commit sha 946f0f7a9e2c538118969841abaa84e51285b10b

Translated using Weblate (Portuguese) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

Jaap Karssenberg

commit sha 33e53287b160ff9a0f6772ec834b3991c3e3565b

Fixup 8e18251928b2a650cad1bb8721bbfa7325a7de55 Regression after merging changes

view details

Jaap Karssenberg

commit sha 934d8cf2d4fec05f81f23b7fd1f534b1d12b9d51

Fixup b6f92c40477992a370c90a16ef920148c3ca372f

view details

Jaap Karssenberg

commit sha 0a65016a4ae59f21925be4c4c57933313692d4e9

Translated using Weblate (Dutch) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nl/

view details

Jaap Karssenberg

commit sha 80a081e7d0803700fc59ffb766812cec4c718113

Merge translations

view details

Jaap Karssenberg

commit sha 58c2e810eb345089824706f87b05164e012d3c8b

Release 0.73.3

view details

push time in 14 days

push eventpfalcon/zim-desktop-wiki

J. Lavoie

commit sha fe7fe903fad609930d65881f1a5ba8e7a5febee3

Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/en_GB/

view details

J. Lavoie

commit sha 8aaf54adeeede5d72d161f0a1b490d30151163a4

Translated using Weblate (French) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/fr/

view details

Allan Nordhøy

commit sha 85bf3a3c160a3d5515f6d373713c1c6bf4c98d97

Translated using Weblate (Norwegian Bokmål) Currently translated at 90.6% (603 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nb_NO/

view details

J. Lavoie

commit sha ad2d2bbe876f35ff0bc132cea8fcec0fedea1570

Translated using Weblate (French) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/fr/

view details

vlastimilott

commit sha 561ddcf7ff593be8d9ede783540acd4d2d63a473

Translated using Weblate (Czech) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/cs/

view details

Andreas Klostermaier

commit sha b1c3799ca8b9a4f914284ee215fb7f75bdbf87c2

Translated using Weblate (German) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/de/

view details

Helder Guerreiro

commit sha 001461fad295a3d0433603c58740ce9a851667d9

Translated using Weblate (Portuguese) Currently translated at 100.0% (665 of 665 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

Hosted Weblate

commit sha c1d9bb0c5fac7fdf2ff10e81a4e144c7d880576c

Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/

view details

Jaap Karssenberg

commit sha 5af87d3999bbab3855297eae41eda4ca27aa3365

Translated using Weblate (Dutch) Currently translated at 95.3% (657 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nl/

view details

Andreas Klostermaier

commit sha 53cbae049b5d5f69cdda94a0a947d5994eadd3c1

Translated using Weblate (German) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/de/

view details

Yaron Shahrabani

commit sha 9ba894a68252a78152ca2b61d26be835f3799cc2

Translated using Weblate (Hebrew) Currently translated at 68.0% (469 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/he/

view details

Jaap Karssenberg

commit sha ffa053d2f2396194f6d19f548e5124edf7151736

Translated using Weblate (Dutch) Currently translated at 95.5% (658 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nl/

view details

Helder Guerreiro

commit sha 5c085f242ad88f5381d45f3bb9c07ef84fe18e8f

Translated using Weblate (Portuguese) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

ssantos

commit sha a31785b217b73eeae25fa5c1ca48666cc2488f92

Translated using Weblate (Portuguese) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

ssantos

commit sha 946f0f7a9e2c538118969841abaa84e51285b10b

Translated using Weblate (Portuguese) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/pt/

view details

Jaap Karssenberg

commit sha 33e53287b160ff9a0f6772ec834b3991c3e3565b

Fixup 8e18251928b2a650cad1bb8721bbfa7325a7de55 Regression after merging changes

view details

Jaap Karssenberg

commit sha 934d8cf2d4fec05f81f23b7fd1f534b1d12b9d51

Fixup b6f92c40477992a370c90a16ef920148c3ca372f

view details

Jaap Karssenberg

commit sha 0a65016a4ae59f21925be4c4c57933313692d4e9

Translated using Weblate (Dutch) Currently translated at 100.0% (689 of 689 strings) Translation: zim/master Translate-URL: https://hosted.weblate.org/projects/zim/master/nl/

view details

Jaap Karssenberg

commit sha 80a081e7d0803700fc59ffb766812cec4c718113

Merge translations

view details

Jaap Karssenberg

commit sha 58c2e810eb345089824706f87b05164e012d3c8b

Release 0.73.3

view details

push time in 14 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

Thanks.

In your opinion, is your branch something that a simple user could use/test?

Test, yes. I'd appreciate any feedback, it may help to direct/plan/allocate resources for further work (but I can't promise to do anything beyond my own needs).

Use - not on any production (i.e. important to you) data. (Unless you're ready to maintain the code further, as I'm doing that at a pace and to an extent suitable to me.)

If so, how should we install it?

I'm on Linux, so I just git clone and run "zim.py".

Can we try it along with the "official" version?

I never "installed" official version, so don't know if there can be any "conflicts" between the two. (I wouldn't think there would be much, but as I didn't try, that's what I'm saying).

Should we try on a different directory tree?

Definitely, my branch should be used with a separate notebook, which is already in Markdown format. And so far it was tested with just my personal notebook.

aloboa

comment created time in 14 days

PullRequestReviewEvent

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

With the above notes in mind, the * [ ] Markdown checkbox list syntax is now supported in my branch, https://github.com/pfalcon/zim-desktop-wiki

aloboa

comment created time in 14 days

push eventpfalcon/zim-desktop-wiki

Paul Sokolovsky

commit sha 29c7b44b7f914a580ff9d63940324f11e5af3ec0

zim/formats/zim_markdown: Implement native Markdown syntax for checkbox lists. There's a meaning conflict between Markdown's `[x]`, meaning "done", and Zim's `[x]` meaning "X-crossed" (represented with checkbox diagonally crossed with red "x", usual meaning is cancelled). (For reference, "done" is `[*]` in Zim). Due to this, it's not a case that Zim checkboxes are just superset of Markdown. We still support Zim's extended states: * `[>]` - "migrated" (the same as in Zim) * `[#]` - "X-crossed" (was `[x]` in Zim) These extended checkboxes will (should) be rendered literally in other Markdown tools, so it's up to a user whether to use them and to what extent. (This patch doesn't change anything on UI side, so all 4 checkbox states are available via UI). Change-Id: Ib85d6c80d9e560c436c82355add896621dede101 Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 14 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

So, sadly it's not possible to use the same set of checkbox syntaxes for zim_markdown, effectively supporting superset of Markdown checkbox states

So, down with doubts, I just render "migrated" as * [>] (like before), and "X-cross" as * [#] (Also had ideas of [-], [~], [c], but IMHO [#] conveys the idea that it's stroked in and out better). Other Markdown tools should just display them literally, so it's up to use to whether use them in Zim or not (I found I used X-cross on one occasion).

aloboa

comment created time in 14 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

I just noticed that for Markdown, done is [x], while for Zim, [*], and for Zim, [x] is "cancelled"

Sadly, that also means that "automigrate" approach (parse both Zim and Markdown syntax, dump in Markdown) won't work. Of course, it would be possible to make it work, but why bother to write code which will be removed soon anyway, if I have only one pageful of checkboxed tasks.

More general migration handling would need to be worked out (by somewhom, somewhen).

aloboa

comment created time in 14 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

(Semi-related note, I'm not happy how monospace aka literally-quoted text is rendered in Zim. I guess, I got spoiled by Github and its grey background. Just noticed that there now seem to be round corners in this grey highlight. Bastards, I don't like that :-F.)

aloboa

comment created time in 14 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

Context: https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/26#issuecomment-699752776

OTOH, using the "standard" markdown syntax (prefixing with -)

Note about this: for me, "standard" markdown syntax is one which uses * as a bullet ;-). At least, that's what I use ;-). It should be possible to support - for parsing (no ambiguity for something else), but then it will be converted to * on saving. Heck, it actually should be possible to actually preserve the actual bullet character, as Zim AST supports arbitrary attributes on nodes, but who would do all that? ;-)

Markdown, check lists are represented like this:

- [x] done
- [ ] not done

[*] done [>] migrated [ ] not done

I just noticed that for Markdown, done is [x], while for Zim, [*], and for Zim, [x] is "cancelled" or whatever (red X-cross in UI). So, sadly it's not possible to use the same set of checkbox syntaxes for zim_markdown, effectively supporting superset of Markdown checkbox states, due to this ambiguity with [x]. Thus, I think that it makes sense to recognize only [ ] and [x] as checkboxes, and treat anything else literally (kinda like Github).

Expressiveness wise, I don't think it's a big loss. If an item is cancelled, then it's natural to just strike it thru (and mark as done or remove checkbox). For migrated/moved, it's natural to well, just move it elsewhere, or strike thru similarly and add (moved). And that's of course not talking about option of keep writing it like * [>] which will be rendered as a normal bullet with literal [>].

aloboa

comment created time in 14 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Support markdown and display files with .md extension in the index

I skimmed your code and found one potential issue

I've created a ticket to track missing Markdown features: https://github.com/pfalcon/zim-desktop-wiki/issues/2 . Surprisingly, out of top of my today's head, I added only a very few items there. That's of course why I created it - because I'm getting out of that context and forgetting things. Additions are welcome.

aloboa

comment created time in 14 days

issue openedpfalcon/zim-desktop-wiki

Unsupported/not yet supported Markdow features

  • [ ] Checkbox lists (original Zim syntax is recognized so far)
  • [ ] Multilevel lists with arbitrary indentation (seems that Zim requires a tab as indentation for each level of a multilevel list).

created time in 14 days

push eventpfalcon/pycopy-lib

Paul Sokolovsky

commit sha 384083c9c2a154add89a2978c9d52df898656b4c

xml.etree.ElementTree: Ignore attributes on XML processing instructions. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 534882c95ba41c07c639af65421fc43ebb87b96b

xml.etree.ElementTree: Release 0.2.1. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha 01e8e437825ab21bd51ec7cafd305f08c0e430dc

mpylib: Add top-level load() function to load codeobj from stream. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

Paul Sokolovsky

commit sha ca3ff5b5574eb8ef69b1ec62ff3792c6a3c698a6

mpylib: Release 1.0. Signed-off-by: Paul Sokolovsky <pfalcon@users.sourceforge.net>

view details

push time in 15 days

issue commentzim-desktop-wiki/zim-desktop-wiki

Date-column in search results list

Is it possible to add a column with note dates to the search results list?

What is "note dates"?

Nick222

comment created time in 15 days

pull request commentzephyrproject-rtos/zephyr

include/posix: restrict is no C++ keyword

This is similar/duplicate of https://github.com/zephyrproject-rtos/zephyr/pull/27245. Please look at the discussion there, and see if you cam cooperate/revive that patch.

maxbachmann

comment created time in 15 days

pull request commentLinaro/lite-lava-docker-compose

LAVA 2020.09 upgrade

This underwent quite extensive testing, but any additional testing is appreciated.

pfalcon

comment created time in 15 days

pull request commentLinaro/lite-lava-docker-compose

LAVA 2020.09 upgrade

cc: @erwango

pfalcon

comment created time in 15 days

PR opened Linaro/lite-lava-docker-compose

Reviewers
LAVA 2020.09 upgrade
+73 -70

0 comment

10 changed files

pr created time in 15 days

more