Kattni
968c57e045
Merge pull request #5829 from kattni/tft-feather-pin-fix
...
Fix typo, pin order.
2022-01-10 15:25:45 -05:00
Scott Shawcroft
838a007ca9
Merge pull request #5813 from EmergReanimator/code_improvements
...
Introduced ringbuf_init to perform static buffer initialisation
2022-01-10 12:12:25 -08:00
Kattni Rembor
4efbfca2b0
Fix typo, pin order.
2022-01-10 14:45:54 -05:00
stijn
b47b245c2e
windows/appveyor: Build mpy-cross only once for mingw-w64.
...
The main Makefile builds the mpy-cross executable automatically if
it doesn't exist since 78718fffb1
,
so build it first to make sure it doesn't get needlessly rebuilt.
2022-01-10 15:01:03 +01:00
0hotpotman0
86a482f520
add ble stack 7.3.0 version for complie the uf2 flie
2022-01-10 11:05:06 +08:00
Damien George
ff0227fa0d
esp32/boards/GENERIC_D2WD: Build with -Os optimisation.
...
This board has only 2MiB of flash so the build needs to be reduced in size
to fit. Commit 549448e8bb
made all boards
build with -O2 by default (for performance) so this overrides that default.
Signed-off-by: Damien George <damien@micropython.org>
2022-01-09 11:25:37 +11:00
Pontus Oldberg
e23b272595
Added missing LDO control pin (SARA_PWR)
2022-01-08 16:39:48 +01:00
Chris Wesseling
783106545c
Remove LED pin.
...
There's just the NEOPIXEL on this board, no other LED.
2022-01-07 23:25:50 +01:00
Chris Wesseling
d8f18d36a4
Initial Waveshare RP2040-Zero board definition
...
`board.NEOPIXEL` works. Once you have an LED cycling colours, you're 99%
done. :-)
2022-01-07 23:20:10 +01:00
Scott Shawcroft
bec36f5c7f
Add Pi Zero and update PIDs
2022-01-07 11:47:31 -08:00
Scott Shawcroft
39a239113f
Enable neopixel for status
2022-01-07 11:23:50 -08:00
Scott Shawcroft
3238d8364d
Piunora + full build + high speed usb
2022-01-07 11:23:50 -08:00
Scott Shawcroft
5f32d1f34b
Piunora pinout
2022-01-07 11:23:49 -08:00
Scott Shawcroft
fb6ab72392
Merge pull request #5816 from bd34n/bdmicro_vina_d51_led_aux
...
ports/atmel-samd/boards/bdmicro_vina_d51/pins.c: Add LED_AUX pin.
2022-01-07 10:47:32 -08:00
Dan Halbert
afd686986a
Merge pull request #5800 from tannewt/rpi_zero
...
Initial Pi Zero support
2022-01-07 09:05:30 -05:00
Damien George
1892d03740
mimxrt,stm32: Enable MICROPY_PY_USSL_FINALISER.
...
This is needed because these ports allocate mbedtls data on the MicroPython
heap, and SSL socket objects must be fully cleaned up when they are garbage
collected, to free this memory allocated by mbedtls. As part of this,
gc_sweep_all() will now ensure that the MP_STATE_PORT(mbedtls_memory)
linked-list is fully deallocated on soft reset.
Signed-off-by: Damien George <damien@micropython.org>
2022-01-08 00:02:04 +11:00
Damien George
df3f59ca4b
ports: Update board.json files to link to new board images.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-07 11:33:28 +11:00
Brian Dean
1fb4f02de2
ports/atmel-samd/boards/bdmicro_vina_d51/pins.c: Add LED_AUX pin.
2022-01-06 16:32:17 -05:00
Scott Shawcroft
fa272f5a70
Fix iMX and zero_w build extension
2022-01-06 10:24:02 -08:00
Scott Shawcroft
2a2f94df15
Update tinyusb for zero support
2022-01-06 08:52:33 -08:00
EmergReanimator
12046323a2
Fixed unit port build issue
2022-01-06 09:27:44 +01:00
Damien George
b96318ab61
esp32: Enable platform module with IDF version.
...
Output looks like this:
>>> import platform
>>> platform.libc_ver()
('newlib', '3.0.0')
>>> platform.platform()
'MicroPython-1.17.0-xtensa-IDFv4.2.2-with-newlib3.0.0'
>>> platform.python_compiler()
'GCC 8.4.0'
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 18:25:48 +11:00
Damien George
000b001fc1
rp2/boards/GARATRONIC_PYBSTICK26_RP2040: Use correct pico-sdk board cfg.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 16:50:20 +11:00
Damien George
4693cf9081
rp2/CMakeLists.txt: Allow a board to override PICO_BOARD.
...
Signed-off-by: Damien George <damien@micropython.org>
2022-01-06 16:49:57 +11:00
Maureen Helm
c6d26bc524
zephyr: Upgrade to Zephyr v2.7.0.
...
Updates the Zephyr port build instructions and CI to use the latest
Zephyr release tag.
Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-01-06 14:09:39 +11:00
Maureen Helm
0cf03bd3b1
zephyr: Use CONFIG_USB_DEVICE_STACK for conditional USB device support.
...
CONFIG_USB was removed in Zephyr v2.7.0 after some Kconfig rework that
made it sufficient to use CONFIG_USB_DEVICE_STACK only.
Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-01-06 14:09:39 +11:00
Maureen Helm
1e5df0982a
zephyr: Get UART console device from devicetree instead of Kconfig.
...
Updates the Zephyr port to get the UART console device from devicetree
instead of Kconfig. The Kconfig option CONFIG_UART_CONSOLE_ON_DEV_NAME
was removed in Zephyr v2.7.0.
Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-01-06 14:09:39 +11:00
Maureen Helm
080a9e906d
zephyr: Update include path to reboot.h.
...
The reboot header was moved to a different path in Zephyr v2.6.0. The
old path was deprecated for two releases (v2.6.0 and v2.7.0) and will no
longer be supported after Zephyr v2.7.0.
Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-01-06 14:09:39 +11:00
Maureen Helm
ddbbfbed75
zephyr: Increase minimum CMake version to 3.20.0.
...
As a prerequisite to upgrading to Zephyr v2.7.0, upgrade the minimum
CMake version required for the Zephyr port to 3.20.0.
Signed-off-by: Maureen Helm <maureen.helm@intel.com>
2022-01-06 14:09:39 +11:00
iabdalkader
908e4cf5c3
rp2: Add support for DHT11 and DHT22 sensors.
2022-01-06 14:00:03 +11:00
robert-hh
01d9b7adde
rp2/machine_pwm: Keep duty value when changing the frequency.
...
The duty is saved and set whenever the frequency is changed, unless the
duty rate was not set yet.
2022-01-06 13:52:45 +11:00
robert-hh
9e56e630ca
rp2/machine_pwm: Fix PWM frequency setting.
...
The top value was off by 1: in order to count n ticks it has to be set to
n-1.
Fixes issue #8122 .
2022-01-06 13:51:19 +11:00
iabdalkader
f4487a0049
rp2/boards/ARDUINO_NANO_RP2040_CONNECT: Set default I2C pins.
2022-01-06 13:35:20 +11:00
Simon Baatz
79ae7098ca
esp32/machine_bitstream: Fix signal duplication on output pins.
...
After changing the bitstream implementation to use the RMT driver in
commit 72d86158121e32bbabaeade08f449d507bf40f9a
("esp32/machine_bitstream.c: Replace with RMT-based driver."), using
multiple `Neopixel` instances shows signal duplication between the
instances (i.e. a `write()` on one instance is written to all instances).
On invocation, the rmt driver configures the GPIO matrix to route the
output signal to the respective GPIO pin. When called for a different
`NeoPixel` instance using a different pin, the new route is established,
but the old route still exists. Now, the RMT output signal is sent to both
pins.
Fix this by setting the standard GPIO output function for the current pin
after uninstalling the RMT driver.
Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
2022-01-06 13:21:37 +11:00
MikeTeachman
49d8ae3ecc
esp32/machine_i2s: Add support for ESP-IDF 4.4.
...
- Add default values for I2S features added in ESP-IDF 4.4.
- Add workaround for bug introduced in ESP-IDF 4.4
(https://github.com/espressif/esp-idf/issues/8121 ).
2022-01-06 13:10:38 +11:00
Scott Shawcroft
48d826b15d
Never reset SD card pins
2022-01-04 19:08:14 -08:00
Scott Shawcroft
38d2472683
Fix cache detection on 64 bit
2022-01-04 17:38:29 -08:00
Scott Shawcroft
f64fede735
Correct board name and fix USB with memory barrier
2022-01-04 16:11:40 -08:00
Scott Shawcroft
87f4205ec9
Fix Cortex-A MMU init
2022-01-04 12:29:48 -08:00
Scott Shawcroft
9a9893f3fc
Merge pull request #5798 from jerryneedell/jerryn_gpio
...
Broadcom: Set JTAG pins to Pull Down on initialization
2022-01-04 11:10:00 -08:00
Chris Boudacoff
802ef271b8
mimxrt/hal: Allow readSampleClkSrc to be configured by a board.
...
Via the MICROPY_HW_FLASH_DQS flag.
2022-01-04 15:42:12 +11:00
stijn
3f16719888
windows/appveyor: Build both standard and dev variants.
...
This makes sure changes from previous related commits actually work.
2022-01-04 15:07:45 +11:00
stijn
7955734aca
windows: Run tests via Makefile.
...
The application isn't necessarily called 'micropython' especially
not When using variants, i.e. the tests need to be ran using $(PROG).
2022-01-04 15:07:45 +11:00
Andrew Leech
05ed19e73e
windows: Add support for build variants to windows port.
...
Following the unix port.
Support for building variants with msvc was done by @stinos.
2022-01-04 15:06:26 +11:00
Dan Halbert
d166834e09
Merge pull request #5803 from dhalbert/countio-enhancements
...
countio: add selectable rise and fall detection, pulls
2021-12-31 23:45:59 -05:00
Dan Halbert
9d2a32d07e
countio: add selectable rise and fall detection, pulls
2021-12-31 16:34:58 -05:00
Scott Shawcroft
756b9f6dfa
Initial Pi Zero support
...
Both SD card and USB don't work. REPL works over UART.
Progress on #5631
2021-12-30 18:32:59 -08:00
jerryneedell
14815f6de7
fix typo in comment
2021-12-30 14:12:37 -05:00
jerryneedell
9dea49516e
update logic for JTAG pull downs
2021-12-30 14:09:43 -05:00
jerryneedell
fc97f1d940
Merge branch 'adafruit:main' into jerryn_gpio
2021-12-30 13:02:08 -05:00
microDev
4daa7b5180
update espressif port
...
- enable rgbmatrix for all esp soc
- bump idf to latest commit on v4.4 branch
2021-12-30 19:23:41 +05:30
Damien George
a29c70c9b4
esp8266: Allow building a board to any dest directory.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-12-30 15:47:49 +11:00
iabdalkader
8af9dbbde1
stm32/network_wiznet5k: Fix build error with wiznet5k and lwip enabled.
...
Commit 4dba04a50f
refactored the network code
but the combination of MICROPY_PY_WIZNET5K=5500 and MICROPY_PY_LWIP=1
broke.
2021-12-30 11:54:19 +11:00
jerryneedell
7cdffba09f
Merge remote-tracking branch 'upstream/main' into jerryn_gpio
2021-12-29 12:58:41 -05:00
Damien George
aac5a97d08
ports: Move '.frozen' to second entry in sys.path.
...
In commit 86ce442607
the '.frozen' entry was
added at the start of sys.path, to allow control over when frozen modules
are searched during import, and retain existing behaviour whereby frozen
was searched before the filesystem.
But Python semantics of sys.path require sys.path[0] to be the directory of
the currently executing script, or ''.
This commit moves the '.frozen' entry to second place in sys.path, so
sys.path[0] retains its correct value (described above).
Signed-off-by: Damien George <damien@micropython.org>
2021-12-29 23:55:36 +11:00
Dan Halbert
8aafc734a4
Merge pull request #5789 from adafruit/7.1.x
...
Merge latest changes from 7.1.x
2021-12-28 18:12:29 -05:00
Scott Shawcroft
08d09ac493
Merge pull request #5613 from jepler/issue5418
...
clear out interrupt when freeing the timer
2021-12-28 10:57:58 -08:00
Dan Halbert
3bc48802b1
Merge pull request #5783 from jepler/longint-config
...
Centralize LONGINT_IMPL handling
2021-12-28 12:55:26 -05:00
jerryneedell
ed3ddea2da
set pulldown for broadcom jtag pins
2021-12-28 11:26:47 -05:00
Jeff Epler
1986d2ee71
clear out interrupt flags when disabling timer too
2021-12-27 16:42:41 -06:00
Jeff Epler
ea638c0401
Merge pull request #5753 from 0hotpotman0/main
...
Add new board Seeed_XIAO_nRF52840
2021-12-27 15:41:14 -07:00
Jeff Epler
9cf2baf68e
remove unneeded LONGINT_IMPL logic
2021-12-27 16:39:33 -06:00
Jeff Epler
34e8bfd09e
explicitly use mpz long ints on this board
2021-12-27 16:39:04 -06:00
Jeff Epler
f5fa4ae237
Merge pull request #5764 from dannystaple/patch-1
...
Fix RST formatting for readthedocs
2021-12-27 09:41:46 -07:00
Jeff Epler
1d13c4ccd1
Centralize LONGINT_IMPL handling
...
This closes #5782
2021-12-27 10:21:47 -06:00
Jeff Epler
3dcebf1085
Merge pull request #5774 from RetiredWizard/Broadcom-long-integer-enable
...
Add enable long integer flags to Broadcom
2021-12-27 06:35:10 -07:00
0hotpotman0
0f5b20c650
Correct pin name
2021-12-27 13:45:39 +08:00
0hotpotman0
9810f0f824
Correct the pin LED
2021-12-27 09:24:33 +08:00
Dan Halbert
ab9cef736c
Merge pull request #5779 from dhalbert/feather-esp32-s2-turn-on-i2c-power-by-default
...
Feather ESP32-S2: turn on I2C power after reset
2021-12-24 18:21:16 -05:00
Dan Halbert
cf70a9ca61
Turn on I2C power for each VM, instead of just after hard reset
2021-12-24 16:27:17 -05:00
Dan Halbert
889b25d792
put I2C_POWER_INVERTED alias before D7, for prettypins
2021-12-24 11:49:58 -05:00
Dan Halbert
cf349af35e
turn on I2C power after reset
2021-12-24 11:45:07 -05:00
Dan Halbert
b9f7fd663b
shrink CPX crickit build
2021-12-24 08:57:27 -05:00
0hotpotman0
0cbbfadad9
Correct the pin name and add the monitor battry function
2021-12-24 18:51:26 +08:00
Pierre Constantineau
e86810fce2
updating UF2_FAMILY_ID for nrf52833
2021-12-23 16:32:00 -06:00
RetiredWizard
4683619bb0
Add long integer flags to enable
...
Code stolen from raspberrypi port
2021-12-23 14:29:25 -05:00
Scott Shawcroft
605753cd7d
Merge pull request #5771 from hathach/s3-familyid
...
use family id for s2 and s3 depending on IDF_TARGET
2021-12-23 11:08:41 -08:00
Dan Halbert
35f0330d16
Merge pull request #5773 from dhalbert/update-frozen-libraries-2021-12-23-7.1.x
...
Update frozen libraries in preparation for 7.1.0-rc.0
2021-12-23 14:00:31 -05:00
Dan Halbert
325c2161e9
shrink CPX crickit build
2021-12-23 12:24:16 -05:00
Jeff Epler
900ec91fa6
Merge pull request #5761 from adafruit/7.1.x
...
Bring 7.1.x changes into main - cascadetoml undo + alarm fixes
2021-12-23 06:30:05 -07:00
hathach
53869d71fd
use family id for s2 and s3 depending on IDF_TARGET
2021-12-23 14:53:00 +07:00
Jeff Epler
c1236fb4d6
Merge pull request #5766 from tannewt/rp2040_sideset_enable
...
Add sideset_enable support to PIO
2021-12-22 20:17:33 -07:00
Scott Shawcroft
827ad327a5
Only ignore warnings if in gcc >= 11
2021-12-22 18:21:18 -08:00
Scott Shawcroft
674c845fb6
Merge pull request #5760 from jepler/rename_under_typing
...
circuitpython_stubs: Use `circuitpython_typing` for cp-specific typing
2021-12-22 14:05:04 -08:00
Scott Shawcroft
3e13d4f5b5
Add sideset_enable support to PIO
...
This allows for UART TX via PIO
2021-12-22 12:00:19 -08:00
Jeff Epler
166793f843
circuitpython_stubs: Use `circuitpython_typing` for cp-specific typing
...
Installing stubs for a module named `_typing` seems like a dubious
decision.
2021-12-22 11:14:21 -06:00
Danny Staple
174a2cbf25
Fix RST formatting for readthedocs
...
And also a typo/grammar thing.
2021-12-22 17:03:58 +00:00
Dan Halbert
3bb9a4439d
Fix recording of wake_alarm
2021-12-21 21:48:36 -05:00
Jim Mussared
599b61c086
esp32/machine_bitstream: Replace bit-bang code with RMT-based driver.
...
This aims to solve glitching issues on long neopixel strips.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-22 12:04:13 +11:00
Scott Shawcroft
03a80e429b
Add new line for pre-commit
2021-12-21 16:21:10 -08:00
IhorNehrutsa
09fe80d091
esp32/machine_pwm: Keep duty constant when changing frequency.
...
Save and restore the same duty cycle when the frequency (or frequency
resolution) is changed. This allows a smooth frequency change.
Also update the esp32 PWM quickref to be clearer.
2021-12-22 00:05:58 +11:00
IhorNehrutsa
4189c64869
esp32/modnetwork: Synchronize WiFi AUTH_xxx constants with IDF values.
2021-12-21 23:56:23 +11:00
0hotpotman0
745003751c
Add new board Seeed_XIAO_nRF52840
2021-12-21 19:08:11 +08:00
Damien George
05bea70979
esp8266/etshal.h: Remove unneeded function declarations.
...
These removed ones are either unused by MicroPython or provided by osapi.h
in the SDK. In particular ets_delay_us() has different signatures for
different versions of the SDK, so best to let it provide the declaration.
Fixes issue #8095 .
Signed-off-by: Damien George <damien@micropython.org>
2021-12-21 14:37:16 +11:00
Scott Shawcroft
bd207e4ef9
Merge pull request #5735 from tannewt/kb2040_clk_pin
...
Add alternative clock pin name to match silkscreen
2021-12-20 12:37:10 -08:00
Scott Shawcroft
1ec3e023d7
Merge pull request #5744 from jepler/update-protomatter
...
Update protomatter & re-enable rgbmatrix on esp32s2
2021-12-20 12:34:02 -08:00
Matt Trentini
f2b5c99fde
stm32/boards/OLIMEX_H407: Fix typo in OLIMEX H407 board.json.
...
Appears incorrectly as E407 in the download manager.
2021-12-20 12:32:46 +11:00
iabdalkader
bedd9c5463
stm32/boards/make-pins.py: Generate empty ADC table if needed.
...
If ADCx pins are hidden, print an empty table to prevent linker errors.
2021-12-20 09:41:46 +11:00
iabdalkader
1dc532019b
stm32/qspi: Fix typo in address comment.
2021-12-19 17:48:00 +11:00
iabdalkader
f9e5b0d93d
stm32/factoryreset: Init vfs flags before calling pyb_flash_init_vfs.
...
The vfs flags could have any random value from stack. This bug was
introduced back in 7723dac337
2021-12-19 17:42:15 +11:00
Jeff Epler
7f189b3e30
Merge pull request #5747 from adafruit/7.1.x
...
Merge 7.1.x fixes and updates into main
2021-12-17 20:44:43 -07:00
Jeff Epler
60c2018262
Update protomatter & re-enable rgbmatrix on esp32s2
...
.. not enabled on s3 & c3 as I did not test there.
2021-12-17 12:04:39 -06:00
lady ada
654414e57e
fix colororder
2021-12-17 10:41:06 -05:00
lady ada
26c2acae12
nuudge
2021-12-17 09:47:44 -05:00
lady ada
8e540a1738
fix final qtpys2 and s2tft feather pinouts
2021-12-17 09:47:44 -05:00
lady ada
1c1559f5af
fix colororder
2021-12-17 09:41:44 -05:00
Damien George
de43b500bd
py/runtime: Allow initialising sys.path/argv with defaults.
...
If MICROPY_PY_SYS_PATH_ARGV_DEFAULTS is enabled (which it is by default)
then sys.path and sys.argv will be initialised and populated with default
values. This keeps all bare-metal ports aligned.
Signed-off-by: Damien George <damien@micropython.org>
2021-12-18 00:08:07 +11:00
Jim Mussared
86ce442607
ports: Add '.frozen' as the first entry in sys.path.
...
Frozen modules will be searched preferentially, but gives the user the
ability to override this behavior.
This matches the previous behavior where "" was implicitly the frozen
search path, but the frozen list was checked before the filesystem.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-18 00:08:07 +11:00
Jim Mussared
92353c2911
all: Remove support for FROZEN_DIR and FROZEN_MPY_DIR.
...
These have been deprecated for over two years in favour of FROZEN_MANIFEST
and manifest.py.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-17 23:54:05 +11:00
Jim Mussared
f241db7efe
teensy: Switch to use manifest.py instead of FROZEN_DIR.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-17 23:54:05 +11:00
Jim Mussared
cc23e99f32
py/modio: Remove io.resource_stream function.
...
This feature is not enabled on any port, it's not in CPython's io module,
and functionality is better suited to the micropython-lib implementation of
pkg_resources.
2021-12-17 23:53:44 +11:00
lady ada
c088090319
nuudge
2021-12-17 01:17:35 -05:00
lady ada
12e72ef406
fix final qtpys2 and s2tft feather pinouts
2021-12-17 00:24:19 -05:00
Scott Shawcroft
3f50453dd0
Merge pull request #5727 from tannewt/rpi_neopixel
...
Add neopixel support on PWM capable pins
2021-12-16 11:44:02 -08:00
Scott Shawcroft
7c2e7bfeaa
Add alternative clock pin name to match silkscreen
2021-12-15 14:41:42 -08:00
Scott Shawcroft
5e4cb4f1e2
Yes, index is unused. That's ok.
2021-12-15 13:46:31 -08:00
Scott Shawcroft
190aee551e
Merge pull request #5699 from jpconstantineau/board-pykey87
...
Add support for PyKey family of keyboards
2021-12-15 10:59:55 -08:00
Scott Shawcroft
d50079c4ca
Merge pull request #5716 from timhawes/ssl_improvements
...
SSL improvements
2021-12-15 10:52:48 -08:00
Tomas Vanek
9aa151e3f3
esp32/boards: Remove SPI pin defaults from GENERIC S2/S3 boards.
...
Default SPI pins are now correctly assigned by machine_hw_spi.c even for S2
and S3. mpconfigboard.h files define defaults with flipped SPI(1) and
SPI(2) to workaround a bug in machine_hw_spi.c - the bug is fixed.
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
2021-12-15 15:53:17 +11:00
Tomas Vanek
e761152d72
esp32/machine_hw_spi: Set proper default SPI(id=2) pins on S2 and S3.
...
Use IO_MUX pins as defined by ESP IDF in soc/esp32/include/soc/spi_pins.h
ESP32S2 and S3 don't have IO_MUX pins for SPI3, GPIO matrix is always used.
Choose suitable defaults for S2 and S3.
ESP32C3 does not have SPI3 at all. Don't define pin mappings for it.
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
2021-12-15 15:53:17 +11:00
Tomas Vanek
d08886558b
esp32/machine_hw_spi: Set proper default SPI(id=1) pins on S2,S3 and C3.
...
Use IO_MUX pins as defined by ESP IDF in soc/esp32*/include/soc/spi_pins.h
Alternatively use now deprecated HSPI_IOMUX_PIN_NUM_xxx
(or FSPI_IOMUX_PIN_NUM_xxx for ESP32S2) for compatibility with IDF 4.2
and older.
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
2021-12-15 15:50:27 +11:00
Tomas Vanek
3305ec44a2
esp32/machine_hw_spi: Fix SPI default pins reordering on ESP32-S2/S3.
...
The index of machine_hw_spi_obj and machine_hw_spi_default_pins arrays is
assigned to 0 for ARG_id==HSPI_HOST and 1 for another SPI. On ESP32S2 and
S3 HSPI_HOST=2 so the first set (idx=0) of default pins is used for
SPI(id=2) aka HSPI/SPI3 and the second set (idx=1) for SPI(id=1) aka
FSPI/SPI2. This makes a misleading mess in MICROPY_HW_SPIxxxx definitions
and it is also in contradiction to the comments around the definitions.
Change the test of ARG_id to fix the order of machine_hw_spi_default_pins.
This change might require adjusting MICROPY_HW_SPIxxxx definitions in
mpconfigboard.h of S2/S3 based boards.
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
2021-12-15 15:49:23 +11:00
Tomas Vanek
f9733705a9
esp32/machine_pin: Make GPIO 26 usable for S2,S3 if SPIRAM not config'd.
...
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
2021-12-15 15:48:46 +11:00
Pierre Constantineau
f3ec6ee760
tested hardware and cleaned-up commented out pin defs
2021-12-14 21:46:04 -06:00
Asura
7b2980ead2
fix missing pintout.
...
fix missing pintout p20 & p21 for makerdiary_nrf52840_mdk_usb_dongle.
2021-12-15 09:57:26 +08:00
Scott Shawcroft
2693e2ce0a
Add neopixel support on PWM capable pins
...
It'll be hard to do PWM from them concurrently
Fixes #5697
2021-12-14 16:59:53 -08:00
Tim Hawes
54e87d3660
Apply suggestions from code review
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-12-14 20:03:44 +00:00
robert-hh
5ca56aaf16
mimxrt: Tidy up the board flash related files.
...
- Move the qspi_xxxx_flash_config.c files to hal.
It turned out that they are less board than flash type specific.
- Change to a common flexspi_flash_config.h header file.
2021-12-14 20:31:20 +01:00
Pierre Constantineau
162e253949
finalizing pin assignments prior to final hardware test
2021-12-14 09:45:39 -06:00
robert-hh
c5dbbf71c0
mimxrt: Use -Og instead of -O0 for DEBUG builds.
...
Thanks for the hint, Damien. The DEBUG build got very large recently.
The major difference is, that inline function are now inlined and
not included as a function. That's good and maybe bad. The good thing is,
that the code speed si now close to the final code. It could be worse
in single step debugging. I'll see.
Setting this option caused a new warning and a formatting error
to pop up at different places. Fixed as well.
2021-12-14 08:07:52 +01:00
robert-hh
64aa0bcb88
mimxrt: Enable ticks_cpu at boot time for NDEBUG builds only.
...
Otherwise, it get's in trouble with a Debugger. Reason to be found.
Also: Increase code segment to 2 MB for the MIMXRT1050_EVK build.
2021-12-14 08:07:52 +01:00
robert-hh
74e8db0ed1
mimxrt: Refactor the reading of the machine id.
...
The ID is read in a single function and used for:
- machine.unique_id()
- Ethernet MAC addresses.
- ...
That facilitates use of other MCU using a different access method for
the ID (e.g. i.MX RT1176).
2021-12-14 08:07:52 +01:00
robert-hh
1e9eaa7af5
mimxrt: Add a driver for the DP83848 PHY device.
...
Just another choice for the PHY interface.
Added: Keyword option phy_clock=LAN.IN or LAN.OUT
to define the source of the 50MHZ clock for the PHY
interface. The RMII clock is not enabled if it
is generated by a PYH board. Constants:
LAN.IN The clock is provided by the PHY board.
LAN.OUT The clock is provided by the MCU board.
The default is LAN.OUT or the value set in mpconfigboard.h, which
is currently set to IN only for the SEEED ARCH MIX board. Usage etc:
lan = LAN(phy_type=LAN.PHY_DP83848, phy_clock=LAN.IN)
2021-12-14 08:07:52 +01:00
robert-hh
5d8941ec85
mimxrt: Fix a tiny unnoticed bug in sdcard.c.
...
This code line will hardly ever be compiled and executed, but since
it is there, it must be correct.
2021-12-14 08:07:52 +01:00
robert-hh
ea09dccfea
mimxrt: Re-Enable eth checksum creation by HW.
...
The initial problem with a wrong ICMP checksum was caused by
the test code setting a checksum and the HW taking that probably as
the start value and ending up with 0xffff. With a checksum field of 0
set by the test code the HW creates the proper checksum.
2021-12-14 08:07:52 +01:00
robert-hh
bbe25f4704
mimxrt: Support selection of PHY type and address.
...
Useful for boards without a PHY interface, where that has to be
attached. Like the Seed ARCH MIX board or Vision SOM. Phy drivers
supported so far are:
- KSZ8081
- DP83825
- LAN8720
More to come. Usage e.g.:
lan = LAN(phy_type=LAN.PHY_LAN8720, phy_addr=1)
The default values are those set in mpconfigboard.h.
2021-12-14 08:07:52 +01:00
robert-hh
bc1b0fd2c1
mimxrt: Define UART 0 on MIMXRT boards.
...
UART 0 is attached to the Debug USB port. The settings are
115200 Baud, 8N1.
For MIMXRT1010_EVK this is identical to UART1. For the other boards,
this is an additional UART.
2021-12-14 08:07:52 +01:00
iabdalkader
f21c565583
rp2/machine_uart: Handle and clear UART RX timeout IRQ.
...
The pico-sdk 1.3.0 update in 97a7cc243b
introduced a change that broke RP2 Bluetooth UART, and possibly UART in
general, which stops working right after UART is initialized. The commit
raspberrypi/pico-sdk@2622e9b enables the UART receive timeout (RTIM) IRQ,
which is asserted when the receive FIFO is not empty, and no more
characters are received for a period of time.
This commit makes sure the RTIM IRQ is handled and cleared in
uart_service_interrupt.
2021-12-14 14:59:39 +11:00
Damien George
5adb1fa40e
esp32,esp8266: Extract qstr from object when comparing keys in config().
...
Following on from a previous fix for the same problem made in
3a431fba50
.
Fixes issue #8052 .
Signed-off-by: Damien George <damien@micropython.org>
2021-12-14 14:27:13 +11:00
Tim Hawes
c325633f8e
Add methods to ssl.SSLContext for handling self-signed certs
2021-12-14 01:00:50 +00:00
Tim Hawes
ef414bf1bd
Handle server_hostname argument in espressif SSLContext.wrap_socket
2021-12-14 01:00:50 +00:00
Damien George
6995cf03dd
stm32/sdcard: Add config option to force MM card capacity.
...
The current ST HAL does not support reading the extended CSD so cannot
correctly detect the capacity of high-capacity cards. As a workaround, the
capacity can be forced via the MICROPY_HW_MMCARD_LOG_BLOCK_NBR config
option.
Signed-off-by: Damien George <damien@micropython.org>
2021-12-14 10:48:01 +11:00
Damien George
b26704aac5
stm32/sdcard: Support 8-bit wide SDIO bus.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-12-14 10:48:01 +11:00
Damien George
9a1ab2286d
stm32/main: Call sdcard_init when only MICROPY_HW_ENABLE_MMCARD enabled.
...
Otherwise, if MMCARD is enabled and not SDCARD, then the GPIO will not be
configured for SDIO.
Signed-off-by: Damien George <damien@micropython.org>
2021-12-14 10:48:01 +11:00
Damien George
88ac5a3116
stm32: Update L4 code to build with latest stm32lib and L4 HAL 1.17.0.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-12-14 10:48:01 +11:00
Scott Shawcroft
7fea970379
Merge pull request #5597 from NathanY3G/add-board-sparkfun-thing-plus-stm32
...
Add board definition for SparkFun Thing Plus - STM32
2021-12-13 14:58:04 -08:00
Pierre Constantineau
9119a32a5d
fixed row0 and added encoder pins
2021-12-13 13:31:00 -06:00
Tim Hawes
a3c8760d41
Fix to error checking in espressif SSLSocket
2021-12-13 17:55:43 +00:00
Nathan Young
ffd41cf2b7
Updated USB product name to remove duplication
...
Output from lsusb now reads: SparkFun Electronics Thing Plus - STM32
2021-12-13 18:01:07 +01:00
Nathan Young
463d94475b
Use correct PID for SparkFun Thing Plus - STM32
...
This value was kindly provided by brhoff720.
2021-12-13 17:37:02 +01:00
Dan Halbert
bbe30514ef
Fix other INTENCLR and INTENSET to write whole reg
2021-12-12 22:25:44 -05:00
Dan Halbert
c06eee9841
Clear TAMPER interrupt properly; make keypad module table const
2021-12-12 22:00:08 -05:00
microDev
5939c11406
add secondary i2c singleton on adafruit_qtpy_rp2040
2021-12-11 23:14:22 +05:30
microDev
b6858e4ca7
allow multiple board buses
...
Co-authored-by: Neradoc <neraOnGit@ri1.fr>
2021-12-11 23:07:21 +05:30
Pierre Constantineau
86ddecfd4f
merge main and resolve conflict
2021-12-10 16:57:50 -06:00
Pierre Constantineau
dac71e684d
moved aliased boards down to actual builds
2021-12-10 16:34:06 -06:00
Damien George
0892ebe091
stm32/boards: Enable MICROPY_HW_ENABLE_SERVO on various boards.
...
Fixes issue #8059 .
Signed-off-by: Damien George <damien@micropython.org>
2021-12-10 23:19:20 +11:00
Damien George
5fc55999b2
stm32/boards: Remove unused MICROPY_HW_ENABLE_TIMER config.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-12-10 23:19:00 +11:00
Damien George
10c6f03cbe
stm32/boards: Remove stray '+' characters at start of lines in ld files.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-12-10 23:15:25 +11:00
Pierre Constantineau
a043f65352
adding Pykey family of boards
2021-12-09 23:25:48 -06:00
Scott Shawcroft
8c480832a7
Add generic CM4 board and update PIDs
2021-12-09 17:30:32 -08:00
Scott Shawcroft
6626319338
Add SPI support
...
It uses both SPI and AUX SPI peripherals
2021-12-09 17:30:03 -08:00
Michael Himing
d72311f76a
Update xiao rp2040 pins
2021-12-10 09:39:31 +11:00
Scott Shawcroft
5ea4082a18
Merge pull request #5664 from jpconstantineau/bluemicro833
...
Add Bluemicro833 as new nRF52833 board
2021-12-09 10:27:41 -08:00
Dan Halbert
3bdf2a5cde
Merge pull request #5691 from jepler/esp32s3-pids
...
Fix PIDs to match official espressif list
2021-12-09 09:08:35 -05:00
Damien George
c613f5bb49
stm32/boards/LEGO_HUB_NO6: Set filesystem label as HUB_NO6.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-12-09 16:51:35 +11:00
Jim Mussared
92f54fe8d9
stm32/boards/NUCLEO_WB55: Fix LED ordering.
...
These were commented correctly by their colour, but in the wrong order with
respect to the PCB silkscreen.
Fixes issue #8054 .
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-09 14:03:35 +11:00
Jeff Epler
937e0740f4
Fix PIDs to match official espressif list
...
See the slightly deceptively titled
* https://github.com/espressif/usb-pids/pull/29
2021-12-08 20:27:34 -06:00
Damien George
9ffb1ad2f8
unix/Makefile: Use -Og instead of -O0 for debug builds.
...
For the coverage build this reduces the binary size to about 1/4 of its
size, and seems to help gcov/lcov coverage analysis so that it doesn't miss
lines.
Signed-off-by: Damien George <damien@micropython.org>
2021-12-09 12:53:09 +11:00
Damien George
71168ec55c
unix/coverage: Change remaining printf to mp_printf.
...
For consistency with all other prints in this file, so that the ordering
of output is correct.
Signed-off-by: Damien George <damien@micropython.org>
2021-12-09 12:38:50 +11:00
Jim Mussared
3770fab334
all: Update Python formatting to latest Black version 21.12b0.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-12-09 12:09:40 +11:00
Pierre Constantineau
7137f1b1c0
added never_reset to board_init
2021-12-08 17:29:53 -06:00
Pierre Constantineau
448a96ce1b
added CIRCUITPY_IS31FL3741 = 0
2021-12-08 17:22:54 -06:00
Pierre Constantineau
53f4137d6f
updated pin defs
2021-12-08 17:21:13 -06:00
Pierre Constantineau
4cad5beb90
minor udate to USB desc
2021-12-08 17:17:56 -06:00
Pierre Constantineau
e946dcffff
initial BlueMicro8333 Files
2021-12-08 17:17:56 -06:00
Scott Shawcroft
b12d2063d0
Merge remote-tracking branch 'adafruit/7.1.x' into merge_7.1
2021-12-08 10:50:22 -08:00
Scott Shawcroft
3c8a05ebbf
Merge pull request #5673 from CytronTechnologies/add-maker-nano-rp2040-7.1.x
...
Add new board Maker Nano RP2040 to branch 7.1.x.
2021-12-08 10:33:57 -08:00
Scott Shawcroft
bf08f62d37
Merge pull request #5683 from dhalbert/restore-bleio-hci-background
...
restore BLEIO HCI background task
2021-12-08 10:31:42 -08:00
Dan Halbert
7bcfbe30bf
shrink some boards
2021-12-08 11:57:15 -05:00
ZodiusInfuser
3ea1619816
Merge branch 'adafruit:main' into tiny2mb
2021-12-08 16:51:47 +00:00
ZodiusInfuser
201fae8342
Added final USB PID
2021-12-08 16:48:32 +00:00
Scott Shawcroft
574039391e
Merge pull request #5665 from dhalbert/frequencyio-fix
...
add a frequencyin_reset() for VM restart
2021-12-07 13:44:06 -08:00
Scott Shawcroft
ab4f789e9a
Fix Pi Zero 2 W build
2021-12-07 13:29:46 -08:00
Dan Halbert
e0e3224253
forgot a check for BOARD_HAS_CRYSTAL
2021-12-07 15:42:31 -05:00
Dan Halbert
7e21344cf0
fix FrequencyIn for crystalless boards and simplify clock logic
2021-12-07 13:12:24 -05:00
Scott Shawcroft
92a4261ad5
Full UART support for RPI
...
This adds PL011 UART support which is more plentiful.
It also:
* Fixes PI4 build by including .dtb files on the SD card.
* Enables the activity LED as the status LED on PI4 and CM4 I/O.
* Adds that LED as board.LED.
Fixes #5650 and progress on #5629
2021-12-06 18:36:14 -08:00
Scott Shawcroft
121b22b0c5
Merge pull request #5666 from skerr92/add-odt-castaway2040
...
Add odt castaway2040
2021-12-06 14:44:33 -08:00
Scott Shawcroft
e8e5ea7c2f
Merge pull request #5674 from jepler/esp32s3-box-display
...
esp32s3-box: enable display
2021-12-06 14:06:02 -08:00
Scott Shawcroft
8d406e006b
Merge pull request #5670 from dhalbert/fix-blacken-update-formatting-issues-7.1.x
...
minor .py changes due to blacken update - 7.1.x
2021-12-06 13:22:19 -08:00
Scott Shawcroft
309faee334
Merge pull request #5519 from jpconstantineau/seeduino-xiao-rp2040
...
Add New Board - Seeeduino XIAO RP2040
2021-12-06 13:08:22 -08:00
Jeff Epler
40d947cee3
Merge pull request #5655 from jepler/esp32s3-devkitc
...
Espressif: Add Esp32s3 devkitc board definitions
2021-12-06 12:47:04 -06:00
Jeff Epler
1b5e98e2fa
esp32s3 box: add display
2021-12-06 10:08:44 -06:00
Jeff Epler
b722a2bca1
espressif: pwmout: get rid of not_first_reset special case
2021-12-06 10:08:44 -06:00
Jeff Epler
fae6d47a45
espressif: keep never_reset_pins marked as in use
2021-12-06 10:08:44 -06:00
Kong Wai Weng
ee1987d34b
Added Maker Nano RP2040 to branch 7.1.x.
2021-12-06 23:12:53 +08:00
Dan Halbert
c43e0bd2db
uncrustify fixes
2021-12-06 09:54:15 -05:00
Kong Wai Weng
7ee825370e
Use 4x space instead of tab.
2021-12-06 17:28:45 +08:00
Kong Wai Weng
bde65d0f28
Added Maker Nano RP2040
2021-12-06 17:26:00 +08:00
MicroDev
7df172ba19
Merge pull request #5660 from jepler/esp32s3-spi
...
espressif: busio.SPI: Use SPI_DMA_CH_AUTO
2021-12-06 10:24:51 +05:30
Dan Halbert
5fe4c3bec9
fix mistaken use of PWM channel for slice
2021-12-05 21:16:46 -05:00
Seth Kerr
1a1f015895
fixing files changed by precommit
2021-12-05 15:09:56 -07:00
Dan Halbert
92bb909bf0
add a frequencyin_reset() for VM restart
2021-12-05 17:06:42 -05:00
Seth Kerr
db6e58dc2d
run precommit locally and passed
2021-12-05 15:02:18 -07:00
Seth Kerr
e352048db9
Add ODT Cast-Away RP2040
2021-12-05 14:49:48 -07:00
Dan Halbert
4de6c7cf6f
Merge pull request #5656 from dhalbert/rp2040-i2c-zero-write-bitbang-timeout
...
Use a longer clock stretching timeout for RP2040 zero-byte I2C writes
2021-12-04 19:40:48 -05:00
Jeff Epler
2ad877a907
Fix VID/PID of esp32-box
2021-12-04 14:58:48 -06:00
foamyguy
fa37ee6484
limit disable interrupts to flash calls
2021-12-04 14:14:23 -06:00
foamyguy
5e7c1328b0
disable interrupts inside of write_page and erase_write_sector
2021-12-04 12:21:51 -06:00
foamyguy
f49271b472
disable interrupts inside of ports raspberrypi common hal
2021-12-04 11:34:49 -06:00
Jeff Epler
e2abb0e059
devkitc: update vid/pid in anticipation of allocation from espressif
2021-12-04 10:19:19 -06:00
Jeff Epler
bc7f024545
espressif: Add esp32s3_box
...
This module has 16MB flash, 8MB PSRAM, as well as a display & speakers.
2021-12-04 09:14:57 -06:00
Jeff Epler
1207bfced9
espressif: Use detected size of spiram
2021-12-04 09:14:22 -06:00
Jeff Epler
1a99ce5eb3
espressif: busio.SPI: Use SPI_DMA_CH_AUTO
...
All 3 micros we care about (S2, S3, C3) state in the documentation
that DMA channel can be specified as SPI_DMA_CH_AUTO.
Specifying a specific DMA channel explicitly doesn't _ever_ work on
ESP32-S3, so no SPI bus could be used.
Testing performed: On the ESP32-S3-DevKitC, used neopixel_spi to
turn the onboard neopixel red, green, and blue
2021-12-04 09:12:38 -06:00
Dan Halbert
80abd2d645
Use a longer clock stretching timeout for RP2040 zero-byte I2C writes
2021-12-03 18:19:13 -05:00
Jeff Epler
23e0a25aa2
add nopsram version of the devkit C
2021-12-03 15:20:11 -06:00
Jeff Epler
659babc620
Add the esp32s3 devkitc (psram variant)
2021-12-03 15:09:59 -06:00
Dan Halbert
f594ab2e67
Merge pull request #5615 from microDev1/espressif
...
Update espressif port
2021-12-03 14:55:05 -05:00
Kattni Rembor
3b6011d551
Update pin order to match silk.
2021-12-03 11:40:40 -05:00
microDev
9e286432d2
add esp32s3 documentation in readme
2021-12-03 21:20:55 +05:30
IhorNehrutsa
b491967bbd
esp32/machine_pwm: Implement duty_u16() and duty_ns() PWM methods.
...
The methods duty_u16() and duty_ns() are implemented to match the existing
docs. The duty will remain the same when the frequency is changed.
Standard ESP32 as well as S2, S3 and C3 are supported.
Thanks to @kdschlosser for the fix for rounding in resolution calculation.
Documentation is updated and examples expanded for esp32, including the
quickref and tutorial. Additional notes are added to the machine.PWM docs
regarding limitations of hardware PWM.
2021-12-03 23:58:52 +11:00
Scott Shawcroft
543e4d8c4d
Merge pull request #5648 from tannewt/rpi_pin_mux
...
Add full pin mux info and use it for I2C
2021-12-02 10:46:46 -08:00
Scott Shawcroft
8adb0ecd33
Fix loop bounds
2021-12-02 10:28:26 -08:00
ZodiusInfuser
0e56c5aa8a
Added definitions for 2MB Tiny2040
2021-12-02 16:45:43 +00:00
microDev
69faaa52b8
run test for traceback module
2021-12-02 14:55:02 +05:30
Scott Shawcroft
2433c9572c
Add full pin mux info and use it for I2C
...
All I2C peripherals should be usable now. This also adds pin
in-use tracking and resetting.
Part of #5629
2021-12-01 17:19:57 -08:00
Scott Shawcroft
8cf269d2a0
Merge pull request #5634 from dhalbert/board_deinit
...
board_deinit() everywhere
2021-12-01 10:09:14 -08:00
Scott Shawcroft
fea0103ff2
Merge pull request #5638 from jepler/test-aesio
...
Test aesio
2021-12-01 10:05:37 -08:00
Jim Mussared
a7fa18c203
py/builtinimport: Refactor module importing.
...
Simplify and document/comment the handling of builtin import for:
- already-loaded modules
- built-in modules
- built-in umodules (formerly weak links)
- filesystem modules
Retains existing functionality with smaller code size but should also
facilitate potential new features (built-in packages, controlling the
frozen path).
Also makes the (unix-only) -m behavior a bit more obvious and configurable.
Code size change with this commit:
bare-arm: +0 +0.000%
minimal x86: -64 -0.039%
unix x64: -32 -0.006%
unix nanbox: -4 -0.001%
stm32: -184 -0.047% PYBV10
cc3200: -120 -0.065%
esp8266: -228 -0.033% GENERIC
esp32: -268 -0.018% GENERIC[incl +16(data)]
nrf: -152 -0.087% pca10040
rp2: -256 -0.052% PICO
samd: -80 -0.057% ADAFRUIT_ITSYBITSY_M4_EXPRESS
2021-12-01 13:23:34 +11:00
Dan Halbert
e8ea9c75a1
check for missing pins; deinit txrx leds
2021-11-30 19:16:21 -05:00
Jeff Epler
1f1def54b7
add aesio to unix coverage build
2021-11-30 15:25:05 -06:00
Dan Halbert
57c33059f3
board_deinit() everywhere
2021-11-30 11:00:10 -05:00
Kamil Tomaszewski
9a8d8b1bf1
spresense: Fix time.time()
2021-11-30 12:38:48 +01:00
Damien George
23a150789d
stm32/boards/make-pins.py: Use cpu pins to define static alt-fun macros.
...
Instead of board pins, so that pins which have only the CPU specified in
pins.csv can still be used with mp_hal_pin_config_alt_static().
Signed-off-by: Damien George <damien@micropython.org>
2021-11-30 10:25:41 +11:00
Damien George
0c9f5b388e
stm32: Include HAL MMC code in F4 builds.
...
So that the MMC driver can be used on F4 MCUs.
Signed-off-by: Damien George <damien@micropython.org>
2021-11-30 10:21:18 +11:00
Damien George
7e61a12eb1
stm32: Add support for F479 MCUs.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-11-30 10:21:18 +11:00
Kattni Rembor
c13f1d19f5
Update pins to silk pin first.
2021-11-29 17:56:03 -05:00
Damien George
35e70c1698
stm32/boards: Convert F413,F439,H743,L4xx,WB55 to new flash FS config.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-11-29 13:20:35 +11:00
Damien George
84969194a1
stm32/flashbdev: Support generic flash storage config via link symbols.
...
A board can now define the following linker symbols to configure its flash
storage layout:
_micropy_hw_internal_flash_storage_start
_micropy_hw_internal_flash_storage_end
_micropy_hw_internal_flash_storage_ram_cache_start
_micropy_hw_internal_flash_storage_ram_cache_end
And optionally have a second flash segment by configuring
MICROPY_HW_ENABLE_INTERNAL_FLASH_STORAGE_SEGMENT2 to 1 and defining:
_micropy_hw_internal_flash_storage2_start
_micropy_hw_internal_flash_storage2_end
Signed-off-by: Damien George <damien@micropython.org>
2021-11-29 13:01:51 +11:00
lady ada
83de740d1f
kan prezz
2021-11-26 15:13:58 -05:00
lady ada
c56e33e6c2
woops fix SPI for rev A (will change in rev B to be correct)
2021-11-26 15:06:09 -05:00
lady ada
3c007ba094
re-add psram!
2021-11-26 13:50:12 -05:00
microDev
dddc282e34
update default sdkconfig and correct bootloader offset
2021-11-26 22:44:22 +05:30
microDev
554a62955b
Merge branch 'main' into espressif
2021-11-26 22:40:22 +05:30
lady ada
a9060ec383
cr nl
2021-11-26 00:27:54 -05:00
lady ada
0cf629bf99
on hey this proto doesnt have psram :(
2021-11-26 00:15:20 -05:00
lady ada
f06b21e46d
sneaky!
2021-11-25 23:50:33 -05:00
lady ada
a2c8daeb55
:(
2021-11-25 23:45:37 -05:00
lady ada
5e0d562cfe
y not?
2021-11-25 23:18:51 -05:00
Jim Mussared
678f4b959f
esp32/boards/GENERIC_S3: Enable BLE on ESP32 S3.
...
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-11-26 11:58:12 +11:00