1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

34375 Commits

Author SHA1 Message Date
Hauke Petersen
ee9a573455 pkg/nimble/autoconn: add missing 'random' dep 2021-02-04 09:30:42 +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
benpicco
a5e5ec5215
Merge pull request #15897 from bergzand/pr/riotboot/flashwrite_remove_flashpage_size
riotboot/flashwrite: Remove last dependencies on flashpage size
2021-02-01 17:21:09 +01:00
Marian Buschsieweke
c931766962
Merge pull request #15898 from jenswet/fix-ina3221-cpp-compatibility
drivers/ina3221: Fix compatibility with C++
2021-02-01 16:27:10 +01:00
5b0eaf7cd8
riotboot/flashwrite: Remove last dependencies on flashpage size 2021-02-01 16:14:07 +01:00
Leandro Lanzieri
fcafb89671
Merge pull request #15893 from benpicco/cpu/kinetis-float
cpu/kinetis: enable floating point support
2021-02-01 15:48:35 +01:00
Jens Wetterich
533428448d drivers/ina3221: Add docs to SAUL group 2021-02-01 14:31:11 +01:00
Jens Wetterich
8dff7b57ad drivers/ina3221: Fix compatibility with C++ 2021-02-01 14:31:11 +01:00
c93c3e46d6
flashpage: Support non uniform flashpage sizes 2021-02-01 14:27:22 +01:00
Francisco
b9ebeccff2
Merge pull request #15895 from bergzand/pr/stm32/expose_ram
stm32: Resolve RAM size to bytes
2021-02-01 14:09:24 +01:00
Vincent Dupont
3e8e109e8b cpu/stm32/gpio: fix EXTI flag clearing
In case a non-gpio EXTI (>= 16) is pending, the isr_exti() used to clear
the flag and try to call a callback, which was out-of-bouds, thus
generating a hard fault.
This fixes it by masking the pending_isr variables with 0xFFFF.
2021-02-01 13:30:48 +01:00
Benjamin Valentin
2ffd7b4261 cpu/kinetis: enable floating point support
I think this CPU was added before RIOT had support for the FPU on
Cortex-M4F, this should now have been long fixed.

Advertise the FPU on these CPUs.
2021-02-01 12:18:13 +01:00
Francisco
0903952564
Merge pull request #15880 from aabadie/pr/tests/_nrf51dk_timeout_fixes
tests: increase timeout for nrf51dk
2021-02-01 11:05:17 +01:00
118643ab2d
stm32: Resolve RAM size to bytes
The ram size is exposed as macro value and available for use in code.
For the stm32 it has a value in kilobytes suffixed with 'k'. This is
less than optimal for usage in arithmetic. This commit modifies the
value to bytes so that it can be used in preprocessor magic
2021-02-01 10:53:40 +01:00
benpicco
dd0c13d227
Merge pull request #15891 from benpicco/boards/same54-xpro/doc.txt-update
boards/same54-xpro: update implementation status
2021-01-31 22:50:24 +01:00
Benjamin Valentin
f3780bb00c pkg/fatfs: bump version to r0.14a
R0.14a (December 05, 2020)
  Limited number of recursive calls in f_findnext().
  Fixed old floppy disks formatted with MS-DOS 2.x and 3.x cannot be mounted.
  Fixed some compiler warnings.

 - http://elm-chan.org/fsw/ff/updates.txt
2021-01-31 20:03:13 +01:00
Benjamin Valentin
50c2cb727d boards/same54-xpro: update implementation status
The table has not been touched since initial support for the board
was added.
2021-01-31 19:43:05 +01:00