Martin Fischer
912e957512
docs/develop: Fix typos in C-module example for example_add_ints.
2019-03-13 12:54:01 +11:00
johnthagen
ea95bdc1ca
docs/pyboard: Make pyboard v1.1 pinout the default shown in quickref.
2019-03-13 12:37:35 +11:00
johnthagen
d390ad9053
docs/pyboard: Add link to pyboard v1.1 schematic and layout PDF.
2019-03-13 12:33:02 +11:00
Damien George
68a5d6fe77
extmod/modlwip: Fix case where concurrency lock isn't released on error.
2019-03-12 22:35:52 +11:00
Maureen Helm
493ee7df18
zephyr/prj_frdm_kw41z.conf: Add new board configuration.
...
Adds a new board configuration for the frdm_kw41z board, including support
for the fxos8700 accelerometer/magnetometer/die temperature sensor.
2019-03-12 17:12:13 +11:00
Maureen Helm
7748375b6e
zephyr/prj_frdm_k64f.conf: Add fxos8700 sensor.
...
Adds the fxos8700 accelerometer/magnetometer/die temperature sensor to the
frdm_k64f board configuration.
2019-03-12 17:12:00 +11:00
Paul Sokolovsky
6d82499a48
zephyr/Makefile: Proxy ram_report, rom_report targets from Zephyr.
2019-03-12 17:11:52 +11:00
Paul Sokolovsky
755b0b807b
zephyr/prj_minimal.conf: Switch to CONFIG_STDOUT_CONSOLE.
...
Prompted by code size analysis, after arduino_101 build overflowing ROM.
2019-03-12 17:11:46 +11:00
Paul Sokolovsky
21fc0c448e
zephyr/modzsensor: Rename "TEMP" sensor channel to "DIE_TEMP".
...
I.e. on-die temperature sensor. Upstream made more fine-grained channels
for different kinds of temperature.
2019-03-12 17:11:30 +11:00
Paul Sokolovsky
a42c1d9fd5
zephyr/modzephyr: Revamp stacks_analyze() call.
...
Underlying k_call_stacks_analyze() was gone in Zephyr, reimplement using
k_thread_foreach().
2019-03-12 17:11:09 +11:00
Damien George
297092a76a
esp32/mphalport: Use ets_delay_us for mp_hal_delay_us_fast.
...
The system provided one is in ROM and is more accurate.
2019-03-12 15:46:44 +11:00
Damien George
fcace26d87
esp32/Makefile: Add some missing IDF source files to bootloader and app.
...
Functions in these files may be needed when certain features are enabled
(eg dual core mode), even if the linker does not give a warning or error
about unresolved symbols.
2019-03-11 23:17:09 +11:00
Petr Kracík
41e7ad647e
esp32/modnetwork: Remove redundant esp_log include.
2019-03-08 23:36:07 +11:00
Petr Kracík
73c48b1b45
esp32/modnetwork: Implement RSSI for WiFi STA via WLAN.status('rssi').
2019-03-08 23:35:28 +11:00
Andrew Leech
5688c9ba09
stm32/usb: Allow to override USB strings & VID/PID in app and mboot.
...
The override #define's should go in the board's mpconfigboard.h file.
2019-03-08 23:29:15 +11:00
Andrew Leech
0c60cb1fc4
stm32/qspi: Set pin speed to very-high and allow to config some options.
...
The default speed of the QSPI interface is 72Mhz whereas the standard AF
pin speed (high) is only rated to 50Mhz, so increase speed to very-high.
2019-03-08 23:17:50 +11:00
Andrew Leech
2ed2ec1711
drivers/memory/spiflash: Rework wait_sr to fix uninit'd variable 'sr'.
2019-03-08 23:11:13 +11:00
Andrew Leech
89ff506513
py: Update and rework build system for including external C modules.
...
How to use this feature is documented in docs/develop/cmodules.rst.
2019-03-08 22:58:42 +11:00
Ayke van Laethem
2e516074da
py: Implement a module system for external, user C modules.
...
This system makes it a lot easier to include external libraries as static,
native modules in MicroPython. Simply pass USER_C_MODULES (like
FROZEN_MPY_DIR) as a make parameter.
2019-03-08 22:49:00 +11:00
Andrew Leech
cf22f4793c
py: Allow registration of modules at their definition.
...
During make, makemoduledefs.py parses the current builds c files for
MP_REGISTER_MODULE(module_name, obj_module, enabled_define)
These are used to generate a header with the required entries for
"mp_rom_map_elem_t mp_builtin_module_table[]" in py/objmodule.c
2019-03-08 22:46:43 +11:00
Damien George
e4ac104b7f
stm32: Allow to build with threading with the GIL disabled.
2019-03-08 22:29:54 +11:00
Damien George
1e23a29c8a
tests/import: Add test for importing x64 native code.
2019-03-08 17:20:17 +11:00
Damien George
c6a9bb23cd
unix/Makefile: Update coverage tests to match those in Travis.
2019-03-08 16:51:09 +11:00
Damien George
6e11d86318
tools/upip.py: Use "raise arg" instead of no-arg raise form, for native.
2019-03-08 16:51:09 +11:00
Damien George
2bcb240b55
travis: Enable test for running native code via mpy.
2019-03-08 16:51:09 +11:00