[riot-notifications] [RIOT-OS/RIOT] Setting up custom board with supported CPU and radio module (#11028)

Khayhen notifications at github.com
Sun Feb 17 19:39:37 CET 2019


Hi, I'm trying to implement a 6LoWPAN network with multiple boards. Unfortunately, I'm unable to afford the Atmel SAMR21-xpro. However, I managed to purchase some Arduino Mega and the MRF24J40 radio module. I connected the radio module to the Arduino Mega with the CS pin = 53, int pin = 2 and reset pin = 3. I tested this with the Arduino IDE and it works successfully. 

So in order to setup my own board, I duplicated the arduino-mega file in the boards directory and renamed it megaTest. Then in the file I added a Makefile.dep which I added the following code in.
<pre>ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE)))
  USEMODULE += mrf24j40
endif
</pre>
I then added the following parameters code into include/board.h file.
<pre>#define MRF24J40_PARAMS_BOARD       { .spi = SPI_DEV(0), \
                                      .spi_clk = SPI_CLK_5MHZ, \
                                      .cs_pin = GPIO_PIN(1, 0), \
                                      .int_pin = GPIO_PIN(4, 4), \
                                      .reset_pin = GPIO_PIN(4, 5) }`
</pre>
 I successfully executed the tutorials but got stuck at the most important task at task-05 which is starting a gnrc network. I'm able to flash it but then only this appears and does not response to anything commands such as help or ps.
<pre>No handlers could be found for logger "root"
2019-02-18 02:32:05,301 - INFO # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
</pre>  
What am I doing wrong? My apologies for any mistakes as I'm very new to these and need help urgently for my project. Any help or guide will be much appreciated. Thank you 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190217/395b222b/attachment-0001.html>


More information about the notifications mailing list