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

25612 Commits

Author SHA1 Message Date
Benjamin Valentin
e958798225 boards/microduino-corerf: use 115200 baud for stdio
The MCU can handle that baud rate just fine.
A standard baud rate is much easier to use than those awkward 57600 baud.
2019-12-04 22:43:41 +01:00
3bdd73a146
Merge pull request #12810 from gschorcht/cpu/esp32/startup_info_develhelp
cpu/esp32: startup info if module esp_log_startup is used
2019-12-04 19:53:26 +01:00
f05004b3fd
Merge pull request #12773 from leandrolanzieri/pr/makefiles/kconfig
Kconfig: Add build system integration and test application
2019-12-04 16:13:35 +01:00
Leandro Lanzieri
1977b8683c tests: Add Kconfig test application 2019-12-04 15:23:52 +01:00
Leandro Lanzieri
2aa35b00bb Kconfig: Add root Kconfig file 2019-12-04 15:23:51 +01:00
Leandro Lanzieri
1655001d85 makefiles: Add Kconfig related targets and dependencies
- The autoconf.h header file, generated with the current Kconfig
  configurations, is added as a build dependency.

- autoconf.h depends on the proper tool (genconfig) and a Kconfig.dep
  which contains the dependencies for the given application and board,
  this is generated from $(USEMODULE).

- The menuconfig target is added, to allow the configuration of modules
  using the Kconfig system.
2019-12-04 15:23:51 +01:00
Leandro Lanzieri
f701957093
Merge pull request #12872 from aabadie/pr/pkg/wakaama_cleanup
pkg/wakaama: small cleanup
2019-12-04 12:07:37 +01:00
MichelRottleuthner
272079c89e
Merge pull request #11992 from JulianHolzwarth/pr/xtimer_mutex_lock_timeout/first_fix
sys/xtimer/xtimer.c: _mutex_timeout() bug fix for race condition
2019-12-04 10:43:20 +01:00
6445b174aa
examples/wakaama: cleanup Makefile.ci 2019-12-04 08:09:11 +01:00
ab6aa862a5
examples/wakaama: remove useless BOARD_BLACKLIST
The wakaama examples now builds fine on pic32 boards
2019-12-04 08:08:58 +01:00
b053e070f4
pkg/wakaama: fix string format and integer conversions 2019-12-04 08:07:16 +01:00
c2898c6a3a
examples/wakaama: remove 8/16bit arch from boards blacklist
wakaama depends on tlsf which already whitelist 32bit architectures
2019-12-04 08:06:33 +01:00
2f873569b7
pkg/tlsf: whitelist 32bit architectures
The package is not compatible with 8 or 16 bit architectures
2019-12-04 08:04:50 +01:00
bd254dfc63
Merge pull request #10741 from basilfx/feature/stdio_null
sys: stdio_null: add null driver
2019-12-03 18:08:26 +01:00
Sebastian Meiling
912f003a35
Merge pull request #12864 from smlng/pr_freebsd_zep
cpu/native: add missing header in socket zep
2019-12-03 17:47:27 +01:00
Sebastian Meiling
6dd7d6010f cpu/native: add missing header in socket zep
Building e.g. gnrc_border_router example on FreeBSD fails due to
missing defines related to sockets. This adds the missing header
<sys/socket.h> to fix compiling.
2019-12-03 15:34:25 +01:00
benpicco
61353e04eb
Merge pull request #12860 from aabadie/pr/tools/ethos_fix_warning
tools/ethos: fix compilation warning in strncpy
2019-12-03 15:08:36 +01:00
cd25e1c011 usbus_fmt: assert descr len matches claimed len
This commit adds runtime assertions to validate that the total length of
the configuration descriptor as communicated to the host device matches the
generated length of the configuration descriptor.
2019-12-03 15:07:42 +01:00
Martine Lenders
2f74d9d644
Merge pull request #12517 from miri64/native/enh/reset-command
native: allow for native to be resetable via SIGUSR1
2019-12-03 10:56:11 +01:00
Martine Lenders
d670f77d91
native: add and use reset script to reset certain PID 2019-12-03 09:51:52 +01:00
Martine Lenders
fa317910d0
native: allow for native to be resetable via SIGUSR1 2019-12-03 09:51:52 +01:00
Francisco
e6bdcae327
Merge pull request #12861 from leandrolanzieri/pr/kinetis_cpu_features
cpu/kinetis/Makefile.features: Use CPU_MODEL to determine features
2019-12-02 23:54:01 +01:00
Cenk Gündoğan
3c99481bc1
Merge pull request #12856 from MichelRottleuthner/pr_fix_test_short_relative_set
tests/periph_timer_short_relative_set: fix diff for non 32 bit timers
2019-12-02 19:32:41 +01:00
Martine Lenders
09c46e273d
Merge pull request #12845 from miri64/gnrc_sixlowpan_frag_rb/fix/rm-by-datagram-pkt-release
gnrc_sixlowpan_frag_rb: fix memory-leak in _rm_by_datagram()
2019-12-02 19:20:55 +01:00
e0b7c2d83a
Merge pull request #12149 from fjmolinas/pr_suit_test
examples/suit_update: improve test script
2019-12-02 19:06:24 +01:00
Leandro Lanzieri
93788ecced cpu/kinetis/Makefile.features: Use CPU_MODEL to determine features
Now that CPU and CPU_MODEL are defined in the board's Makefile.features
it can be used to determine the available features provided by the
specific model.
2019-12-02 19:04:23 +01:00
7e165678fe
Merge pull request #12851 from leandrolanzieri/remove-ubjson
sys/ubjson: Remove module
2019-12-02 18:45:35 +01:00
96d90201ad
Merge pull request #11843 from fjmolinas/pr_tests_riotboot_py
tests/riotboot: migrate to full python test script
2019-12-02 18:28:14 +01:00
Francisco Molina
09a5282c34 examples/suit_update: improve test script
- Verify smaller image sequence numbers are rejected
- Verify invalid signatures are rejected
2019-12-02 17:29:31 +01:00
Francisco Molina
e41cebbaba tests/riotboot: add shell_commands
Add shell_commands to use shell version on `test_utils_interactive_sync`
2019-12-02 17:27:35 +01:00
Francisco Molina
12761934bc tests/riotboot: migrate to full python test script 2019-12-02 17:27:35 +01:00
benpicco
900c6994af
Merge pull request #12855 from miri64/gnrc_gomach/fix/i12853
gnrc_gomac: don't use constant as argument for RTT callback
2019-12-02 15:10:40 +01:00
Cenk Gündoğan
07c84a4fc3
Merge pull request #12840 from leandrolanzieri/pr/makefiles_remove_ccache_basedir
makefiles: Generate proper dependency files when using ccache
2019-12-02 11:40:36 +01:00
Michel Rottleuthner
29c11c9963 tests/periph_timer_short_relative_set: fix diff calculation for non 32 bit timers 2019-12-02 11:28:26 +01:00
MichelRottleuthner
920884dd00
Merge pull request #12610 from kaspar030/pr/add_tests/periph_timer_short_relative_set
tests: add new test periph_timer_short_relative_set
2019-12-02 09:47:23 +01:00
Martine Lenders
e1f81f02fd gnrc_gomac: don't use constant as argument for RTT callback
The RTT callback for a super-frame cycle uses the `arg` pointer to set
the message value that then is handed to the GoMacH thread. However,
in both instances the timer is scheduled the constant
`GNRC_GOMACH_EVENT_RTT_NEW_CYCLE` is provided. This means the argument
is not really necessary.
2019-12-02 08:14:55 +01:00
Juan Carrano
9b3d7b7ffa sys/ubjson: add to LOSTANDFOUND.md.
List the module in the lost and found file.
2019-12-01 23:48:47 +01:00
Juan Carrano
bea30c3f89 sys/ubjson: remove module.
The ubjson module has a number of quality defects and is unsafe.
Considering CBOR is popular, standarized and supported in RIOT and that
the ubjson implementation is a home-grown one whose API will likely be
unfamiliar to new users, I propose to delete it.

This removal, of course, dows not have to be NOW. We can deprecate it for
one or two releases before.

What's wrong with this module?

- Unsafe: the parsing is done recursively. This is embedded in the API, so it
  is not possible to fix it without changing the API. A document with too much
  nesting can cause a stack overflow.
- Does not validate writing: it is possible to produce invalid output. From
  the docs:
  > The library won't complain if you write multiple values that are not
  > inside an array or object. The result will just not be properly serialized.
- Poorly tested. As shown by #11702, #11703 the tests were not even detecting
  that a False was stored as True.
- In line with the previous remark, see
  68dc5b0d6e/tests/unittests/tests-ubjson/tests-ubjson.c (L66-L77)
  Why is the following code in the unit tests??
  ```c
    irq_disable();
    sched_set_status(data->main_thread, STATUS_PENDING);
  ```
- #2175 is still unfixed after 3.5 years.
- Code quality. The code has multiline macros that assign variables and
  return. See c332514875/sys/ubjson/ubjson-write.c (L34-L41)

Can we mark it as deprecated this release and sweep it in the following one?
2019-12-01 23:44:39 +01:00
benpicco
c9e9e04c6f
Merge pull request #12815 from benpicco/atmega-rtt
cpu/atmega_common: RTT support
2019-12-01 19:30:55 +01:00
Gunar Schorcht
0209afdcf7
Merge pull request #12850 from LordTy/esp8266_flash_fix
cpu/common/esp8266: use 'awk/printf' instead of 'echo'
2019-12-01 19:01:11 +01:00
Benjamin Valentin
6f41ecc74b boards: ATmega: enable periph_rtt for boards with 32kHz crystal
The RTT on ATmega only works if the board provides a 32kHz oscillator.
2019-12-01 17:26:24 +01:00
Matthew Blue
fb211c7c0c cpu/atmega_common: initial RTT support 2019-12-01 17:26:24 +01:00
Tim Broenink
e35e9ea59f cpu/common/esp8266: use 'awk/printf' instead of 'echo' 2019-12-01 14:36:42 +01:00
81f113ba05 tests/periph_timer_short_relative_set: initial commit 2019-12-01 14:14:44 +01:00
df7c42460f
Merge pull request #12802 from jasdeepgill/patch-2
Minor text fix for mainpage.md
2019-12-01 10:02:25 +01:00
jasdeepgill
75770b5641
doc: minor text fix for mainpage.md
Rearranged sentence so that only one 'and' is used in the sentence
2019-11-30 14:49:55 +01:00
Ken Bannister
353c0e91d0
Merge pull request #11036 from leandrolanzieri/pr/pkg/wakaama_rework
pkg/wakaama: Add basic LWM2M client implementation
2019-11-29 16:21:05 -05:00
491232e120
Merge pull request #12742 from kaspar030/make_jerryscript_use_blobs
examples/javascript: make use of blob.inc.mk
2019-11-29 21:48:40 +01:00
0e2cffd1c1
Merge pull request #12495 from fjmolinas/pr_suit_update_trigger
suit/examples: add gpio callback trigger
2019-11-29 21:17:00 +01:00
Leandro Lanzieri
8d47813487 examples: Add Wakaama LwM2M example application 2019-11-29 20:31:41 +01:00