Commit Graph
131 Commits
Author SHA1 Message Date
hathach 739f98b683 add readPin() and readChannel() to hw pwm
ported Servo library (not tested)
2017-07-25 00:38:59 +07:00
hathach f5e23fdaba add setMaxValue() to HW PWM 2017-07-24 23:16:22 +07:00
hathach 720cb0c82e rename HardwarePWM PWMn to HwPWMn to avoid name conflict 2017-07-24 22:16:37 +07:00
hathach cd2da96afb added bond debug when at level 2 2017-07-20 13:55:57 +07:00
hathach 48718392c3 fix nffs_inode_read_filename does not update out_full_len 2017-07-20 13:32:05 +07:00
hathach 9832d5eeaa enable printf_float 2017-07-19 13:42:27 +07:00
hathach 673f1821ac add GAP getAddr and setAddr
add Bluefruit.printInfo()
2017-07-18 14:26:22 +07:00
hathach 6c8cf3d29a minor update 2017-07-11 19:59:23 +07:00
hathach 55a922b3c1 close #30 add sysview realtrace support 2017-07-06 12:39:26 +07:00
hathach 107b196f33 update nffs to mynewt 1.0.0 2017-07-05 14:06:10 +07:00
hathach 0191a8f384 code clean up 2017-06-30 17:15:38 +07:00
hathach f42bea8d8f move bootloader retrieval to common init() 2017-06-29 14:44:02 +07:00
hathach b21185ae6f rename linker file 2017-06-29 14:15:00 +07:00
hathach 9ca63e0e7b move linker to separated folder in core 2017-06-29 14:12:25 +07:00
hathach b4719c4811 add dbgStackUsed() and dbgStackTotal()
update stack usage
2017-06-29 14:00:21 +07:00
hathach 91085a5799 add stack section for SRAM detection 2017-06-29 12:44:47 +07:00
hathach b0779f0ee8 fill stack region with pattern 0xADADADAD for detect stack usage 2017-06-29 12:44:24 +07:00
hathach cf68679497 move linker to core since it is customized version 2017-06-29 11:47:31 +07:00
hathach 3e95f13e47 reduce stack from 3KB to 2KB 2017-06-29 11:46:50 +07:00
hathach 6acaa4b25e move ld file to sdk folder 2017-06-29 00:05:41 +07:00
hathach 5c69ff5ff9 clean up 2017-06-28 23:45:01 +07:00
hathach 730ee7e1d6 change rtos_idle_hook behavior
- if rtos_idle_callback is not defined, go to low-power when Idle.
Otherwise user have to call waitForEvent() manually.
2017-04-13 18:16:00 +07:00
hathach 3d0014fa8a clean up 2017-04-12 13:36:40 +07:00
hathach 117d251d4b fix RTC1 compare interrupt is not clear by bootloader 2017-04-12 12:43:33 +07:00
hathach b37b8bcb77 upgrade port_cmsis_systick.c to matches one in sdk13 for tick fix 2017-04-12 11:24:30 +07:00
hathach 3f83bb06ac move waitForEvent() to wiring, increase configMINIMAL_STACK_SIZE from 60 to 100 2017-04-10 23:52:59 +07:00
hathach a81184d9ce remove unused mcu core 2017-04-10 18:17:15 +07:00
hathach e191a07dec forgot to add the file 2017-04-10 17:28:21 +07:00
hathach 6c87cf4df2 add SoftwareTimer support 2017-04-10 17:27:30 +07:00
hathach e5d98a877f call waitForEvent() in core idle hook 2017-04-10 16:39:14 +07:00
hathach f093e03c5d clean up 2017-04-10 15:23:39 +07:00
hathach d2fc54fab9 Change FreeRTOS tick source from systick to RTC for low-power mode 2017-04-10 15:23:13 +07:00
hathach 33a6bb3642 rename PWM begun() to enabled() 2017-04-10 15:15:58 +07:00
hathach a454cb9f21 add optional callback rtos_idle_callback() 2017-04-09 21:51:00 +07:00
hathach a335699296 only enter low power mode waitForEvent() in idle if there is no active PWM 2017-04-09 14:42:26 +07:00
hathach 2ab46a03fa move waitForEvent() to Arduino.h 2017-04-08 17:03:53 +07:00
hathach 291a28b507 add waitForEvent() as macro for __WFE(). Enable Idle Hook and call wfe instruction 2017-04-08 16:59:56 +07:00
hathach 887d0354a0 revert syscall 2017-04-08 16:32:58 +07:00
hathach f62daa12fd newline correction 2017-04-08 16:31:25 +07:00
hathach cbbf75e6ef add stub for malloc lock 2017-04-07 17:46:46 +07:00
hathach f50708b24c add sleep() as wrapper for __wfe() 2017-04-06 15:45:51 +07:00
hathach b1336100cc add mutex for uart to prevent write conflict 2017-04-04 12:39:02 +07:00
hathach aa32c41ff8 adacallback
- peripherl connect callback
- central characteristic notify callback
2017-04-04 12:38:40 +07:00
hathach a770b995c3 added AdaCallback implemetation 2017-04-03 22:58:35 +07:00
hathach d955303a78 clean up 2017-04-03 13:53:38 +07:00
hathach 1f2efb042a relate to #21 2017-03-28 22:15:52 +07:00
hathach 7168d198ef make HardwarePWM compatible with Neopixel DMA 2017-03-28 22:15:22 +07:00
hathach 8cb712c377 remove debug code 2017-03-25 01:49:13 +07:00
hathach 673980a005 clean up 2017-03-25 01:21:20 +07:00
hathach 774311e4b8 implement analogWrite() and analogWriteResolution() with HardwarePWM 2017-03-25 01:16:53 +07:00