Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

José Alamos jia200x

🎯
Focusing
  • HAW Hamburg
  • Hamburg, Germany
View GitHub Profile
View gist:55f87ac2d966bafb604fb17ff577a7d8
This file has been truncated, but you can view the full file.
Archive member included because of file (symbol)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/core.a(panic.o)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/newlib_syscalls_default/syscalls.o (core_panic)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/core.a(sched.o)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/newlib_syscalls_default/syscalls.o (sched_active_pid)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/core.a(bitarithm.o)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/core.a(sched.o) (bitarithm_lsb)
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/samr21-xpro/cortexm_common.a(irq_arch.o)
View gist:c4e35e94043a3f95a24be8d4c9c239ee
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/pkg/native/openthread/include/openthread-types.h:114:29: error: commas at
the end of enumerator lists are a C++11 extension [-Werror,-Wc++11-extensions]
kThreadError_Error = 255,
^
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/pkg/native/openthread/include/openthread-types.h:226:37: error: commas at
the end of enumerator lists are a C++11 extension [-Werror,-Wc++11-extensions]
OT_IP6_ML_ADDR_CHANGED = 1 << 8, ///< The mesh-local address has changed
^~
/Users/jia200x/Development/RIOT/examples/openthread_example/bin/pkg/native/openthread/include/openthread-types.h:245:25: error: commas at
the end of enumerator lists are a C++11 extension [-Werror,-Wc++11-extensions]
View gist:7e1ea5064b24d410608beab5c3e81247
1492720845.417145;m3-222;> ipaddr
1492720845.418116;m3-222;fdde:ad00:beef:0:0:ff:fe00:802
1492720845.419021;m3-222;fdde:ad00:beef:0:b97d:616b:42cf:308f
1492720845.419824;m3-222;fe80:0:0:0:a08b:4767:185f:d58f
1492720845.420002;m3-222;Done
m3-276;ping fdde:ad00:beef:0:b97d:616b:42cf:308f
1492720854.411125;m3-276;> ping fdde:ad00:beef:0:b97d:616b:42cf:308f
1492720854.413849;m3-276;> 8 bytes from fdde:ad00:beef:0:b97d:616b:42cf:308f: icmp_seq=1 hlim=64 time=0ms
m3-1;ping fdde:ad00:beef:0:b97d:616b:42cf:308f
1492720866.891638;m3-1;> ping fdde:ad00:beef:0:b97d:616b:42cf:308f
View gist:889858adc5cc8184938724388ede3352
How complex MAC layers are integrated to netif?
How to set specific options from application to MAC?
View FTD 1
2018-01-10 19:10:06,405 - INFO # [DEBG]-MAC-----: SrcAddrMatch - Cleared all entries
2018-01-10 19:10:06,412 - INFO # [DEBG]-MAC-----: Idle mode: Radio sleeping
2018-01-10 19:10:06,417 - INFO # [DEBG]-MAC-----: Idle mode: Radio receiving on channel 26
2018-01-10 19:10:06,422 - INFO # mai[DEBG]-MAC-----: Idle mode: Radio sleeping
2018-01-10 19:10:06,426 - INFO # [INFO]-MLE-----: Role -> Detached
2018-01-10 19:10:06,429 - INFO # [INFO]-MLE-----: Attempt to attach
2018-01-10 19:10:06,435 - INFO # [DEBG]-MAC-----: Idle mode: Radio receiving on channel 26
2018-01-10 19:10:06,446 - INFO # n(): [INFO]-MLE-----: Notifier: StateChanged (0x101315) [ Ip6+ Role MLAddr KeySeqCntr NetData Ip6Mult+ MstrKey ]
2018-01-10 19:10:06,451 - INFO # [DEBG]-MLE-----: Store Network Information
2018-01-10 19:10:06,458 - INFO # This is RIOT! (Version: 2018.01-devel-920-g98b49-archlinux-openthread_ftd_ncp)
View gist:58de983f7f2189fd63bdddb39918c44d
/home/jialamos/Development/RIOT/dist/tools/pyterm/pyterm -p "/dev/ttyACM1" -b "115200"
2018-01-11 10:16:22,105 - INFO # Connect to serial port /dev/ttyACM1
Welcome to pyterm!
Type '/exit' to exit.
2018-01-11 10:16:35,133 - INFO # [DEBG]-MAC-----: SrcAddrMatch - Cleared all entries
2018-01-11 10:16:35,140 - INFO # [DEBG]-MAC-----: Idle mode: Radio sleeping
2018-01-11 10:16:35,146 - INFO # [DEBG]-MAC-----: Idle mode: Radio receiving on channel 26
2018-01-11 10:16:35,151 - INFO # mai[DEBG]-MAC-----: Idle mode: Radio sleeping
2018-01-11 10:16:35,154 - INFO # [INFO]-MLE-----: Role -> Detached
2018-01-11 10:16:35,157 - INFO # [INFO]-MLE-----: Attempt to attach
View Automatic Style Checks
Case 1) Unaligned |=, +=, etc.
- PINMODE1 |= BIT1; // No Pullup for CS
- FIO0DIR |= BIT16; // CS as output
- FIO0SET = BIT16; // drive cs inactive
- FIO0DIR |= BIT18 + BIT15; // SPi Output
+ PINMODE1 |= BIT1; // No Pullup for CS
+ FIO0DIR |= BIT16; // CS as output
+ FIO0SET = BIT16; // drive cs inactive
+ FIO0DIR |= BIT18 + BIT15; // SPi Output
View gist:5d9d2b61c036814efb957a4e3c367ff4
This file has been truncated, but you can view the full file.
diff --git a/boards/acd52832/include/gpio_params.h b/boards/acd52832/include/gpio_params.h
index 8acaa54bc..05991afbe 100644
--- a/boards/acd52832/include/gpio_params.h
+++ b/boards/acd52832/include/gpio_params.h
@@ -30,7 +30,7 @@ extern "C" {
/**
* @brief LED configuration
*/
-static const saul_gpio_params_t saul_gpio_params[] =
View Vera++ RIOT folder
This file has been truncated, but you can view the full file.
/home/jialamos/Development/RIOT/boards/acd52832/include/gpio_params.h:49: error: too many consecutive empty lines
/home/jialamos/Development/RIOT/boards/arduino-zero/include/periph_conf.h:111: error: comma should be followed by whitespace
/home/jialamos/Development/RIOT/boards/arduino-zero/include/periph_conf.h:112: error: comma should be followed by whitespace
/home/jialamos/Development/RIOT/boards/arduino-zero/include/periph_conf.h:121: error: comma should be followed by whitespace
/home/jialamos/Development/RIOT/boards/arduino-zero/include/periph_conf.h:122: error: comma should be followed by whitespace
/home/jialamos/Development/RIOT/boards/avsextrem/board_init.c:10: error: too many consecutive empty lines
/home/jialamos/Development/RIOT/boards/avsextrem/board_init.c:28: error: too many consecutive empty lines
/home/jialamos/Development/RIOT/boards/avsextrem/board_init.c:44: error: full block {} expected in the control structure
View configurations-tf-draft-01
### Problems we want to solve
Here's a list of problems we might want to solve. Feel free to discuss
- [ ] Application specific configuration (#9825)
- [ ] Kernel/modules configurations (expose defaults, override configs, load from external sources, etc)
- [ ] All modules seeing all other modules configuration values. This breaks encapsulation and means that a rebuild for EVERYTHING must be triggered each time ANYTHING changes.
- [ ] Configurations dependencies (a module might require to set some configuration from another module, but that can be also defined elsewhere. E.g `CFLAGS += -DFF=some_value -DFF=conflicting_val` => the value will be _silently overwritten_.
- [ ] Configuration for ~external~ modules (specially if [#8987 (comment)](https://github.com/RIOT-OS/RIOT/pull/8987#issuecomment-383043605) gets implemented)
- [ ] Configuration in makefiles can be evil. If the external pkg is not from a trusted source, it could eventually run arbitrary code injected via Makefiles. it is not even p