cbysnoopy / python-on-a-chip

Automatically exported from code.google.com/p/python-on-a-chip
0 stars 0 forks source link

Provide support for the PIC24 / dsPIC33 platforms #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This ticket proposes support of the PIC24 / dsPIC33 platforms.

Original issue reported on code.google.com by bjones460@gmail.com on 28 Jan 2010 at 6:15

GoogleCodeExporter commented 9 years ago
r415 - Added some doc additions based on my porting experience

Original comment by bjones460@gmail.com on 29 Jan 2010 at 11:20

GoogleCodeExporter commented 9 years ago
r418
- Added timer tick support
- Discovered that snprintf was in the standard lib, but just not prototyped

Original comment by bjones460@gmail.com on 2 Feb 2010 at 8:10

GoogleCodeExporter commented 9 years ago
r419
- Beginning of HW interface added to main.py
- Tweaked timer to be more accurate

Confusion: If I add more than one native function to main.py, the VM doesn't 
init. ???

Original comment by bjones460@gmail.com on 2 Feb 2010 at 10:58

GoogleCodeExporter commented 9 years ago
r420
- Moved to 128K program memory; code too large for 64K.
- Updated Makefile to match MPLAB setting
- Increased timer resolution
- Successfully added 2nd function to main.py. The solution: compile with Python 
2.5
(in the Windows path from MPLAB, or Cygwin path for make)

Original comment by bjones460@gmail.com on 3 Feb 2010 at 10:24

GoogleCodeExporter commented 9 years ago
r422
- Merged in trunk changes

Original comment by bjones460@gmail.com on 4 Feb 2010 at 3:35

GoogleCodeExporter commented 9 years ago
r430
- Checked in all the support files necessary to compile, for ALL PIC processors
supported by the PIC library (lots).

Original comment by bjones460@gmail.com on 22 Feb 2010 at 10:27

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
r431:
- Fixed CRLF endings, now just LF. Found a nice Python way to do this using
Tools/scripts/crlf.py.

Original comment by bjones460@gmail.com on 23 Feb 2010 at 8:09

GoogleCodeExporter commented 9 years ago
r432:
- Eliminated unneeded code to get the code compiling in a 64 KiB part.

Original comment by bjones460@gmail.com on 23 Feb 2010 at 8:28

GoogleCodeExporter commented 9 years ago
r433:
- Fixed another inconsistent line ending. The correct command line:
python \Python25\Tools\Scripts\crlf.py README *.c *.h Makefile *.py

Original comment by bjones460@gmail.com on 23 Feb 2010 at 8:54

GoogleCodeExporter commented 9 years ago
r436:
- Merged in trunk changes
- Added support for port-specific heap attribute declaration
- Moved port docs from rest to doxygen

Original comment by bjones460@gmail.com on 24 Feb 2010 at 8:17

GoogleCodeExporter commented 9 years ago
r438:
- Better support for port-specific heap declaration
- Documentation updates and fixes

Original comment by bjones460@gmail.com on 24 Feb 2010 at 10:37

GoogleCodeExporter commented 9 years ago
r439:
- Doxygen fixes
- Moved up to 128 KB part
- Included full standard library
- Migrated some docs to Doxygen
- Converted tabs in main.py to spaces

Original comment by bjones460@gmail.com on 25 Feb 2010 at 4:15

GoogleCodeExporter commented 9 years ago
r440:
- Moved C impelementation of Python functions to pyFuncInC.c
- Cleaned up readBits by writing helper functions
- Accidentally added the wrong file (txx_img.c)

Original comment by bjones460@gmail.com on 3 Mar 2010 at 5:30

GoogleCodeExporter commented 9 years ago
r441:
- Removed the wrong file added above, added correct file.
- Included a macro for exception reporting.

Original comment by bjones460@gmail.com on 3 Mar 2010 at 8:08

GoogleCodeExporter commented 9 years ago
r442:
- Removed CR/LF from several files
- Migrated README to Doxygen
- Several Doxygen fixes in VM code
- Work on Perl scripts which will (eventually) output code for digital I/O 
config
- Started on digital I/O config

Original comment by bjones460@gmail.com on 9 Mar 2010 at 5:29

GoogleCodeExporter commented 9 years ago
r443:
- More progress on digital I/O implementation
- Code completely breaks VM; this copy doesn't work. See main.py for details.

Original comment by bjones460@gmail.com on 9 Mar 2010 at 8:40

GoogleCodeExporter commented 9 years ago
r444:
- More digital I/O implementation
- Expanded array of helper functions
- VM now running, though with only one function defined.

Original comment by bjones460@gmail.com on 9 Mar 2010 at 11:19

GoogleCodeExporter commented 9 years ago
r445:
- Fixed system test makefile which prevented rebuild on changed .py files
- Removed CR/LFs
- Updated pic24 Makefile with latest files

Original comment by bjones460@gmail.com on 10 Mar 2010 at 8:50

GoogleCodeExporter commented 9 years ago
r448:
- Reverted change to plat.c
- Doxygen now includes source in the docs

Original comment by bjones460@gmail.com on 11 Mar 2010 at 4:22

GoogleCodeExporter commented 9 years ago
r449:
- Finally, a fix for the non-starting VM: align the heap on 4 byte boundaries.
- Fix to correctly check open-drain array for OD config

Original comment by bjones460@gmail.com on 11 Mar 2010 at 7:03

GoogleCodeExporter commented 9 years ago
r451:
- Merged in trunk
- Fixes to Web Development platform: moved #defines, updated Makefile
- Changed MPLAB project to match makefile: heap = 50, stack = 400.

Original comment by bjones460@gmail.com on 11 Mar 2010 at 11:21

GoogleCodeExporter commented 9 years ago
r453:
- CRLF fixes to some files
- Moved Web heartbeat

Original comment by bjones460@gmail.com on 12 Mar 2010 at 2:57

GoogleCodeExporter commented 9 years ago
r454:
- Updated tx/rx pins for web board
- CRLF fixes
- Put linker script back in makefile

Original comment by bjones460@gmail.com on 12 Mar 2010 at 5:25

GoogleCodeExporter commented 9 years ago
r455:
- USE_HEARTBEAT=0 fixed
- Makefile wrong path to linker file fixed

Original comment by bjones460@gmail.com on 12 Mar 2010 at 9:04

GoogleCodeExporter commented 9 years ago
r461:
- Reverted deletion of README (will keep this and readme.h side by side for now)

Original comment by bjones460@gmail.com on 23 Mar 2010 at 4:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
r462:
- Merged in trunk changes

Original comment by bjones460@gmail.com on 23 Mar 2010 at 4:38

GoogleCodeExporter commented 9 years ago
r463: Removed unused lkr directory

Original comment by bjones460@gmail.com on 23 Mar 2010 at 4:56

GoogleCodeExporter commented 9 years ago
r464:
- Removed CRLF in many files
- Added fixcrlf.bat, crlf.py to automate this process

Original comment by bjones460@gmail.com on 23 Mar 2010 at 8:35

GoogleCodeExporter commented 9 years ago
r465:
- Updated header files for additional device support
- Fixed receive overrun error (now wait until after UART init to print chars) 

Original comment by bjones460@gmail.com on 25 Mar 2010 at 2:55

GoogleCodeExporter commented 9 years ago
r466:
- Removed CRLF line endings

Original comment by bjones460@gmail.com on 25 Mar 2010 at 2:57

GoogleCodeExporter commented 9 years ago
r468:
- Factored source to separate files for Python-to-C code vs: Pythons functions 
implemented in C.
- Updates to port generation Perl C
- Project reverted to run in simulation, new source files added

Original comment by bjones460@gmail.com on 30 Mar 2010 at 6:43

GoogleCodeExporter commented 9 years ago
r469:
- Merged with trunk
- Fixed crlf line endings

Original comment by bjones460@gmail.com on 30 Mar 2010 at 6:50

GoogleCodeExporter commented 9 years ago
r470:
- Round 2 on merging -- still getting tree conflicts. ???

Original comment by bjones460@gmail.com on 30 Mar 2010 at 6:55

GoogleCodeExporter commented 9 years ago
r471:
-  Refactored getXxx functions

Original comment by bjones460@gmail.com on 31 Mar 2010 at 9:57

GoogleCodeExporter commented 9 years ago
r472:
- A bit more refactoring, introduced a run-function-then-check-result macro
- Fixed a C90 warning
- Updated Makefile to include new sources

Original comment by bjones460@gmail.com on 1 Apr 2010 at 3:21

GoogleCodeExporter commented 9 years ago
r475:
- Finished Perl script to auto-generate an/cn mapping to I/O ports
- Included this mapping in pyports.c/h
- Made vars const, so they'd live in flash instead of ram
- Updated main code to delay before resetting
- Took deliberate bug out of main.py

Original comment by bjones460@gmail.com on 2 Apr 2010 at 4:16

GoogleCodeExporter commented 9 years ago
r476:
- Refactored and cleaned up
- Fixed docs
- Introduced bool_t data type

Original comment by bjones460@gmail.com on 17 Apr 2010 at 2:19

GoogleCodeExporter commented 9 years ago
r477:
- Lots of docs on configuring I/O
- More refactoring
- Started implementation of pull up/down/neither code

Warning: this rev broken. I'll clean up and commit fixes later.

Original comment by bjones460@gmail.com on 19 Apr 2010 at 6:22

GoogleCodeExporter commented 9 years ago
r478:
- Finish pull direction code
- Docs clean-up
- Incorporated clock config fix

Original comment by bjones460@gmail.com on 19 Apr 2010 at 8:18

GoogleCodeExporter commented 9 years ago
r479:
- Refactor / cleanup
- Implemented digital enable / disable
- Docs fixes

Original comment by bjones460@gmail.com on 20 Apr 2010 at 7:44

GoogleCodeExporter commented 9 years ago
r481:
- Implemented all functions for digital I/O configuration

Original comment by bjones460@gmail.com on 14 May 2010 at 7:43

GoogleCodeExporter commented 9 years ago
r482:
- Moved digital I/O functions into pyports and restructured

Original comment by bjones460@gmail.com on 14 May 2010 at 9:02

GoogleCodeExporter commented 9 years ago
r496:
- Rudimentary unit testing begun
- A few more devices supports
- Code restructured

Original comment by bjones460@gmail.com on 14 Jun 2010 at 3:09

GoogleCodeExporter commented 9 years ago
r497:
- Fixed unit test compilation errors
- Added more unit tests

Original comment by bjones460@gmail.com on 15 Jun 2010 at 1:44

GoogleCodeExporter commented 9 years ago
r498:
- Merged with trunk to pull in updates, bug fixes.

Original comment by bjones460@gmail.com on 15 Jun 2010 at 1:45

GoogleCodeExporter commented 9 years ago
r499:
- Systems tests created
- Factored PIC Python code into separate file

Original comment by bjones460@gmail.com on 18 Jun 2010 at 5:51

GoogleCodeExporter commented 9 years ago
r500:
- System tests fixed
- Moved toward object-like syntax
- First progress toward read/write digital I/O

Original comment by bjones460@gmail.com on 18 Jun 2010 at 5:52

GoogleCodeExporter commented 9 years ago
r501:
- More system tests added

Original comment by bjones460@gmail.com on 24 Jun 2010 at 2:33