Francisco Molina
0c0f8ec98f
drivers/periph/rtt.h: add RTT_FREQUENCY & RTT_MAX_VALUE doc
2020-04-23 22:11:16 +02:00
Francisco Molina
2604971753
drivers/periph/rtt.h: ensure RTT_MAX_VALUE is set
2020-04-23 19:07:18 +02:00
Leandro Lanzieri
341916cd30
Merge pull request #13915 from akshaim/Kconfig_mag3110
...
drivers/mag3110 : Expose Configurations to Kconfig
2020-04-23 13:21:34 +02:00
Akshai M
fc3ff2a9d9
drivers/mag3110 : Expose to Kconfig
...
Expose Configurations to Kconfig
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-23 15:50:26 +05:30
Akshai M
9c052a6288
drivers/mag3110 : Add CONFIG_
...
Add CONFIG_ Prefix for MAG3110_I2C_ADDRESS
2020-04-23 15:49:55 +05:30
Akshai M
c654b4ea3c
drivers/motor_driver : Expose to Kconfig
...
Expose Configurations to Kconfig
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-23 15:21:17 +05:30
Akshai M
39826d6e5b
drivers/motor_driver : Add CONFIG_
...
Add CONFIG_ Prefix for MOTOR_DRIVER_MAX
2020-04-23 15:21:17 +05:30
Leandro Lanzieri
c2c32a42f5
Merge pull request #13926 from akshaim/Kconfig_mma8x5x
...
drivers/mma8x5x : Expose Configurations to Kconfig
2020-04-23 09:20:09 +02:00
Akshai M
ec98054bea
drivers/mma8x5x : Expose to Kconfig
...
Expose Configurations to Kconfig
2020-04-22 22:02:34 +05:30
Akshai M
7e3096eae1
drivers/mma8x5x : Add CONFIG_
...
Add CONFIG_ Prefix for CONFIG_MMA8X5X_I2C_ADDRESS
2020-04-22 21:57:05 +05:30
Leandro Lanzieri
ee7493429b
Merge pull request #13885 from akshaim/Kconfig_at86rf215
...
drivers/at86rf215 : Expose Configurations to Kconfig
2020-04-22 13:59:29 +02:00
Leandro Lanzieri
7284434656
Merge pull request #13910 from akshaim/Kconfig_dose
...
drivers/dose.h : Expose Configurations to Kconfig
2020-04-22 12:39:30 +02:00
Akshai M
7b2591ea09
drivers_at86rf215 : Expose to Kconfig
...
Expose Configurations to Kconfig
Co-Authored-By: benpicco <benpicco@googlemail.com>
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-22 15:55:21 +05:30
Akshai M
68e2fc5845
drivers/at86rf215 : Add CONFIG
...
Add CONFIG_ Prefix for configuring AT86RF215_TRIM_VAL
2020-04-22 15:54:33 +05:30
Akshai M
8617991312
drivers/at86rf215 : Add CONFIG_
...
Add Add CONFIG_ Prefix for AT86RF215_USE_CLOCK_OUTPUT and model
it as a bool
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-22 15:54:33 +05:30
19119f142a
Merge pull request #13558 from fjmolinas/pr_mtd_powerup
...
drivers/mtd_spi_nor: power up MTD on init
2020-04-21 13:53:07 +02:00
Akshai M
3a65d163f6
drivers/dose : Expose to Kconfig
...
Expose Configurations to Kconfig
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-21 16:00:25 +05:30
Akshai M
0784190c9c
drivers/dose : Add CONFIG_
...
Add CONFIG_ Prefix for DOSE_TIMEOUT_USEC
2020-04-21 16:00:25 +05:30
Francisco Molina
61eecf6fe0
drivers/mtd_spi_nor: power up MTD on init
2020-04-21 11:09:40 +02:00
Francisco Molina
8a256eba12
drivers/mtd_spi_nor: return error on invalid manuf id
2020-04-21 11:09:40 +02:00
Akshai M
be097f8533
drivers/cc110x : Expose to Kconfig
...
Expose Configurations to Kconfig
2020-04-17 23:55:07 +05:30
Akshai M
01a8c64e39
drivers/cc110x : Add CONFIG_
...
Add Add CONFIG_ Prefix for CC110X_DEFAULT_CHANNEL
2020-04-17 23:27:01 +05:30
Leandro Lanzieri
2f75c60527
Merge pull request #13881 from akshaim/kconfig_ads101x
...
drivers/ads101x : Expose Configurations to Kconfig
2020-04-17 15:39:07 +02:00
Leandro Lanzieri
369eda6bd9
Merge pull request #13831 from akshaim/I2C_Address_Cleanup
...
I2C Address Cleanup and Documentation
2020-04-17 13:42:35 +02:00
Akshai M
137a1c08b4
drivers/ads101x : Expose to Kconfig
...
Expose Configurations to Kconfig
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-17 16:43:16 +05:30
Akshai M
b20e408854
drivers/ads101x : Add CONFIG_
...
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-17 16:43:16 +05:30
Akshai M
b75fc0cfa6
drivers/include/tcs37727.h : Remove ifndef for I2C
...
Remove ifndef and better formatting for Doxygen
2020-04-17 15:45:37 +05:30
Akshai M
de5db5c99d
drivers/include/mpl3115a2.h : Remove ifndef for I2C
2020-04-17 15:45:37 +05:30
Akshai M
c6f55b6f81
drivers/include/lpsxxx.h : Expose Parameters
...
Add ifndef and Expose Compile Parameters to Doxyen
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-17 15:45:19 +05:30
Benjamin Valentin
8a2a936726
drivers/at25xxx: return read/written bytes to match MTD API
...
The MTD API expects read() to return the number of read bytes and
write() to return the number of written bytes.
So change the driver API to match that.
2020-04-17 11:32:06 +02:00
Akshai M
f705b0e5af
drivers/include/l3g4200d.h : Expose Parameters
...
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:08:39 +05:30
Akshai M
e2b3175a1c
drivers/include/isl29020.h : Expose Parameters
...
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:07:58 +05:30
Akshai M
6757d97766
drivers/include/hts221.h : Remove ifndef for I2C
2020-04-17 14:07:58 +05:30
Akshai M
1e6c0e3935
drivers/include/ds1307.h : Remove ifndef for I2C
2020-04-17 14:07:58 +05:30
Akshai M
c59e17ea19
drivers/include/bmx055.h : Expose Parameters
...
Add ifndef and Expose Compile Parameters to Doxyen
2020-04-17 14:06:07 +05:30
Akshai M
79de2512e1
drivers/hdc1000 : Expose to Kconfig
...
Expose Configurations to Kconfig
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-16 19:16:43 +05:30
Akshai M
7a4191a8d5
drivers/hdc1000 : Add CONFIG_
...
Add CONFIG_ Prefix for configuring the Compile time macros
2020-04-16 17:17:27 +05:30
Akshai M
c452323ab5
drivers/include/cc110x.h : Add group
...
Add compile parameters to config_drivers_netdev group to Doxygen
Co-Authored-By: Leandro Lanzieri <leandro.lanzieri@haw-hamburg.de>
2020-04-15 13:58:31 +05:30
Akshai M
aa7e84a6d7
drivers/mma8x5x.h : Compile Configs
...
Add CT Params to sensors group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
b9f71610d7
drivers/include/ads101x.h : Add Group
...
Add CT Params to sensors group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
b36b3b9819
drivers/include/fxos8700.h : Add group
...
Add compile parameters to config_drivers_sensors group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
32c4fe3cd4
drivers/include/ds1307.h : Add group
...
Add compile parameters to config_drivers_sensors group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
eb3456ee1d
drivers/include/dose.h : Add group
...
Add compile parameters to config_drivers_netdev group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
11c2803bcf
drivers/include/at86rf215.h : Add Group
...
Add CT Params to netdev group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
007cd5bb26
drivers/include/at.h : Add Group
...
Add CT Params to misc group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
358d7eb616
drivers/adcxx1c_params.h : Add Group
...
Add CT Params to sensors group in Config for Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
497a967a23
drivers/include/sx127x.h : Add group
...
Add to config_netdev group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
80c6374cc4
drivers/include/mrf24j40.h : Modify group
...
Add to config_netdev group to Doxygen
2020-04-14 20:52:16 +05:30
Akshai M
bc65ffdcde
drivers/include/ethos.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
10d6b7a976
drivers/include/tmp00x.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
a6d7eab027
drivers/include/tcs37727.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
0ac93bfb07
drivers/include/sps30.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
462e321ec0
drivers/include/soft_spi.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
c63bdca3ab
drivers/include/slipdev.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
4333a9f299
drivers/include/rn2xx3.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
1d3c2c4320
drivers/include/pn532.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
4c4c9f0c2b
drivers/include/pir.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
f39b320b5d
drivers/include/opt3001.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
4744401bb5
drivers/include/mtd_sdcard.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
2405ca3721
drivers/include/mpl3115a2.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
b812772e40
drivers/include/motor_driver.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
56cb11344b
drivers/include/mag3110.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
5e2478b3c5
drivers/include/kw41zrf.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
4f31c40526
drivers/include/kw2xrf.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
dba177c8aa
drivers/include/ili9341.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
013c161e1c
drivers/include/hdc1000.h : Compile Configs
2020-04-14 20:52:16 +05:30
Akshai M
f15e479388
drivers/doc.txt : Add sub-groups
...
Added Compile Config subgroups for sensors, netdev, actuators,
storage,soft_periph and misc to Doxygen
2020-04-14 20:52:16 +05:30
Marian Buschsieweke
9efd47952e
drivers/ws281x: Extended doc
...
Point out that automatic backend selection is performed, when no backend is
selected.
2020-04-09 13:34:51 +02:00
Marian Buschsieweke
d3d2cdae8a
drivers/ws281x: Fix dependencies
...
arch_esp32 was missing in FEATURES_REQUIRED_ANY for the ws281x, resulting in
ESP32 boards incorrectly being reported as unsupported.
2020-04-09 13:30:18 +02:00
Marian Buschsieweke
4e60eb9dd5
Merge pull request #13843 from mtreffers/doc-fixes
...
Doc: fix typo and extend ws281x documentation
2020-04-09 13:21:45 +02:00
mtreffers
1ca28b8181
drivers/ws281x: fix documentation
...
extend ws281x documentation with usage for ESP32 and VT100
fix indendation
2020-04-09 10:22:39 +02:00
Francisco
3177784039
Merge pull request #13798 from jia200x/pr/at86rf2x_basic_mode
...
at86rf2xx: implement basic mode (v2)
2020-04-09 09:21:15 +02:00
Leandro Lanzieri
a06d9bbb66
Merge pull request #13315 from jia200x/pr/kconfig/ieee802154
...
ieee802154: Expose configurations to Kconfig
2020-04-08 19:34:55 +02:00
Jose Alamos
ab5418ebab
at86rf2xx: report CRC error in basic mode
2020-04-08 19:14:45 +02:00
Jose Alamos
d4b0aff8cf
at86rf2xx: implement basic mode
2020-04-08 19:14:45 +02:00
Jose Alamos
69eb3c7fe2
at86rf2xx: add basic mode PHY state
2020-04-08 19:14:44 +02:00
Jose Alamos
77325b4cde
ieee802154: add CONFIG_ prefix to config macros
2020-04-08 19:08:25 +02:00
Leandro Lanzieri
6e49724a66
drivers/Makefile.dep: Set CONFIG_MRF24J40_USE_EXT_PA_LNA if not Kconfig
...
For the mrf24j40 check if Kconfig is being used before setting the
configuration CFLAG.
2020-04-08 18:49:32 +02:00
Leandro Lanzieri
f89514e466
drivers/mrf24j40: Expose configurations to Kconfig
2020-04-08 18:49:31 +02:00
Leandro Lanzieri
ede9117a1e
drivers/mrf24j40: Turn MRF24J40_USE_EXT_PA_LNA into bool config
...
MRF24J40_USE_EXT_PA_LNA is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:30 +02:00
Leandro Lanzieri
655ce69903
drivers/mrf24j40: Turn MRF24J40_TEST_SPI_CONNECTION into bool config
...
MRF24J40_TEST_SPI_CONNECTION is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:27 +02:00
067b324645
Merge pull request #11945 from benpicco/EEPROM-m95m01
...
drivers: add driver for AT25xxx family of EEPROMs
2020-04-07 13:19:21 +02:00
Benjamin Valentin
97fc2f2af1
drivers: add AT25xxx series EEPROM
...
This adds a driver for the ST M95xxx series SPI EEPROMs.
The driver has been tested with the M95M01 EEPROM, but should
work with other chips from that family.
SPI-EEPROMs from other vendors from the families AT25xxx, 25AAxxx,
25LCxxx, CAT25xxx & BR25Sxxx should also in the same way.
2020-04-07 12:31:46 +02:00
benpicco
750db2a910
Merge pull request #13788 from benpicco/drivers/at86rf215_shutdown_fix
...
drivers/at86rf215: return error when switching state while busy
2020-04-03 17:50:48 +02:00
Benjamin Valentin
46544c5d7a
drivers/at86rf215: add comment to _tx_ongoing()
2020-04-03 12:48:52 +02:00
Francisco
d4580b4c36
Merge pull request #13750 from benpicco/drivers/at86rf215_fix_wakeup
...
drivers/at86rf215: fix reset after deep sleep
2020-04-03 09:04:51 +02:00
Leandro Lanzieri
c74544c9ec
Merge pull request #13349 from maribu/dependency-or
...
build system: Restructure dependency resolution
2020-04-02 10:40:44 +02:00
Benjamin Valentin
5ed88ecb0a
drivers/at86rf215: unexport at86rf215_block_while_busy()
...
It's a private function that should not be used lightly.
2020-04-01 23:14:46 +02:00
Benjamin Valentin
8c6791b136
drivers/at86rf215: return error when switching state while busy
...
Previously the function attempted to block here and manually service
the ISR.
This lead to unexpected results, in particular messages queuing up in
the threads message queue.
The result was that the radio would not end up in the correct state.
E.g. sending SLEEP to both interfaces while a transmission was ongoing
would lead to the interfaces waking up again.
With this patch the operation will just return -ERRNO so the caller can
try again.
To reproduce, try the attached patch for the `gnrc_networking` example:
On master you will find that the radio still consumes ~2.4mA after 'shutdown'.
(It is in fact in the state TRXOFF as it woke up again)
With this change the radio should consume less than 1µA (DEEP SLEEP).
diff --git a/examples/gnrc_networking/main.c b/examples/gnrc_networking/main.c
index 6301f4291d..93b96eb939 100644
--- a/examples/gnrc_networking/main.c
+++ b/examples/gnrc_networking/main.c
@@ -23,12 +23,47 @@
#include "shell.h"
#include "msg.h"
+#include "periph/pm.h"
+
+#include "net/netopt.h"
+#include "net/gnrc/netif.h"
+
#define MAIN_QUEUE_SIZE (8)
static msg_t _main_msg_queue[MAIN_QUEUE_SIZE];
extern int udp_cmd(int argc, char **argv);
+extern void send(char *addr_str, char *port_str, char *data, unsigned int num,
+ unsigned int delay);
+
+static int send_and_shutdown(int argc, char **argv)
+{
+ (void) argc;
+ (void) argv;
+
+ /* the address must not exist */
+ char addr[] = "fe80::2068:3123:59f5:d238%7";
+ char port[] = "1234";
+ char data[] = "Hello World!";
+
+ send(addr, port, data, 1, 0);
+
+ /* disable radio */
+ gnrc_netif_t* netif = NULL;
+ netopt_state_t state = NETOPT_STATE_SLEEP;
+ while ((netif = gnrc_netif_iter(netif))) {
+ /* retry while busy */
+ while (gnrc_netapi_set(netif->pid, NETOPT_STATE, 0, &state,
+ sizeof(netopt_state_t)) == -EBUSY);
+ }
+
+ pm_set(0);
+
+ return 0;
+}
+
static const shell_command_t shell_commands[] = {
+ { "shutdown", "turn off the radio & shut down", send_and_shutdown },
{ "udp", "send data over UDP and listen on UDP ports", udp_cmd },
{ NULL, NULL, NULL }
};
diff --git a/examples/gnrc_networking/udp.c b/examples/gnrc_networking/udp.c
index e8a559846e..cb80855b76 100644
--- a/examples/gnrc_networking/udp.c
+++ b/examples/gnrc_networking/udp.c
@@ -36,7 +36,7 @@ static gnrc_netreg_entry_t server = GNRC_NETREG_ENTRY_INIT_PID(GNRC_NETREG_DEMUX
KERNEL_PID_UNDEF);
-static void send(char *addr_str, char *port_str, char *data, unsigned int num,
+void send(char *addr_str, char *port_str, char *data, unsigned int num,
unsigned int delay)
{
gnrc_netif_t *netif = NULL;
2020-04-01 23:08:44 +02:00
benpicco
660b1a9b5f
Merge pull request #10083 from gschorcht/drivers_hmc5883l
...
drivers: add driver for Honeywell HMC5883L magnetometer
2020-04-01 14:49:34 +02:00
benpicco
d1ccfe6c9a
Merge pull request #13778 from akshaim/fxos8700_CT_Config
...
drivers/include/fxos8700.h : Compile Configs
2020-04-01 13:43:01 +02:00
Gunar Schorcht
df612a3790
sys/auto_init: add hmc5883l device driver
2020-04-01 13:37:22 +02:00
Gunar Schorcht
e6090adb3f
drivers: add hmc5883l device driver
2020-04-01 13:37:22 +02:00
Leandro Lanzieri
6f30086609
Merge pull request #13775 from akshaim/ds1307_CT_Config
...
drivers/include/ds1307.h : Compile Configs
2020-04-01 13:28:36 +02:00
Leandro Lanzieri
bb6fa878a2
Merge pull request #13770 from akshaim/dose_CT_Config
...
drivers/include/dose.h : Compile Configs
2020-04-01 13:10:01 +02:00
Akshai M
27458701b6
drivers/include/fxos8700.h : Compile Configs
2020-04-01 14:53:44 +05:30
Akshai M
5e97feb88e
drivers/include/dose.h : Compile Configs
2020-04-01 14:35:45 +05:30
Akshai M
c94abb5a36
drivers/include/ds1307.h : Compile Configs
2020-04-01 13:42:45 +05:30
Akshai M
9e3ea3e7b6
drivers/include/ads101x.h: Tagged Compile Time Parameters
2020-04-01 12:50:02 +05:30
Marian Buschsieweke
007ac492ff
drivers/ws281x: Use FEATURES_REQUIRED_ANY
2020-04-01 09:12:50 +02:00
Benjamin Valentin
1ed125dc06
drivers/at86rf215: document AT86RF215_TRIM_VAL
...
There is a compile-time configurable TRIM value.
This adds documentation for it.
2020-03-31 22:54:53 +02:00
benpicco
baa2024241
Merge pull request #13766 from akshaim/at_CT_Config
...
drivers/include/at.h : Tagged Compile Time Configurations
2020-03-31 21:51:44 +02:00
Akshai M
769fd0840c
drivers/include/at86rf215.h: Tagged Compile Time Configuration
2020-03-31 22:20:02 +05:30
Akshai M
df9814df12
drivers/include/at.h : Tagged Compile Time Configurations
2020-03-31 21:45:16 +05:30
Francisco
1a8b35f54b
Merge pull request #13377 from leandrolanzieri/pr/kconfig_migrate/drivers/periph_wdt
...
drivers/periph/wdt: Expose configurations to Kconfig
2020-03-31 16:36:36 +02:00
benpicco
e7c1605119
Merge pull request #13691 from benpicco/tests/driver_netdev_common
...
tests/driver_netdev_common: add compile-test for network drivers
2020-03-31 14:50:28 +02:00
Leandro Lanzieri
8cca9bfc28
drivers/wdt: Expose configuration to Kconfig
2020-03-31 13:39:38 +02:00
Leandro Lanzieri
00b71a2708
drivers/wdt: Move WDT_WARNING_PERIOD to 'CONFIG_' namespace
2020-03-31 13:39:37 +02:00
Benjamin Valentin
611f4161d6
drivers/at86rf215: fix reset after deep sleep
...
When the radio is in DEEP SLEEP, reading the state register will return 0.
This makes the reset routine abort early even though the device is connected
and still waking up.
Instead, just add a timeout to the polling of the WAKEUP IRQ bit.
In practise it has shown that the loop will be taken two times on 'normal'
reset and four times when the radio was in DEEP SLEEP.
Polling 255 times sure does not hurt.
To reproduce the issue, put both interfaces into SLEEP mode,
then reboot the module:
ifconfig 7 set state sleep
ifconfig 8 set state sleep
reboot
2020-03-29 19:44:40 +02:00
Akshai M
58516f7e2a
drivers/include/sx127x.h: Tagged Compile Time Configuration
2020-03-27 19:06:10 +05:30
Martine S. Lenders
62d48d5bf3
gnrc_netif: document new *_create() out parameter as such
2020-03-26 14:37:44 +01:00
Martine Lenders
061eb88c05
Merge pull request #12994 from jia200x/pr/gnrc_netif_desc_alloc
...
gnrc_netif: implementation of dynamic GNRC_NETIF_NUMOF approach
2020-03-26 14:30:44 +01:00
Jose Alamos
67ed9defbe
gnrc_netif_xxx_create: use external netif allocation
2020-03-26 11:12:23 +01:00
Marian Buschsieweke
937361856d
Merge pull request #13702 from ccoors/feature/esp32-ws281x
...
drivers/ws281x: Add support for esp32
2020-03-25 21:39:40 +01:00
Christian Friedrich Coors
08703766fc
drivers/ws281x: Add ESP32 support
2020-03-25 17:25:35 +01:00
Dylan Laduranty
c4a8c63002
Merge pull request #13693 from benpicco/boards/same54-xpro-ext
...
boards/same54-xpro: configure remaining EXT connectors
2020-03-25 14:08:13 +01:00
Francisco Molina
9fa0099d62
cpu/stm32wb: add flashpage support
...
- Since flash access is shared with CPU2 we resize ROM_LEN
according to CPU2 secure flash memmory area.
- Add assert to prevent unauthorized reads from CPU2 secure
flash area
2020-03-25 09:29:56 +01:00
6faae9a9c9
Merge pull request #13657 from aabadie/pr/boards/backlight_common_defines
...
boards/pinetime: add defines for controlling the backlight pin
2020-03-24 13:52:57 +01:00
1498a7ada2
drivers/disp_dev: add help functions for backlight
2020-03-24 12:02:50 +01:00
Gunar Schorcht
4d306a4636
drivers/sht3x: fix broken links
2020-03-24 10:38:40 +01:00
Gunar Schorcht
3542c7af0e
drivers/sdcard_spi: fix broken links
2020-03-24 10:38:40 +01:00
Gunar Schorcht
1d79de0c92
drivers/ccs811: fix broken links
2020-03-24 10:38:40 +01:00
Benjamin Valentin
f673e275f3
drivers/at86rf215: adapt default config to same54-xpro EXT1
...
Previously the default config was for connecting the REB215-XPRO
module to EXT3 on same54-xpro.
Since now more SPI buses are configured on same54-xpro and the default
config also serves as a compile test for boards with only one SPI bus,
connect the module to the (new) first SPI bus by default.
2020-03-24 01:16:47 +01:00
Benjamin Valentin
c4f248d51c
drivers/dose: fix declaration of signal()
2020-03-23 20:35:54 +01:00
benpicco
e725111562
Merge pull request #13656 from gschorcht/drivers/apds9xx_fix_wait_long_init
...
drivers/apd99xx: fix wait long initialization
2020-03-22 17:26:22 +01:00
Francisco
cdbf0b2d69
Merge pull request #13583 from benpicco/at86rf215-minimal
...
drivers/at86rf215: add basic support for AT86RF215 dual-band radio
2020-03-20 09:33:50 +01:00
benpicco
5435792034
Merge pull request #12277 from benemorius/pr/kw41zrf
...
drivers: add kw41zrf
2020-03-20 00:49:56 +01:00
Joakim Nohlgård
5bd67d88a8
drivers/kw41zrf: Transceiver driver for the KW41Z radio
...
This is the radio found in NXP Kinetis KW41Z, KW21Z. Only 802.15.4 mode
is implemented (KW41Z also supports BLE on the same transceiver).
The driver uses vendor supplied initialization code for the low level
XCVR hardware, these files were imported from KSDK 2.2.0 (framework_5.3.5)
2020-03-19 17:00:04 -05:00
Benjamin Valentin
d716195ecb
drivers/periph_common: init RTT before RTC
2020-03-19 15:25:14 +01:00
Benjamin Valentin
60cc3b8757
periph/rtt: Allow using MOCK_RTT defines from Unit Test
2020-03-19 15:25:14 +01:00
Benjamin Valentin
cd2b86c4b1
rtt_rtc: add RTT based RTC implementation
2020-03-19 15:25:14 +01:00
Benjamin Valentin
d35511bee7
drivers/at86rf215: Add basic driver for the AT86RF215 radio
...
This adds a driver for the SPI based AT86RF215 transceiver.
The chip supports the IEEE Std 802.15.4-2015 and IEEE Std 802.15.4g-2012 standard.
This driver supports two versions of the chip:
- AT86RF215: dual sub-GHz & 2.4 GHz radio & baseband
- AT86RF215M: sub-GHz radio & baseband only
Both radios support the following PHY modes:
- MR-FSK
- MR-OFDM
- MR-O-QPKS
- O-QPSK (legacy)
The driver currently only implements support for legacy O-QPSK.
To use both interfaces, add
GNRC_NETIF_NUMOF := 2
to your Makefile.
The transceiver is able to send frames of up to 2047 bytes according to
IEEE 802.15.4g-2012 when operating in non-legacy mode.
Known issues:
- [ ] dBm setting values are bogus
- [ ] Channel spacing for sub-GHz MR-O-QPSK might be wrong
- [ ] TX/RX stress test will lock up the driver on openmote-b
2020-03-19 14:39:18 +01:00
Gunar Schorcht
2581fdee66
drivers/apd99xx: fix wait long initialization
2020-03-19 10:26:30 +01:00
Martine Lenders
5defa1ae34
Merge pull request #13466 from gschorcht/fix_compilation_with_ndebug
...
tests: fix compilation problems with NDEBUG
2020-03-12 19:34:33 +01:00
Gunar Schorcht
bd658b02ae
drivers/mtd_mapper: fix NDEBUG compile problem
2020-03-12 18:04:42 +01:00
Robert Hartung
dc6665d5cf
Merge pull request #12717 from dylad/pr/bme680_pkg_driver
...
driver/bme680: add I2C/SPI driver for BME680 device
2020-03-12 14:00:40 +01:00
benpicco
24477ae3cb
Merge pull request #13588 from maribu/cc110x-isr
...
drivers/cc110x: Handle lost IRQs more gracefully
2020-03-12 12:21:07 +01:00
Gunar Schorcht
a1e2f36adb
drivers/saul: add auto_init for BME680
2020-03-12 08:52:10 +01:00
Gunar Schorcht
c4325e4d5e
drivers/bme680: add SAUL capabilities
2020-03-12 08:52:10 +01:00
Gunar Schorcht
1118f80180
drivers/saul: add common gas class
2020-03-12 08:42:59 +01:00
Gunar Schorcht
9dd11eb188
drivers: add support for BME680 driver
...
Add the support for BME680 based on the BME680 vendor driver package.
2020-03-12 08:42:59 +01:00
Schorcht
811850bba7
sys/auto_init: add APDS99XX ALS and proximity
2020-03-11 14:21:47 +01:00
Schorcht
7548a6e849
drivers: add APDS99XX ALS and proximity
2020-03-11 14:21:47 +01:00
Gunar Schorcht
87021a0b18
drivers/sy127x: clear interrupts for DIO3
...
If ValidHeader interrupt is set, it triggers DIO3 interrupt. However, if DIO3 line is not connected, ValidHeader interrupt is still set in RegIrqFlags register when RxDone interrupt is triggered on DIO0. It sets the mode back to idle. Therefore, the _on_dio3_irq does not clear the ValidHeader interrupt flag.
2020-03-10 10:47:36 +01:00
Gunar Schorcht
56040e3369
driver/sx127x: allow the use of DIO0 for CAD_DONE
2020-03-10 10:08:30 +01:00
Gunar Schorcht
e3a82cd6fc
driver/sx127x: set DIO1 mapping
...
Since the RxTimeout interrupt is enabled, DIO1 mapping should be set also to RxTimeout in case the driver is extended in future and DIO1 mapping is changed for any reason.
2020-03-10 10:08:24 +01:00
Gunar Schorcht
1eb8701965
drivers/sx127x: ensure that DIO2 is defined
...
If frequency hopping is used (LORA_FREQUENCY_HOPPING_DEFAULT = true), DIO2 pin is needed for the FhssChangeChannel interrupt to get it working.
2020-03-10 10:08:19 +01:00
Gunar Schorcht
3adbbdcf9b
drivers/sx127x: fix length check of netstat_opt_t
in _set
2020-03-08 17:10:46 +01:00
Marian Buschsieweke
02a425f114
drivers/cc110x: Handle lost IRQs more gracefully
...
When an IRQ is lost during cc110x_send(), the driver will remain locked until
another IRQ is triggered. This commit changes the behavior to wait for at most
an reasonable upper bound, which is chosen to not only allow the driver to
recover but also (at least in theory) complete the transmission correctly.
2020-03-08 12:49:57 +01:00
57985806c1
Merge pull request #13562 from jia200x/pr/netdev_irq_end
...
netdev: add netdev_trigger_event_isr() function
2020-03-06 15:37:24 +01:00
Jose Alamos
3ad574a822
drivers/netdev: use netdev_trigger_event_isr function
2020-03-06 14:03:43 +01:00
Jose Alamos
67bc0e13af
netdev: add netdev_trigger_event_isr function
2020-03-06 14:02:40 +01:00
benpicco
7877ffdf2a
Merge pull request #13511 from fjmolinas/pr_auto_init_periph
...
drivers/periph_common: add periph_init% modules
2020-03-06 13:05:57 +01:00
Francisco Molina
6b6479e6e9
drivers/periph_common: add periph_init% module
2020-03-06 11:21:19 +01:00
Martine Lenders
ff425576a0
slipdev_stdio: provide stdio multiplexing over SLIP
2020-03-06 08:58:45 +01:00
Martine Lenders
8e827055f0
slipmux: remove inesc
member
...
It's not needed anymore.
2020-03-06 08:58:45 +01:00
Martine Lenders
f11940973c
slipdev: internally expose byte stuffing functionality
2020-03-06 08:58:45 +01:00
Martine Lenders
79e80d4fec
slipdev: expose marker byte definitions
2020-03-06 08:56:40 +01:00
Martine Lenders
23f6cf8a37
slipdev: provide default configuration
2020-03-05 18:17:01 +01:00
benpicco
7af046d740
Merge pull request #13548 from benpicco/sys/auto_init/netif-manual
...
sys/auto_init: allow delayed initialisation of SAUL & gnrc_netif
2020-03-05 17:05:02 +01:00
Jan Mohr
aa5ffe5a6d
drivers/lis2dh12: added interrupt function
2020-03-04 17:01:58 +01:00
Benjamin Valentin
521b1ce440
sys/auto_init: allow delayed initialisation of SAUL
...
Co-authored-by: Martine S. Lenders <m.lenders@fu-berlin.de>
2020-03-04 16:13:40 +01:00
1298ae828a
Merge pull request #13202 from bergzand/pr/mtd/mapper
...
MTD: Add module for remapping MTD sectors
2020-03-04 11:51:39 +01:00
9a430cd682
mtd: add module for remapping MTD sectors
2020-03-04 10:47:50 +01:00
Benjamin Valentin
725311a054
periph_common/rtc: add rtc_tm_valid()
...
Add a function to verify all members of a struct tm are within
the valid range.
2020-03-03 16:26:14 +01:00
Gunar Schorcht
9e372104f0
Merge pull request #13284 from benpicco/rtc_mktime
...
periph_common/rtc: add rtc_mktime() & rtc_localtime() helper functions for RTC implementations
2020-03-03 14:12:50 +01:00
b050608771
Merge pull request #13262 from aabadie/pr/sys/disp_dev
...
sys/disp_dev: add generic interface for display drivers
2020-03-03 13:25:45 +01:00
d13d1aed48
Merge pull request #13336 from bergzand/pr/mtd_spi_nor/erase_timings_in_struct
...
mtd_spi_nor: erase timings in struct
2020-03-03 11:59:28 +01:00
Benjamin Valentin
5b64ae4ef5
periph_common/rtc: add rtc_localtime()
...
Add function to convert a RTC timestamp (non-UNIX) to a time struct.
2020-03-03 11:01:02 +01:00
acfac5d32d
drivers/ili9341: provide adaption to disp_dev interface
2020-03-03 10:25:55 +01:00
ac6d0b9077
sys: add interface for generic display device
2020-03-03 10:25:54 +01:00
dc04b86d1b
mtd_spi_nor: Add wait timings to parameters
2020-03-03 09:49:00 +01:00
Benjamin Valentin
fbada0df58
periph_common/rtc: handle m_mday == 0 in rtc_tm_normalize()
2020-02-29 17:42:50 +01:00
Benjamin Valentin
becff61e20
periph_common/rtc: add rtc_mktime()
...
Add a function to convert a time struct to an unsigned timestamp (non-UNIX).
2020-02-29 17:42:50 +01:00
Benjamin Valentin
743471362e
drivers/ds18: fix doxygen group of ds18_internal.h
2020-02-27 17:43:53 +01:00
benpicco
50a5845b15
Merge pull request #13037 from benpicco/lpc23xx_i2c
...
cpu/lpc2387: implement periph/i2c
2020-02-27 09:58:34 +01:00
Gunar Schorcht
a27e77cfb3
drivers/at24mac: fix grouping in doc
2020-02-27 08:46:40 +01:00
Gunar Schorcht
dfae4fbb27
drivers/bmx280: remove line break in defgroup
...
defgroup command must not contain a line break.
2020-02-27 08:43:21 +01:00
Gunar Schorcht
2bbc02a6e0
drivers/sps30: brief documentation added
2020-02-27 08:43:21 +01:00
Gunar Schorcht
a9a9745ffd
drivers/at: change grouping in doc
2020-02-27 08:43:21 +01:00
Gunar Schorcht
4c210b7b2f
drivers/at24xxx: fix grouping in doc
2020-02-27 08:43:21 +01:00
Gunar Schorcht
918b3517a7
doc: create a category for miscellaneous drivers
...
A documentation category for drivers that do not fit in any other driver category is added.
2020-02-27 08:43:21 +01:00
Benjamin Valentin
00131bb745
drivers/at24mac: include kernel_defines.h
...
We need that header file for the ARRAY_SIZE() macro.
2020-02-26 23:41:38 +01:00
2dcf65d942
Merge pull request #13332 from bergzand/pr/mtd_spi_nor/params_struct
...
mtd_spi_nor: Move const params to separate struct
2020-02-26 09:43:18 +01:00
2b713f13cb
drivers/srf08: refactor driver configuration
2020-02-25 21:24:02 +01:00
benpicco
aa1c23d4bd
Merge pull request #11929 from fabian18/driver-at24cxxx-eeprom
...
Driver for AT24CXXX EEPROM
2020-02-25 18:16:45 +01:00
ab333f3fb2
Merge pull request #13335 from bergzand/pr/mtd_spi_nor/wait_in_debug
...
mtd_spi_nor: Add chip wait timings to debug output
2020-02-25 13:33:00 +01:00
d40015a41a
mtd_spi_nor: Add chip wait timings to debug output
2020-02-25 11:21:20 +01:00
01818ed4e8
drivers/bmx280: provide correct CALIB_T_P_LEN
2020-02-24 15:21:06 +01:00
8a909b1f9a
drivers/bmx280: increase CALIB_T_P_LEN
2020-02-24 14:25:32 +01:00
fabian18
2c77ee4cab
drivers/at24cxxx: at24cxxx EEPROM driver
2020-02-24 14:00:25 +01:00
Michel Rottleuthner
1743f96fa8
drivers/saul: satisfy vera++ (shorten lines to below 100 chars)
2020-02-20 14:26:55 +01:00
Michel Rottleuthner
7e089bce7b
drivers/sps30: add saul integration
2020-02-20 14:26:55 +01:00
Michel Rottleuthner
46091b6b43
drivers/saul: add class and string for size measurements
2020-02-20 14:26:55 +01:00
Michel Rottleuthner
c4093c29a4
drivers: add driver for Sensirion SPS30 particulate matter sensor
2020-02-20 14:26:55 +01:00
Yegor Yefremov
f63cc9f900
drivers/sx127x: fix dead links
...
URLs of the datasheets have been changed again.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2020-02-17 09:54:21 +01:00
benpicco
6f97012237
Merge pull request #13356 from benemorius/pr/at86reset
...
drivers/at86rf2xx: reset hardware before reading any register
2020-02-16 20:42:41 +01:00
Jue
9cb8e2c941
drivers/dose: made the sense pin optional
2020-02-16 17:58:58 +01:00
Jue
cc184ca65b
drivers/dose: fixed misspelled OCTET
2020-02-16 17:58:57 +01:00
Thomas Stilwell
751b0332da
drivers/at86rf2xx: reset hardware before reading version register
2020-02-13 21:33:22 -06:00
Benjamin Valentin
d3ace2e821
drivers: add at24mac driver
...
The AT24MAC is an EEPROM that provides unique ID functionality.
On one address it provides normal AT24xxx EEPROM operations, but
on a seperate i2c address a read-only EUI-64 and a 128-bit ID are
provided.
This adds a simply driver for this chip.
2020-02-13 15:58:43 +01:00
a055a6c579
Merge pull request #13362 from benpicco/at86rf2xx-luid_get
...
drivers/at86rf2xx: use luid_get_eui64() / luid_get_short()
2020-02-13 15:33:41 +01:00
Benjamin Valentin
63f6d6aa13
drivers/at86rf2xx: use luid_get_eui64() / luid_get_short()
...
Use dedicated helper functions to generate long and short address.
Maybe fixes #13358
2020-02-13 11:17:11 +01:00
1bc842707a
drivers/stmpe811: add implementation
2020-02-13 09:14:51 +01:00
Francisco Molina
802216ce53
Makefile.dep: add auto_init_at86rf2xx MODULE
2020-02-12 16:51:27 +01:00
benpicco
f5b6544123
Merge pull request #13329 from wosym/pr/bh1900nux
...
Add bh1900nux driver
2020-02-12 11:16:23 +01:00
Wouter Symons
a2d9389373
Add bh1900nux driver
2020-02-12 07:34:22 +01:00
7a88279ffe
drivers/ili9341: add missing xtimer module dependency
2020-02-11 19:42:43 +01:00
e5fa8921b3
mtd_spi_nor: Move const params to separate struct
2020-02-11 15:55:41 +01:00
benpicco
d51333485d
Merge pull request #13324 from maribu/ina2xx_fix
...
drivers/ina2xx: Fixed missing i2c_acquire/release
2020-02-11 11:36:59 +01:00
8543dbc263
Merge pull request #9349 from OTAkeys/pr/mtd_no_sleep
...
mtd_spi_nor: remove sleep when waiting for write completed
2020-02-11 10:24:45 +01:00
e27a0be577
Merge pull request #13328 from bergzand/pr/docs/display_group
...
drivers: Add display device doxygen group
2020-02-10 20:19:16 +01:00
Benjamin Valentin
11d77271cf
drivers/ws281x: introduce WS281X_HAVE_INIT
...
This brings the backend-dependant init() function in line with
`WS281X_HAVE_PREPARE_TRANSMISSION` and `WS281X_HAVE_END_TRANSMISSION`.
2020-02-10 14:45:26 +01:00
Benjamin Valentin
8352e4aae0
drivers/ws281x: add VT100 backend for native
...
To quickly iterate on animations it is handy to being able to simulate
the output on native.
This adds a VT100 terminal backend to the ws281x driver that outputs
the colors straight to the terminal.
2020-02-10 14:40:15 +01:00
6b2478953c
pcd8544: move to display devices doxygen group
2020-02-10 14:11:17 +01:00
7ade31ad5b
ili9341: move to display devices doxygen group
2020-02-10 14:11:05 +01:00
d070f2924d
hd44780: move to display devices doxygen group
2020-02-10 14:10:46 +01:00
965a0f9c9a
dsp0401: move to display devices doxygen group
2020-02-10 14:10:18 +01:00
8a481abc90
drivers: Add display devices doxygen group
2020-02-10 14:09:57 +01:00
e573d8b57f
drivers/ili9341: cleanup doxygen documentation
2020-02-10 11:46:01 +01:00
Marian Buschsieweke
eb6b830955
drivers/ina2xx: Fixed missing i2c_acquire/release
2020-02-10 10:32:27 +01:00
benpicco
16ab89bf28
Merge pull request #12728 from bergzand/pr/at86rf2xx/fix_recv_before_send
...
at86rf2xx: fix receive before send detection
2020-02-07 13:54:52 +01:00
42d54600f7
at86rf2xx: fix receive before send detection
...
The at86rf2xx radio handled a transfer complete condition with the radio
in the BUSY_TX_ARET state as a finished transmission. This condition and
state also occurs when a reception occurs just before switching to
transmitting. This would cause a condition where first a TX_COMPLETE was
signalled and second a RX_COMPLETE was signalled. The network stack
would then read the transmitted frame as a received frame.
The patch fixes the errornous RX callback by only submitting the
TX_COMPLETE condition when there are at least 2 frames pending
(at86rf2xx::pending_tx).
2020-02-07 13:08:33 +01:00
Vincent Dupont
f11fac8811
mtd_spi_nor: remove sleep when waiting for write completed
2020-02-05 16:20:01 +01:00
Evgeniy Krysanov
7b64d35af5
drivers/ds18: fix ds18 temperature conversion
2020-02-05 12:31:43 +03:00
8e85c2d900
Merge pull request #13261 from aabadie/pr/drivers/ili9341_const
...
drivers/ili9341: use const qualifier where possible
2020-02-04 11:29:03 +01:00
66a06bfdfa
drivers/Makefile.include: document order requirement
2020-02-03 13:52:08 +01:00
0a21575722
drivers: fix alphabetical order in Makefile.include
2020-02-03 10:30:04 +01:00
e126599928
drivers/ili9341: use const qualifier where possible
2020-02-02 18:55:46 +01:00
Martine Lenders
8d749dc024
Merge pull request #13148 from chrysn-pull-requests/usb-default-vidpid
...
USB: Use default VID/PID for RIOT-included peripherals
2020-01-30 17:37:52 +01:00
chrysn
e65f3f372b
USB VID/PID: Set whitelist define for internals that use usb.h
...
This list is probably incomplete as it was created experimentally.
2020-01-30 15:04:10 +01:00
Sebastian Meiling
a4c4c25b3b
Merge pull request #12866 from jia200x/pr/gnrc_lorawan_remove_netdev
...
net/gnrc_lorawan: remove netdev layer from MAC
2020-01-30 14:02:59 +01:00
benpicco
3c13df60ab
Merge pull request #13190 from maribu/cc110x-promiscuous-mode
...
drivers/cc110x: add support promiscuous mode
2020-01-24 14:22:08 +01:00
Francisco
618919bb17
Merge pull request #13192 from leandrolanzieri/pr/drivers/xbee_fix_ref_to_device
...
drivers/xbee: Fix reference to device from netif in send function
2020-01-24 08:46:40 +01:00
Marian Buschsieweke
b98b51d082
drivers/cc110x: Add promiscuous mode support
2020-01-23 18:27:04 +01:00
Marian Buschsieweke
fdc87ae30d
drivers/cc110x: Fixed typo in doc
2020-01-23 18:27:04 +01:00
Marian Buschsieweke
f7eb9233da
drivers/cc110x: Replaced some magic numbers
2020-01-23 18:27:03 +01:00
Leandro Lanzieri
40794cf5f1
drivers/xbee: Fix reference to device from netif in send function
2020-01-23 18:11:17 +01:00
benpicco
88f9d5870d
Merge pull request #13029 from jue89/feature/dose-optional-set-addr
...
drivers/dose: add setter for MAC address
2020-01-23 12:57:05 +01:00
Jose Alamos
709c1aac30
Kconfig: Expose NRF802154 configurations
2020-01-21 11:29:00 +01:00
Leandro Lanzieri
56240bf071
Merge pull request #13147 from jia200x/pr/kconfig_drivers
...
Kconfig: add Drivers menu
2020-01-17 11:43:08 +01:00
Jose Alamos
cbca04fdcc
Kconfig: add Drivers menu
2020-01-16 18:47:57 +01:00
cab8729e32
drivers/ili9341: add number of lines parameter
2020-01-15 15:36:21 +01:00
cfbab79398
Merge pull request #13105 from bergzand/pr/ili9341_add_config
...
ili9341: Add color mode and inversion parameters
2020-01-13 21:07:25 +01:00
Francisco
3e0043021b
Merge pull request #13110 from kaspar030/periph_rtt_docimp
...
periph/rtt: clarify rtt_set_alarm() documentation
2020-01-13 17:12:08 +01:00
146137ef72
ili9341: Add color mode and inversion parameters
2020-01-13 17:09:02 +01:00
Leandro Lanzieri
434309a9e2
Merge pull request #13106 from MrKevinWeiss/pr/fix/mpudoc
...
drivers/mpu9x50: Fix prameter placement for docs
2020-01-13 15:51:00 +01:00
4df2827fe1
periph/rtt: clarify rtt_set_alarm() documentation
2020-01-13 15:18:16 +01:00
Francisco
1977423e9b
Merge pull request #13048 from maribu/adc-int32_t
...
periph/adc: Change return type of `adc_sample()` to `int32_t`
2020-01-13 12:56:09 +01:00
MrKevinWeiss
e19091541f
drivers/mpu9x50: Fix prameter placement for docs
...
When generating the doxygen output the temp sens and offset are in the config group.
Since they are internal parameters not to be accessed by users they are placed in the mpu9x650_internal.h file.
2020-01-13 12:50:13 +01:00