PinguinoIDE / pinguino-ide

Open source integrated development environment (IDE)
GNU General Public License v2.0
80 stars 29 forks source link

Implement processor-specific USB RAM section #92

Closed kh90909 closed 7 years ago

kh90909 commented 7 years ago

The USB5 section is hardcoded as 0500-05FFh, but there's a ToDo comment about correcting this for PIC16F145x and PIC18F1xk50. This commit implements this todo by checking board.proc and setting the appropriate memory range.

However, it may be cleaner and more future-proof to store the range in the board object (e.g. board.usbmemstart and board.usbmemend) rather than hardcoding the ranges in pinguino_tools.py as this commit does.