RetroBSD

2.11BSD operating system for microcontrollers
It is currently Fri Oct 23, 2020 11:04 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Aug 20, 2011 1:16 am 
Contributor
User avatar

Joined: Thu Nov 08, 2012 7:04 am
Posts: 2401
Location: Rapa Nui
I would also recommend not to follow the "arduino"-like way in writing "#if defined BOARD_XYZ" within source codes. This may lead to a situation where we will have dozens of source files with dozens of various conditional compile directives for dozens of Boards.
Maybe a single config.file for each Board with #defines put there. I think Makefile is also not a good place for passing defines into the sources.
p.

_________________
Pukao Hats Cleaning Services Ltd.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron




Powered by phpBB® Forum Software © phpBB Group

BSD Daemon used with permission