![]() ![]() You cannot allocate variables which are larger then 256 bytes without editing a linker script.Īn excellent comparison which goes way more in depth can be found here: īesides from the compiler you also need to take into consideration the IDE.In order to have const string be allocated to Program space (instead of ram) you have to use the rom keyword.You have to specify which ram bank to allocate variables to.With C18 you have add all kinds of compiler specific keywords and your forced to manage memory much more. HiTech's solution is much closer to ANSI C (hence code is much more portable). I think most people that decide to go with Microchip C18 compiler only because they see it when they go to the microchip website and are already familiar with MpLab from doing assembly (which is a terrible IDE IMHO). I did extensive research on the Hitech PICC18 compiler and the Microchip C18 compiler a few years ago. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |