#1 Oct. 16, 2017 21:05:06

Patrick O'Hara
Registered: 2015-08-22
Posts: 2
Profile   Send e-mail  

Porting instructions for SABLEXR2 wipes out the board.c file

The porting instructions for the SABLEXR2 is separated into two sections - stuff you do before you work on the code, and stuff you do in the code. The first portion has just three steps. I've done these things three times after restarting bare metal rebuild of the project in CCS. The first step in the “stuff you do in the code” is to add the SABLEXR2_DEV_BOARD to the defines in the board.c file. Unfortunately, after doing the things required in the “stuff you do before you work on the code”, the board.c file is missing from the startup directory. Is anyone having this problem too? Any suggestions would be appreciated.

Offline

#2 Oct. 17, 2017 00:46:43

Patrick O'Hara
Registered: 2015-08-22
Posts: 2
Profile   Send e-mail  

Porting instructions for SABLEXR2 wipes out the board.c file

SOLVED - Stupid mistake as usual. The instructions “suggest” that the source file should be replaced with the SABLEXR2 source file. Actually, it's just the board and target files that are replaced. I blindly replaced one source file with the other without inspect the contents. When I looked at the contents the mistake was obvious.

Offline

Board footer

Moderator control