I believe that the clause denying resale of software, music or ebooks is invalid in the EU. I remember hearing something about the record, software and film companies not being happy about people buying their products and donating them to charity shops where they can be sold cheaply but I don't think they got very far as cheap CD, videos, DVDs etc. can still be purchased in charity shops in the UK.
To paraphrase what I was saying before: when you buy a book, DVD or CD, the only thing you own is the piece of paper or plastic, the text or 0s and 1s still remain property of the author or developer. You only have a lease which means you can use it in accordance with the terms and conditions but don't own it.
Software licences have evolved the way they have to stop companies from buying one copy and installing it on 1000 of their computers. A similar thing has happened to DVDs to stop theatres from buying a copy, showing it to 1000s of people, charging them £££ and only giving the studio the price of the DVD.
If you want to resell your ebook then don't buy one with DRM. If you live in an jurisdiction which prohibits the circumvention of DRM then don't do it, unless it's just for personal use, otherwise there's a good chance you'll get caught.
In the case of the evaluation board, as far as ST is concerned, it seems as though buying it does not mean you own it; you just have a lease which sets down certain terms and conditions for how you use it, break them and they'll take you to court, then whether you actually own the board and can do what you like with it, will be determined by a load of lawyers and a judge who could decide either way.