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

461 Commits

Author SHA1 Message Date
smlng
990a76c80c pkg: update ccn-lite and adapt shell commands
This updates the ccn-lite package version which brings in the
    latest upstream fixes for some compiler issues found on macOS
    with clang and newer GCC versions.

    A minor adaption of the RIOT shell commands is also included.
2018-08-10 10:21:24 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
7a12293eb1 drivers/at30tse75x: adapt to new I2C api 2018-07-25 12:01:38 +02:00
Gaëtan Harter
eec88e3e53
shell/sc_can: fix uninitialized warning
When compiled for `hifive1` board with `gcc-7.2.0` this warning was raised:

'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]
2018-07-24 13:58:21 +02:00
Marian Buschsieweke
de9b67bdc2
drivers/sht1x: Major refactoring
- Use RIOT's GPIO interface to access the sensor to increase portability
- Changed API to allow more than one sensor per board
- Added `sht1x_params.h` that specifies how the sensors is connected - each
  board can overwrite default settings by #defining SHT1X_PARAM_CLK and
  SHT1X_PARAM_DATA
- Changed arithmetic to use integer calculations only instead of floating point
  arithmetic
- Added support for checking the CRC sum
- Allow optional skipping of the CRC check to speed up measuring
- Added support for advanced features like reducing the resolution and skipping
  calibration to speed up measuring
- Allow specifying the supply voltage of sensor which heavily influences the
  temperature result (and use that information to calculate the correct
  temperature)
- Reset sensor on initialization to bring it in a well known state
- Support for the obscure heater feature. (Can be useful to check the
  temperature sensor?)
- Updated old SHT11 shell commands to the new driver interface, thus allowing
  more than one SHT10/11/15 sensor to be used
- Added new shell command to allow full configuration of all attached SHT1x
  sensors
- Removed old command for setting the SHT11 temperature offset, as this feature
  is implemented in the new configuration command
2018-06-27 08:58:00 +02:00
Marian Buschsieweke
d208c224b0
drivers: Renamed module sht11 to sht1x
The sensor family SHT10, SHT11 and SHT15 only differ in their accuracy (as in
calibration, not as in resolution). Thus, the same driver can be used for all.
The new driver name better reflects this fact.
2018-06-27 08:57:58 +02:00
Martine Lenders
a6a7357077 shell_commands: add command for packet buffer stats
I'm using something like this command for a while now for debugging
GNRC. Usually, I just patch it into the application I'm using it with,
but I think there is a benefit to also provide it to RIOT upstream
properly.
2018-06-22 09:51:17 +02:00
7d013eb2b6 sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
PeterKietzmann
d3d012c077 shell/ccnl: use new CS add method 2018-06-10 12:11:44 +02:00
BytesGalore
0c034c9220 rpl: add DIS Solicited Information option 2018-06-04 18:10:22 +02:00
Marian Buschsieweke
b4b088be9e
shell_commands/ping6: Fixed bug in calculation of average round trip time
The average rout trip time has been to low in case packets were lost, as lost
packets were treated as if that had an RTT of 0.
2018-05-29 12:36:05 +02:00
Cenk Gündoğan
441f11ea45 gnrc_rpl: shell: adapt to evtimer for RPL events 2018-05-23 09:42:12 +02:00
Cenk Gündoğan
4c9e947d43 gnrc_rpl: adjust author and copyright 2018-05-22 23:46:55 +02:00
Bas Stottelaar
7781da7799 sys: netopt: add busy option 2018-05-21 16:37:38 +02:00
Bas Stottelaar
02395e593d sys: netopt: add checksum option 2018-05-21 16:37:38 +02:00
Martine Lenders
dbccf06c5e
Merge pull request #8575 from miri64/shell/fix/6ctx
shell: adapt 6ctx command for NIB
2018-04-13 17:12:41 +02:00
PeterKietzmann
86c319aea7 pkg/ccn-lite:enable CS dump and rename shell command 2018-04-09 10:38:32 +02:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
9d61314c09
shell/netif: Add link status to interface status output 2018-03-18 15:32:40 +01:00
Cenk Gündoğan
92b761df2f pkg: ccn-lite: minor changes to integrate latest ccn-lite features 2018-03-05 21:25:26 +01:00
Martine Lenders
ed0fbbb2a3 shell: adapt 6ctx command for NIB
This somehow was left by the wayside when we moved from the old ND to
the NIB. Also piggybacks some fixes.
2018-02-16 12:22:56 +01:00
4ec8f4c2fc sys: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
Martine Lenders
e6fa76e9b0 shell_commands: sntp: increase default timeout 2018-01-30 21:07:26 +01:00
Martine Lenders
3c5d476f84 shell_commands: specify SNTP timeout time unit 2018-01-30 21:07:26 +01:00
smlng
928292f464 sys/shell: fix format error in debug output 2018-01-17 15:25:15 +01:00
Michel Rottleuthner
bbd8d67bf9 address request by miri64 (interface as shell param) 2018-01-14 16:55:14 +01:00
Michel Rottleuthner
3056104187 sc_sntp: set netif when using link local address 2018-01-12 19:09:37 +01:00
d4d18d99af sys/shell: adapt ifconfig to work with sx127x devices 2017-12-14 16:13:39 +01:00
PeterKietzmann
4bd1d0ec9f shell/netif: extend set state option 2017-12-13 15:26:03 +01:00
Cenk Gündoğan
b6581289a2 pkg: ccn-lite: adapt to v2 2017-12-01 16:14:27 +01:00
Peter Kietzmann
eb2c0e29ab
Merge pull request #8155 from RIOT-OS/revert-8009-revert-7238-pr_sc_ccnl_chunkdump
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-28 21:36:38 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
e8531383d2
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()"" 2017-11-27 21:40:54 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
a32a2a93e1 gnrc_ipv6_nib: add interface parameter to nc_del function 2017-11-27 20:32:27 +01:00
Martine Lenders
1bb9c968ed shell_commands: add interface to nib neigh del command
Neighbors are identified by an (IPv6 address, interface)-tuple so it
makes sense to also remove them by this.
2017-11-27 20:32:27 +01:00
Martine Lenders
086b74460b
Merge pull request #8145 from bergzand/pr/shell-nib-consistency
shell/nib: fix minor inconsistency
2017-11-27 18:38:11 +01:00
6ec2180c27 shell/nib: change prefix add lifetimes to seconds 2017-11-27 18:15:34 +01:00
866613309f shell/nib: display optional arguments as optional 2017-11-27 18:15:34 +01:00
smlng
b455eece85 shell, neitf: fix output 2017-11-27 13:20:03 +01:00
smlng
5198788323 shell, nib: fix nib neigh delete 2017-11-27 11:09:49 +01:00
20d050a42e shell_commands: Add multicast groups to ifconfig command 2017-11-19 22:32:47 +01:00
Cenk Gündoğan
ec671c0a32
Merge pull request #8077 from miri64/shell/fix/6ctx-no-rtr-adv
shell: do not advertise reactively in 6ctx command
2017-11-19 02:22:31 +01:00
Martine Lenders
c5fc7c44cd
shell: do not advertise reactively in 6ctx command
After thinking about it a bit, I decided to remove the reactive
advertisement of context information all together in the shell command.
RFC 6775 does not explicitly forbids, but it discourages multicast RAs,
which would be the alternative.
2017-11-17 16:32:14 +01:00
Martine Lenders
0f9d266af2
shell: adapt nib route command for route lifetime 2017-11-17 13:44:59 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code 2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Martine Lenders
7ecafb7909
Merge pull request #7961 from miri64/shell_commands/fix/sc_netif2
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-11-17 06:21:11 +01:00
Hauke Petersen
86501e5e86 sys/shell: remove x86_lspci shell command 2017-11-16 13:45:32 +01:00