Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
179 commits
Select commit Hold shift + click to select a range
7497d89
stm32/sdio: Don't change any DMA2 settings on H7 MCUs.
iabdalkader Oct 2, 2020
9855b9c
stm32/sdcard: Fix H7 build when using SDMMC2.
iabdalkader Oct 2, 2020
7c76a2d
stm32/rfcore: Add Python API for basic rfcore operations.
jimmo Oct 1, 2020
222ec1a
stm32/boards/NUCLEO_WB55: Add standalone WB55 FUS/WS firmware updater.
jimmo Sep 29, 2020
fa12bfc
stm32/rfcore: Update to support WS=1.9.0.0.4.
jimmo Oct 9, 2020
880875b
py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map.
jimmo Oct 9, 2020
b137d06
py/objtype: Handle __dict__ attribute when type has no locals.
jimmo Aug 4, 2020
520bb88
stm32/boards/NUCLEO_WB55/rfcore_firmware.py: Fix flash unlock.
jimmo Oct 15, 2020
dfb63b5
stm32/boards/NUCLEO_WB55/rfcore_firmware.py: Fix bad variable name.
jimmo Oct 15, 2020
893f755
stm32/boards/NUCLEO_WB55/rfcore_firmware.py: Increase GET_STATE timeout.
jimmo Oct 15, 2020
18518e2
ports: Use correct in/out endpoint size in TUD_CDC_DESCRIPTOR.
dpgeorge Oct 13, 2020
56e0932
tools/upip.py: Support explicit port number in host.
Oct 6, 2020
3bc0ecb
docs/library/btree.rst: Correct method typo: __detitem__ to __delitem__.
hlovatt Oct 9, 2020
23f9439
docs/library/machine.rst: Correct minor typo: timout to timeout.
hlovatt Oct 9, 2020
cf6845b
docs/library/machine.Signal.rst: Correct typo: usecases to use cases.
hlovatt Oct 9, 2020
4842060
docs/library/machine.Timer.rst: Add mention of constructor arguments.
hlovatt Oct 9, 2020
32c9917
unix/mpconfigport.h: Enable MICROPY_PY_DELATTR_SETATTR.
andrewleech Sep 10, 2020
97108fc
esp32/mpconfigport.h: Enable MICROPY_PY_DELATTR_SETATTR.
andrewleech Oct 20, 2020
a93d9b8
stm32: Fix broken build when FAT FS multi-partition is disabled.
iabdalkader Oct 9, 2020
581d43b
stm32/usbd_cdc_interface: Check and handle CDC TX wrap-overflow.
dpgeorge Oct 22, 2020
6eebdbc
docs/reference/glossary.rst: Fix minor grammar error, An -> A.
mytechnotalent Oct 3, 2020
6324c3e
py/scope: Name and use id_kind_type_t.
esmil Oct 3, 2020
6d3aa16
py/objexcept: Compare mp_emergency_exception_buf_size signed.
esmil Dec 13, 2019
fdd6fa3
py: Use unsigned comparison of chars.
esmil Oct 3, 2020
9aa58cf
py, extmod: Add explicit initializers for default values.
esmil Oct 3, 2020
f1f6ef7
py/vmentrytable: Ignore GCC -Woverride-init.
esmil Nov 28, 2019
dde3db2
extmod: Disable -Wmissing-field-initializers for lfs2.
esmil Oct 3, 2020
ccd9233
py, extmod: Introduce and use MP_FALLTHROUGH macro.
esmil Nov 28, 2019
bef4127
mpy-cross: Enable more warnings.
esmil Oct 3, 2020
05f9568
unix: Enable more warnings.
esmil Oct 3, 2020
368c1a0
tests/thread/stress_schedule.py: Assign globals before running test.
dpgeorge Oct 27, 2020
0118c07
stm32/machine_adc: Fix ADC auto-calibration to run when ADC not enabled.
dpgeorge Oct 28, 2020
03a1f94
extmod/vfs_lfs: Support mounting LFS filesystems in read-only mode.
dpgeorge Oct 29, 2020
b406289
esp32/mpconfigport.h: Seed the urandom module on import.
robert-hh Aug 22, 2020
057193e
esp8266/mpconfigport.h: Seed the urandom module on import.
robert-hh Aug 23, 2020
59019d7
stm32/mpconfigport.h: Seed the urandom module on import.
robert-hh Aug 23, 2020
3e455e9
stm32/rng: Use SysTick+RTC+unique-id to seed pRNG for MCUs without RNG.
dpgeorge Oct 20, 2020
6f34800
extmod/modurandom: Support urandom.seed() without an argument.
dpgeorge Oct 20, 2020
1b72393
py/makeqstrdefs.py: Fix beaviour when scanning non-C preprocessed files.
stinos Aug 26, 2020
2b9f058
py/makeqstrdefs.py: Process C++ files as well.
stinos Oct 22, 2020
f166641
py/mkrules.mk: Add target for compiling C++ files.
stinos Oct 8, 2020
8e94fa0
py/makeqstrdefs.py: Support preprocessing C++ files for QSTR generation.
stinos Oct 8, 2020
e498a8b
py: Workaround clang error when building misc.h with C++ compiler.
stinos Oct 14, 2020
78c8b55
docs: Fix reference to QSTR_GEN_CFLAGS Makefile flag.
stinos Oct 8, 2020
0153148
py/py.mk: Support C++ code for user C modules.
stinos Oct 8, 2020
fad4079
esp32,unix: Support building C++ code.
stinos Oct 8, 2020
25c4563
examples: Add example code for user C modules, both C and C++.
stinos Oct 21, 2020
dbb1310
docs/develop/cmodules.rst: Add link to source code for user C example.
dpgeorge Oct 29, 2020
a866f86
unix/Makefile: Move coverage.c and coveragecpp.cpp to coverage variant.
dpgeorge Oct 29, 2020
df3b466
stm32/boards: Factor out common data/bss/heap/stack linker sections.
dpgeorge Oct 29, 2020
97960dc
stm32: Support C++ code and user C modules written in C++.
dpgeorge Oct 29, 2020
ed7ddd4
tests/micropython/extreme_exc.py: Unlink alloc'd lists earlier in chain.
dpgeorge Oct 29, 2020
2ae3c89
extmod/btstack/btstack.mk: Add -Wimplicit-fallthrough=0.
jimmo Oct 29, 2020
b7883ce
extmod/nimble/nimble.mk: Add -Wno-old-style-declaration.
jimmo Nov 3, 2020
1e297c8
stm32/main: Move update_reset_mode to outside the soft-reset loop.
dpgeorge Oct 2, 2020
4c3976b
stm32: Add MICROPY_BOARD calls in various places in stm32_main.
dpgeorge Oct 27, 2020
b99300b
stm32/boardctrl: Define MICROPY_BOARD_EARLY_INIT alongside others.
dpgeorge Nov 11, 2020
7789cd5
lib/utils/pyexec: Add MICROPY_BOARD hooks before/after executing code.
dpgeorge Oct 30, 2020
1fef566
py/mpz: Do sign extension in mpz_as_bytes for negative values.
dpgeorge Nov 5, 2020
bdfb584
extmod/moductypes: Fix storing to (U)INT64 arrays on 32-bit archs.
dpgeorge Nov 5, 2020
d7e1526
py/binary: Fix sign extension setting wide integer on 32-bit archs.
dpgeorge Nov 5, 2020
a7932ae
tools/makeqstrdefs.py: Run qstr preprocessing in parallel.
jimmo Oct 29, 2020
b04240c
stm32/Makefile: Make the generation of `firmware.bin` explicit.
nedseb Nov 4, 2020
8a917ad
esp32/machine_pin: Reset pin if init sets mode.
jonathanhogg Nov 9, 2020
922f81d
extmod/machine_mem: Only allow integers in machine.memX subscript.
Arrowana Oct 31, 2020
a0623a0
stm32/Makefile: Allow boards to extend all SRC variables.
dpgeorge Nov 12, 2020
cc2a35b
stm32/rtc: Validate the RTC prescaler on boot and change if incorrect.
dpgeorge Nov 12, 2020
309fb82
tests/run-multitests.py: Fix diff order, show changes relative to truth.
jimmo Nov 3, 2020
ccfd535
tests/multi_bluetooth: Improve reliability of event waiting.
jimmo Nov 3, 2020
c75ce37
tests/run-multitests.py: Add a -p flag to run permutations of instances.
jimmo Nov 3, 2020
3d890e7
extmod/modbluetooth: Make UUID type accessible outside modbluetooth.c.
jimmo Oct 28, 2020
de60aa7
unix: Handle pending events/scheduler in MICROPY_EVENT_POLL_HOOK.
pi-anl Oct 15, 2020
4559bcb
unix: Make mp_hal_delay_ms run MICROPY_EVENT_POLL_HOOK.
jimmo Nov 3, 2020
c398e46
extmod/modbluetooth: Combine gattc-data-available callbacks into one.
jimmo Nov 3, 2020
6d9fdff
extmod/nimble: Poll startup directly rather than using NimBLE sem.
jimmo Nov 3, 2020
81e92d3
extmod/modbluetooth: Re-instate optional no-ringbuf modbluetooth.
jimmo Oct 28, 2020
61d1e4b
extmod/nimble: Make stm32 and unix NimBLE ports use synchronous events.
jimmo Nov 3, 2020
7e75245
tests/multi_bluetooth: Change dict index-and-del to pop, to clear event.
jimmo Nov 12, 2020
efc0800
tests/multi_bluetooth: Add a test for WB55 concurrent flash access.
jimmo Nov 4, 2020
a64121b
stm32/rfcore: Make RX IRQ schedule the NimBLE handler.
jimmo Nov 4, 2020
119c88e
stm32/flash: Implement WB55 flash locking.
jimmo Nov 4, 2020
21c293f
stm32/rfcore: Don't send HCI ACL cmds while another is pending.
jimmo Nov 10, 2020
240b3de
stm32/rfcore: Depend on NimBLE only when BLE enabled.
jimmo Nov 18, 2020
5af3c04
esp32,esp8266: Remove "FAT" from warning message in inisetup.py.
robert-hh Nov 16, 2020
3dcb551
nrf/README: Describe Pin numbering scheme for nRF52840.
JPFrancoia Oct 1, 2020
64180f0
extmod/machine_i2c: Add init protocol method for generic I2C bindings.
dpgeorge Nov 18, 2020
0e8af2b
extmod/modbluetooth: Add API for L2CAP channels.
jimmo Oct 15, 2020
3795c71
docs/library/ubluetooth.rst: Add docs for L2CAP channels.
jimmo Nov 17, 2020
23fad25
tests/multi_bluetooth: Add L2CAP channels multi-test.
jimmo Nov 17, 2020
5a70279
extmod/nimble/modbluetooth_nimble: Fix build when l2cap unavailable.
jimmo Nov 23, 2020
6a3d70d
tests/extmod: Add vfs_posix.py test for uos.VfsPosix class.
dpgeorge Nov 28, 2020
be24e6a
py/mpprint: Prevent case fall-through when assert is disabled.
dpgeorge Nov 28, 2020
547e8a9
tools/ci.sh: Add helper script to run CI tasks.
dpgeorge Nov 29, 2020
a598ae5
github/workflows: Add workflows for all CI tasks, builds and tests.
dpgeorge Nov 29, 2020
ee3706f
travis: Stop using Travis for CI.
dpgeorge Nov 29, 2020
02b44a0
tests/run-tests: Update skipped tests on CI for GitHub Actions.
dpgeorge Nov 29, 2020
2f723d8
README: Update badges for new GitHub Actions workflows.
dpgeorge Nov 29, 2020
f7225d1
github/workflows: Run unix and qemu-arm workflows when tests change.
dpgeorge Nov 29, 2020
bb24c69
lib/utils/pyexec: Add stdin-reader on raw REPL with flow control.
dpgeorge Oct 6, 2020
a59282b
tools/pyboard.py: Add fast raw-paste mode.
dpgeorge Oct 8, 2020
a14ca31
docs/reference/repl.rst: Add information about new raw-paste mode.
dpgeorge Nov 30, 2020
ca40eb0
extmod/uasyncio: Delay calling Loop.call_exception_handler by 1 loop.
dpgeorge Nov 30, 2020
309dfe3
extmod/uasyncio: Add Task.done() method.
dpgeorge Nov 30, 2020
b505971
extmod/uasyncio: Fix cancellation handling of wait_for.
dpgeorge Dec 1, 2020
f2a9a0a
extmod/nimble: Fail read if the characteristic is too big.
jimmo Nov 24, 2020
c70665f
extmod/modbluetooth: Add _IRQ_CONNECTION_UPDATE event.
pi-anl Nov 14, 2020
7a9aa49
docs/library/ubluetooth.rst: Add _IRQ_CONNECTION_UDPATE docs.
jimmo Nov 24, 2020
1697ff3
extmod/modbluetooth: Allow setting char/desc enc/auth options.
pi-anl Aug 26, 2020
8955399
docs/library/ubluetooth.rst: Update char/desc flags.
jimmo Nov 24, 2020
60830bc
extmod/modbluetooth: Allow user-specified reason in read request IRQ.
jimmo Nov 24, 2020
5e20f68
docs/library/ubluetooth.rst: Update read request IRQ docs.
jimmo Nov 24, 2020
ac89267
extmod/modbluetooth: Add compile-config flag to enable pairing/bonding.
jimmo Nov 25, 2020
05fef8c
extmod/modbluetooth: Add _IRQ_ENCRYPTION_UPDATE event.
pi-anl Nov 4, 2020
a1fcf30
extmod/modbluetooth: Allow configuration of pairing/bonding parameters.
jimmo Nov 24, 2020
f822557
docs/library/ubluetooth.rst: Add pairing/bonding config docs.
jimmo Nov 24, 2020
801e8ff
extmod/modbluetooth: Add gap_pair(conn_handle) func to intiate pairing.
jimmo Nov 24, 2020
fff634e
docs/library/ubluetooth.rst: Add gap_pair() docs.
jimmo Nov 24, 2020
c4d08aa
extmod/modbluetooth: Add support for bonding (key persistence).
jimmo Nov 25, 2020
b799fe1
docs/library/ubluetooth.rst: Add bonding docs.
jimmo Nov 26, 2020
4bcbbfd
extmod/modbluetooth: Simplify synchronous invoke_irq_handler signature.
jimmo Nov 26, 2020
e4f27cb
extmod/modbluetooth: Add support for passkey authentication.
jimmo Nov 26, 2020
f6fd46c
examples/bluetooth: Add bonding/passkey demo.
jimmo Nov 26, 2020
68136eb
docs/library/ubluetooth.rst: Add passkey docs.
jimmo Nov 26, 2020
d79b9c6
extmod/nimble: Generate and persist a unique IRK.
jimmo Nov 27, 2020
c8b0557
tests/multi_bluetooth: Add multitests for BLE pairing and bonding.
dpgeorge Dec 1, 2020
8497488
stm32/modmachine: Add device and revision ids to machine.info().
iabdalkader Nov 25, 2020
ce9197e
stm32/Makefile: Disable text compression in debug builds.
iabdalkader Nov 27, 2020
e9e619f
stm32/powerctrl: Define RCC_SR_SFTRSTF flag for H747.
iabdalkader Dec 2, 2020
3e5dd2d
stm32/powerctrl: Fix STOP mode voltage scaling on H7 REV V devices.
iabdalkader Dec 2, 2020
463a275
stm32/powerctrl: On H7, re-enable disabled OSCs/PLLs on exit from STOP.
iabdalkader Dec 2, 2020
8add94e
stm32/powerctrl: Disable RTC write protection before changing flags.
iabdalkader Dec 2, 2020
7b9b6d0
stm32/powerctrl: Set H7 RTC wakeup flags.
iabdalkader Dec 2, 2020
7dc2f4e
stm32/powerctrl: Ensure SysTick is disabled on STOP mode entry for H7.
iabdalkader Dec 3, 2020
4ce6427
stm32/i2c: Factor I2C finding code to i2c_find_peripheral function.
dpgeorge Dec 3, 2020
1e4e264
stm32: Add support for a board to reserve certain peripherals.
dpgeorge Dec 3, 2020
cb1bb75
stm32/Makefile: Change -O0 to -Og for DEBUG=1 builds.
dpgeorge Dec 7, 2020
92a5ee6
zephyr: Replace broken shell_net_iface() with more general shell_exec().
MaureenHelm Nov 30, 2020
dde0735
zephyr: Guard I2C code with appropriate ifdef config.
JonBruchim Nov 8, 2020
5020b14
py/mpprint: Fix length calculation for strings with precision-modifier.
jeepee Oct 22, 2020
2489688
nrf/boards: Update memory.ld to include bootloader offsets.
glennrub Jul 16, 2020
718397a
nrf/Makefile: Add bootloader specific section.
glennrub Jul 16, 2020
634f6df
nrf/Makefile: Add support for flashing with nrfutil.
glennrub Jul 16, 2020
7f40523
nrf/boards: Add linker script for nrf52840 Open Bootloader 1.2.0.
glennrub Jul 16, 2020
d0b8554
nrf: Change selected boards to utilize pre-flashed bootloader.
glennrub Dec 3, 2020
cd61fc8
stm32/boards/stm32h743.ld: Enable D2 RAM and add eth-buffer section.
Jul 24, 2020
d986b20
stm32/eth: Add support for H7 processors.
Jul 24, 2020
032e095
stm32/boards/NUCLEO_H743ZI: Enable ethernet peripheral.
Jul 24, 2020
d9d761b
lib/littlefs: Update littlefs2 to v2.3.0.
dpgeorge Dec 9, 2020
8a29319
lib/littlefs: Guard lfs2_mlist_isopen with LFS2_NO_ASSERT.
dpgeorge Dec 9, 2020
460a181
stm32/mboot: Enable LFS2_READONLY for mboot builds with littlefs.
dpgeorge Dec 9, 2020
f694a6f
lib/stm32lib: Update library for WB v1.10.0.
dpgeorge Dec 7, 2020
f305c62
stm32/usb: Allocate 128 bytes to CDC data out EPs on non-multi-OTG MCUs.
dpgeorge Dec 7, 2020
e0bb7a5
tests/misc/sys_settrace_features.py: Ignore CPython zipimport traces.
dpgeorge Dec 13, 2020
69262a1
tools/ci.sh: Put echo of CI path in a separate function.
dpgeorge Dec 14, 2020
ee52f89
tools/ci.sh: Use pip-install to get latest version of esptool.py.
dpgeorge Dec 14, 2020
0091041
py/modmath: Simplify handling of positional args to reduce code size.
dpgeorge Dec 13, 2020
246b2e0
py/mkrules.mk: Remove stray vpath and unused -Itmp, add $(Q) for $(AR).
dpgeorge Dec 13, 2020
1719459
extmod/modubinascii: Update code, docs for hexlify now CPython has sep.
dpgeorge Dec 13, 2020
dc1fd4d
tests/extmod: Add test to try and mount a block device directly.
Nov 27, 2020
a13d1b5
extmod/vfs: Raise OSError(ENODEV) if mounting bdev without a filesystem.
Nov 27, 2020
20f8ce1
stm32/pyb_can: Add ability to calculate CAN bit timing from baudrate.
iabdalkader Dec 6, 2020
32d76e5
stm32/system_stm32: Enable DBGMCU in low-power modes for debug builds.
iabdalkader Dec 7, 2020
b603066
stm32/sdram: Add SDRAM enter/leave self-refresh mode functions.
iabdalkader Dec 7, 2020
80883a8
stm32/adc: Deselect VBAT after reading to prevent battery drain.
dpgeorge Dec 17, 2020
061cb1a
stm32/main: Do extended readblocks call when auto-detecting littlefs.
dpgeorge Dec 17, 2020
e43a74a
drivers/memory/spiflash: Add MICROPY_HW_SPIFLASH_ENABLE_CACHE option.
dpgeorge Dec 17, 2020
e715a8f
stm32/boards/PYBD_SF2: Disable SPIFLASH_ENABLE_CACHE for mboot builds.
dpgeorge Dec 17, 2020
505a185
teensy: Fix build errors and warnings and enable -Werror.
dpgeorge Dec 18, 2020
108183f
tests/misc/sys_settrace: Make test output independent of invoked path.
stinos Dec 15, 2020
069557e
tests/misc/sys_settrace_features.py: Fix running with non-dflt encoding.
stinos Dec 15, 2020
f42a190
extmod/nimble: Reset NimBLE BSS in mp_bluetooth_init.
jimmo Dec 21, 2020
f7aafc0
extmod/nimble: Don't assert on save-IRK failure.
jimmo Dec 22, 2020
ec3b500
py,extmod: Add core cmake rule files.
dpgeorge Sep 23, 2020
40ac9e2
esp32: Update to support IDF v4.1.
dpgeorge Sep 23, 2020
a707615
esp32: Add support to build using IDF with cmake.
dpgeorge Sep 23, 2020
2aa94e7
esp32/esp32_rmt: Don't do unnecessary check for unsigned less than zero.
dpgeorge Oct 6, 2020
be4a80d
esp32: add support for bluetooth in cmake.
Dec 7, 2020
1f9e7e3
nimble: overide structures only if needed.
Dec 23, 2020
e089fa5
esp32/cmake: add a defaut sdkconfig.
Dec 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
py: Workaround clang error when building misc.h with C++ compiler.
  • Loading branch information
stinos authored and dpgeorge committed Oct 29, 2020
commit e498a8bd13a0ecdf1cc50f57eb6d3630e8c0c078
7 changes: 6 additions & 1 deletion py/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,12 @@ typedef union _mp_float_union_t {
// Map MP_COMPRESSED_ROM_TEXT to the compressed strings.

// Force usage of the MP_ERROR_TEXT macro by requiring an opaque type.
typedef struct {} *mp_rom_error_text_t;
typedef struct {
#ifdef __clang__
// Fix "error: empty struct has size 0 in C, size 1 in C++".
char dummy;
#endif
} *mp_rom_error_text_t;

#include <string.h>

Expand Down