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

28610 Commits

Author SHA1 Message Date
benpicco
4150afea00
Merge pull request #13749 from gschorcht/cpu/esp32/periph_rtt
cpu/esp32: replace RTC implementation by RTT implementation
2020-05-01 14:14:01 +02:00
benpicco
f42b4b4d2f
Merge pull request #13722 from jue89/feature/ztimer_pm-layered
sys/ztimer: add power management for ztimer clocks
2020-05-01 14:12:45 +02:00
benpicco
c754e0ab3c
Merge pull request #13739 from Ciusss89/_dev
test: conn_can: add remote request test
2020-05-01 14:11:41 +02:00
benpicco
ee7ec7e3ac
Merge pull request #13978 from maribu/fix_pm_off
sys/pm: Fix behavior of fallback pm_off() implementation
2020-05-01 14:09:48 +02:00
benpicco
c95e4c3b9e
Merge pull request #13816 from btcven/2020_04_02-setup-trim-device
cc26x2_cc13x2: trim device registers on `cpu_init`.
2020-05-01 14:09:08 +02:00
benpicco
f295fd0164
Merge pull request #13982 from benpicco/cpu/lpc2387/pm_fix
cpu/lpc2387: PM: enable SLEEP & POWERDOWN mode
2020-05-01 10:55:26 +02:00
Benjamin Valentin
89a145ab0c cpu/lpc2387: clocks: minor style fix 2020-04-30 20:43:41 +02:00
Benjamin Valentin
c262c91561 cpu/lpc2387: PM: enable SLEEP & POWERDOWN mode
We have to re-init PLL (and Flash) after wake from those modes.
2020-04-30 20:43:41 +02:00
Benjamin Valentin
3b257f9a5a cpu/lpc2387: export functions to init PLL & MAM
Those functions are needed after wake from lower sleep modes.
2020-04-30 20:43:41 +02:00
benpicco
8136edca95
Merge pull request #13958 from francois-berder/rename-pic32-clicker
boards: Rename pic32-clicker to 6lowpan-clicker
2020-04-30 16:06:50 +02:00
Jean Pierre Dudey
951a99dba3
cc26x2_cc13x2: add setup_trim_device function
This function trims the necessary registers for the device to operate
normally.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:32:58 -05:00
Jean Pierre Dudey
dc1d2ace42
cc26xx_cc13xx: add ADI3 and masked access
- Added ADI instruction offsets
- Added register banks and address bases for masked access (writes).

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:32:58 -05:00
Jean Pierre Dudey
92589c2129
cc26x2_cc13x2: update AON_PMCTL register bank
- Updated documentation.
- Fixed offset of JTAGUSERCODE.
- Added necessary register values to perform startup trims.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:16:45 -05:00
Jean Pierre Dudey
e2489ced97
cc26xx_cc13xx: add register values
Add some register values needed to trim registers.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:16:45 -05:00
Jean Pierre Dudey
e514266186
cc26x2_cc13x2: add FCFG->DAC_BIAS_CNF values
These are necessary to trim some registers at startup.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:16:45 -05:00
Jean Pierre Dudey
6829dfdf1b
cc26xx_cc13xx: fix FLASH->CFG offset, update VIMS
- Changed "meh" to "Reserved".
- Renamed CTL to CFG to match SDK/TRM name.
- Added constants for VIMS and FLASH necessary to trim registers.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:16:45 -05:00
Jean Pierre Dudey
1733e62217
cc26xx_cc13xx: update AON_IOC register bank
- Updated documentation
- Fixed register bank name
- Added missing field

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:16:45 -05:00
Jean Pierre Dudey
cdf2e88804
cc26x2_cc13x2: add 16-bit masked access to DDI_0_OSC
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 18:16:45 -05:00
Martine Lenders
6a75e042cd
Merge pull request #13953 from leandrolanzieri/pr/2020.04_release_notes
release-notes.txt: add 2020.04 release notes
2020-04-29 21:27:42 +02:00
Leandro Lanzieri
673144ecf4
release-notes.txt: add 2020.04 release notes 2020-04-29 20:13:36 +02:00
Francisco
919249f361
Merge pull request #13862 from maribu/extra_boards
Makefile*: Allow multiple external board dirs
2020-04-29 20:12:06 +02:00
Marian Buschsieweke
37d5d571c8
.murdock: Remove board sanity check
With external board folders supported (and used within RIOT's code base in
testing applications), boards can be outside of the /boards folder.
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
93f8f8cd84
tests/external_board_native: Extended readme
Added a note to explain why the deprecated variable BOARDSDIR is still used.
2020-04-29 18:32:39 +02:00
Marian Buschsieweke
b0964675f1
tests,examples: Use EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Marian Buschsieweke
cf379660e9
tests/external_board_dirs: Test app for EXTERNAL_BOARD_DIRS 2020-04-29 18:32:39 +02:00
Marian Buschsieweke
ba7815163c
Makefile*: Allow multiple external board dirs
- Add the new EXTERNAL_BOARD_DIRS variable that can contain a space separated
  list of folders containing external boards
- Introduce $(BOARDDIR) as shortcut for $(BOARDSDIR)/$(BOARD)
- Map the existing BOARDSDIR to the new approach
    - If BOARDSDIR is provided by the user, it will be added to
      EXTERNAL_BOARD_DIRS for backward compatibility. (And a warning is issued
      to encourage users migrating to EXTRA_BOARDS.)
    - BOARDSDIR is updated after the board is found to "$(BOARDDIR)/..".
        - Useful for `include $(BOARDSDIR)/common/external_common/Makefile.dep`
        - Provides backward compatibility
2020-04-29 18:32:39 +02:00
Jean Pierre Dudey
1586c89f1a
cc26x2_cc13x2: update DDI_0_OSC register bank
- Fixes padding.
- Updates documentation.
- Removes documentation longer than 80-chars for the registers values.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 10:17:20 -05:00
Jean Pierre Dudey
2921944c66
cc26x2_cc13x2: add function to change AUX opmode
This function is needed to setup the AUX operational mode at startup,
also used for managing low-power states.

Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
2020-04-29 09:38:36 -05:00
Francisco
80b300289d
Merge pull request #13912 from benpicco/at86rf215-mr-qpsk
drivers/at86rf215: implement MR-O-QPSK
2020-04-29 12:44:00 +02:00
9a4537eef6
Merge pull request #13976 from maribu/pm_get_blocker
sys/pm: Add pm_get_blocker()
2020-04-29 12:37:15 +02:00
2af3ea586a
Merge pull request #13947 from benpicco/riot-bus_multibus
core/msg: add message bus
2020-04-29 12:24:12 +02:00
Marian Buschsieweke
a3e7abc2e2
sys/pm: Fix behavior of fallback pm_off() implementation
- pm_off() should prevent other threads from getting executed after it is
  called, as it should turn off the MCU completely according to its doc
    - Previously, the fallback implementation would still allow other threads
      to continue working
    - Simply disabling IRQs and never enabling them again should make sure
      the MCU behaves like it would be completely off
- pm_off() should reduce the power consumption as much as possible
    - Previously, when IRQs came after the call to pm_set_lowest() in the
      fallback implementation of pm_off(), `while(1) {}` got executed at full
      power consumption
    - Just calling `pm_set(0);` in a loop while make sure that lowest power mode
      is restored if the MCU wakes up again.
    - The check if the lowest power mode is available is skipped, as no code
      gets executed afterwards anyway
2020-04-29 12:08:12 +02:00
Francisco
777a8aa459
Merge pull request #12709 from aabadie/pr/cpu/native_eeprom
cpu/native: add periph_eeprom driver implementation
2020-04-29 11:44:35 +02:00
Leandro Lanzieri
c8fa7f045b
Merge pull request #13914 from akshaim/Kconfig_fxos8700
drivers/fxos8700 :  Expose Configurations to Kconfig
2020-04-29 11:42:37 +02:00
Marian Buschsieweke
f6873dbac3
sys/pm: Add pm_get_blocker()
Provide access to pm_blocker via a well-defined API rather than hacks.
2020-04-29 11:21:03 +02:00
Akshai M
0bc7952e30 drivers/fxos8700 : Expose to Kconfig
Expose Configurations to Kconfig
2020-04-29 14:32:00 +05:30
Akshai M
e5fe525711 drivers/fxos8700 : Add CONFIG_
Add CONFIG_ Prefix for FXOS8700_USE_ACC_RAW_VALUES and model
it as a bool

Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-29 14:32:00 +05:30
José Alamos
373a335ec8
Merge pull request #13974 from kaspar030/fix_uncrustify_logic
dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic
2020-04-29 11:01:10 +02:00
Juergen Fitschen
73e22612e2 sys/ztimer: add power management for ztimer clocks 2020-04-29 10:55:10 +02:00
Benjamin Valentin
6ce0092982 shell/sc_gnrc_netif: fix vera++ errors 2020-04-29 10:41:37 +02:00
Benjamin Valentin
504d02038d gnrc_netif: update PDU after changing PHY mode 2020-04-29 10:41:37 +02:00
Benjamin Valentin
e6d47aa825 drivers/at86rf215: implement MR-O-QPSK 2020-04-29 10:41:37 +02:00
Benjamin Valentin
0cf9f6aa7f drivers/at86rf215: implement at86rf215_get_phy_mode() 2020-04-29 10:41:37 +02:00
Benjamin Valentin
cfc2feca1d ieee802154: return PDU based on PHY mode
IEEE 802.15.4g-2012 specifies a PDU of 2047 for it's PHY modes, so
query the driver for the mode before returning the PDU.

If none of the new modes is used, don't query the driver to not incure
a penalty on existing platforms.
2020-04-29 10:41:37 +02:00
Benjamin Valentin
c77119957f shell/sc_gnrc_netif: fix space after NID
All option have a space behind them. This fixes the formatting of the
NID parameter if there are options after it.
2020-04-29 10:41:37 +02:00
Benjamin Valentin
fac35644d0 ieee802154: add definitions & config options for MR-O-QPSK
Define options for IEEE 802.15.4g MR-O-QPSK as well as shell commands
to set them via ifconfig.
2020-04-29 10:41:37 +02:00
fda6ef6ac6 dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic
Previously, uncrustify.sh would fail (report uncrustifying necessary) if
there was any output of uncrustify. Turns out uncrustify sometimes
outputs something.

This commit changes the logic to use uncrustify's output value as
indicator.

Also, adds printing which file causes the check to fail.
2020-04-29 09:51:36 +02:00
Leandro Lanzieri
d822a91403
Merge pull request #13954 from akshaim/Kconfig_slipdev
drivers/slipdev : Expose Configurations to Kconfig
2020-04-29 09:38:26 +02:00
e531bdbcec
Merge pull request #8519 from jia200x/uncrustify
uncrustify: add auto uncrustify with blacklist
2020-04-29 09:16:27 +02:00
b04d354640
tests/periph_eeprom: use native as default board 2020-04-29 08:56:34 +02:00