Cenk Gündoğan
6ef29d9b53
tests: uri_parser: new test to check empty host
2021-02-05 13:32:49 +01:00
Cenk Gündoğan
e399ef5d76
uri_parser: terminate, if nothing to consume after scheme
2021-02-05 13:32:49 +01:00
Cenk Gündoğan
6f13325a52
uri_parser: do not parse path if end-of-uri
2021-02-05 13:24:36 +01:00
Cenk Gündoğan
1040cf9862
uri_parser: allow empty host part even if userinfo and port exist
2021-02-05 13:24:36 +01:00
Cenk Gündoğan
f9b8fadd85
uri_parser: check boundaries if host is empty, but userinfo exists
2021-02-05 13:24:36 +01:00
Cenk Gündoğan
07f1254d85
Merge pull request #15930 from nmeum/pr/uri_parser_scheme
...
uri_parser: check if uri is long enough to even contain a ://
2021-02-05 13:23:43 +01:00
Francisco
89922e8d54
Merge pull request #15921 from haukepetersen/fix_nimble_autoconn_deps
...
pkg/nimble/autoconn: add missing 'random' dep
2021-02-04 21:24:32 +01:00
Sören Tempel
333572e091
uri_parser: check if uri is long enough to even contain a ://
...
Before attempting to access these characters. This fixes an
out-of-bounds read on the provided URI buffer.
2021-02-04 20:08:26 +01:00
Martine Lenders
d6e43fd07a
Merge pull request #15924 from leandrolanzieri/pr/kconfig/sys_shell_fix_symbol
...
sys/shell: rename Kconfig symbol to adhere to convention
2021-02-04 14:43:35 +01:00
Leandro Lanzieri
f0762c5114
tests: check Kconfig before setting CFLAGS for shell configs
2021-02-04 12:46:26 +01:00
Leandro Lanzieri
8a29cf285d
sys/shell: fix menuconfig symbol name
2021-02-04 12:46:19 +01:00
Martine Lenders
4cc0420550
Merge pull request #15913 from jia200x/pr/release_notes
...
release-notes.txt: add 2021.01 release notes
2021-02-04 12:37:29 +01:00
Martine Lenders
8610f84629
Merge pull request #15918 from leandrolanzieri/pr/kconfig/sys_shell
...
sys/shell: document configs and add them to Kconfig
2021-02-04 10:56:05 +01:00
Jose Alamos
3634599318
release-notes.txt: add 2021.01 release notes
2021-02-04 10:17:59 +01:00
Hauke Petersen
ee9a573455
pkg/nimble/autoconn: add missing 'random' dep
2021-02-04 09:30:42 +01:00
Leandro Lanzieri
67f36d78a9
sys/shell: document configs and add to Kconfig
2021-02-04 09:19:43 +01:00
Hauke Petersen
1edb583a69
Merge pull request #15919 from haukepetersen/fix_nimble_netifsenderrret
...
pkg/nimble/netif: improve _send_pkt() error return value
2021-02-03 14:24:25 +01:00
Hauke Petersen
101bc6184c
pkg/nimble/netif: improve _send() error return val
2021-02-03 12:30:58 +01:00
b666b78602
Merge pull request #15914 from fjmolinas/pr_stm32_flashpage_fix_per
...
cpu/stm32/flashpage: reset PER after erase
2021-02-03 10:21:04 +01:00
Francisco
3b2a55a923
Merge pull request #15865 from benpicco/pm_layered-default
...
cpu: make pm_layered a DEFAULT_MODULE
2021-02-03 08:17:29 +01:00
Martine Lenders
6da60c933d
Merge pull request #15802 from miri64/treewide/cleanup/cppcheck-whitelisted
...
treewide: re-uncrustify whitelisted files
2021-02-03 07:59:27 +01:00
Marian Buschsieweke
f685996cd0
Merge pull request #15405 from benpicco/boards/bluepill-stm32f030c8t6
...
boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
2021-02-03 07:45:14 +01:00
Benjamin Valentin
4f587bedb5
examples: add bluepill-stm32f030c8 to Makefile.ci
2021-02-02 23:47:40 +01:00
Benjamin Valentin
d3ca85ad65
tests: add bluepill-stm32f030c8 to Makefile.ci
2021-02-02 23:47:40 +01:00
benpicco
2313cefbd3
Merge pull request #15910 from maribu/sys-arduino-spi-fix
...
sys/arduino: Bug and style fixes in SPI
2021-02-02 23:41:04 +01:00
Benjamin Valentin
762decd207
boards/common/e104-bt50xxa-tb: software reset depends on periph_pm
2021-02-02 23:40:21 +01:00
Benjamin Valentin
118cf0e9e6
riotboot_usb_dfu: depend on periph_pm
2021-02-02 23:40:21 +01:00
Benjamin Valentin
32c30aaeaa
pm_layered: depend on periph_pm
2021-02-02 23:40:21 +01:00
Benjamin Valentin
00289b08a4
riotboot: don't select periph_pm
2021-02-02 23:40:21 +01:00
Martine Lenders
8730733b97
uncrustify: fix ztimer whitelist pattern
2021-02-02 22:21:15 +01:00
Martine Lenders
7e3846b6a4
ztimer: apply uncrustify patches
2021-02-02 22:21:15 +01:00
Martine Lenders
8a31d2ec9f
uncrustify: add cpu/fe310/include/atomic_utils_arch.h to blacklist
2021-02-02 22:21:15 +01:00
Martine Lenders
9b40bb63c2
core: apply uncrustify patches
2021-02-02 22:21:14 +01:00
Marian Buschsieweke
e0f457663c
Merge pull request #15901 from OTAkeys/pr/ztimer_rmutex_lock_timeout
...
ztimer: add ztimer_rmutex_lock_timeout()
2021-02-02 20:47:53 +01:00
459e28c7d5
Merge pull request #15887 from aabadie/pr/boards/atmega_bootloader
...
boards/atmega: cleanup BOOTLOADER variables definitions
2021-02-02 18:02:10 +01:00
Benjamin Valentin
1d95950ca1
boards/bluepill-stm32f030c8: add STM32F030C8 based bluepill board
...
This board is sold by several vendors on AliExpress, Amazon and ebay.
It does not have name, but since it comes in the same form-factor and
color as the Bluepill line of boards, I think it makes sense to use that
name.
Flashing is a bit cumbersome as I always had to press the reset button
in time when OpenOCD tries to connect to the CPU.
There is no dedicated reset pin exposed on the board.
2021-02-02 17:13:29 +01:00
Francisco
746b91e1d1
Merge pull request #15892 from benpicco/pkg/fatfs-R0.14a
...
pkg/fatfs: bump version to r0.14a
2021-02-02 16:28:53 +01:00
Marian Buschsieweke
00d013d7cf
Merge pull request #14560 from benpicco/cpu/mips_pic32_common-bitarithm_test_and_clear
...
cpu/mips_pic32_common: GPIO: use bitarithm_test_and_clear()
2021-02-02 15:24:13 +01:00
64b6314807
boards/atmega: cleanup BOOTLOADER variables definitions
2021-02-02 14:10:03 +01:00
Francisco Molina
3d68406c5b
cpu/stm32/flashpage: reset PER after erase
2021-02-02 11:42:09 +01:00
Benjamin Valentin
4095eac9f2
cpu: mips32r2_common: set BITARITHM_HAS_CLZ
...
The MIPS ISA implements CLZ:
https://ti.tuwien.ac.at/cps/teaching/courses/cavo/files/MIPS32-IS.pdf
For `tests/periph_gpio` this shaves off 20 bytes on `6lowpan-clicker`.
2021-02-02 11:14:38 +01:00
Benjamin Valentin
c788fe130f
cpu/mips_pic32_common: GPIO: use bitarithm_test_and_clear()
2021-02-02 11:14:37 +01:00
Vincent Dupont
751a366931
ztimer: fix uncrustify issue in util.c
2021-02-02 10:52:10 +01:00
Vincent Dupont
fb4d2e509a
ztimer: add ztimer_rmutex_lock_timeout()
...
Similar to xtimer_rmutex_lock_timeout()
2021-02-02 10:51:50 +01:00
Marian Buschsieweke
45ed8bc330
sys/arduino: Bug and style fixes in SPI
...
- set is_transaction before releasing the SPI bus (and the mutex) to avoid
data races
- adapt switch indent to coding convention
2021-02-02 09:45:46 +01:00
benpicco
837b55fc17
Merge pull request #15420 from bergzand/pr/stm32f4/flashpage_support
...
stm32f{2,4,7}: Initial flashpage support
2021-02-01 19:23:51 +01:00
b6e80bf487
stm32f4: Initial flashpage support
2021-02-01 18:23:05 +01:00
f5b6ebf1cb
unittests/flashpage: force uniform flashpage layout
...
The unittest for flashpage only checks the inline flashpage_ functions
with the assumption that the flashpage layout is uniform. This commit
undefines the macro guarding those functions to force them to be
included even when the flashpage peripheral defines own implementations.
2021-02-01 18:23:05 +01:00
benpicco
efd8afd3ab
Merge pull request #15899 from OTAkeys/pr/stm32-fix-exti
...
cpu/stm32/gpio: fix EXTI flag clearing
2021-02-01 18:22:25 +01:00
2bcddba5ca
tests/periph_flashpage: Make FLASHPAGE_SIZE optional
2021-02-01 17:22:07 +01:00