meshnetics OpenMAC 1.4

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

:?: After reading openMac documentation, I am trying to build HAL library as described in it, "make command" says
"invalid storage class for function 'tosh_set_spi_csn_pin'" then signals other errors.
What's wrong?
Please help me...
Thanks in advance.

Last Edited: Fri. Oct 16, 2015 - 02:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Same for me here :

olivier@royale:~/dev/perso/homebow/zigbee/openmac-1.4.1.1/src/HAL/HAL_R5$ make
avr-gcc -mmcu=atmega1281 -fsigned-char -Os -DWDM_A1281_P1 -DRTC_CALIBRATION -DSLEEPTIMER_PRESCALER=SLEEPTIMER_PRESCALER_1024 -DAPP_NUM_TIMERS=4 -I./base/include -I./eZeeNet/include -I./meshBean2/include -I../../TOSLib/include -c /home/olivier/dev/perso/homebow/zigbee/openmac-1.4.1.1/src/HAL/HAL_R5/base/src/wdtinit.c -o /home/olivier/dev/perso/homebow/zigbee/openmac-1.4.1.1/src/HAL/HAL_R5/lib/wdtinit.o
avr-gcc -mmcu=atmega1281 -fsigned-char -Os -DWDM_A1281_P1 -DRTC_CALIBRATION -DSLEEPTIMER_PRESCALER=SLEEPTIMER_PRESCALER_1024 -DAPP_NUM_TIMERS=4 -I./base/include -I./eZeeNet/include -I./meshBean2/include -I../../TOSLib/include -c /home/olivier/dev/perso/homebow/zigbee/openmac-1.4.1.1/src/HAL/HAL_R5/base/src/clkctrl.c -o /home/olivier/dev/perso/homebow/zigbee/openmac-1.4.1.1/src/HAL/HAL_R5/base/objs/clkctrlext.o
In file included from /home/olivier/dev/perso/homebow/zigbee/openmac-1.4.1.1/src/HAL/HAL_R5/base/src/clkctrl.c:48:
./eZeeNet/include/hplspi.h: In function ‘hpl__init__freq’:
./eZeeNet/include/hplspi.h:32: error: invalid storage class for function ‘TOSH_SET_SPI_CSN_PIN’
./eZeeNet/include/hplspi.h:32: error: invalid storage class for function ‘TOSH_CLR_SPI_CSN_PIN’

- Did you find a solution ?
- What hardware are you using ?

Thx
--
Olivier Fauchon
www.oflabs.com

Olivier Fauchon
www.oflabs.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why would you want to use this MAC? It is outdated and not supported.

If you need only MAC then Atmel has their own MAC implementation which can be downloaded from atmel.com.

NOTE: I no longer actively read this forum. Please ask your question on www.eevblog.com/forum if you want my answer.