The casting was announced at the Canne Film Festival
Food writer and cook Nigel Slater's memoir Toast is to be brought to life by the BBC, it has been announced.
Helena Bonham Carter will play Slater's step-mother in the BBC One drama.
In the 60s-set adaptation, Slater will be played by Freddie Highmore, who took the title role in Tim Burton's Charlie And The Chocolate Factory.
Best-seller Toast, which has sold more than a quarter of a million copies, traces a childhood through foods which have gone in and out of fashion.
Slater has said he sought solace in food after his mother died when he was nine, and he then had a difficult relationship with both his father and step-mother.
He has said: "Food has been my career, my hobby, and, it must be said, my escape."
Nigel Slater is a regular presenter of BBC food programmes
The casting was announced at the Cannes Film Festival. BBC One controller Jay Hunt said: "Toast is a wonderfully nostalgic drama that will be a real treat for BBC One viewers. This remarkable cast is sure to really bring Nigel Slater's story alive."
Executive producer Alison Owen, of Ruby Films, said it was a "wonderful coming of age story".
The film has been scripted by Lee Hall, who won an Oscar nomination for Billy Elliot, and will be directed by SJ Clarkson, who has worked on TV dramas such as Life On Mars, Mistresses and Heroes.