Forcing Deck Drive Issue

Post Reply
Posts: 8
Joined: Fri Jul 06, 2018 6:53 am

Forcing Deck Drive Issue

Post by ryanemp »

To start getting more experience with developing, I'm following along this example here that adds a few LEDs to the CF2.

However, after flashing the CF2 I still don't see any trace of the new deck.

After going through all the steps, the CF client console gives this info:

SYS: I am 0x303235363135510F00370041 and I have 1024KB of flash!
CFGBLK: v1, verification [OK]
DECK_INFO: WARNING: compile-time forced driver bcTF not found
DECK_CORE: 0 deck(s) found
MPU9250 I2C connection [OK].
AK8963 I2C connection [OK].
LPS25H I2C connection [OK].
ESTIMATOR: Using Complementary (1) estimator
CONTROLLER: Using PID (1) controller
EEPROM: I2C connection [OK].
AK8963: Self test [OK].
SYS: Free heap: 16056 bytes

The steps I take are as follows:

1. Add the tf.c file to the deck/drivers/src directory along with all the other deck files.
2. Change the file name to and add code:
3. In makefile, add PROJ_OBJ_CF2 += tf.o under #Decks.

Clean, Build, Flash Using Radio.

Is the Warning about the bcTF the main issue here or am I missing something else entirely?
I expected to see a new option under the Parameters tab of the CF client that I could change.
I also thought I would see the tf.o file scroll through the Eclipse console while the Build is finishing.

Any idea on what I'm doing wrong here?
I've spent an embarrassingly long amount of time trying to get this working, so any help is greatly appreciated.

Posts: 2275
Joined: Tue Feb 06, 2007 12:36 pm

Re: Forcing Deck Drive Issue

Post by arnaud »

Yes, the warning is an indication that the deck is not found. It could be because of some spelling mistake in the deck driver declaration or that the driver is not compiled at all. If you do not see tf.o being created the issue is that the file is not compiled in.

There has been some change in the Makefile, we removed the suffix _CF2: ... #L173-L191. So you need to add your driver with "PROJ_OBJ+= tf.o". This should compile the driver.

Posts: 8
Joined: Fri Jul 06, 2018 6:53 am

Re: Forcing Deck Drive Issue

Post by ryanemp »

Thanks! Getting rid of the _CF2 did it

:D :lol:

Post Reply