Commit Graph
418 Commits
Author SHA1 Message Date
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
hathach b77e907702 clean up 2017-03-25 01:01:38 +07:00
hathach 0c5273b1c6 merge begin() and start() 2017-03-25 00:22:09 +07:00
hathach 953c55b218 adding HardwarePWM support 2017-03-24 15:57:47 +07:00
hathach a3afb48e7f fix pwm polarity 2017-03-23 15:36:46 +07:00
hathach 5751d6f651 increase memoryinfo for DEBUG LEVEL 2 to 60 seconds 2017-03-22 21:56:53 +07:00
hathach 861af7b7e2 clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
2017-03-20 18:21:33 +07:00
hathach fe148b78d7 add Uart _begun, fix potetial hard fault with Debug level ON but Serial.begin() is not called 2017-03-17 13:36:26 +07:00
hathach a7329b9ea0 allow application to enter OTA DFU with soft reset 2017-03-16 22:22:09 +07:00
hathach feb63dc062 rename 2017-03-16 21:14:13 +07:00
hathach fd386cce43 udpate bootloader, add dfu_serial enter sketch 2017-03-16 21:03:49 +07:00
hathach a1c3cc04dc clean up 2017-03-16 16:00:52 +07:00
hathach 812fbad07d implement Scheduler 2017-03-16 00:01:33 +07:00
hathach a816e70e8f rename rtos.c to rtos.cpp preparing to implement scheduler 2017-03-15 22:39:21 +07:00