| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-10-21 | tests/cpydiff: Fix typo in types_bytes_keywords.py doc comments. | clach04 | |
| 2019-10-21 | unix: Allow building without a manifest. | Jim Mussared | |
| 2019-10-21 | esp8266: Allow building without a manifest. | Jim Mussared | |
| 2019-10-21 | py/mkrules.mk: Add warning/error for invalid frozen config. | Jim Mussared | |
| 2019-10-21 | tools/makemanifest.py: Eval relative paths w.r.t. current manifest file. | Jim Mussared | |
| When loading a manifest file, e.g. by include(), it will chdir first to the directory of that manifest. This means that all file operations within a manifest are relative to that manifest's location. As a consequence of this, additional environment variables are needed to find absolute paths, so the following are added: $(MPY_LIB_DIR), $(PORT_DIR), $(BOARD_DIR). And rename $(MPY) to $(MPY_DIR) to be consistent. Existing manifests are updated to match. | |||
| 2019-10-21 | stm32/powerctrlboot: Fix config of systick IRQ priority on F0/L0/WB MCU. | Damien George | |
| Prior to this commit the systick IRQ priority was set at lowest priority on F0/L0/WB MCUs, because it was left at the default and never configured. This commit ensures the priority is configured and sets it to the highest priority. | |||
| 2019-10-18 | py/objtype: Add type.__bases__ attribute. | Josh Lloyd | |
| Enabled as part of MICROPY_CPYTHON_COMPAT. | |||
| 2019-10-18 | esp32/boards: Split out CPU frequency config, make 160MHz the default. | Josh Lloyd | |
| Remove the 240MHz CPU config option from sdkconfig.base and create a new sdkconfig.240mhz file for those boards that want to use 240MHz on boot. The default CPU frequency is now 160MHz (was 240MHz), to align with the ESP IDF and support more boards (eg those with D2WD chips). Fixes issue #5169. | |||
| 2019-10-18 | examples/bluetooth: Add basic BLE peripheral examples. | Jim Mussared | |
| Consisting of: - ble_advertising.py -- helper to generate advertising payload. - ble_temperature.py -- simple temperature device. - ble_uart_periperhal.py -- BLE UART wrapper. - ble_uart_repl.py -- dupterm-compatible uart. | |||
| 2019-10-18 | extmod/re1.5: Support escaping within RE classes. | Jim Mussared | |
| Fixes issues #3178 and #5220. Tests are added, including all the cases mentioned in both bugs. | |||
| 2019-10-18 | esp32/machine_uart: Add ability to invert UART pins. | Jeremy Herbert | |
| 2019-10-18 | stm32/accel: Fix Accel.read() method so it does read a byte. | Damien George | |
| This bug was introduced in a0f7b4c678829bf252df58f0153351a44bd95059 | |||
| 2019-10-18 | stm32/boards: Add NADHAT_PYB405 board. | Frederic.Pierson | |
| 2019-10-18 | stm32/accel: Add support for KXTJ3. | Frederic.Pierson | |
| 2019-10-18 | stm32/accel: Rename MMA I2C macro constants to make it generic. | Damien George | |
| 2019-10-16 | stm32/mpu: Save and restore the IRQ state when configuring MPU. | Damien George | |
| In case IRQs are already disabled during the MPU configuration. Fixes issue #5152. | |||
| 2019-10-16 | drivers/onewire/ds18x20.py: Add support for DS1822 sensor. | Damien George | |
| DS1822P sensors behave just like the DS18B20 except for the following: - it has a different family code: 0x22 - it has only the GND and DQ pins connected, it uses parasitic power from the data line Contributed by @nebelgrau77. | |||
| 2019-10-16 | docs/wipy/tutorial: Link Blynk examples to the official library. | Volodymyr Shymanskyy | |
| 2019-10-16 | docs: Fix spelling in various parts of the docs. | Mike Causer | |
| 2019-10-16 | docs/esp8266: Add ntptime usage to esp8266 quickref. | Mike Causer | |
| 2019-10-16 | docs/library: Clarify relation between machine and port-specific mods. | Peter Hinch | |
| 2019-10-16 | docs/esp8266/tutorial: Make http_get sample function self contained. | Thiago Paes | |
| 2019-10-16 | docs/library/bluetooth.rst: Fix typo in HR/UART services example. | Damien George | |
| 2019-10-15 | stm32/adc: Fix sampling for internal channels on H7 MCUs. | iabdalkader | |
| Set to 810 cycles following HAL examples. | |||
| 2019-10-15 | stm32/adc: Use IS_CHANNEL_INTERNAL macro to check for internal channels. | iabdalkader | |
| 2019-10-15 | stm32/adc: Remove unused macro and channel check, and fix spacing. | iabdalkader | |
| The call to is_adcx_channel is redundant because the channel is already checked just before calling adc_init_single in adc_make_new. | |||
| 2019-10-15 | stm32/adc: Update ADC driver to work with the new H7 HAL. | iabdalkader | |
| Use NB_TO_CHANNEL to map decimal numbers to channel numbers. And use the correct rank to initialize channels (ADC_REGULAR_RANK_1). | |||
| 2019-10-15 | esp32: Convert to use FROZEN_MANIFEST to specify frozen code. | Damien George | |
| All symlinks are removed. boards/manifest.py is used as a default, and can optionally use boards/manifest_release.py for more scripts. | |||
| 2019-10-15 | qemu-arm: Convert to use FROZEN_MANIFEST to specify frozen code. | Damien George | |
| 2019-10-15 | stm32: Convert to use FROZEN_MANIFEST to specify frozen code. | Damien George | |
| All symlinks are removed, frozen files are now referenced via boards/manifest.py. | |||
| 2019-10-15 | esp8266: Convert to use FROZEN_MANIFEST to specify frozen code. | Damien George | |
| Removes symlinks in modules directory, all frozen code is now specified by manifest.py. | |||
| 2019-10-15 | unix: Convert to use FROZEN_MANIFEST to specify frozen code. | Damien George | |
| Removes symlinks in modules directory, all frozen code is now specified by manifest.py. | |||
| 2019-10-15 | tools: Add mechanism to provide a manifest of frozen files. | Damien George | |
| This introduces a new build variable FROZEN_MANIFEST which can be set to a manifest listing (written in Python) that describes the set of files to be frozen in to the firmware. | |||
| 2019-10-15 | tools/make-frozen.py: Allow to run with no directory passed in. | Damien George | |
| In which case it will just emit empty frozen C definitions. | |||
| 2019-10-15 | extmod/modbluetooth: In gap_advertise only accept None to stop adv. | Damien George | |
| To match the docs, and interval=0 may be used in the future to indicate something else. | |||
| 2019-10-15 | extmod/modbluetooth: Make gap_disconnect not raise when disconnected. | Jim Mussared | |
| Previously it raised OSError(MP_ENOTCONN) if the conn_handle was already disconnected. Now it returns True/False. | |||
| 2019-10-15 | docs/library/bluetooth.rst: Explain how to increase char buffer size. | Jim Mussared | |
| 2019-10-15 | esp32: Run NimBLE on the app core. | Jim Mussared | |
| This prevents issues with concurrent access to the ringbuf. MICROPY_BEGIN_ATOMIC_SECTION is only atomic to the same core. We could address this with a mutex, but it's also not safe to call mp_sched_schedule across cores. | |||
| 2019-10-15 | extmod/modbluetooth: Improve ringbuf handling. | Jim Mussared | |
| No need to share the irq_data buffer with addresses. Split them into two separate buffers and manage their max length independently. | |||
| 2019-10-15 | extmod/modbluetooth: Fix order of params to IRQ_GATTS_WRITE event. | Jim Mussared | |
| 2019-10-15 | docs/library/bluetooth.rst: Clarify gap_advertise adv_data behavior. | Jim Mussared | |
| Make it clear that the previous adv_data will be reused if it's not set. And some minor other improvements. | |||
| 2019-10-15 | extmod/modbluetooth: Clear gap_advertise payload when data is empty. | Jim Mussared | |
| Also fix default adv interval to 500ms. | |||
| 2019-10-15 | extmod/modbluetooth: Increase maximum connections from 1 to 4. | Jim Mussared | |
| This avoids a confusing ENOMEM raised from gap_advertise if there is currently an active connection. This refers to the static connection buffer pre-allocated by Nimble (nothing to do with MicroPython heap memory). | |||
| 2019-10-15 | travis: Use "make submodules" to init required modules for each port. | Damien George | |
| 2019-10-15 | ports: Add new make target "submodules" which inits required modules. | Damien George | |
| 2019-10-15 | minimal/frozentest.mpy: Recompile now that mpy format changed. | Damien George | |
| 2019-10-15 | py/persistentcode: Make .mpy more compact with qstr directly in prelude. | Damien George | |
| Instead of encoding 4 zero bytes as placeholders for the simple_name and source_file qstrs, and storing the qstrs after the bytecode, store the qstrs at the location of these 4 bytes. This saves 4 bytes per bytecode function stored in a .mpy file (for example lcd160cr.mpy drops by 232 bytes, 4x 58 functions). And resulting code size is slightly reduced on ports that use this feature. | |||
| 2019-10-15 | tests/run-perfbench.py: Skip complex tests if target doesn't enable it. | Damien George | |
| 2019-10-15 | tests/run-perfbench.py: Show error when truth check fails. | Jim Mussared | |
| 2019-10-15 | tests/perf_bench: Add bm_fft test. | Jim Mussared | |
| This is mostly a test of complex number performance. The FFT implementation is from Project Nayuki and is MIT licensed. | |||
