hathach
8fbe1d73e9
clean up makefile
5 years ago
hathach
4920cc47ca
move dfu-gen dfu-flash dfu-bootloader bootloader uf2 target to common Makefile since several board use it
5 years ago
hathach
bed7310fd7
update bin files
5 years ago
hathach
ecd3993d43
update pin map for feather52840
5 years ago
Scott Shawcroft
91427b0b23
Merge pull request #959 from arturo182/nrf_spim
...
nrf: Rewrite the SPI common-hal using nrfx
5 years ago
Scott Shawcroft
d7d132d5a3
Merge pull request #960 from arturo182/nrf_stm_cleanup
...
nrf: Remove leftovers from stm32 code copy
5 years ago
Scott Shawcroft
479dbfe720
Merge pull request #961 from arturo182/nrf_hal_remove
...
nrf: Remove unused hal files
5 years ago
Scott Shawcroft
dc9e9317ca
Merge pull request #962 from dhalbert/3.x_to_master-1
...
3.x to master 1
5 years ago
Dan Halbert
a7d3053049
Update master with latest 3.x changes.
5 years ago
arturo182
16973d0559
nrf: Remove unused hal files
...
Makes it easier to keep track of what's left to rewrite.
5 years ago
arturo182
2f1e678d60
nrf: Rewrite the SPI common-hal using nrfx
...
Use SPIM2 on nRF52832 and SPIM3 on nRF52840. SPIM3 is able to go
up to 32MHz!
5 years ago
arturo182
b14d13e318
nrf: Remove leftovers from stm32 code copy
5 years ago
hathach
8d065fe0e6
update reamde
5 years ago
hathach
54547683f9
add uf2, bootloader target
5 years ago
hathach
4d45565663
update tools/uf2 to support hex input for uf2conv.py
5 years ago
hathach
4722371be9
update bootloader hex with uf2
5 years ago
hathach
f5be5ed6ee
Merge branch 'master' into nrf52840_usbboot
5 years ago
Scott Shawcroft
c1924f375d
Merge pull request #951 from arturo182/nrf_cleanup
...
nrf: General cleanup
5 years ago
Scott Shawcroft
5ae8094747
Merge pull request #953 from dhalbert/allow-mount-slash
...
Allow mounting '/' on '/'
5 years ago
arturo182
596a1d8843
nrf: Rename feather52 to feather52832 in readme files
5 years ago
Damien George
25ae98f07c
py/compile: Combine expr, xor_expr and and_expr into one function.
...
This and the previous 4 commits combined have change in code size of:
bare-arm: -92
minimal x86: -544
unix x64: -544
unix nanbox: -712
stm32: -116
cc3200: -128
esp8266: -348
esp32: -232
5 years ago
Damien George
36e474e83f
py/compile: Combine or_test and and_test compile functions.
5 years ago
Damien George
1a7109d65a
py/compile: Combine global and nonlocal statement compile functions.
5 years ago
Damien George
d23bec3fc8
py/compile: Combine subscript_2 and subscript_3 into one function.
5 years ago
Damien George
c149197928
py/compile: Combine break and continue compile functions.
5 years ago
Damien George
a2ac7e4fc9
stm32/boards: Add .ld and af.csv files for STM32F722.
...
These files can also be used for F723, F732 and F733 MCUs.
5 years ago
Damien George
92667dc2e5
tools/pydfu.py: Add support for multiple memory segments.
...
Segments are separated by / and begin with the memory address. This
follows how the ST DFU tool works.
5 years ago
Damien George
ec7982ec6d
stm32/mboot: Add support for erase/read/write of external SPI flash.
...
This patch adds support to mboot for programming external SPI flash. It
allows SPI flash to be programmed via a USB DFU utility in the same way
that internal MCU flash is programmed.
5 years ago
Damien George
7f41f73f0f
stm32/qspi: Don't require data reads and writes to be a multiple of 4.
...
Prior to this patch the QSPI driver assumed that the length of all data
reads and writes was a multiple of 4. This patch allows any length. Reads
are optimised for speed by using 32-bit transfers when possible, but writes
always use a byte transfer because they only use a single data IO line and
are relatively slow.
5 years ago
Dan Halbert
dbf1a2f7d5
allow '/' to be mounted on '/' from Python code
5 years ago
arturo182
0686857e3c
nrf: Exclude nrfx files from sphinx build
5 years ago
jerryneedell
de4cd1ee73
add pins D3/D4 to pins.c
...
fixes #948
5 years ago
arturo182
25e71a56d4
nrf: Update the PCA10056 example to use new pin naming
5 years ago
arturo182
deec17e4fe
nrf: Remove really old examples
...
These examples rely on machine and pyb modules, so they have to get.
Leaving 3 BLE examples that also rely on those modules, but can be
fixed to use CP's modules.
5 years ago
arturo182
9c08db55ff
nrf: Cleanup machine and microbit leftovers
...
The music module was useful when this port had support for the
microbit, now that it was removed, it's not so useful.
5 years ago
arturo182
c2d4d0a10b
nrf: Simplify pin generation and definition
...
This commit cleans up the pin generation code, all the pins and their
AF (only ADC, for now) are specified in nrf52_af.csv and board use their
own csv file to specify which pins are available on that board and if
they have any special names.
5 years ago
arturo182
ff918556cd
nrf: Simplify the board makefiles
...
With the only difference between a SD and non-SD build is the linker
file, there's no need to have two separate .mk per board files,
just use a conditional.
5 years ago
arturo182
5509f394dc
nrf: Add a nrfx submodule and prepare for using the new drivers
5 years ago
arturo182
7cd34f2a94
nrf: Cleanup Makefile after nrf51 removal
5 years ago
arturo182
97f10241f9
nrf: Fix default board after feather52 rename
5 years ago
arturo182
b47a67d566
nrf: Remove machine, pyb and utime modules
...
Micropython legacy, keeping it consistent with atsam port.
5 years ago
Damien George
34344a413f
py/stream: Remove stray empty line at start of file.
...
This was accidentally added in 6abede2ca9
5 years ago
Damien George
b92a8adbfa
tests: Add tests using "file" argument in print and sys.print_exception.
5 years ago
Damien George
582b190764
py: Add checks for stream objects in print() and sys.print_exception().
5 years ago
Damien George
2c8d130f70
py/stream: Update comment for mp_stream_write_adaptor.
5 years ago
Dan Halbert
5fb4cdce45
Merge pull request #949 from adafruit/jerryneedell-patch-2-1
...
add pins D3/D4 to pins.c
5 years ago
jerryneedell
80d16cb7df
add pins D3/D4 to pins.c
...
fixes #948
5 years ago
Damien George
561ae9a91b
stm32/boards/NUCLEO_F091RC: Fix TICK_INT_PRIORITY so it is highest prio.
...
Fixes issue #3880 .
5 years ago
Damien George
5962c210c5
stm32/mboot: Define constants for reset mode cycling and timeout.
...
And fix timeout value so that it does actually finish with reset_mode=1.
5 years ago
hathach
61437106e7
update bootloader for feather nrf52840
5 years ago