compiling issue with MYSBootloader.
-
@tekka need your help here...
not sure i'm missing something. getting following error while compiling MYSBootloader. OTABootloader working fine for me..
Any idea what is the difference between two bootloaders.
make: [clean] Error 1 (ignored)
"avr-gcc" -x c -mno-interrupts -funsigned-char -funsigned-bitfields -DF_CPU=16000000L-Os -fno-inline-small-functions -fno-split-wide-types -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -Wall -mmcu=atmega328p -c -std=gnu99 -MD -MP -MF "MYSBootloader.d" -MT"MYSBootloader.d" -MT"MYSBootloader.o" -I../libraries/MySensors MYSBootloader.c -o MYSBootloader.o
In file included from MYSBootloader.c:35:0:
MYSBootloader.h:11:18: fatal error: boot.h: No such file or directory
#include "boot.h"
^
compilation terminated.
make: *** [MYSBootloader.o] Error 1 -
@tekka need your help here...
not sure i'm missing something. getting following error while compiling MYSBootloader. OTABootloader working fine for me..
Any idea what is the difference between two bootloaders.
make: [clean] Error 1 (ignored)
"avr-gcc" -x c -mno-interrupts -funsigned-char -funsigned-bitfields -DF_CPU=16000000L-Os -fno-inline-small-functions -fno-split-wide-types -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -Wall -mmcu=atmega328p -c -std=gnu99 -MD -MP -MF "MYSBootloader.d" -MT"MYSBootloader.d" -MT"MYSBootloader.o" -I../libraries/MySensors MYSBootloader.c -o MYSBootloader.o
In file included from MYSBootloader.c:35:0:
MYSBootloader.h:11:18: fatal error: boot.h: No such file or directory
#include "boot.h"
^
compilation terminated.
make: *** [MYSBootloader.o] Error 1 -
By any chance, can we change the CE and CSN pins from 9-10 to 7-8 in the MYSBootloader safely and easily? I tried running through the code but stopped short at MYSBootloaderHW.h file where
#define SPI_CSN 2 // Arduino Pin 10 <-> Bit 2 of port B
#define SPI_CE 1 // Arduino Pin 9 <-> Bit 1 of port B
have been defined and since pins 7-8 change would mean the port change the operations may differ.
I am using the 9-10 pins elsewhere for their PWM. -
By any chance, can we change the CE and CSN pins from 9-10 to 7-8 in the MYSBootloader safely and easily? I tried running through the code but stopped short at MYSBootloaderHW.h file where
#define SPI_CSN 2 // Arduino Pin 10 <-> Bit 2 of port B
#define SPI_CE 1 // Arduino Pin 9 <-> Bit 1 of port B
have been defined and since pins 7-8 change would mean the port change the operations may differ.
I am using the 9-10 pins elsewhere for their PWM.