Commit Graph

56 Commits

Author SHA1 Message Date
iabdalkader
acc35704d8 Disable IRQs when doing a soft-reset. 2016-03-06 02:51:34 +02:00
iabdalkader
2ab317063d Re-exec REPL if there's no script to execute. 2016-03-06 02:39:58 +02:00
iabdalkader
3e5bfb27cc Move FatFS file buffer to main SRAM.
* Allows DMA transfers of file data.
2016-03-02 00:19:29 +02:00
iabdalkader
db667c061f Rename fb_stack to fb_alloc and call init0 in main 2016-02-17 05:24:17 +02:00
iabdalkader
70d3ffcb50 Enable selftests 2016-02-06 21:56:01 +02:00
iabdalkader
c0a9e5279f Use soft_reset in main.
* This fixes the issue with script upload failing when gc is locked,
  and resets peripherals to their initial state.
2016-02-06 15:32:12 +02:00
iabdalkader
8a28cba8c7 Fix servo timers
* call servo_init in main
* Fix servo timer, number of channels and pin mappings.
2015-09-24 02:04:51 +02:00
iabdalkader
940f3a0d7d Disabled self tests for OMV1
* RGB QVGA doesn't fit in OMV1's RAM, fix the script or write another one.
2015-08-18 23:54:49 +02:00
iabdalkader
b33f7b4c29 Add functions to disable/enable IDE interrupts
* This constrains IDE interrupts avoiding the need for critical sections.
2015-08-17 19:48:18 +02:00
iabdalkader
801f74c2da Remove global misc functions
* Remove redundant functions
2015-08-13 23:18:59 +02:00
iabdalkader
7d949694ef Fix main script FS template 2015-08-13 23:15:57 +02:00
iabdalkader
533f0e3e8f Re-init MP state and use pyexec_file/str
* Use pyexec_file/str with re-raise flag
* re-init MP state before executing scripts
2015-08-13 00:22:55 +02:00
iabdalkader
cbbd93b0ca Add the selftest script in main 2015-08-09 22:06:57 +02:00
iabdalkader
54288c5351 Add image module
* Move Image class and misc functions to image module
2015-08-09 13:00:06 +02:00
iabdalkader
0dffedda92 Fix typo 2015-08-08 00:33:26 +02:00
iabdalkader
fa12a1a704 Log fatal errors to file 2015-08-08 00:31:59 +02:00
iabdalkader
4376e87609 Revert sensor_init and check error after USB init 2015-08-08 00:30:39 +02:00
iabdalkader
aaeaff476d Delay sensor_init
* Call sensor_init after initializing USB mass storage to log errors.
2015-08-07 23:16:30 +02:00
iabdalkader
4c9982b7e9 Rename usbdbg clear script to clear flags 2015-08-06 12:20:17 +02:00
iabdalkader
e446e03f9d Remove check for unused pyexec_mode_kind 2015-07-30 17:37:31 +02:00
iabdalkader
b42da07430 Remove reset_mode 2015-07-30 17:33:12 +02:00
iabdalkader
d43eda7e51 Move parse and compile inside exception handler
* This allows syntax errors to be caught and printed
2015-07-29 23:04:41 +02:00
iabdalkader
f34b07f015 Update print function 2015-07-18 07:05:13 +02:00
iabdalkader
f7d71cd594 More parse and compile script to main thread 2015-07-13 07:51:48 +02:00
iabdalkader
fb7d17a127 Remove xalloc_init 2015-07-12 00:38:26 +02:00
iabdalkader
e273e43961 Add stages kw arg to load cascade function 2015-07-10 02:57:30 +02:00
iabdalkader
09e77b5da8 Fix volume labels and root dir 2015-05-04 11:51:46 +03:00
iabdalkader
1879988bcb Set correct stack limit for MP 2015-05-03 10:58:58 +03:00
iabdalkader
ace7b976fb Remove init_modules
* init modules is not needed anymore.
2015-05-03 10:22:07 +03:00
iabdalkader
1c66afe971 Fix mlx undefined reference 2015-05-01 04:58:16 +03:00
iabdalkader
338320ad3c Update MP 2015-04-29 04:13:07 +03:00
iabdalkader
97ea356e9d Use larger stack limit 2014-10-02 01:38:50 +02:00
iabdalkader
ce3d435137 Add load_lbp 2014-09-24 22:25:14 +02:00
iabdalkader
65cd8a133a Update license
* Switch to MIT
* Add license notice to source files
2014-09-20 05:09:52 +02:00
iabdalkader
a25650562c Cleanup main 2014-09-18 19:23:10 +02:00
iabdalkader
903f756a7c Misc Fixes, add load/save descriptor 2014-09-09 15:07:22 +02:00
iabdalkader
2f5b82ec77 Update UART code 2014-09-05 18:09:07 +02:00
iabdalkader
4a39ffc65b Add module names for debugging 2014-08-31 15:12:11 +02:00
iabdalkader
19121dec9f Fix exported functions 2014-08-30 18:35:37 +02:00
iabdalkader
f500fe28d1 Remove mp_sys_exit 2014-08-29 19:38:04 +02:00
iabdalkader
0aeab28640 Update MP Modules
* Update all modules for new API
* Move modules to built-in
2014-08-26 20:32:43 +02:00
iabdalkader
82efa9042d Throw Exception When malloc Fails 2014-08-25 20:55:52 +02:00
iabdalkader
7038cb25c6 Export gc_collect and random 2014-08-25 14:37:17 +02:00
iabdalkader
5722436a63 Add MLX90620 driver 2014-08-18 10:26:32 +02:00
iabdalkader
12d062d1bc Enable GPIO and SPI
* Fix GPIO/SPI code
* Use buffers in SPI read/write
* Add pin qstrs OMV2
* remove old led files
* Update LCD user examples
2014-08-10 19:39:19 +02:00
iabdalkader
6389cce8b3 Export select 2014-07-14 04:17:11 +02:00
iabdalkader
2d3abcf2f4 Add wlan and socket python modules 2014-07-05 03:41:43 +02:00
iabdalkader
73f0d348bc More fixes to SD code 2014-06-30 03:45:03 +02:00
iabdalkader
92563b6190 Add SDCARD SPI driver 2014-06-28 01:26:32 +02:00
iabdalkader
0191702058 Export open 2014-06-27 23:46:13 +02:00